Use msgget syscall for Linux implementation
[glibc.git] / ChangeLog
blob87c96361bf5392ca23698026942cb60b872c31ff
1 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
4         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
5         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
6         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
7         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
8         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
9         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
10         Likewise.
11         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
12         Likewise.
13         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
14         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
15         define.
17         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
18         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
19         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
20         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
21         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
22         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
23         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
24         Likewise.
25         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
26         Likewise.
27         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
28         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
29         if defined.
31         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
32         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
33         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
34         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
35         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
36         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
37         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
38         Likewise.
39         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
40         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
41         Likewise.
42         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
43         if defined.
44         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
46         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
47         oldmsgctl.
48         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
49         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
50         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
51         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
52         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
53         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
54         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
55         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
56         Likewise.
57         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
58         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
59         implementation.
60         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
61         if defined.
63         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
64         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
65         definition and define its own.
66         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
67         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
68         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
69         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
70         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
71         definitions to common header.
72         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
73         operation from ipc_ops.h.
75         * sysdeps/unix/sysv/linux/kernel-features.h
76         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
77         * sysdeps/unix/sysv/linux/i386/kernel-features.h
78         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
79         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
80         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
81         * sysdeps/unix/sysv/linux/mips/kernel-features.h
82         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
83         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
84         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
85         * sysdeps/unix/sysv/linux/s390/kernel-features.h
86         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
87         * sysdeps/unix/sysv/linux/sh/kernel-features.h
88         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
89         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
90         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
92 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
94         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
95         overflow in pointer addition.
97 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
99         * sysdeps/powerpc/powerpc64/multiarch/Makefile
100         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
101         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
102         (strchr): Add __strchr_power8 to list of strchr functions.
103         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
104         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
105         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
106         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
107         (strchr): Add __strchr_power8 to ifunc list.
108         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
109         (__strchrnul): Add __strchrnul_power8 to ifunc list.
110         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
111         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
113 2016-12-28  Florian Weimer  <fweimer@redhat.com>
115         * support/Makefile (libsupport-routines): Add
116         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
117         (tests): Add tst-support_record_failure.
118         (tests-special): tst-support_record_failure-2.
119         (tst-support_record_failure-2.out): Depend on
120         tst-support_record_failure-2.sh and tst-support_record_failure.
121         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
122         (support_test_verify_impl, support_record_failure)
123         (support_report_failure, support_report_failure_reset): Declare.
124         * support/support_test_main.c (adjust_exit_status): New function.
125         (support_test_main): Call it to incorporate record test failures.
126         * support/support_test_verify_impl.c: New file.
127         * support/support_record_failure.c: Likewise.
128         * support/tst-support_record_failure.c: Likewise.
129         * support/tst-support_record_failure-2.sh: Likewise.
130         * support/xunistd.h: Likewise.
131         * support/xfork.c: Likewise.
132         * support/xwaitpid.c: Likewise.
134 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
136         * scripts/check-c++-types.sh: Add comments.
138 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
140         [BZ #19514]
141         * resolv/res_send.c: Fix typo in comment.
142         * sysdeps/i386/i386-mcount.S: Likewise.
143         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
144         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
145         * sysdeps/sparc/sparc-mcount.S: Likewise.
147 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
149         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
150         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
151         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
152         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
153         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
154         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
155         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
156         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
158 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
160         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
162 2016-12-27  Florian Weimer  <fweimer@redhat.com>
164         [BZ #17252]
165         * posix/unistd.h (getentropy): Declare.
167 2016-12-27  Florian Weimer  <fweimer@redhat.com>
169         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
170         Remove.
171         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
172         (cmd): Remove spoof, nospoof, spoofalert.
173         (parse_line): Ignore spoof-related lines.
174         (do_init): Do not process RESOLV_SPOOF_CHECK.
176 2016-12-27  Florian Weimer  <fweimer@redhat.com>
178         [BZ #20964]
179         sunrpc: Always obtain AF_INET addresses from NSS.
180         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
181         * sunrpc/rpc_gethostbyname.c: New file.
182         * sunrpc/Makefile (routines): Add it.
183         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
184         * sunrpc/clnt_simp.c (callrpc): Likewise.
185         * sunrpc/getrpcport.c (getrpcport): Likewise.
187 2016-12-27  Florian Weimer  <fweimer@redhat.com>
189         * sunrpc/rpcinfo.c: Remove.
190         * sunrpc/Makefile: Remove comments referring to rpcinfo.
192 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
194         [BZ# 19387]
195         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
196         addition.
197         * string/test-memchr.c (do_test): Remove alignment limitation.
198         (test_main): Add test that trigger BZ# 19387.
200 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
202         [BZ #7065]
203         Enable stack protectore if requested by ./configure.
204         * Makeconfig (+stack-protector): New variable.
205         (+cflags): Use it.
207 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
209         [BZ #7065]
210         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
211         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
212         (__rt_sigreturn_stub): Use inhibit_stack_protector.
213         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
214         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
216 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
218         [BZ #7065]
219         * login/Makefile (pt_chown-cflags): Remove.
220         * nscd/Makefile (CFLAGS-nscd): Likewise.
221         * resolv/Makefile (CFLAGS-libresolv): Likewise.
223 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
225         [BZ #7065]
226         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
227         non-libc-linking testcase.
229 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
230             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
231             Florian Weimer  <fweimer@redhat.com>
233         [BZ #7065]
234         PLT avoidance for __stack_chk_fail*.
235         * debug/Makefile (CFLAGS-stack_chk_fail.c)
236         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
237         * debug/stack_chk_fail.c (__stack_chk_fail): Add
238         __stack_chk_fail_local alias.
239         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
240         (__stack_chk_fail): Turn into hidden reference to
241         __stack_chk_fail_local.
243 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
245         [BZ #7065]
246         * configure.ac: Add check for unsupported stack-protection level.
247         (libc_cv_predef_stack_protector): Remove.
248         (no_ssp): New variable.
249         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
250         (stack_protector): Set to -fno-stack-protector similarly.
251         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
252         (libc_cv_asm_set_directive): Likewise.
253         (libc_cv_protected_data): Likewise.
254         (libc_cv_z_combreloc): Likewise.
255         (libc_cv_hashstyle): Likewise.
256         (libc_cv_has_glob_dat): Likewise.
257         (libc_cv_output_format): Likewise.
258         (libc_cv_output_format): Likewise.
259         (libc_cv_ehdr_start): Likewise.
260         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
261         (LIBC_LINKER_FEATURE): Likewise.
262         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
264 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
266         [BZ #7065]
267         * elf/Makefile (dummy-stack-chk-fail): New.
268         (librtld.map): Use it.
270 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
272         [BZ #7065]
273         Compile the dynamic linker without stack protection.
274         * elf/Makefile (elide-stack-protector): New.
275         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
276         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
277         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
278         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
280 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
282         [BZ #7065]
283         * config.make.in (have-ssp, no-stack-protector): New.
284         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
285         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
286         (CFLAGS-sbrk.op): Likewise.
287         (CFLAGS-brk.o): Likewise.
288         (CFLAGS-brk.op): Likewise.
289         * string/Makefile (CFLAGS-memcpy.c): Likewise.
290         (CFLAGS-wordcopy.c): Likewise.
292 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
294         [BZ #7065]
295         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
296         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
297         * include/libc-symbols.h (inhibit_stack_protector): New macro.
298         (__ifunc_resolver): Use it.
299         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
300         inhibit_stack_protector.
301         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
302         * elf/ifuncmain7.c (foo_ifunc): Likewise.
303         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
304         (foo_protected_ifunc): Likewise.
305         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
306         (foo_protected_ifunc): Likewise.
307         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
308         * sysdeps/nacl/nacl_interface_query.c
309         (nacl_interface_query_ifunc): Likewise.
310         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
311         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
312         Likewise.
313         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
314         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
315         the generated vDSO syscall resolver.
317 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
318             Florian Weimer  <fweimer@redhat.com>
320         [BZ #7065]
321         Initialize the stack guard earlier when linking statically.
322         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
323         (__pthread_initialize_minimal): Declare.
324         * csu/libc-start.c (__pthread_initialize_minimal): Remove
325         declaration.
326         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
327         stack canary and apply_irel initialization up.  Call
328         __pthread_initialize_minimal only if linked in.
329         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
330         constant values.
331         (__pthread_initialize_minimal): Remove.
332         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
333         (__pthread_initialize_minimal_internal): Do not call
334         __libc_setup_tls.
336 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
338         [BZ #7065]
339         * configure.ac (libc_cv_ssp): Move up.
340         (libc_cv_ssp_strong): Likewise.
341         (libc_cv_ssp_all): New.
342         (stack_protector): Augment, adding -fstack-protector-all.
343         (no_stack_protector): New.
344         (STACK_PROTECTOR_LEVEL): New.
345         (AC_ARG_ENABLE(stack-protector)): New configure flag.
346         * manual/install.texi (--enable-stack-protector): Document it.
347         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
349 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
351         * README.pretty-printers: Must specify CPPFLAGS-* also.
352         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
353         (CPPFLAGS-test-mutex-printers.c): Define.
354         (CPPFLAGS-test-condattr-printers.c): Define.
355         (CPPFLAGS-test-cond-printers.c): Define.
356         (CPPFLAGS-test-rwlockattr-printers.c): Define.
357         (CPPFLAGS-test-rwlock-printers.c): Define.
359         * nss/Makefile [ifeq (yes,$(have-thread-library))]
360         (tests): Add tst-cancel-getpwuid_r.
361         * nss/tst-cancel-getpwuid_r.c: New file.
363         [BZ #11941]
364         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
365         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
366         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
367         tst-nodelete-dlclose.
368         (modules-names): Add tst-nodelete-dlclose-dso and
369         tst-nodelete-dlclose-plugin.
370         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
371         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
372         ($(objpfx)tst-nodelete-dlclose): Define.
373         ($(objpfx)tst-nodelete-dlclose.out): Define.
375 2016-12-23  Florian Weimer  <fweimer@redhat.com>
377         * scripts/test_printers_common.py: Log GDB output in case of
378         Python detection failure.
380 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
382         * configure.ac: Check for python3 or python.
383         * configure: Regenerated.
384         * config.make.in (PYTHON): New variable.
385         * benchtests/Makefile: Don't define PYTHON.
386         (bench): Define target only if PYTHON was defined.
387         * Rules: Don't define PYTHON.
388         Define pretty printer targets only if PYTHON was defined.
389         (tests-printers): Add to tests-unsupported if PYTHON is not
390         found.
391         (python-flags, python-invoke): Remove.
392         (tests-printers-out): Use PYTHON instead of python-invoke.
394 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
396         [BZ #20978]
397         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
398         Compare name == NULL, not name != NULL.
400         * manual/texinfo.tex: Update to version 2016-09-18.18 with
401         trailing whitespace removed.
402         * scripts/config.guess: Update to version 2016-10-02.
403         * scripts/config.sub: Update to version 2016-11-19.
404         * scripts/install-sh: Update to version 2016-01-11.22.
405         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
406         * scripts/move-if-change: Update to version 2016-01-11 22:04.
408 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
410         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
411         (do_one_test) Restore original string so iteration works.
412         * string/string-inlines.c (do_test): Create better input strings.
413         (test_main) Reduce number of testruns.
414         * string/string-inlines.c (__old_strsep_1c): New function.
415         (__old_strsep_2c): Likewise.
416         (__old_strsep_3c): Likewise.
417         * string/strsep.c (__strsep): Remove case of small delim string.
418         Call strcspn directly rather than strpbrk.
419         * string/bits/string2.h (__strsep): Remove define.
420         (__strsep_1c): Remove.
421         (__strsep_2c): Remove.
422         (__strsep_3c): Remove.
423         (strsep): Remove.
424         * sysdeps/unix/sysv/linux/internal_statvfs.c
425         (__statvfs_getflags): Rename to __strsep.
427 2016-12-21  Florian Weimer  <fweimer@redhat.com>
429         * csu/libc-tls.c (_dl_tls_setup): Remove.
430         * elf/dl-tls.c (_dl_tls_setup): Likewise.
431         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
432         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
434 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
436         [BZ #7065]
437         * sysdeps/x86_64/Makefile [$(subdir) = elf]
438         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
440 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
441             Florian Weimer  <fweimer@redhat.com>
443         [BZ #7065]
444         * csu/Makefile (tests): Empty assignment and document it.
445         (tests-static): Remove.
446         * csu/tst-empty.c: Move to...
447         * misc/tst-empty.c: ... here.  Switch to new test driver.
448         * csu/tst-atomic.c: Move to...
449         * misc/tst-atomic.c: ... here.  Switch to new test driver.
450         * csu/tst-atomic-long.c: Move to...
451         * misc/tst-atomic-long.c: ... here.
452         * misc/Makefile (tests): Add tst-empty, tst-atomic,
453         tst-atomic-long.
454         (tests-static): Add tst-empty.
456 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
458         * manual/nss.texi: Change incorrect @vtable to @table.
459         * manual/arith.texi: Convert @tables of variables to @vtables
460         and remove unnecessary indexing.
461         * manual/filesys.texi: Likewise.
462         * manual/llio.texi: Likewise.
463         * manual/memory.texi: Likewise.
464         * manual/process.texi: Likewise.
465         * manual/resource.texi: Likewise.
466         * manual/search.texi: Likewise.
467         * manual/signal.texi: Likewise.
468         * manual/socket.texi: Likewise.
469         * manual/stdio.texi: Likewise.
470         * manual/sysinfo.texi: Likewise.
471         * manual/syslog.texi: Likewise.
472         * manual/terminal.texi: Likewise.
473         * manual/time.texi: Likewise.
474         * manual/users.texi: Likewise.
476 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
478         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
479         (roundeven): New declaration.
480         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
481         macro.
482         * math/Versions (roundeven): New libm symbol at version
483         GLIBC_2.25.
484         (roundevenf): Likewise.
485         (roundevenl): Likewise.
486         * math/Makefile (libm-calls): Add s_roundevenF.
487         * math/libm-test.inc (roundeven_test_data): New array.
488         (roundeven_test): New function.
489         (main): Call roundeven_test.
490         * math/test-tgmath.c (NCALLS): Increase to 134.
491         (F(compile_test)): Call roundeven.
492         (F(roundeven)): New function.
493         * manual/arith.texi (Rounding Functions): Document roundeven,
494         roundevenf and roundevenl.
495         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
496         * include/math.h (roundeven): Use libm_hidden_proto.
497         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
498         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
499         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
500         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
501         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
502         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
503         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
504         roundeven.
505         (CFLAGS-nldbl-roundeven.c): New variable.
506         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
507         * sysdeps/nacl/libm.abilist: Update.
508         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
509         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
510         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
511         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
512         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
513         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
514         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
515         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
516         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
517         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
518         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
519         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
521         Likewise.
522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
523         Likewise.
524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
525         Likewise.
526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
527         Likewise.
528         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
529         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
530         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
531         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
532         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
533         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
534         Likewise.
535         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
536         Likewise.
537         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
538         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
539         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
541 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
543         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
544         preprocessor indentation inside #if.
546 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
548         * math/libm-test.inc (fmt_ftostr): New function.
549         (print_float, check_float_internal): Replace some uses of
550         FTOSTR with uses of fmt_ftostr.
551         (print_max_error, print_complex_max_error, print_function_ulps)
552         (print_complex_function_ulps): Remove uses of the macros
553         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
554         * math/test-double.h (FTOSTR): Define to strfromd.
555         (PRINTF_EXPR): Delete.
556         (PRINTF_XEXPR): Likewise.
557         (PRINTF_NEXPR): Likewise.
558         * math/test-float.h (FTOSTR): Define to strfromf.
559         (PRINTF_EXPR): Delete.
560         (PRINTF_XEXPR): Likewise.
561         (PRINTF_NEXPR): Likewise.
562         * math/test-ldouble.h (FTOSTR): Define to strfroml.
563         (PRINTF_EXPR): Delete.
564         (PRINTF_XEXPR): Likewise.
565         (PRINTF_NEXPR): Likewise.
567 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
569         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
570         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
571         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
572         (__lll_lock_elision): Decrement adapt_count while unlocking
573         instead of before locking.
574         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
575         (__lll_trylock_elision): Likewise.
576         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
577         (__lll_unlock_elision): Likewise.
579 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
581         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
582         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
583         Use __libc_tbegin_retry macro.
585 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
587         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
588         Add -msoft-float.
589         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
590         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
591         Use __libc_t* transaction macros instead of __builtin_t*.
592         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
593         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
595 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
597         * sysdeps/unix/sysv/linux/s390/elision-lock.c
598         (__lll_lock_elision): Use atomics to load / store adapt_count.
599         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
600         (__lll_trylock_elision): Likewise.
602 2016-12-20  Florian Weimer  <fweimer@redhat.com>
604         Do not require memset elimination in explicit_bzero test.
605         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
606         (enum test_expectation): Add NO_EXPECTATIONS.
607         (subtests): NO_EXPECTATIONS for ordinary clear.
608         (check_test_buffer): Handle NO_EXPECTATIONS.
609         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
611 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
613         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
614         (fmaxmag): New declaration.
615         (fminmag): Likewise.
616         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
617         macro.
618         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
619         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
620         (fmaxmagf): Likewise.
621         (fmaxmagl): Likewise.
622         (fminmag): Likewise.
623         (fminmagf): Likewise.
624         (fminmagl): Likewise.
625         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
626         * math/s_fmaxmag_template.c: New file.
627         * math/s_fminmag_template.c: Likewise.
628         * math/libm-test.inc (fmaxmag_test_data): New array.
629         (fmaxmag_test): New function.
630         (fminmag_test_data): New array.
631         (fminmag_test): New function.
632         (main): Call fmaxmag_test and fminmag_test.
633         * math/test-tgmath.c (NCALLS): Increase to 132.
634         (F(compile_test)): Call fmaxmag and fminmag.
635         (F(fminmag)): New function.
636         (F(fmaxmag)): Likewise.
637         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
638         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
639         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
640         fminmag.
641         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
642         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
643         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
644         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
645         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
646         and fminmag.
647         (CFLAGS-nldbl-fmaxmag.c): New variable.
648         (CFLAGS-nldbl-fminmag.c): Likewise.
649         * sysdeps/nacl/libm.abilist: Update.
650         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
651         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
652         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
653         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
654         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
655         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
656         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
657         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
658         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
659         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
660         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
661         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
663         Likewise.
664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
665         Likewise.
666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
667         Likewise.
668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
669         Likewise.
670         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
671         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
672         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
673         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
674         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
675         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
676         Likewise.
677         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
678         Likewise.
679         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
680         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
681         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
683 2016-12-19  Torvald Riegel  <triegel@redhat.com>
685         [BZ #20973]
686         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
687         wake-up in robust mutexes.
688         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
690 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
692         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
693         (CFLAGS-bench-fmaxf.c): New rule.
694         (CFLAGS-bench-fminf.c): Likewise.
695         * benchtests/fmaxf-inputs: New file.
696         * benchtests/fminf-inputs: Likewise.
698         * benchtests/Makefile (bench-math): Add fmin and fmax.
699         (CFLAGS-bench-fmax.c): New rule.
700         (CFLAGS-bench-fmin.c): Likewise.
701         * benchtests/fmax-inputs: New file.
702         * benchtests/fmin-inputs: Likewise.
704         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
705         parenthesis.
706         (CMDLINE_PROCESS): Define using function instead of macro.
707         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
708         of test-skeleton.
709         * benchtests/bench-memchr.c: Likewise.
710         * benchtests/bench-memcmp.c: Likewise.
711         * benchtests/bench-memcpy-large.c: Likewise.
712         * benchtests/bench-memcpy.c: Likewise.
713         * benchtests/bench-memmem.c: Likewise.
714         * benchtests/bench-memmove-large.c: Likewise.
715         * benchtests/bench-memmove.c: Likewise.
716         * benchtests/bench-memset-large.c: Likewise.
717         * benchtests/bench-memset.c: Likewise.
718         * benchtests/bench-rawmemchr.c: Likewise.
719         * benchtests/bench-strcasecmp.c: Likewise.
720         * benchtests/bench-strcasestr.c: Likewise.
721         * benchtests/bench-strcat.c: Likewise.
722         * benchtests/bench-strchr.c: Likewise.
723         * benchtests/bench-strcmp.c: Likewise.
724         * benchtests/bench-strcpy.c: Likewise.
725         * benchtests/bench-strcpy_chk.c: Likewise.
726         * benchtests/bench-strlen.c: Likewise.
727         * benchtests/bench-strncasecmp.c: Likewise.
728         * benchtests/bench-strncmp.c: Likewise.
729         * benchtests/bench-strncpy.c: Likewise.
730         * benchtests/bench-strnlen.c: Likewise.
731         * benchtests/bench-strpbrk.c: Likewise.
732         * benchtests/bench-strrchr.c: Likewise.
733         * benchtests/bench-strsep.c: Likewise.
734         * benchtests/bench-strspn.c: Likewise.
735         * benchtests/bench-strstr.c: Likewise.
736         * benchtests/bench-strtok.c: Likewise.
738 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
740         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
741         stepping identification.
742         (init_cpu_features): Add handle of Haswell.
744 2016-11-25  Jim Meyering  <meyering@fb.com>
746         [BZ #20386]
747         Let gcc detect assert(a = 1) errors.
748         * assert/assert.h (assert): Rewrite, retaining the old definintion
749         when required, but otherwise putting the expression as-is in an "if"
750         expression (hence, with no added parentheses) within a statement
751         expression.
753 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
755         * benchtests/Makefile (binaries-benchset): Depend on libsupport
756         DSO.
758 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
760         * Rules (python-flags, python-invoke): New.
761         ($(test-printers-out)): Use $(python-flags).
763 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
765         * manual/arith.texi (Math Error Reporting): Document that sNaN
766         arguments are not considered domain errors.
768 2016-12-16  Zack Weinberg <zackw@panix.com>
769             Florian Weimer <fweimer@redhat.com>
770             Nick Mathewson <nickm@torproject.org>
772         * string/explicit_bzero.c: New routine.
773         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
774         * string/Makefile (routines, strop-tests, tests): Add them.
775         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
776         * string/string.h [__USE_MISC]: Declare explicit_bzero.
778         * debug/explicit_bzero_chk.c: New routine.
779         * debug/Makefile (routines): Add it.
780         * debug/tst-chk1.c: Test fortification of explicit_bzero.
781         * string/bits/string3.h: Fortify explicit_bzero.
783         * manual/string.texi: Document explicit_bzero.
784         * NEWS: Mention addition of explicit_bzero.
786         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
787         data before returning, using explicit_bzero.
788         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
789         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
790         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
792         * include/string.h: Redirect internal uses of explicit_bzero
793         to __explicit_bzero_chk[_internal].
794         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
795         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
796         * sysdeps/arm/nacl/libc.abilist
797         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
798         * sysdeps/unix/sysv/linux/alpha/libc.abilist
799         * sysdeps/unix/sysv/linux/arm/libc.abilist
800         * sysdeps/unix/sysv/linux/hppa/libc.abilist
801         * sysdeps/unix/sysv/linux/i386/libc.abilist
802         * sysdeps/unix/sysv/linux/ia64/libc.abilist
803         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
804         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
805         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
806         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
807         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
808         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
809         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
810         * sysdeps/unix/sysv/linux/nios2/libc.abilist
811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
815         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
816         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
817         * sysdeps/unix/sysv/linux/sh/libc.abilist
818         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
819         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
820         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
822         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
823         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
824         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
825         Add entries for explicit_bzero and __explicit_bzero_chk.
827 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
829         * math/fenv.h
830         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
831         (FE_SNANS_ALWAYS_SIGNAL): New macro.
832         * math/test-fe-snans-always-signal.c: New file.
833         * math/Makefile (tests): Add test-fe-snans-always-signal.
834         (CFLAGS-test-fe-snans-always-signal.c): New variable.
835         * manual/arith.texi (Infinity and NaN): Document
836         FE_SNANS_ALWAYS_SIGNAL.
838 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
840         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
841         bracket.
843 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
845         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
846         before calling execv.
848 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
850         [BZ# 20971]
851         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
852         overflow in pointer addition.
853         * string/test-memchr.c (do_test): Add an argument to pass as
854         the size on memchr.
855         (test_main): Add check for SIZE_MAX.
857 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
859         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
860         (libm-calls): Add w_scalblnF.
861         * math/w_scalbln.c: Remove.
862         * math/w_scalblnf.c: Likewise.
863         * math/w_scalblnl.c: Likewise.
864         * math/w_scalbln_template.c: New file with type-generic
865         implementation based on math/w_scalbln.c.
866         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
867         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
869 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
871         [BZ #20947]
872         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
873         either is a signaling NaN.
874         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
875         follow fmaxl more closely.
876         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
877         when either is a signaling NaN.
878         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
879         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
880         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
881         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
882         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
883         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
884         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
885         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
886         (fmin_test_data): Likewise.
888 2016-12-15  Andreas Schwab  <schwab@suse.de>
890         * support/support_test_main.c (support_test_main): Don't shadow
891         file-local variable test_pid.
893 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
895         [BZ #20947]
896         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
897         either is a signaling NaN.
898         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
900 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
902         [BZ #20947]
903         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
904         when either is a signaling NaN.
905         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
907         * bits/long-double.h: New file.
908         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
909         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
910         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
911         * sysdeps/mips/bits/long-double.h: Likewise.
912         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
913         * math/Makefile (headers): Add bits/long-double.h.
914         * misc/sys/cdefs.h: Include <bits/long-double.h>.
915         * stdlib/strtold.c: Include <bits/long-double.h> instead of
916         <bits/wordsize.h>.
917         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
918         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
919         * math/math.h: Do not include <bits/mathdef.h>.
920         * sysdeps/aarch64/bits/mathdef.h: Remove file.
921         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
922         inclusion.
923         * sysdeps/ia64/bits/mathdef.h: Remove file.
924         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
925         * sysdeps/mips/bits/mathdef.h: Likewise.
926         * sysdeps/powerpc/bits/mathdef.h: Likewise.
927         * sysdeps/s390/bits/mathdef.h: Likewise.
928         * sysdeps/sparc/bits/mathdef.h: Likewise.
929         * sysdeps/x86/bits/mathdef.h: Likewise.
930         * sysdeps/s390/s390-32/bits/wordsize.h
931         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
932         conditional code.
933         * sysdeps/s390/s390-64/bits/wordsize.h
934         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
935         Likewise.
936         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
937         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
938         Likewise.
939         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
940         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
941         Likewise.
942         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
943         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
944         Likewise.
946         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
947         <linux/falloc.h>.
948         (FALLOC_FL_KEEP_SIZE): Remove.
949         (FALLOC_FL_PUNCH_HOLE): Likewise.
950         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
951         (FALLOC_FL_ZERO_RANGE): Likewise.
953 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
955         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
957 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
959         * sysdeps/unix/sysv/linux/renameat.c: New file.
960         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
962         * sysdeps/unix/sysv/linux/rename.c: New file.
963         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
965 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
967         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
968         * string/strtok.c (strtok): Change to tailcall __strtok_r.
969         * string/strtok_r.c (__strtok_r): Optimize for performance.
970         * string/string-inlines.c (__old_strtok_r_1c): New function.
971         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
973 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
975         * math/Makefile (gen-libm-calls): Add w_log1pF.
976         (libm-calls): Remove w_log1pF.
977         * math/w_log1p.c: Remove.
978         * math/w_log1pf.c: Likewise.
979         * math/w_log1pl.c: Likewise.
980         * math/w_log1p_template.c: New file with type-generic
981         implementation based on math/w_log1p.c.
982         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
983         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
985 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
987         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
989 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
991         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
992         kernel version to 4.9.
994 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
996         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
997         ($(inst_libdir)/libm.a): Fix rule to create the target only.
999 2016-12-13  Andreas Schwab  <schwab@suse.de>
1001         * sysdeps/powerpc/dl-procinfo.c: Don't define
1002         _dl_powerpc_platforms.
1003         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
1004         constants instead of referencing _dl_powerpc_platforms.
1005         (_dl_platform_string): Remove.
1007 2016-12-13  Florian Weimer  <fweimer@redhat.com>
1009         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
1011 2016-12-13  Florian Weimer  <fweimer@redhat.com>
1013         * Rules (binaries-shared-tests, binaries-pie-tests)
1014         (binaries-static-tests): Link with $(link-extra-libs-tests).
1015         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
1016         Remove $(link-extra-libs-tests).
1018 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1020         * sysdeps/powerpc/powerpc64/multiarch/Makefile
1021         (sysdep_routines): Add strncmp_power9.
1022         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1023         (strncmp): Add __strncmp_power9 to list of strncmp functions.
1024         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
1025         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
1026         (strncmp): Add __strncmp_power9 to ifunc list.
1027         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
1029 2016-12-12  Florian Weimer  <fweimer@redhat.com>
1031         [BZ #17252]
1032         Add getentropy, getrandom.
1033         * stdlib/sys/random.h: New file.
1034         (headers): Add it.
1035         * stdlib/Makefile (routines): Add getentropy, getrandom.
1036         (tests): Add tst-getrandom.
1037         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
1038         * stdlib/getentropy.c: New file.
1039         * stdlib/getrandom.c: Likewise.
1040         * stdlib/tst-getrandom.c: Likewise.
1041         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
1042         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
1043         * manual/crypt.texi (Unpredictable Bytes): New section.
1044         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
1045         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
1046         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
1047         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1048         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1049         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1050         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1051         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1052         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1053         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1054         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1055         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1056         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1057         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1058         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1059         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1061         Likewise.
1062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1063         Likewise.
1064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1066         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1067         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1068         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1069         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1070         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1071         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1072         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1073         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1074         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1075         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1077 2016-12-10  Florian Weimer  <fweimer@redhat.com>
1079         [BZ #20956]
1080         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
1081         as additional compiler barriers.
1082         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
1083         (fn2, do_test): Declare with external linkage.
1084         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
1085         (do_test): Declare with external linkage.
1086         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
1087         (do_test): Declare with external linkage.
1088         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
1089         (do_test): Declare with external linkage.
1091 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
1093         * support/support_test_main.c (support_test_main): Use correct
1094         timeout.
1096 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
1097             Florian Weimer  <fweimer@redhat.com>
1099         [BZ #16421]
1100         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
1101         and __u6_addr32 members.
1102         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
1103         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
1104         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
1105         Use __u6_addr32.
1106         * inet/tst-checks.c: Use <support/test-driver.c>
1107         * inet/tst-checks-posix.c: New file.
1108         * inet/Makefile (tests): Add it.
1109         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
1111 2016-12-09  Florian Weimer  <fweimer@redhat.com>
1113         New subdirectory support for build and test infrastructure.
1114         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
1115         setting install-lib.
1116         * Makeconfig (link-extra-libs-tests): Define.
1117         (+link-pie-tests, +link-static-tests, +link-tests): Use
1118         link-extra-libs-tests.
1119         (rpath-dirs, all-subdirs): Add support.
1120         (built-modules): Add libsupport.
1121         (libsupport): Define.
1122         * support: New directory.
1123         * support/Makefile: New file.
1124         * support/check.c: Likewise.
1125         * support/check.h: Likewise.
1126         * support/delayed_exit.c: Likewise.
1127         * support/ignore_stderr.c: Likewise.
1128         * support/oom_error.c: Likewise.
1129         * support/set_fortify_handler.c: Likewise.
1130         * support/support.h: Likewise.
1131         * support/temp_file-internal.h: Likewise.
1132         * support/temp_file.c: Likewise.
1133         * support/test-driver.c: Likewise.
1134         * support/test-driver.h: Likewise.
1135         * support/test_main.c: Likewise.
1136         * support/write_message.c: Likewise.
1137         * support/xasprintf.c: Likewise.
1138         * support/xcalloc.c: Likewise.
1139         * support/xmalloc.c: Likewise.
1140         * support/xpthread_barrier_destroy.c: Likewise.
1141         * support/xpthread_barrier_init.c: Likewise.
1142         * support/xpthread_barrier_wait.c: Likewise.
1143         * support/xpthread_cancel.c: Likewise.
1144         * support/xpthread_check_return.c: Likewise.
1145         * support/xpthread_cond_wait.c: Likewise.
1146         * support/xpthread_create.c: Likewise.
1147         * support/xpthread_detach.c: Likewise.
1148         * support/xpthread_join.c: Likewise.
1149         * support/xpthread_mutex_lock.c: Likewise.
1150         * support/xpthread_mutex_unlock.c: Likewise.
1151         * support/xpthread_sigmask.c: Likewise.
1152         * support/xpthread_spin_lock.c: Likewise.
1153         * support/xpthread_spin_unlock.c: Likewise.
1154         * support/xrealloc.c: Likewise.
1155         * support/xsignal.h: Likewise.
1156         * support/xthread.h: Likewise.
1157         * support_tempfile.h: Likewise.
1158         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
1159         (TEST_DATA_LIMIT): Remove unused macro.
1160         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
1161         <support/check.h>.
1162         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
1163         (ignore_stderr, set_fortify_handler): Remove.  Now in
1164         <support/support.h>.
1165         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
1166         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
1167         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
1168         (xpthread_join): Remove.  Now in <support/xthread.h>.
1169         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
1170         Introduce legacy wrappers.
1171         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
1172         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
1173         (write_message): Remove.
1174         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
1175         test-skeleton.c.
1176         * io/test-open-tmpfile: Likewise.
1177         * io/tst-posix_fallocate-common.c: Likewise.
1178         * libio/tst-fseek.c: Likewise.
1179         * malloc/tst-malloc-backtrace.c: Likewise.
1180         * malloc/tst-malloc-fork-deadlock.c: Likewise.
1181         * malloc/tst-malloc-thread-exit.c: Likewise.
1182         * nptl/tst-cancel7.c: Likewise.
1183         * nptl/tst-cleanup0.c: Likewise.
1184         * posix/tst-posix_fadvise-common.c: Likewise.
1185         * rt/tst-shm.c: Likewise.
1186         * time/bug-getdate1.c: Likewise.
1187         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
1188         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
1189         * elf/Makefile (tst-piemod1.so): Link against libsupport.
1191 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
1193         * Rules [$(run-built-tests) != no] (tests-expected): Add
1194         $(tests-printers).
1195         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
1197 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
1199         [BZ #20539]
1200         * math/Makefile (install-lib-ldscripts): Add libm.a.
1201         (install_subdir): Remove.
1202         (install-others): Add.
1203         ($(inst_libdir)/libm.a): Add rule for installation as
1204         linker script.
1205         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
1207 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
1209         * INSTALL: Regenerated.
1210         * Makeconfig: Add comments and whitespace to make the control flow
1211         clearer.
1212         (+link-printers-tests, +link-pie-printers-tests,
1213         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
1214         built-rtld-LDFLAGS, link-libc-rpath,
1215         link-libc-tests-after-rpath-link,
1216         link-libc-printers-tests): New.
1217         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
1218         link-libc-tests): Use the new variables as required.
1219         * Makerules ($(py-const)): New rule.
1220         generated: Add $(py-const).
1221         * README.pretty-printers: New file.
1222         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
1223         (others): Depend on $(py-const).
1224         (tests): Depend on $(tests-printers-programs) or
1225         $(tests-printers-out),
1226         as required.  Pass $(tests-printers) to merge-test-results.sh.
1227         * manual/install.texi: Add requirements for testing the pretty
1228         printers.
1229         * nptl/Makefile (gen-py-const-headers, pretty-printers,
1230         tests-printers, CFLAGS-test-mutexattr-printers.c
1231         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
1232         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
1233         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
1234         * nptl/nptl-printers.py: New file.
1235         * nptl/nptl_lock_constants.pysym: Likewise.
1236         * nptl/test-cond-printers.c: Likewise.
1237         * nptl/test-cond-printers.py: Likewise.
1238         * nptl/test-condattr-printers.c: Likewise.
1239         * nptl/test-condattr-printers.py: Likewise.
1240         * nptl/test-mutex-printers.c: Likewise.
1241         * nptl/test-mutex-printers.py: Likewise.
1242         * nptl/test-mutexattr-printers.c: Likewise.
1243         * nptl/test-mutexattr-printers.py: Likewise.
1244         * nptl/test-rwlock-printers.c: Likewise.
1245         * nptl/test-rwlock-printers.py: Likewise.
1246         * nptl/test-rwlockattr-printers.c: Likewise.
1247         * nptl/test-rwlockattr-printers.py: Likewise.
1248         * scripts/gen-py-const.awk: Likewise.
1249         * scripts/test_printers_common.py: Likewise.
1250         * scripts/test_printers_exceptions.py: Likewise.
1252 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
1254         * scripts/build-many-glibcs.py (Context.__init__): Take strip
1255         argument.
1256         (Glibc.build_glibc): Strip installed shared libraries if
1257         requested.
1258         (get_parser): Add --strip option.
1259         (main): Update Context call.
1261 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1262             Dominik Vogt  <vogt@linux.vnet.ibm.com>
1264         [BZ #20847]
1265         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
1266         array bounds for else branch.
1267         (__execvpe): Style fixes.
1268         * posix/tst-vfork3.c (run_script): New function.
1269         (create_script): Likewise.
1270         (do_test): Use run_script internal function.
1271         (do_prepare): Use create_script internal function.
1273 2016-12-07  Andreas Schwab  <schwab@suse.de>
1275         * sysdeps/unix/sysv/linux/x86/elision-conf.h
1276         (__elision_available): Don't declare.
1277         * sysdeps/unix/sysv/linux/x86/elision-conf.c
1278         (__elision_available): Don't define.
1279         (elision_init): Don't set __elision_available.
1281 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
1283         [BZ #20940]
1284         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
1285         return Inf for arguments Inf and sNaN.
1286         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
1287         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1288         Likewise.
1289         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
1290         Likewise.
1291         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
1292         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
1293         for arguments Inf and sNaN.  When returning a NaN, compute it by
1294         arithmetic on the arguments.
1295         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
1296         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
1297         arguments.
1299 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
1301         [BZ #20916]
1302         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
1303         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
1304         to compute result.
1305         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1306         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
1308 2016-12-05  Torvald Riegel  <triegel@redhat.com>
1310         * include/atomic.h (__atomic_check_size_ls): New.
1311         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
1312         atomic_store_release): Use it.
1313         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
1314         (elision_adapt, ELIDE_LOCK): Use atomics.
1315         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
1316         atomics and improve code comments.
1317         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
1318         (__lll_trylock_elision): Likewise.
1320 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1322         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
1323         programs.
1325 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
1327         [BZ #20916]
1328         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
1329         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
1330         arguments to compute result.
1331         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
1332         1 for arguments (sNaN, 0) or (1, sNaN).
1333         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
1334         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
1336         [BZ #20919]
1337         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
1338         NaN first argument when raised to power 0.
1339         * math/w_pow.c (__pow): Do not check for NaN or zero results from
1340         raising to power zero.
1341         * math/w_powf.c (__powf): Likewise.
1342         * math/w_powl.c (__powl): Likewise.
1343         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
1344         pow (0, 0) or pow (NaN, 0).
1346 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
1348         [BZ #20918]
1349         * configure.ac: Test for static NSS cryptographic libraries and set
1350         libc_cv_static_nss_crypt.
1351         * configure: Regenerate.
1352         * config.make.in (static-nss-crypt): Define.
1353         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
1354         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
1355         (CFLAGS-tst-linkall-static.c): Define.
1356         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
1357         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
1358         ($(objpfx)tst-linkall-static): Define.
1359         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
1360         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
1362 2016-12-02  Florian Weimer  <fweimer@redhat.com>
1364         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
1365         (one-hundred, tst-tls-many-dynamic-modules): Define.
1366         (modules-names): Add $(tst-tls-many-dynamic-modules).
1367         (tst-tls-manydynamic%mod.os): Build with special preprocessor
1368         macros.
1369         (tst-tls-manydynamic): Link against libdl, libpthread.
1370         (tst-tls-manydynamic.out): The test needs the test modules at run
1371         time.
1372         * elf/tst-tls-manydynamic.c: New file.
1373         * elf/tst-tls-manydynamic.h: Likewise.
1374         * elf/tst-tls-manydynamicmod.c: Likewise.
1376 2016-12-02  Florian Weimer  <fweimer@redhat.com>
1378         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
1379         (TLS_DTV_UNALLOCATED): Add.
1380         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
1381         offsets.
1383 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
1385         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1387 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
1389         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
1390         Add -fno-optimize-sibling-calls.
1392 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
1394         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
1395         New declaration.
1396         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
1397         macro.
1398         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
1399         New macro.
1400         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
1401         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
1402         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
1403         (llogbf): Likewise.
1404         (llogbl): Likewise.
1405         * math/Makefile (gen-libm-calls): Add w_llogbF.
1406         (tests): Add test-fp-llogb-constants.
1407         * math/w_llogb_template.c: New file.  Based on
1408         math/w_ilogb_template.c.
1409         * math/libm-test.inc (llogb_test_data): New array.
1410         (llogb_test): New function.
1411         (main): Call llogb_test.
1412         * math/test-fp-llogb-constants.c: New file.  Based on
1413         math/test-fp-ilogb-constants.c.
1414         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
1415         (do_test): Call check_return_llogb.
1416         * math/test-tgmath.c (NCALLS): Increase to 126.
1417         (F(compile_test)): Call llogb.
1418         (F(llogb)): New function.
1419         * manual/math.texi (Exponents and Logarithms): Document llogb,
1420         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
1421         * manual/libm-err-tab.pl (@all_functions): Add llogb.
1422         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
1423         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
1424         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
1425         (CFLAGS-nldbl-llogb.c): New variable.
1426         * sysdeps/nacl/libm.abilist: Update.
1427         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1428         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1429         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1430         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1431         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1432         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1433         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1434         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1435         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1436         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1437         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1438         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1440         Likewise.
1441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1442         Likewise.
1443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1444         Likewise.
1445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1446         Likewise.
1447         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1448         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1449         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1450         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1451         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1452         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1453         Likewise.
1454         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1455         Likewise.
1456         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1457         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1458         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1460 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
1462         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
1463         _Float128 instead of long double.
1464         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
1466         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
1467         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
1468         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
1469         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
1470         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
1471         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
1472         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
1473         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
1474         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
1475         Likewise.
1477 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1479         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
1480         Remove redirection to __strrchr_ppc.
1482 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1484         * sysdeps/powerpc/powerpc64/multiarch/Makefile
1485         (sysdep_routines): Add strcmp_power9.
1486         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1487         (strcmp): Add __strcmp_power9 to list of strcmp functions.
1488         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
1489         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
1490         (strcmp): Add __strcmp_power9 to ifunc list.
1491         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
1493 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
1495         * bits/fp-logb.h: New file.
1496         * sysdeps/ia64/bits/fp-logb.h: Likewise.
1497         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
1498         * sysdeps/x86/bits/fp-logb.h: Likewise.
1499         * math/Makefile (headers): Add bits/fp-logb.h.
1500         * math/math.h: Include <bits/fp-logb.h>.
1501         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
1502         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
1503         * bits/mathdef.h (FP_ILOGB0): Remove.
1504         (FP_ILOGBNAN): Likewise.
1505         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
1506         (FP_ILOGBNAN): Likewise.
1507         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
1508         (FP_ILOGBNAN): Likewise.
1509         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
1510         (FP_ILOGBNAN): Likewise.
1511         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
1512         (FP_ILOGBNAN): Likewise.
1513         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
1514         (FP_ILOGBNAN): Likewise.
1515         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
1516         (FP_ILOGBNAN): Likewise.
1517         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
1518         (FP_ILOGBNAN): Likewise.
1519         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
1520         (FP_ILOGBNAN): Likewise.
1521         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
1522         (FP_ILOGBNAN): Likewise.
1524         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
1525         time module.
1526         (Context.__init__): Initialize self.logsdir_old.
1527         (Context.run_builds): Handle bot action.
1528         (Context.bot_cycle): Copy logs directory before running builds.
1529         (Context.bot_run_self): Take argument for whether to check
1530         subprocess result.  Flush stdout before running subprocess.
1531         (Context.bot): New function.
1532         (get_parser): Allow bot action.
1534 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
1536         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
1537         Import email.mime.text, email.utils and smtplib modules.
1538         (Context.__init__): Initialize self.bot_config_json.
1539         (Context.run_builds): Handle bot-cycle action.
1540         (Context.load_bot_config_json): New function.
1541         (Context.part_build_old): Likewise.
1542         (Context.bot_cycle): Likewise.
1543         (Context.bot_build_mail): Likewise.
1544         (Context.bot_run_self): Likewise.
1545         (get_parser): Allow bot-cycle action.
1547 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1549         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
1550         Remove redirection to __stpcpy_ppc.
1552 2016-11-30  Florian Weimer  <fweimer@redhat.com>
1554         Remove __libc_memalign from ld.so because it is unused.
1555         * elf/dl-minimal.c: Update comment on the malloc implementation.
1556         (malloc): Renamed from __libc_memalign, replacing the original
1557         malloc implementation.  Replace the align parameter with
1558         MALLOC_ALIGNMENT.
1559         * elf/Versions (ld): Update comment and remove __libc_memalign.
1560         * sysdeps/nacl/ld.abilist: Likewise.
1561         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
1562         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
1563         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
1564         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
1565         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
1566         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
1567         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
1568         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
1569         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
1570         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
1571         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
1572         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
1573         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
1574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
1575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
1576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
1577         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
1578         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
1579         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
1580         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
1581         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
1582         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
1583         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
1584         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
1585         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
1586         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
1587         * sysdeps/generic/localplt.data (ld.so): Likewise.
1588         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
1589         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
1590         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
1591         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
1592         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
1593         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
1594         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
1595         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
1596         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
1597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
1598         (ld.so): Likewise.
1599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
1600         (ld.so): Likewise.
1601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
1602         Likewise.
1603         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
1604         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
1605         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
1606         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
1607         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
1609 2016-11-30  Florian Weimer  <fweimer@redhat.com>
1611         [BZ #16628]
1612         Implement _dl_catch_error, _dl_signal_error in libc.so.
1613         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
1614         (catch_hook): Define as thread-local or regular variable,
1615         depending on DL_ERROR_BOOTSTRAP.
1616         (CATCH_HOOK): Remove.
1617         (dl_signal_error, _dl_catch_error): Use
1618         catch_hook.  Add hidden definition for libc.
1619         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
1620         for DL_ERROR_BOOTSTRAP only.
1621         * elf/dl-error.c: New file.
1622         * elf/dl-error-minimal.c: Likewise.
1623         * elf/tst-latepthread.c: Likewise.
1624         * elf/tst-latepthreadmod.c: Likewise.
1625         * elf/Makefile (routines): Add dl-error.
1626         (dl-routines): Remove dl-error.
1627         (rtld-routines): Add dl-error-minimal.
1628         [build-shared] (tests): Add tst-latepthread.
1629         (module-names): Add tst-latepthreadmod.
1630         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
1631         symbol.
1632         (tst-latepthreadmod.so): Link against libpthread.
1633         (tst-latepthread): Link against libdbl.
1634         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
1635         _dl_catch_error.
1636         [ld] (GLIBC_PRIVATE): Likewise.
1637         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
1638         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
1639         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
1640         directly.
1641         * elf/dl-tsd.c: Remove file.
1642         * elf/rtld.c (_rtld_global_ro): Remove initializers for
1643         _dl_catch_error, _dl_signal_error.
1644         (_dl_initial_error_catch_tsd): Remove definition.
1645         (do_preload): Remove initialization of dl_error_catch_tsd.
1646         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
1647         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
1648         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
1649         * dlfcn/dlopen.c (dlopen_doit): Likewise.
1650         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
1651         set dl_error_catch_tsd.
1652         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
1653         _dl_error_catch_tsd member.
1654         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
1655         members.
1656         (_dl_initial_error_catch_tsd): Remove declaration.
1657         (_dl_dprintf): Provide definition for use outside of ld.so.
1658         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
1659         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
1660         prototype for libc.
1661         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
1662         _dl_catch_error.
1663         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
1664         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
1665         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
1666         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
1667         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
1668         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
1669         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
1670         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
1671         Likewise.
1672         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
1673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
1674         (ld.so): Likewise.
1675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
1676         (ld.so): Likewise.
1677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
1678         Likewise.
1679         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
1680         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
1681         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
1682         Likewise.
1683         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
1684         Likewise.
1685         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
1687 2016-11-30  Florian Weimer  <fweimer@redhat.com>
1689         [BZ #4099]
1690         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
1691         _IO_BUFSIZ (8192).
1693 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
1695         * PROJECTS: Remove file.
1697 2016-11-29  Florian Weimer  <fweimer@redhat.com>
1699         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
1701 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
1702             Steve Ellcey  <sellcey@caviumnetworks.com>
1704         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
1705         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
1706         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
1707         fxstatat.
1708         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
1709         lxstat.
1710         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
1711         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
1712         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
1713         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
1714         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
1715         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
1716         __xstat.
1718 2016-11-29  Florian Weimer  <fweimer@redhat.com>
1720         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
1721         Define.
1722         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
1723         definition.
1725 2016-11-29  Florian Weimer  <fweimer@redhat.com>
1727         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
1728         version and turn into strong alias.  Remove compat symbol.
1730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1731         (__longjmp): Remove.
1733 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
1735         * bits/fp-fast.h: New file.
1736         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
1737         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
1738         * math/Makefile (headers): Add bits/fp-fast.h.
1739         * math/math.h: Include <bits/fp-fast.h>.
1740         * bits/mathdef.h (FP_FAST_FMA): Remove.
1741         (FP_FAST_FMAF): Likewise.
1742         (FP_FAST_FMAL): Likewise.
1743         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
1744         (FP_FAST_FMAF): Likewise.
1745         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
1746         (FP_FAST_FMAF): Likewise.
1747         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
1748         (FP_FAST_FMAF): Likewise.
1749         (FP_FAST_FMAL): Likewise.
1750         * sysdeps/arm/bits/mathdef.h: Remove file.
1751         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
1752         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
1753         * sysdeps/tile/bits/mathdef.h: Likewise.
1755 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
1757         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
1758         * math/w_ilogb.c: Remove.
1759         * math/w_ilogbf.c: Likewise.
1760         * math/w_ilogbl.c: Likewise.
1761         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
1762         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
1763         * math/Makefile (gen-libm-calls): Add w_ilogbF.
1764         (libm-calls): Remove w_ilogbF.
1765         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
1766         (LDOUBLE_ilogbl_libm_version): New macro.
1768         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
1770         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
1771         [!__STRICT_ANSI__ && !__cplusplus].
1773 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
1775         [BZ #20750]
1776         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
1777         of PIC.
1779 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
1780             Yury Norov  <ynorov@caviumnetworks.com>
1781             Steve Ellcey  <sellcey@caviumnetworks.com>
1783         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
1784         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
1785         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
1786         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
1787         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
1788         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
1789         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
1790         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
1791         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
1792         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
1793         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
1794         to get correct reg name for ILP32.
1795         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
1796         (RELA_SIZE): New Macro.
1797         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
1798         to support ILP32.
1799         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
1800         cast for ILP32 mode.
1801         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
1802         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
1803         * sysdeps/aarch64/memset.S (__memset): Ditto.
1804         * sysdeps/aarch64/strchr.S (strchr): Ditto.
1805         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
1806         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
1807         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
1808         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
1809         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
1810         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
1811         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
1812         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
1813         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
1814         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
1815         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
1816         change PTR_MANGLE call to use register numbers instead of names.
1817         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
1818         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
1819         ILP32 mode, change PTR_MANGLE calls to use register numbers.
1820         * sysdeps/aarch64/start.S (_start): Ditto.
1821         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
1822         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
1823         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
1824         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
1825         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
1826         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
1827         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
1828         Make defined values dependent on __ILP32__.
1829         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
1830         (sem_t): Change __align type.
1831         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
1832         PTR_SIZE): New Macros.
1833         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
1834         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
1835         Set when in ILP32 mode.
1836         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
1837         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
1838         Set elf flags for ILP32.
1839         (add_system_dir): Set ILP32 library directories.
1840         * sysdeps/unix/sysv/linux/aarch64/init-first.c
1841         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
1842         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
1843         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
1844         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
1845         New Macros.
1846         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
1848 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
1850         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
1851         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
1852         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
1854 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
1856         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
1857         <asm/cachectl.h>.
1859 2016-11-27  Zack Weinberg  <zackw@panix.com>
1861         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
1862         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
1864 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1866         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
1867         error_t to fix usage in C++ programs.
1869 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
1871         * scripts/build-many-glibcs.py: Import datetime module.
1872         (Context.__init__): Load JSON build state.  Initialize list of
1873         status logs.
1874         (Context.run_builds): Update saved build state.
1875         (Context.add_makefile_cmdlist): Update list of status logs.
1876         (Context.load_build_state_json): New function.
1877         (Context.store_build_state_json): Likewise.
1878         (Context.clear_last_build_state): Likewise.
1879         (Context.update_build_state): Likewise.
1880         (CommandList.status_logs): Likewise.
1882 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
1884         * scripts/build-many-glibcs.py (Context.__init__): Save text of
1885         script being executed.
1886         (Context.get_script_text): New function.
1887         (Context.exec_self): Likewise.
1888         (Context.checkout): Re-exec script if changed by checkout process.
1890 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
1892         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1893         (setpayloadsig): New declaration.
1894         * math/Versions (setpayloadsig): New libm symbol at version
1895         GLIBC_2.25.
1896         (setpayloadsigf): Likewise.
1897         (setpayloadsigl): Likewise.
1898         * math/Makefile (libm-calls): Add s_setpayloadsigF.
1899         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
1900         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
1901         (setpayloadsig_test_data): New array.
1902         (setpayloadsig_test): New function.
1903         (main): Call setpayloadsig_test.
1904         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
1905         setpayloadsigf and setpayloadsigl.
1906         * manual/libm-err-tab.pl: Update comment on interfaces without
1907         ulps tabulated.
1908         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
1909         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
1910         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
1911         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
1912         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
1913         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
1914         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1915         setpayloadsig.
1916         (CFLAGS-nldbl-setpayloadsig.c): New variable.
1917         * sysdeps/nacl/libm.abilist: Update.
1918         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1919         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1920         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1921         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1922         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1923         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1924         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1925         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1926         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1927         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1928         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1929         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1931         Likewise.
1932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1933         Likewise.
1934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1935         Likewise.
1936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1937         Likewise.
1938         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1939         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1940         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1941         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1942         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1943         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1944         Likewise.
1945         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1946         Likewise.
1947         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1948         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1949         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1951         * scripts/build-many-glibcs.py: Import json module.
1952         (Context.__init__): Take replace_sources argument.  Load
1953         versions.json.
1954         (Context.load_versions_json): New function.
1955         (Context.store_json): Likewise.
1956         (Context.store_versions_json): Likewise.
1957         (Context.set_component_version): Likewise.
1958         (Context.checkout): Update versions.json.  Check for and handle
1959         changes of version.  Prefer previously explicitly specified
1960         version to default version.
1961         (Context.checkout_vcs): Return a revision identifier.
1962         (Context.git_checkout): Likewise.
1963         (Context.gcc_checkout): Likewise.
1964         (get_parser): Add --replace-sources option.
1965         (main): Pass replace_sources argument to Context call.
1967 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1969         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
1970         * nptl/allocatestack.c (allocate_stack): Likewise.
1971         (__reclaim_stacks): Likewise.
1972         (setxid_signal_thread): Obtain pid through syscall.
1973         * nptl/nptl-init.c (sigcancel_handler): Likewise.
1974         (sighandle_setxid): Likewise.
1975         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
1976         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
1977         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
1978         Likewise.
1979         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
1980         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
1981         comment.
1982         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
1983         * nptl/descr.h (struct pthread): Change comment about pid value.
1984         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
1985         pid assert.
1986         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
1987         Do not set pid value.
1988         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
1989         pid cache check.
1990         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
1991         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
1992         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
1993         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
1994         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
1995         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1996         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
1997         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
1998         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
1999         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
2000         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
2001         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2002         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
2003         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2004         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
2005         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
2006         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2007         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
2008         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
2009         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
2010         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
2011         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2012         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
2013         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
2014         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
2015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
2017         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2018         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2019         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2020         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
2021         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
2022         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
2023         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2024         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
2025         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
2026         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
2027         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2028         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
2029         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
2030         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2031         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
2032         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
2033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2035         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2036         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2037         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2038         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
2039         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
2040         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
2041         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2042         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
2043         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
2044         struct access.
2045         (clone_test): Remove function.
2046         (do_test): Rewrite to take in consideration pid is not cached anymore.
2048 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
2050         * bits/flt-eval-method.h: New file.
2051         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
2052         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
2053         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
2054         * math/Makefile (headers): Add bits/flt-eval-method.h.
2055         * math/math.h: Include <bits/flt-eval-method.h>.
2056         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
2057         [__USE_ISOC99] (double_t): Likewise.
2058         * bits/mathdef.h (float_t): Remove.
2059         (double_t): Likewise.
2060         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
2061         (double_t): Likewise.
2062         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
2063         (double_t): Likewise.
2064         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
2065         (double_t): Likewise.
2066         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
2067         (double_t): Likewise.
2068         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
2069         (double_t): Likewise.
2070         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
2071         (double_t): Likewise.
2072         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
2073         (double_t): Likewise.
2074         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
2075         (double_t): Likewise.
2076         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
2077         (double_t): Likewise.
2078         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
2079         (double_t): Likewise.
2080         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
2081         (double_t): Likewise.
2082         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
2083         (double_t): Likewise.
2084         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
2085         (double_t): Likewise.
2087 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
2089         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
2090         instead of PIC.
2092 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
2094         [BZ #20859]
2095         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
2096         (-0x7fffffff) instead of 0x80000001.
2097         * math/test-fp-ilogb-constants.c: New file.
2098         * math/Makefile (tests): Add test-fp-ilogb-constants.
2100 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
2102         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
2103         (_init): Use it in place of hardcoded R_MIPS_JALR.
2104         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
2105         (_init): Use it in place of hardcoded R_MIPS_JALR.
2106         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
2107         (_init): Use it in place of hardcoded R_MIPS_JALR.
2109 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
2111         [BZ #20787]
2112         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
2113         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
2114         (double_t): Do not define to double if [__x86_64__] when
2115         __FLT_EVAL_METHOD__ is nonzero.
2116         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
2117         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
2118         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2119         test-flt-eval-method-387 and test-flt-eval-method-sse.
2120         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
2121         variable.
2122         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
2124 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
2126         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
2127         use of -fno-isolate-erroneous-paths options for tilepro.
2129 2016-11-23  Florian Weimer  <fweimer@redhat.com>
2131         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
2132         structure initialization is no longer needed.
2134 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
2136         [BZ #20855]
2137         * bits/mathdef.h (float_t): Define to float.
2138         * math/test-flt-eval-method.c: New file.
2139         * math/Makefile (tests): Add test-flt-eval-method.
2140         (CFLAGS-test-flt-eval-method.c): New variable.
2142 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
2144         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
2145         and __fstatfs.  Make them aliases of __fstatfs64 if
2146         STATFS_IS_STATFS64 is set to non-zero.
2147         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
2148         and __statfs64.
2149         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
2150         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
2151         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
2152         for __statfs and statfs.
2153         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
2154         to 0.
2155         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
2156         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
2157         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
2158         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
2159         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
2160         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
2161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
2162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
2163         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
2164         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
2165         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
2166         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
2168 2016-11-22  Andreas Schwab  <schwab@suse.de>
2170         * misc/mkstemp.c: Include <fcntl.h>.
2171         * misc/mkstemps.c: Likewise.
2172         * misc/mkostemp.c: Likewise.
2173         * misc/mkostemps.c: Likewise.
2175 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
2177         [BZ #20847]
2178         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
2179         array bounds.
2180         (__execvpe): Likewise.
2182 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
2184         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
2185         -fno-isolate-erroneous-paths options for tilepro.
2187 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
2189         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
2190         to 0 when in 32 bit mode.
2191         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
2192         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
2193         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
2194         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
2195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
2196         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
2197         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
2198         XSTAT_IS_XSTAT64 test.
2199         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
2200         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
2201         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
2202         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
2203         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
2204         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
2205         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
2206         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
2207         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
2208         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
2209         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
2211 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
2213         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2214         (setpayload): New declaration.
2215         * math/Versions (setpayload): New libm symbol at version
2216         GLIBC_2.25.
2217         (setpayloadf): Likewise.
2218         (setpayloadl): Likewise.
2219         * math/Makefile (libm-calls): Add s_setpayloadF.
2220         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
2221         test_Ff_b1_data.
2222         (RUN_TEST_Ff_b1): New macro.
2223         (RUN_TEST_LOOP_Ff_b1): Likewise.
2224         (canonicalize_test_data): Update type.
2225         (setpayload_test_data): New array.
2226         (setpayload_test): New function.
2227         (main): Call setpayload_test.
2228         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
2229         setpayloadf and setpayloadl.
2230         * manual/libm-err-tab.pl: Update comment on interfaces without
2231         ulps tabulated.
2232         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
2233         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
2234         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
2235         Likewise.
2236         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
2237         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
2238         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
2239         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
2240         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
2241         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
2242         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
2243         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
2244         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
2245         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2246         setpayload.
2247         (CFLAGS-nldbl-setpayload.c): New variable.
2248         * sysdeps/nacl/libm.abilist: Update.
2249         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2250         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2251         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2252         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2253         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2254         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2255         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2256         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2257         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2258         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2259         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2260         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2262         Likewise.
2263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2264         Likewise.
2265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2266         Likewise.
2267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2268         Likewise.
2269         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2270         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2271         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2272         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2273         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2274         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2275         Likewise.
2276         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2277         Likewise.
2278         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2279         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2280         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2282 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2284         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
2285         * include/unistd.h: Extend comment about __access_noerrno return
2286         semantics.
2287         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
2288         (access_common): Correct typo for EACCES.
2290 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
2292         * sysdeps/tile/math-tests.h: New file.
2294         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
2295         (__old_set_dataplane): Rename from set_dataplane and make a
2296         compatibility symbol.
2297         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
2298         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
2299         sys/dataplane.h.
2301 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
2303         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
2304         script quote words in command output to log suitably for input to
2305         the shell.
2307 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
2308             Maciej W. Rozycki  <macro@imgtec.com>
2310         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
2311         `.Lno_weak_fn' label.
2312         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
2313         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
2315 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2316             Yury Norov  <ynorov@caviumnetworks.com>
2318         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
2319         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
2320         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
2321         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
2322         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
2323         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
2324         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
2325         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2326         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
2327         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
2328         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
2329         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
2330         (sysdep_routines): Remove oldgetrlimit64.
2331         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
2332         (sysdep_routines): Likewise.
2333         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
2334         (sysdep_routines): Likewise.
2335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2336         [$(subdir) = resource] (sysdep_routines): Likewise.
2337         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
2338         [$(subdir) = resource] (sysdep_routines): Likewise.
2339         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
2340         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
2341         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
2342         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
2343         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
2344         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
2345         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
2346         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
2347         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
2348         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
2349         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
2350         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
2351         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
2352         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
2353         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
2354         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
2355         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
2356         setrlimit and getrlimit.
2357         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
2358         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
2359         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
2360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
2361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
2362         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
2363         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
2364         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2365         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
2366         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
2367         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
2368         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
2369         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
2370         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
2371         (__old_getrlimit64): Add compatibility symbol.
2372         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
2374 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
2376         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
2377         newly built gmp, mpfr and mpc.
2379         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
2381 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
2383         * conform/Makefile (linknamespace-libs): Rename to
2384         linknamespace-libs-thr.
2385         (linknamespace-libs-posix): New variable.
2386         (linknamespace-libs-xsi): Likewise.
2387         (linknamespace-libs-XPG3): Include libcrypt.a.
2388         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
2389         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
2390         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
2391         (linknamespace-libs-XOPEN2K): Likewise.
2392         (linknamespace-libs-XOPEN2K8): Likewise.
2393         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
2395         [BZ #20829]
2396         * stdio-common/Versions (__snprintf): Add to version
2397         GLIBC_PRIVATE.
2398         * include/stdio.h (__snprintf): Use libc_hidden_proto.
2399         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
2400         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
2401         of snprintf.
2402         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2404 2016-11-16  Zack Weinberg  <zackw@panix.com>
2406         * string/string.h: Remove obsolete comment stating that
2407         strcoll_l and strxfrm_l have not yet been standardized.
2409 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2411         * hurd/hurd.h (__hurd_fail_noerrno): New function.
2412         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
2413         __access_noerrno.
2414         * io/access.c (__access_noerrno): New function.
2415         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
2416         (hurd_fail_seterrno): Likewise.
2417         (access_common): Likewise.
2418         (__access_noerrno): Likewise.
2419         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
2420         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
2421         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
2422         macro.
2424 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
2426         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
2427         Only declare fpregs if [__SH_FPU_ANY__].
2429 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
2431         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
2432         Make code unconditional.
2433         [!(__SH4__ || __SH4A__)]: Remove conditional code.
2435 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
2437         * manual/sysinfo.texi (S_APPEND): Delete.
2438         (S_IMMUTABLE): Likewise.
2440 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
2441             Magnus Granberg  <zorry@gentoo.org>
2442             Mike Frysinger  <vapier@gentoo.org>
2444         [BZ #20662]
2445         * configure.ac (libc_cv_predef_stack_protector): Also check for
2446         __stack_chk_fail_local symbols.
2447         * configure: Regenerated.
2449 2016-11-15  Florian Weimer  <fweimer@redhat.com>
2451         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
2452         (libc_hidden_def): Remove redefinition.
2453         (__sigsetjmp): Add hidden definition.
2454         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
2455         (libc_hidden_def): Remove redefinition.
2456         (__sigsetjmp): Add hidden definition.
2458 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
2460         * scripts/build-many-glibcs.py (os.path): Do not import.
2461         (Context): Inherit explicitly from object.  Remove blank line
2462         between class and docstring.
2463         (Config): Likewise.
2464         (Glibc): Likewise.
2465         (Command): Likewise.
2466         (CommandList): Likewise.
2467         (Context.write_files): Store chmod mode in a variable.
2469         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
2470         LIBC_SLIBDIR_RTLDDIR for tilegx32.
2471         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
2473 2016-11-14  Zack Weinberg  <zackw@panix.com>
2475         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
2476         creating or re-creating it.
2478         * string/bits/string2.h: Fix typo in comment.
2480 2016-11-14  Zack Weinberg  <zackw@panix.com>
2482         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
2483         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
2484         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
2485         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
2486         of redirected function names.
2488         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
2489         as well.  Document that MESSAGE must be a single string literal.
2491 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
2493         * scripts/build-many-glibcs.py: New file.
2495         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
2496         (do_test): Disable -Wmaybe-uninitialized around uses of
2497         except_mask.
2499         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
2501 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
2503         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
2504         (atomic_store_release): Provide tilepro-specific implementations.
2506 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
2508         * math/math.h (__MATH_TG): New macro.
2509         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
2510         [__USE_ISOC99] (signbit): Likewise.
2511         [__USE_ISOC99] (isfinite): Likewise.
2512         [__USE_ISOC99] (isnan): Likewise.
2513         [__USE_ISOC99] (isinf): Likewise.
2514         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
2515         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
2516         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
2517         __MATH_TG and __MATH_EVAL_FMT2.
2518         * sysdeps/generic/math_private.h (fabs_tg): Define using
2519         __MATH_TG.
2520         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
2521         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
2522         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
2523         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
2524         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
2525         macro.
2526         (__iscanonical): Likewise.
2527         (iscanonical): Define using __MATH_TG.
2529 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2531         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
2532         guards.
2534         * sysdeps/unix/sysv/linux/access.c: New file.
2535         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
2537 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
2539         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
2540         and __WORDSIZE32_PTRDIFF_LONG.
2542 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2544         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2546 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2548         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
2549         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
2550         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
2551         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
2552         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
2553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
2554         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
2555         * sysdeps/unix/sysv/linux/truncate.c: New file.
2556         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
2557         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
2558         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
2559         Remove.
2560         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
2561         Likewise.
2563         * posix/tst-truncate-common.c: New file.
2564         * posix/tst-truncate.c: Use tst-truncate-common.c.
2565         * posix/tst-truncate64.c: Likewise and add LFS tests.
2566         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
2567         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
2568         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
2569         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
2570         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
2571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
2572         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
2573         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
2574         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
2575         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
2576         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
2577         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
2578         Remove.
2579         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
2580         Likewise.
2582 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
2584         [BZ #20790]
2585         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
2586         to MAXLINESIZE.
2587         * sunrpc/bug20790.x: New file.
2588         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
2589         variable.
2590         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
2591         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
2593         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
2595         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
2597         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
2598         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
2599         calloc, realloc, free, memalign and __libc_memalign rather than
2600         making them optional.
2602         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
2603         for libc.so.
2605 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2607         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
2608         ptw-lseek64.
2609         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
2610         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
2611         Likewise.
2612         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
2613         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
2614         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
2615         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
2616         * sysdeps/unix/sysv/linux/lseek.c: New file.
2617         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
2618         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
2619         __libc_lseek64 from auto-generation.
2620         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
2621         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
2623 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2625         * nptl/tst-basic1.c (tf, do_test): Use write_message.
2626         * nptl/tst-cleanup1.c (do_test): Likewise.
2627         * nptl/tst-cleanup3.c (do_test): Likewise.
2628         * nptl/tst-key1.c (do_test): Likewise.
2629         * nptl/tst-key2.c (tf, do_test): Likewise.
2630         * nptl/tst-key3.c (tf, do_test): Likewise.
2631         * nptl/tst-stdio1.c (do_test): Likewise.
2632         * nptl/tst-stdio2.c (do_test): Likewise.
2634         * nptl/tst-kill3.c (handler): Use write_message in place of write.
2635         * nptl/tst-kill6.c (handler): Likewise.
2636         * nptl/tst-tls2.c (CB): Likewise.
2637         * nptl/tst-tls3.c (CB): Likewise.
2639 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
2641         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
2643 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
2644             Steve Ellcey  <sellcey@caviumnetworks.com>
2646         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
2647           __ASSUME_ST_INO_64_BIT as 0
2648         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
2649         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
2650           over the code where __ASSUME_ST_INO_64_BIT is used.
2651         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
2652         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
2653         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2655 2016-11-07  Florian Weimer  <fweimer@redhat.com>
2657         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2658         Document ABI exposure of the __kind offset.
2659         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2660         Mention reason for the __kind offset exposure in the ABI.
2661         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2662         Likewise.
2663         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2664         Likewise.
2665         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2666         Likewise.
2667         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
2668         (struct __pthread_mutex_s): Likewise.
2669         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2670         Likewise.
2671         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2672         Likewise.
2673         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2674         Likewise.
2675         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2676         Likewise.
2677         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2678         Likewise.
2679         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
2680         Likewise.
2681         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
2682         (struct __pthread_mutex_s): Likewise.
2683         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2684         (struct __pthread_mutex_s): Likewise.
2685         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
2686         Likewise.
2688 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
2690         * test-skeleton.c: Document do_test usage.
2692 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
2694         * iconv/gconv.h (__gconv_info): Define __data element using a
2695         zero-length array.
2697 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
2699         * math/test-tgmath2.c: Split up test function.
2701 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
2703         * Rules (tests-expected): New variable, depending on
2704         $(run-built-tests).
2705         (tests): Pass $(tests-expected) to merge-test-results.sh, not
2706         $(tests).
2708         * Rules [$(run-built-tests) = no] (tests): Do not depend on
2709         $(tests-unsupported).
2711 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2713         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
2714         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
2716 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
2718         [BZ #20768]
2719         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
2720         __fegetenv instead of fegetenv.
2722         [BZ #14139]
2723         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
2724         (find_files): Obtain platform name from libm-test-ulps-name and
2725         store in %pplatforms.
2726         (canonicalize_platform): Remove.
2727         (print_platforms): Use $pplatforms directly.
2728         (by_platforms): Do not allow for platforms missing from
2729         %pplatforms.
2730         * sysdeps/aarch64/libm-test-ulps-name: New file.
2731         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
2732         * sysdeps/arm/libm-test-ulps-name: Likewise.
2733         * sysdeps/generic/libm-test-ulps-name: Likewise.
2734         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
2735         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
2736         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
2737         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
2738         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
2739         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
2740         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
2741         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
2742         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
2743         * sysdeps/nios2/libm-test-ulps-name: Likewise.
2744         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
2745         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
2746         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
2747         * sysdeps/sh/libm-test-ulps-name: Likewise.
2748         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
2749         * sysdeps/tile/libm-test-ulps-name: Likewise.
2750         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
2752         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
2754         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
2755         (test-xfail-check-execstack): New variable.
2757         * sysdeps/mips/localplt.data: New file.
2759 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
2760             Steve Ellcey  <sellcey@caviumnetworks.com>
2762         * bits/wordsize.h: Add documentation.
2763         * sysdeps/aarch64/bits/wordsize.h : New file
2764         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
2765         definitions.
2766         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
2767         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
2768         with #if instead of #ifdef.
2769         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
2770         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
2771         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
2772         Add or change defines.
2773         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
2774         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
2775         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
2776         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
2777         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
2778         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
2779         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
2780         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
2781         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
2782         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
2783         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
2784         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
2785         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
2786         * sysdeps/x86/bits/wordsize.h: Likewise.
2788 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
2789             Kevin Petit  <kevin.petit@arm.com>
2791         * sysdeps/aarch64/memchr.S (__memchr): New file.
2793 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
2795         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
2797 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
2799         [BZ #19398]
2800         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
2801         $(linknamespace-symlists-tests).
2803 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
2805         * time/tst-strptime2.c: Ignore -Wformat-length warning.
2807 2016-11-02  Florian Weimer  <fweimer@redhat.com>
2808             Carlos O'Donell  <carlos@redhat.com>
2810         [Bug #20729]
2811         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
2812         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
2813         for -Os related change.
2815 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
2817         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
2819 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
2821         [BZ #19673]
2822         * manual/math.texi (Exponents and Logarithms): Correct description
2823         of clog10.
2825 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
2827         [Bz #20729]
2828         * locale/weight.h: Include libc-internal.h.
2829         * locale/weightwc.h: Likewise.
2830         * nptl/nptl_dbP.h: Likewise.
2832 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
2834         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
2835         when it is MACH_PORT_NULL.
2837 2016-10-31  Andreas Schwab  <schwab@suse.de>
2839         [BZ #20707]
2840         * posix/glob.c (glob): Initialize pglob before checking for
2841         GLOB_BRACE.  Don't call glob recursively if pattern contains no
2842         valid brace expression despite GLOB_BRACE.
2843         * posix/globtest.sh: Test it.
2845 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
2847         [BZ #20729]
2848         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
2849         Define.
2850         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
2851         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
2852         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
2853         for seq2.back_us and seq1.back_us only for -Os compiles.
2854         * locale/weightwc.h (findix): Likewise.
2855         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
2856         DB_GET_FIELD_ADDRESS only for -Os compiles.
2857         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
2858         for slen only for -Os compiles.
2859         * string/strcoll_l.c (get_next_seq): Ignore
2860         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
2861         for -Os compiles.
2863         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
2864         * include/crypt.h: New file.
2866 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2868         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
2869         from test-skeleton.c.
2870         (statclass): Replace calls to write with calls to write_message.
2872 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
2874         * math/math.h
2875         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
2876         New macro.
2877         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
2878         Likewise.
2879         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
2880         Likewise.
2881         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
2882         SNANL.
2883         * math/test-double.h (snan_value_MACRO): New macro.
2884         * math/test-float.h (snan_value_MACRO): Likewise.
2885         * math/test-ldouble.h (snan_value_MACRO): Likewise.
2886         * math/libm-test.inc (issignaling_test_data): Add tests of
2887         snan_value_MACRO.
2889 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2891         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
2892         behavior when eliding a lock not held by the current thread.
2893         * sysdeps/powerpc/nptl/elide.h: Likewise.
2895 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2897         [BZ #20728]
2898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
2899         branch to _exit() by a function call.
2901 2016-10-28  Florian Weimer  <fweimer@redhat.com>
2903         * malloc/malloc.c: Update chunk layout comments.
2904         (chunk_main_arena): Update comment.
2906 2016-10-28  Florian Weimer  <fweimer@redhat.com>
2908         * crypt/sha256.c, crypt/sha256-block.c,
2909         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
2910         sha256_process_block to __sha256_process_block.
2911         * crypt/sha512.c, crypt/sha512-block.c,
2912         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
2913         sha512_process_block to __sha512_process_block.
2915 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
2917         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
2919         * math/test-nan-overflow.c: Include stdlib.h for malloc.
2921 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
2923         [BZ #20019]
2924         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
2925         definition in unrelocated shared library.
2926         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2928 2016-10-28  Florian Weimer  <fweimer@redhat.com>
2930         [BZ #20729]
2931         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
2932         * sysdeps/unix/sysv/linux/i386/Makefile
2933         (uses-6-syscall-arguments): Define.
2934         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
2935         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
2936         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
2937         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
2938         Likewise.
2939         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
2940         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
2941         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
2942         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
2943         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
2944         (CFLAGS-fallocate64.os): Likewise.
2945         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
2946         (CFLAGS-pthread_rwlock_timedrdlock.os)
2947         (CFLAGS-pthread_rwlock_timedwrlock.o)
2948         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
2949         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
2950         (CFLAGS-sem_timedwait.os): Likewise.
2952 2016-10-28  Florian Weimer  <fweimer@redhat.com>
2954         * elf/tst-linkall-static.c: New file.
2955         * elf/Makefile (tests-static): Add tst-linkall-static.
2956         (tst-linkall-static): Link against static libraries.
2958 2016-10-27  Florian Weimer  <fweimer@redhat.com>
2960         * malloc/malloc.c (sysmalloc): Initialize previous size field of
2961         mmaped chunks.
2963 2016-10-28  Florian Weimer  <fweimer@redhat.com>
2965         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
2966         members to mchunk_prev_size, mchunk_size.
2967         (chunk_main_arena): Reverse sense and rename from
2968         chunk_non_main_arena.
2969         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
2970         mchunk_size instead of size.
2971         (set_non_main_arena): Define.
2972         (chunksize): Use chunksize_nomask instead of direct member access.
2973         (chunksize_nomask): Define.
2974         (next_chunk): Use chunksize instead of direct member access.
2975         (prev_size, set_prev_size): Define.
2976         (prev_chunk): Use prev_size instead of direct member access.
2977         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
2978         (inuse_bit_at_offset, set_inuse_bit_at_offset)
2979         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
2980         (mchunk_prev_size, mchunk_size): Poison tokens.
2981         (unlink): Use chunksize_nomask, prev_size accessors.
2982         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
2983         (do_check_free_chunk): Use prev_size accessor.
2984         (sysmalloc): Use set_prev_size, set_head accessors.
2985         (munmap_chunk, mremap_chunk): Use prev_size accessor.
2986         (__libc_free): Use chunksize_nomask accessor.
2987         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
2988         chunk_main_arena accessors.
2989         (_int_free): Use chunksize_nomask, prev_size accessors.
2990         (malloc_consolidate): Use chunksize, prev_size accessors.
2991         (_int_realloc): Use chunksize_nomask accessor.
2992         (_int_memalign): Use set_prev_size accessor.
2993         (__malloc_info): Use chunksize_nomask accessor.
2994         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
2995         accessors.
2996         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
2997         (heap_trim): Use chunksize_nomask, prev_size accessors.
2999 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
3001         [BZ #19380]
3002         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
3003         for inexact results.
3004         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
3005         of inexact result where mpfr_subnormalize is the only inexact
3006         step.
3007         * stdlib/tst-strtod-round-data.h: Regenerated.
3008         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
3009         Define to 0.
3010         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
3012 2016-10-27  David S. Miller  <davem@davemloft.net>
3014         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
3016 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3018         * malloc/malloc.c (do_set_mallopt_check): New function.
3019         (do_set_mmap_threshold): Likewise.
3020         (do_set_mmaps_max): Likewise.
3021         (do_set_top_pad): Likewise.
3022         (do_set_perturb_byte): Likewise.
3023         (do_set_trim_threshold): Likewise.
3024         (do_set_arena_max): Likewise.
3025         (do_set_arena_test): Likewise.
3026         (__libc_mallopt): Use them.
3028 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
3030         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3031         (canonicalize): New declaration.
3032         * math/Versions (canonicalize): New libm symbol at version
3033         GLIBC_2.25.
3034         (canonicalizef): Likewise.
3035         (canonicalizel): Likewise.
3036         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
3037         * math/s_canonicalize_template.c: New file.
3038         * math/libm-test.inc: Update comment on functions tested and
3039         testing of NaN payloads.
3040         (TEST_NAN_PAYLOAD): New macro.
3041         (NO_TEST_INLINE): Update value.
3042         (XFAIL_TEST): Likewise.
3043         (ERRNO_UNCHANGED): Likewise.
3044         (ERRNO_EDOM): Likewise.
3045         (ERRNO_ERANGE): Likewise.
3046         (IGNORE_RESULT): Likewise.
3047         (NON_FINITE): Likewise.
3048         (TEST_SNAN): Likewise.
3049         (NO_TEST_MATHVEC): Likewise.
3050         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
3051         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
3052         (struct test_Ffp_b1_data): New type.
3053         (RUN_TEST_Ffp_b1): New macro.
3054         (RUN_TEST_LOOP_Ffp_b1): Likewise.
3055         (canonicalize_test_data): New array.
3056         (canonicalize_test): New function.
3057         (main): Call canonicalize_test.
3058         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
3059         canonicalizef and canonicalizel.
3060         * manual/libm-err-tab.pl: Update comment on interfaces without
3061         ulps tabulated.
3062         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
3063         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
3064         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3065         canonicalize.
3066         (CFLAGS-nldbl-canonicalize.c): New variable.
3067         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
3068         to ...
3069         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
3070         ... here.
3071         (do_test): Also test canonicalizel.
3072         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
3073         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
3074         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
3075         file.
3076         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
3077         Use libm_hidden_def.
3078         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
3079         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
3080         (do_test): Also test canonicalizel.
3081         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
3082         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
3083         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
3084         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
3085         libm_hidden_def.
3086         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
3087         macro.
3088         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
3089         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
3090         * sysdeps/nacl/libm.abilist: Update.
3091         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3092         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3093         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3094         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3095         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3096         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3097         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3098         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3099         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3100         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3101         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3102         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3104         Likewise.
3105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3106         Likewise.
3107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3108         Likewise.
3109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3110         Likewise.
3111         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3112         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3113         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3114         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3115         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3116         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3117         Likewise.
3118         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3119         Likewise.
3120         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3121         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3122         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3124         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
3125         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3126         getpayload.
3127         (CFLAGS-nldbl-getpayload.c): New variable.
3129 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3131         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
3132         integer from the format string.
3134 2016-10-26  Florian Weimer  <fweimer@redhat.com>
3136         [BZ #19473]
3137         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
3138         declarations.
3139         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
3140         weak aliases.
3141         * malloc/hooks.c (__malloc_get_state): Remove definition.
3142         (malloc_get_state): New stub implementation as
3143         compatibility symbol.
3144         (malloc_set_state): Rename from __malloc_set_state.  Turn into
3145         compat symbol.
3146         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
3147         malloc_set_state.
3148         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
3150 2016-10-26  Florian Weimer  <fweimer@redhat.com>
3152         * iconvdata/iso646.c (enum variant): Drop illegal_var.
3153         (names): Turn into concatenation of strings.
3154         (gconv_init): Adapt iteration over names.
3156 2016-10-26  Florian Weimer  <fweimer@redhat.com>
3158         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
3159         make const.
3160         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
3161         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
3162         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
3163         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
3164         character in sbconv.
3165         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
3166         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
3167         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
3169 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3171         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
3173         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
3174         (M_TRIM_THRESHOLD): Likewise.
3176         * manual/memory.texi (M_ARENA_TEST): Add documentation.
3177         (M_ARENA_MAX): Likewise.
3178         * malloc/malloc.c: Remove obsolete comment.
3180         * manual/memory.texi: Add environment variable alternatives to
3181         setting mallopt parameters.
3183 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
3185         * include/atomic.h
3186         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
3187         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
3189 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3191         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
3192         * stdlib/tst-strfrom.h: New file.
3193         * stdlib/tst-strfrom.c: New file.
3194         * stdlib/tst-strfrom-locale.c: New file.
3196         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
3197         * stdlib/bug-strtod2.c: Likewise.
3198         * stdlib/tst-strtod-round-skeleton.c: Likewise.
3199         * stdlib/tst-strtod6.c: Likewise.
3200         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
3202 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3204         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
3205         * manual/arith.texi: Document strfromd, strfromf, strfroml.
3206         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
3207         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
3208         * stdlib/stdlib.h (strfromd): New declaration.
3209         (strfromf): Likewise.
3210         (strfroml): Likewise.
3211         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
3212         strfrom.
3213         * stdlib/strfromd.c: New file.
3214         * stdlib/strfromf.c: Likewise.
3215         * stdlib/strfroml.c: Likewise.
3216         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
3217         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
3218         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
3219         * sysdeps/arm/nacl/libc.abilist: Update.
3220         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
3221         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3222         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3223         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3224         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3225         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3226         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3227         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3228         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3229         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3230         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3231         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3232         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3233         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
3235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
3236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3238         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3239         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3240         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3241         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3242         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3243         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3244         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3245         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3246         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3247         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3249 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
3251         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
3252         instead of cmpli.
3253         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
3254         instead of cmpli.
3256 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
3258         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
3259         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
3260         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
3261         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
3262         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
3263         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
3265 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3267         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
3268         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3269         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
3270         SYSCALL_LL64_PRW.
3271         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
3272         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
3273         __ASSUME_PRW_DUMMY_ARG.
3274         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
3275         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
3276         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
3277         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
3278         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
3279         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
3281 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
3283         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
3285 2016-10-22  Florian Weimer  <fweimer@redhat.com>
3287         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
3288         "C++", to override a potential extern "C" directive around the
3289         header file inclusion.
3291 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
3293         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
3295 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3297         * sysdeps/powerpc/fpu/fenv_private.h:
3298         (_FPU_MASK_ALL): Rename to...
3299         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
3300         XE FPSCR bits.
3302         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
3304         (_FPU_MASK_ROUNDING): Rename to...
3305         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
3306         NI bits.
3308         (_FPU_MASK_EXCEPT_ROUND): Rename to...
3309         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
3310         bits and rounding bits.
3312         (__libc_feholdbits_ppc): New inline function to mask, set,
3313         and pontentially clear FSPCR bits, and change MSR[FE] bits.
3314         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
3315         (libc_feholdexcept_setround_ppc): Likewise.
3317         (__libc_femergeenv_ppc): New function to dynamically mask both
3318         old and new FP environments and merge.
3319         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
3320         (libc_feresetround_ppc): Likewise.
3321         (libc_feupdateenv_test_ppc): Likewise.
3322         (libc_feupdateenv_ppc): Likewise.
3324         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
3325         of ISA RN bits, and update macro names.
3326         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
3327         effectively the same as the previously mentioned function.
3329         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
3330         usage with fe_resetround_ppc.
3332         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
3333         to be used.
3334         (libc_feholdexcept_setround_ctxf): Likewise.
3335         (libc_feholdexcept_setround_ctxl): Likewise.
3337 2016-10-21  Florian Weimer  <fweimer@redhat.com>
3339         [BZ #20715]
3340         * math/math.h [__cplusplus] (iszero): Define as function template.
3341         * math/Makefile [CXX] (tests): Add test-math-iszero.
3342         (CFLAGS-test-math-iszero.cc): Set.
3343         * math/test-math-iszero.cc: New file.
3345 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
3347         [BZ #20660]
3348         * sysdeps/arm/e_sqrt.c: New file.
3349         * sysdeps/arm/e_sqrtf.c: Likewise.
3351 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
3353         [BZ #20718]
3354         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
3355         not use floating-point comparisons to test sign.
3356         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
3357         Likewise.
3359         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3360         (getpayload): New declaration.
3361         * math/Versions (getpayload): New libm symbol at version
3362         GLIBC_2.25.
3363         (getpayloadf): Likewise.
3364         (getpayloadl): Likewise.
3365         * math/Makefile (libm-calls): Add s_getpayloadF.
3366         * math/libm-test.inc: Include <nan-high-order-bit.h>.
3367         (struct test_f_f_data): Add comment.
3368         (RUN_TEST_fp_f): New macro.
3369         (RUN_TEST_LOOP_fp_f): Likewise.
3370         (getpayload_test_data): New array.
3371         (getpayload_test): New function.
3372         (main): Call getpayload_test.
3373         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
3374         descriptor.
3375         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
3376         getpayloadf and getpayloadl.
3377         * manual/libm-err-tab.pl: Update comment on interfaces without
3378         ulps tabulated.
3379         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
3380         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
3381         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
3382         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
3383         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
3384         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
3385         * sysdeps/nacl/libm.abilist: Update.
3386         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3387         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3388         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3389         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3390         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3391         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3392         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3393         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3394         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3395         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3396         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3397         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3399         Likewise.
3400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3401         Likewise.
3402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3403         Likewise.
3404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3405         Likewise.
3406         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3407         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3408         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3409         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3410         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3411         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3412         Likewise.
3413         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3414         Likewise.
3415         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3416         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3417         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3419 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3421         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
3422         tst-fallocate{64}.
3423         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
3424         on syscall return.
3426 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
3428         [BZ #20689]
3429         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
3430         usable.
3432 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
3434         * sysdeps/generic/nan-high-order-bit.h: New file.
3435         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
3436         * sysdeps/mips/nan-high-order-bit.h: Likewise.
3437         * sysdeps/hppa/math_private.h: Remove file.
3438         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
3439         not define here.
3440         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
3441         <nan-high-order-bit.h>.
3442         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3443         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
3444         <nan-high-order-bit.h>.
3445         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3446         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
3447         <nan-high-order-bit.h>.
3448         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3449         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
3450         <nan-high-order-bit.h>.
3451         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3452         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
3453         <nan-high-order-bit.h>.
3454         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3455         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
3456         <nan-high-order-bit.h>.
3457         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3458         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
3459         <nan-high-order-bit.h>.
3460         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3461         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
3462         <nan-high-order-bit.h>.
3463         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3464         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
3465         <nan-high-order-bit.h>.
3466         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3467         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
3468         <nan-high-order-bit.h>.
3469         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3470         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
3471         <nan-high-order-bit.h>.
3472         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3473         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
3474         <nan-high-order-bit.h>.
3475         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3476         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
3477         <nan-high-order-bit.h>.
3478         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3479         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
3480         <nan-high-order-bit.h>.
3481         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3482         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
3483         <nan-high-order-bit.h>.
3484         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3485         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
3486         <nan-high-order-bit.h>.
3487         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3488         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
3489         <nan-high-order-bit.h>.
3490         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3491         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
3492         <nan-high-order-bit.h>.
3493         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
3495 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3497         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
3499 2016-09-22  John David Anglin  <dave.anglin@bell.net>
3501         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
3502         abort-instr.h.
3503         (EFAULT): Remove conditional define.
3504         (ENOSYS): Likewise.
3505         (atomic_compare_and_exchange_val_acq): Use instruction nullification
3506         instead of conditional branch instructions.
3508 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
3510         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3511         (totalordermag): New declaration.
3512         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
3513         New macro.
3514         * math/Versions (totalordermag): New libm symbol at version
3515         GLIBC_2.25.
3516         (totalordermagf): Likewise.
3517         (totalordermagl): Likewise.
3518         * math/Makefile (libm-calls): Add s_totalordermagF.
3519         * math/libm-test.inc (totalordermag_test_data): New array.
3520         (totalordermag_test): New function.
3521         (main): Call totalordermag_test.
3522         * math/test-tgmath.c (NCALLS): Increase to 125.
3523         (F(compile_test)): Call totalordermag.
3524         (F(totalordermag)): New function.
3525         * manual/arith.texi (FP Comparison Functions): Document
3526         totalordermag, totalordermagf and totalordermagl.
3527         * manual/libm-err-tab.pl: Update comment on interfaces without
3528         ulps tabulated.
3529         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
3530         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
3531         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
3532         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
3533         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
3534         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
3535         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
3536         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3537         totalordermag.
3538         (CFLAGS-nldbl-totalordermag.c): New variable.
3539         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
3540         (do_test): Also test totalordermagl.
3541         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
3542         Likewise.
3543         * sysdeps/nacl/libm.abilist: Update.
3544         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3545         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3546         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3547         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3548         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3549         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3550         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3551         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3552         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3553         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3554         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3555         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3557         Likewise.
3558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3559         Likewise.
3560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3561         Likewise.
3562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3563         Likewise.
3564         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3565         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3566         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3567         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3568         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3569         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3570         Likewise.
3571         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3572         Likewise.
3573         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3574         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3575         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3577 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
3579         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
3580         boolean.
3582 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
3584         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
3585         raising FE_INVALID with feraisexcept in case where part of
3586         argument is infinite, subtract that part of argument from itself.
3587         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
3588         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
3589         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
3591 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
3593         * math/libm-test.inc (totalorder_test_data): Add more tests.
3595 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
3597         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
3598         Undefine weak_alias and add a comment why mips64 require
3599         versioning.
3601 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
3603         [BZ #20647]
3604         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
3605         maximum CPUID level is less than 2.
3607 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
3609         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3610         (totalorder): New declaration.
3611         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
3612         New macro.
3613         * math/Versions (totalorder): New libm symbol at version
3614         GLIBC_2.25.
3615         (totalorderf): Likewise.
3616         (totalorderl): Likewise.
3617         * math/Makefile (libm-calls): Add s_totalorderF.
3618         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
3619         string.
3620         * math/libm-test.inc (PAYLOAD_DIG): New macro.
3621         (qnan_value_pl): Likewise.
3622         (snan_value_pl): Likewise.
3623         (qnan_value): Define using qnan_value_pl.
3624         (snan_value): Define using snan_value_pl.
3625         (struct test_ff_i_data): Add comment about which tests use this
3626         structure.
3627         (RUN_TEST_ff_b): New macro.
3628         (RUN_TEST_LOOP_ff_b): Likewise.
3629         (totalorder_test_data): New array.
3630         (totalorder_test): New function.
3631         (main): Call totalorder_test.
3632         * math/test-tgmath.c (NCALLS): Increase to 122.
3633         (F(compile_test)): Call totalorder.
3634         (F(totalorder)): New function.
3635         * manual/arith.texi (FP Comparison Functions): Document
3636         totalorder, totalorderf and totalorderl.
3637         * manual/libm-err-tab.pl: Update comment on interfaces without
3638         ulps tabulated.
3639         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
3640         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
3641         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
3642         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
3643         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
3644         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
3645         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
3646         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3647         totalorder.
3648         (CFLAGS-nldbl-totalorder.c): New variable.
3649         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
3650         file.
3651         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
3652         Add test-totalorderl-ldbl-128ibm.
3653         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
3654         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
3655         test-totalorderl-ldbl-96.
3656         * sysdeps/nacl/libm.abilist: Update.
3657         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3658         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3659         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3660         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3661         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3662         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3663         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3664         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3665         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3666         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3667         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3668         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3670         Likewise.
3671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3672         Likewise.
3673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3674         Likewise.
3675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3676         Likewise.
3677         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3678         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3679         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3680         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3681         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3682         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3683         Likewise.
3684         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3685         Likewise.
3686         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3687         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3688         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3690 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3692         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
3693         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
3694         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
3695         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
3696         remove ENOSYS implementation.
3697         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
3698         Consolidate all Linux implementations.
3700 2016-10-11  Florian Weimer  <fweimer@redhat.com>
3702         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
3703         * resolv/herror.c (herror): Cast away const-ness.
3704         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
3705         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
3707 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
3709         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
3710         instead of M_NAN + M_NAN.
3711         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
3713 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3715         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
3716         unused variable 'p'.
3718 2016-10-09  Alan Modra  <amodra@gmail.com>
3719             Andreas Schwab  <schwab@linux-m68k.org>
3721         [BZ #20554]
3722         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
3723         [PIC && !SHARED]: Set up PIC register for PLT call.
3725 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
3727         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
3728         conditional on value of [__FLT_EVAL_METHOD__].
3729         * math/test-iseqsig-excess-precision.c: New file.
3730         * math/Makefile (tests): Add test-iseqsig-excess-precision.
3732 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3734         * math/s_iseqsig_template.c: Include math-private.h.
3736         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
3737         * posix/tst-posix_fadvise.c: New file.
3738         * posix/tst-posix_fadvise64.c: Likewise.
3739         * posix/tst-posix_fadvise-common.c: Likewise.
3740         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3741         (__ASSUME_FADVISE64_64_6ARG): Define.
3742         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3743         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
3744         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3745         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
3746         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
3747         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
3748         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
3749         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
3750         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
3751         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
3752         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
3753         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
3754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
3755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
3756         Likewise.
3757         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
3758         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
3759         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
3760         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
3761         Alias to __posix_fadvise64_l32.
3762         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
3763         Add compat definition to posix_fadvise64.
3764         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
3765         Add versioned definition to posix_fadvise64.
3766         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
3767         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
3768         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
3769         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
3770         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
3772         * io/Makefile (tests): Add tst-posix_fallocate and
3773         tst-posix_fallocate64.
3774         * io/tst-posix_fallocate-common.c: New file.
3775         * io/tst-posix_fallocate.c: Likewise.
3776         * io/tst-posix_fallocate64.c: Likewise.
3777         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
3778         file.
3779         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
3780         Likewise.
3781         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
3782         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
3783         Likewise.
3784         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
3785         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
3786         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
3787         SYSCALL_LL to pass both offset and len arguments.
3788         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
3789         Likewise.
3790         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
3791         __libc_pwrite64 alias used by posix_fallocate64.
3793         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
3794         tst-fallocate64.
3795         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
3796         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
3797         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
3798         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
3799         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
3800         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
3801         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
3802         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
3803         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
3804         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
3805         macro on offset argument.
3806         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
3807         SYSCALL_LL64 on offset argument.
3809         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
3810         tst-fallocate64.
3811         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
3812         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
3813         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
3814         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
3815         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
3816         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
3817         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
3818         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
3819         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
3820         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
3821         macro on offset argument.
3822         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
3823         SYSCALL_LL64 on offset argument.
3824         * test-skeleton.c (FAIL_RET): Add macro.
3825         (FAIL_EXIT): Likewise.
3826         (FAIL_EXIT1): Likewise.
3827         (_FAIL): Likewise.
3829 2016-10-07  Florian Weimer  <fweimer@redhat.com>
3831         [BZ #20629]
3832         resolv: Remove RES_USEBSTRING and its implementation.
3833         * resolv/resolv.h (RES_USEBSTRING): Remove.
3834         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
3835         (digitvalue, encode_bitstring, decode_bitstring): Remove.
3836         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
3837         (labellen): Remove extended label types support.
3838         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
3839         * resolv/res_init.c (res_setoptions): Likewise.
3840         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
3842 2016-10-07  Florian Weimer  <fweimer@redhat.com>
3844         resolv: Remove RES_NOIP6DOTINT and its implementation.
3845         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
3846         (RES_NOIP6DOTINT): Remove.
3847         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
3848         handling.
3849         * resolv/res_debug.c (p_option): Likewise.
3850         * resolv/res_init.c (res_setoptions): Likewise.
3851         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
3853 2016-10-07  Florian Weimer  <fweimer@redhat.com>
3855         resolv: Deprecate unimplemented flags.
3856         * misc/sys/cdefs.h (__glibc_macro_warning1)
3857         (__glibc_macro_warning): Define.
3858         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
3859         (RES_KEEPTSIG): Mark as deprecated.
3860         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
3861         RES_NOCHECKNAME, RES_KEEPTSIG.
3862         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
3864 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3866         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
3867         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
3868         Use strong_alias to create symbols for glibc verison 2.19.
3870 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3872         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
3874 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3876         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
3878 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3880         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
3882 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3884         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
3885         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
3886         in header for using it as type for ifunc function because __GI_* symbols
3887         for ppc32 do not target the ifunc symbols.
3888         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
3890 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3892         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
3893         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
3894         libc_ifunc_hidden_def.
3895         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
3896         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
3897         Redirect ifunced function in header for using it as type of ifunc'ed
3898         function. Redefine libc_hidden_def to use fallback non ifunc'ed
3899         function for __GI_* symbol.
3900         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
3901         * include/libc-symbols.h
3902         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
3904 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3906         [BZ #20478]
3907         * sysdeps/s390/multiarch/ifunc-resolve.h
3908         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
3909         to create ifunc symbols.
3910         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
3911         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
3912         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
3913         for using it as type for ifunc function.
3914         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
3915         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
3916         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
3917         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
3918         * sysdeps/s390/multiarch/strcat.c: Likewise.
3919         * sysdeps/s390/multiarch/strchr.c: Likewise.
3920         * sysdeps/s390/multiarch/strcmp.c: Likewise.
3921         * sysdeps/s390/multiarch/strcpy.c: Likewise.
3922         * sysdeps/s390/multiarch/strcspn.c: Likewise.
3923         * sysdeps/s390/multiarch/strlen.c: Likewise.
3924         * sysdeps/s390/multiarch/strncmp.c: Likewise.
3925         * sysdeps/s390/multiarch/strncpy.c: Likewise.
3926         * sysdeps/s390/multiarch/strnlen.c: Likewise.
3927         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
3928         * sysdeps/s390/multiarch/strrchr.c: Likewise.
3929         * sysdeps/s390/multiarch/strspn.c: Likewise.
3930         * sysdeps/s390/multiarch/wcschr.c: Likewise.
3931         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
3932         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
3933         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
3934         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
3935         * sysdeps/s390/multiarch/wmemset.c: Likewise.
3936         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
3937         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
3938         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
3939         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
3940         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
3941         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
3943 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3945         * include/libc-symbols.h (__ifunc_resolver):
3946         New macro is used by __ifunc* macros.
3947         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
3948         depending on HAVE_GCC_IFUNC.
3949         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
3950         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
3951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
3952         Redirect ifunced function in header for using as type for ifunc function.
3953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
3954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
3955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
3956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
3957         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
3958         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
3959         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
3960         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
3961         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
3962         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
3963         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
3964         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
3965         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
3966         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
3967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
3969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
3971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3972         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
3973         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
3974         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
3975         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
3976         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
3977         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
3978         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
3979         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
3980         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
3981         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
3982         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
3983         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
3984         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
3985         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
3987         Add libc_hidden_def() and use libc_ifunc_hidden() macro
3988         instead of libc_ifunc() macro.
3989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
3990         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3992 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3994         * config.h.in (HAVE_GCC_IFUNC): New undef.
3995         * configure.ac: Add check if gcc supports attribute ifunc feature.
3996         * configure: Regenerated.
3997         * manual/install.texi: Add recommendation for gcc with
3998         indirect-function support.
3999         * INSTALL: Regenerated.
4001 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
4003         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
4004         macro.
4005         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4006         (__iseqsig): New declaration.
4007         * math/s_iseqsig_template.c: New file.
4008         * math/Versions (__iseqsigf): New libm symbol at version
4009         GLIBC_2.25.
4010         (__iseqsig): Likewise.
4011         (__iseqsigl): Likewise.
4012         * math/libm-test.inc (iseqsig_test_data): New array.
4013         (iseqsig_test): New function.
4014         (main): Call iseqsig_test.
4015         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
4016         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
4017         * manual/libm-err-tab.pl: Update comment on interfaces without
4018         ulps tabulated.
4019         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
4020         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
4021         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
4022         * sysdeps/nacl/libm.abilist: Update.
4023         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4024         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4025         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4026         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4027         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4028         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4029         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4030         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4031         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4032         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4033         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4034         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4036         Likewise.
4037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4038         Likewise.
4039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4040         Likewise.
4041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4042         Likewise.
4043         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4044         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4045         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4046         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4047         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4048         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4049         Likewise.
4050         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4051         Likewise.
4052         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4053         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4054         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4056 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4058         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
4059         do_sincos_2, sloww, sloww1): Update comments.
4061         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
4062         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
4064         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
4065         K boolean and rename it.
4066         (__sin): Adjust.
4067         (__cos): Adjust.
4069 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
4070             Siddhesh Poyarekar  <siddhesh@sourceware.org>
4072         * manual/nss.texi: Fix typos in the manual.
4074 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
4076         * manual/contrib.texi: Fix typos in the manual.
4078         * manual/maint.texi: Fix typos in the manual.
4080         * manual/install.texi: Fix typos in the manual.
4081         * INSTALL: Regenerated.
4083         * manual/lang.texi: Fix typos in the manual.
4085         * manual/probes.texi: Fix typos in the manual.
4087         * manual/threads.texi: Fix typos in the manual.
4089         * manual/debug.texi: Fix typos in the manual.
4091         * manual/crypt.texi: Fix typos in the manual.
4093         * manual/conf.texi: Fix typos in the manual.
4095         * manual/sysinfo.texi: Fix typos in the manual.
4097         * manual/users.texi: Fix typos in the manual.
4099         * manual/job.texi: Fix typos in the manual.
4101         * manual/process.texi: Fix typos in the manual.
4103         * manual/argp.texi: Fix typos in the manual.
4104         * manual/getopt.texi: Likewise.
4105         * manual/startup.texi: Likewise.
4107         * manual/signal.texi: Fix typos in the manual.
4109         * manual/setjmp.texi: Fix typos in the manual.
4111         * manual/resource.texi: Fix typos in the manual.
4113         * manual/time.texi: Fix typos in the manual.
4115         * manual/arith.texi: Fix typos in the manual.
4117         * manual/math.texi: Fix typos in the manual.
4119         * manual/syslog.texi: Fix typos in the manual.
4121         * manual/terminal.texi: Fix typos in the manual.
4123         * manual/socket.texi: Fix typos in the manual.
4125         * manual/filesys.texi: Fix typos in the manual.
4127         * manual/llio.texi: Fix typos in the manual.
4129         * manual/stdio.text: Fix typos in the manual.
4131 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4133         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
4134         instead of K1.
4136         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
4137         SHIFT_QUADRANT and make it bool.
4138         (do_sincos_2): Likewise.
4139         (sloww): Likewise.
4140         (sloww1): Likewise.
4141         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
4142         (__cos): Likewise.
4144 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4146         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
4148 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
4150         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
4151         Define to __WORDSIZE, not conditional on [LONG_MAX ==
4152         0x7fffffffL].
4153         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
4155 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4157         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
4158         inline by __inline__.
4159         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
4160         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
4161         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
4162         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
4163         sigset_t from signal.h.
4164         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
4165         which is already required.
4167 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
4169         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4171 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
4173         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
4174         (struct tcp_repair_window): New type.
4176 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4178         * libio/tst-memstream3.c: Include string.h.
4180 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4182         [BZ #18241]
4183         [BZ #20181]
4184         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
4185         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
4186         write position is at the end the buffer.
4187         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
4188         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
4189         (_IO_str_seekoff): Set correct offset from negative displacement and
4190         set EINVAL for invalid ones.
4191         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
4192         buffer length.
4193         (_IO_wstr_switch_to_get_mode): New function.
4194         (_IO_wstr_seekoff): Set correct offset from negative displacement and
4195         set EINVAL for invalid ones.
4196         * libio/tst-memstream3.c: New file.
4197         * libio/tst-wmemstream3.c: Likewise.
4198         * manual/examples/memstrm.c: Remove warning when priting size_t.
4200 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
4202         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
4203         macro to use __builtin_fma.
4204         * sysdeps/x86_64/fpu/dla.h: Remove file.
4206         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
4207         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
4208         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
4210 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
4212         [BZ #20292]
4213         * elf/Makefile (routines): Add dl-addr-obj.
4214         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
4215         tst-_dl_addr_inside_object.
4216         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
4217         [ifeq (yesyes,$(have-fpie)$(build-shared))]
4218         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
4219         [ifeq (yesyes,$(have-fpie)$(build-shared))]
4220         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
4221         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
4222         * elf/dl-open.c: Likewise.
4223         * elf/dl-addr-obj.c: New file.
4224         * elf/tst-_dl_addr_inside_object.c: New file.
4226 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
4228         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
4229         <bits/iscanonical.h>.
4230         * bits/iscanonical.h: New file.
4231         * math/s_iscanonicall.c: Likewise.
4232         * math/Versions (__iscanonicall): New libm symbol at version
4233         GLIBC_2.25.
4234         * math/libm-test.inc (iscanonical_test_data): New array.
4235         (iscanonical_test): New function.
4236         (main): Call iscanonical_test.
4237         * math/Makefile (headers): Add bits/iscanonical.h.
4238         (type-ldouble-routines): Add s_iscanonicall.
4239         * manual/arith.texi (Floating Point Classes): Document
4240         iscanonical.
4241         * manual/libm-err-tab.pl: Update comment on interfaces without
4242         ulps tabulated.
4243         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
4244         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
4245         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
4246         Likewise.
4247         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
4248         test-iscanonical-ldbl-128ibm.
4249         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
4250         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
4251         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
4252         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
4253         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4254         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4255         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4257         Likewise.
4258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4259         Likewise.
4260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4261         Likewise.
4262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4263         Likewise.
4264         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4265         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4267 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4269         * string/bits/string3.h: Remove C++ style comments.
4271 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4273         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
4274         instead of ternary condition.
4275         (do_sincos_2): Likewise.
4276         (__sin): Likewise.
4277         (__cos): Likewise.
4278         (slow): Likewise.
4279         (sloww): Likewise.
4280         (sloww1): Likewise.
4281         (bsloww): Likewise.
4282         (bsloww1): Likewise.
4284         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
4285         instead of ternary condition.
4286         (do_sin_slow): Likewise.
4287         (do_sincos_1): Likewise.
4288         (do_sincos_2): Likewise.
4289         (__cos): Likewise.
4290         (sloww): Likewise.
4291         (sloww1): Likewise.
4292         (sloww2): Likewise.
4293         (bsloww): Likewise.
4294         (bsloww1): Likewise.
4295         (bsloww2): Likewise.
4297         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
4298         check from here...
4299         (slow2): ... and here...
4300         (__sin): ... to here.
4302 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
4304         * math/math.h
4305         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
4306         Cast argument to its own type.
4307         * math/test-iszero-excess-precision.c: New file.
4308         * math/Makefile (tests): Add test-iszero-excess-precision.
4309         (CFLAGS-test-iszero-excess-precision.c): New variable.
4311 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
4313         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
4314         field, add err field.
4315         (__spawni_child): Report error through err member instead of pipe.
4316         (__spawnix): Likewise.
4318 2016-09-28  Zack Weinberg  <zackw@panix.com>
4320         * scripts/check-installed-headers.sh: Generalize treatment of
4321         sys/elf.h to all target architectures.
4323         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
4324         deleted typedef ucontext_t.
4326 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4328         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
4329         (__INTERNAL_SYSCALL1): Likewise.
4330         (__INTERNAL_SYSCALL2): Likewise.
4331         (__INTERNAL_SYSCALL3): Likewise.
4332         (__INTERNAL_SYSCALL4): Likewise.
4333         (__INTERNAL_SYSCALL5): Likewise.
4334         (__INTERNAL_SYSCALL6): Likewise.
4335         (__INTERNAL_SYSCALL7): Likewise.
4336         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
4337         (__INTERNAL_SYSCALL_NARGS): Likewise.
4338         (__INTERNAL_SYSCALL_DISP): Likewise.
4339         (INTERNAL_SYSCALL_CALL): Likewise.
4340         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
4341         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
4342         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
4343         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
4344         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
4345         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
4346         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
4347         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
4348         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
4349         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
4350         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
4351         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
4352         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
4354 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
4356         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
4357         macro.
4358         * math/libm-test.inc (iszero_test_data): New array.
4359         (iszero_test): New function.
4360         (main): Call iszero_test.
4361         * manual/arith.texi (Floating Point Classes): Document iszero.
4362         * manual/libm-err-tab.pl: Update comment on interfaces without
4363         ulps tabulated.
4365 2016-09-23  Zack Weinberg  <zackw@panix.com>
4367         * scripts/check-installed-headers.sh: New script.
4368         * Rules: In each directory that defines header files to be installed,
4369         run check-installed-headers.sh on them as a special test.
4370         * Makefile: Likewise for the headers installed at top level.
4372         * include/aliases.h, include/alloca.h, include/argz.h
4373         * include/arpa/nameser.h, include/arpa/nameser_compat.h
4374         * include/elf.h, include/envz.h, include/err.h
4375         * include/execinfo.h, include/fpu_control.h, include/getopt.h
4376         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
4377         * include/link.h, include/malloc.h, include/mcheck.h
4378         * include/mntent.h, include/netinet/ether.h
4379         * include/nss.h, include/obstack.h, include/printf.h
4380         * include/pty.h, include/resolv.h, include/rpc/auth.h
4381         * include/rpc/auth_des.h, include/rpc/auth_unix.h
4382         * include/rpc/clnt.h, include/rpc/des_crypt.h
4383         * include/rpc/key_prot.h, include/rpc/netdb.h
4384         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
4385         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
4386         * include/rpc/rpc_msg.h, include/rpc/svc.h
4387         * include/rpc/svc_auth.h, include/rpc/xdr.h
4388         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
4389         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
4390         * include/rpcsvc/ypupd.h, include/shadow.h
4391         * include/stdio_ext.h, include/sys/epoll.h
4392         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
4393         * include/sys/prctl.h, include/sys/profil.h
4394         * include/sys/statfs.h, include/sys/sysctl.h
4395         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
4396         * sysdeps/arm/nacl/include/bits/setjmp.h
4397         * sysdeps/mips/include/sys/asm.h
4398         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
4399         * sysdeps/unix/sysv/linux/include/sys/timex.h
4400         * sysdeps/x86/fpu/include/bits/fenv.h:
4401         Add #ifndef _ISOMAC guard around internal declarations.
4402         Add multiple-inclusion guard if not already present.
4404 2016-09-23  Zack Weinberg  <zackw@panix.com>
4406         * sysdeps/generic/sys/ucontext.h
4407         * sysdeps/arm/sys/ucontext.h
4408         * sysdeps/i386/sys/ucontext.h
4409         * sysdeps/m68k/sys/ucontext.h
4410         * sysdeps/mips/sys/ucontext.h
4411         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
4412         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
4413         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
4414         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
4415         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
4416         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
4417         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
4418         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
4419         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
4420         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
4421         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
4422         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
4423         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
4424         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
4425         Include both bits/sigcontext.h and bits/sigstack.h.
4426         Fix grammar error in comment, if present.
4428         * bits/sigstack.h
4429         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
4430         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
4431         * sysdeps/unix/sysv/linux/bits/sigstack.h
4432         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
4433         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
4434         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
4435         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
4436         * bits/sigcontext.h
4437         * sysdeps/mach/hurd/i386/bits/sigcontext.h
4438         * sysdeps/unix/sysv/linux/bits/sigcontext.h
4439         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
4440         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
4441         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
4442         as well as signal.h, if this was not already allowed.  Request
4443         definition of size_t if necessary.  Minimize semantically-null
4444         differences across files.
4446 2016-09-23  Zack Weinberg  <zackw@panix.com>
4448         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
4449         Remove all logic conditional on __need macros.  Move all the
4450         conditionally defined types to their own headers...
4451         * time/bits/types/clock_t.h: Define clock_t here.
4452         * time/bits/types/clockid_t.h: Define clockid_t here.
4453         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
4454         * time/bits/types/struct_timespec.h: Define struct timespec here.
4455         * time/bits/types/struct_timeval.h: Define struct timeval here.
4456         * time/bits/types/struct_tm.h: Define struct tm here.
4457         * time/bits/types/time_t.h: Define time_t here.
4458         * time/bits/types/timer_t.h: Define timer_t here.
4459         * time/Makefile: Install the new headers.
4461         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
4462         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
4463         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
4464         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
4465         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
4466         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
4467         * sysdeps/unix/sysv/linux/bits/resource.h
4468         * sysdeps/unix/sysv/linux/bits/timex.h
4469         * sysdeps/unix/sysv/linux/mips/bits/resource.h
4470         * sysdeps/unix/sysv/linux/net/ppp_defs.h
4471         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
4472         * sysdeps/unix/sysv/linux/sys/acct.h
4473         * sysdeps/unix/sysv/linux/sys/timerfd.h
4474         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
4475         * time/sys/time.h, time/sys/timeb.h
4476         Use the new bits/types headers.
4478         * include/time.h: Remove __need logic.
4479         * include/bits/time.h
4480         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
4481         * include/bits/types/time_t.h, include/bits/types/timer_t.h
4482         * include/bits/types/struct_itimerspec.h
4483         * include/bits/types/struct_timespec.h
4484         * include/bits/types/struct_timeval.h
4485         * include/bits/types/struct_tm.h:
4486         New wrapper headers.
4488 2016-09-23  Zack Weinberg  <zackw@panix.com>
4490         * sysdeps/mach/hurd/net/if_ppp.h
4491         * sysdeps/unix/sysv/linux/net/if_ppp.h:
4492         Only define struct ifpppstatsreq and struct ifpppcstatsreq
4493         if __USE_MISC is defined, to ensure struct ifreq is declared.
4495         * inet/netinet/ether.h: Condition all function prototypes
4496         on __USE_MISC, to ensure struct ether_addr is declared.
4498         * socket/bits/types/struct_osockaddr.h: New header.
4499         * include/bits/types/struct_osockaddr.h: New wrapper.
4500         * socket/Makefile: Install the new header.
4501         * socket/sys/socket.h, inet/protocols/talkd.h:
4502         Refer to bits/types/struct_osockaddr.h for the definition of
4503         struct osockaddr.
4505 2016-09-23  Zack Weinberg  <zackw@panix.com>
4507         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
4508         * inet/protocols/routed.h, inet/protocols/talkd.h
4509         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
4510         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
4511         * sysdeps/generic/netinet/if_ether.h
4512         * sysdeps/generic/netinet/in_systm.h
4513         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
4514         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
4515         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
4516         * sysdeps/mach/hurd/net/if_arp.h
4517         * sysdeps/mach/hurd/net/if_ppp.h
4518         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
4519         * sysdeps/unix/sysv/linux/bits/in.h
4520         * sysdeps/unix/sysv/linux/net/ethernet.h
4521         * sysdeps/unix/sysv/linux/net/if_arp.h
4522         * sysdeps/unix/sysv/linux/net/if_ppp.h
4523         * sysdeps/unix/sysv/linux/net/if_shaper.h
4524         * sysdeps/unix/sysv/linux/net/route.h
4525         * sysdeps/unix/sysv/linux/netinet/if_ether.h
4526         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
4527         * sysdeps/unix/sysv/linux/netinet/if_tr.h
4528         * sysdeps/unix/sysv/linux/netipx/ipx.h
4529         * sysdeps/unix/sysv/linux/sys/acct.h
4530         * include/arpa/nameser.h, include/resolv.h:
4531         Change all uses of u_char to unsigned char,
4532         u_short and ushort to unsigned short, u_int and uint to unsigned int,
4533         u_long and ulong to unsigned long, u_int8_t to uint8_t,
4534         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
4535         and u_int64_t and u_quad_t to uint64_t.
4537         * mach/sys/reboot.h: Remove two casts of integer literals
4538         to the types they already have.
4540         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
4541         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
4542         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
4543         from referring to 'unsigned char' to 'uint8_t' for consistency with
4544         the macro definition below.
4546         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
4547         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
4548         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
4549         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
4550         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
4551         * sysdeps/unix/sysv/linux/sys/acct.h
4552         * include/arpa/nameser.h, include/resolv.h:
4553         Fix indentation disrupted by mechanical edits.
4555         * inet/protocols/talkd.h, resolv/arpa/nameser.h
4556         * sysdeps/generic/netinet/in_systm.h
4557         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
4558         * sysdeps/gnu/netinet/udp.h
4559         * sysdeps/unix/sysv/linux/net/ethernet.h
4560         * sysdeps/unix/sysv/linux/net/if_arp.h
4561         * sysdeps/unix/sysv/linux/net/if_ppp.h
4562         * sysdeps/unix/sysv/linux/net/if_shaper.h
4563         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
4564         * sysdeps/unix/sysv/linux/netinet/if_tr.h
4565         * sysdeps/unix/sysv/linux/netipx/ipx.h
4566         * sysdeps/unix/sysv/linux/sys/acct.h
4567         Include stdint.h for uintNN_t definitions.
4568         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
4570 2016-09-23  Zack Weinberg  <zackw@panix.com>
4572         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
4573         * sysdeps/unix/sysv/linux/netrose/rose.h:
4574         Include sys/socket.h and netax25/ax25.h.
4576         * inet/netinet/icmp6.h, inet/netinet/ip6.h
4577         * resolv/arpa/nameser_compat.h:
4578         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
4580         * sysdeps/unix/sysv/linux/sys/quota.h:
4581         Use __caddr_t instead of caddr_t.
4582         * sysdeps/unix/sysv/linux/sys/timerfd.h:
4583         Use __clockid_t instead of clockid_t.
4585         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
4587         * argp/argp.h: Check whether _LIBC is defined before expanding it.
4588         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
4589         expanding it.
4591         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
4592         Define __glibc_c99_flexarr_available to 1 when the compiler
4593         supports C99-compatible flexible array members, 0 otherwise.
4594         * sysdeps/unix/sysv/linux/bits/socket.h
4595         * sysdeps/mach/hurd/bits/socket.h
4596         * bits/socket.h: Use __glibc_c99_flexarr_available in
4597         definitions of struct cmsghdr and CMSG_DATA.
4599 2016-09-23  Florian Weimer  <fweimer@redhat.com>
4601         * manual/nss.texi (NSS Modules Interface): Adjust function return
4602         type to enum nss_status.  Document errnop argument.  Clarify
4603         h_errnop semantics.  Fix cross-reference formatting.
4604         (NSS Module Function Internals): Mention that *errnop needs to be
4605         set on failure, but not to zero.
4607 2016-09-23  Florian Weimer  <fweimer@redhat.com>
4609         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
4610         (get_random_name): New functions.
4611         (check_wrapper_flags_mode): Use linkat to give the new file a name
4612         determined by get_random_name.
4613         (do_test): Add calls to test open64 and openat64.
4615 2016-09-23  Florian Weimer  <fweimer@redhat.com>
4617         * test-skeleton.c: Remove #include <stdarg.h>.
4619 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
4621         [BZ #19826]
4622         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
4623         initialization of static TLS entries.
4624         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
4625         * nptl/allocatestack.c (init_one_static_tls): Likewise.
4627 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4629         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
4630         _hurd_malloc_fork_prepare.
4631         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
4632         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
4633         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
4634         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
4635         (_hurd_fork_child_hook): Drop malloc_fork_child.
4636         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
4637         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
4638         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
4639         after locking locks (notably hurd_dtable_lock). Call
4640         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
4641         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
4642         __malloc_fork_unlock_child.
4643         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
4645 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
4647         * soft-fp/extendhftf2.c: New.
4648         * soft-fp/fixhfti.c: Likewise.
4649         * soft-fp/fixunshfti.c: Likewise.
4650         * soft-fp/floattihf.c: Likewise.
4651         * soft-fp/floatuntihf.c: Likewise.
4652         * soft-fp/half.h: Likewise.
4653         * soft-fp/trunctfhf2.c: Likewise.
4655 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
4657         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
4658         macro.
4659         * math/libm-test.inc (issubnormal_test_data): New array.
4660         (issubnormal_test): New function.
4661         * manual/arith.texi (Floating Point Classes): Document
4662         issubnormal.
4663         * manual/libm-err-tab.pl: Update comment on interfaces without
4664         ulps tabulated.
4666         * sysdeps/generic/stdint.h: Define
4667         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4668         <bits/libc-header-start.h> instead of including <features.h>.
4669         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
4670         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
4671         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
4672         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
4673         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
4674         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
4675         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
4676         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
4677         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
4678         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
4679         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
4680         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
4681         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
4682         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
4683         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
4684         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
4685         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
4686         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
4687         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
4688         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
4689         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
4690         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
4691         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
4692         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
4693         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
4694         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
4695         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
4696         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
4697         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
4698         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
4699         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
4700         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
4701         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
4702         * manual/arith.texi (Integers): Document these macros for types
4703         specified by width properties.
4704         * manual/lang.texi (Width of Type): Document these macros for
4705         other standard typedefs.
4706         * stdlib/tst-width-stdint.c: New file.
4707         * stdlib/Makefile (tests): Add tst-width-stdint.
4709 2016-09-21  Florian Weimer  <fweimer@redhat.com>
4711         [BZ #20016]
4712         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
4713         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
4714         Move ...
4715         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
4716         ... here, as compatibility symbols in a new file.
4717         * resolv/Makefile (libresolv-routines): Add compat-hooks.
4718         * resolv/res_init.c (__res_vinit): Adjust member names.
4719         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
4720         * resolv/resolv.h (res_sendhookact, res_send_qhook)
4721         (res_send_rhook): Remove.
4722         (struct __res_state): Rename qhook, rhook members.
4724 2016-09-21  Florian Weimer  <fweimer@redhat.com>
4726         malloc: Use __libc_lock wrappers.
4727         * malloc/arena.c (list_lock, free_list_lock): Define using
4728         __libc_lock_define_initialized.
4729         (arena_lock): Adjust formatting.
4730         * malloc/malloc.c (struct malloc_state): Define mutex using
4731         __libc_lock_define.
4732         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
4733         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
4734         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
4735         (mutex_unlock, mutex_trylock): Remove.
4736         (__pthread_initialize): Remove unused macro.
4737         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
4738         (mutex_unlock, mutex_trylock): Remove.
4740 2016-09-21  Florian Weimer  <fweimer@redhat.com>
4742         [BZ #20592]
4743         Remove RR type classification macros.
4744         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
4745         (ns_t_udp_p, ns_t_xfr_p): Remove.
4747 2016-09-21  Florian Weimer  <fweimer@redhat.com>
4749         Remove misleading version information.
4750         * resolv/arpa/nameser.h (__NAMESER): Remove.
4751         * resolv/arpa/nameser_compat.h (__BIND): Remove.
4753 2016-09-21  Florian Weimer  <fweimer@redhat.com>
4755         Remove the always-defined BIND_4_COMPAT macro.
4756         * resolv/arpa/nameser.h: Unconditionally include
4757         <arpa/nameser_compat.h>.
4758         (BIND_4_COMPAT): Remove.
4759         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
4761 2016-09-21  Florian Weimer  <fweimer@redhat.com>
4763         [BZ #20591]
4764         Remove obsolete DNSSEC support.
4765         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
4766         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
4767         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
4768         (ns_verify_tcp, ns_verify_tcp_init): Remove.
4769         (ns_cert_types): Add comment.
4770         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
4771         separately.
4772         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
4773         (dst_s_dns_key_id): Remove.
4774         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
4775         variables.
4777 2016-09-21  Florian Weimer  <fweimer@redhat.com>
4779         [BZ #20524]
4780         * manual/string.texi (String/Array Comparison): Clarify the
4781         strverscmp behavior.
4783 2016-09-21  Florian Weimer  <fweimer@redhat.com>
4785         * test-skeleton.c (xasprintf): Add function.
4786         * io/tst-open-tmpfile.c: New test.
4787         * io/Makefile (tests): Add it.
4789 2016-09-21  Florian Weimer  <fweimer@redhat.com>
4791         Avoid running $(CXX) during build to obtain header file paths.
4792         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
4793         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
4794         * Makerules (cstdlib, cmath): Remove variables.  Use
4795         $(c++-cstdlib-header), $(c++-cmath-header) instead.
4796         * configure: Regenerate.
4798 2016-09-21  Florian Weimer  <fweimer@redhat.com>
4800         * Makeconfig (all-object-suffixes): Include .op only if
4801         $(build-profile).
4803 2016-09-21  Florian Weimer  <fweimer@redhat.com>
4805         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
4806         conditionals.  Do not define PATH_MAX.
4808 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4810         * posix/Makefile (tests): Add tst-spawn3.
4811         * posix/tst-spawn3.c: New file.
4812         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
4813         if it is already opened for open action.
4815         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
4816         all signals when executing the clone vfork child.
4817         (SIGALL_SET): Remove macro.
4819         * nptl/Makefile (tests): Add tst-exec5.
4820         * nptl/tst-exec5.c: New file.
4821         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
4822         asynchronous cancellation.
4824 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4826         * hurd/exc2signal.c: #include <hurd/signal.h>
4827         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
4828         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
4829         accordingly.
4830         * mach/mach_error.c (mach_error): Fix old-style function definition.
4831         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
4833 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4835         * math/Makefile (libm-calls): Remove s_nanF.
4836         (gen-libm-calls): Add s_nanF.
4838         * math/s_nan.c: Refactor into ...
4839         * math/s_nan_template.c: New file.
4841         * math/s_nanf.c: Removed.
4842         * math/s_nanl.c: Removed.
4843         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
4844         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
4846         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
4847         (LDOUBLE_nanl_libm_version): New macro.
4849         * sysdeps/generic/math-type-macros-double.h:
4850         (M_STRTO_NAN): New macro.
4851         * sysdeps/generic/math-type-macros-float.h: Likewise.
4852         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
4854         * sysdeps/generic/math-type-macros.h: Document
4855         M_STRTO_NAN.
4857 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4859         * math/s_nanf.c: Remove __nanf undef.
4860         * math/s_nan.c: Remove __nan undef.
4861         * math/s_nanl.c: Remove __nanl undef.
4863         * sysdeps/generic/math_private.h (__nan): Remove macro
4864         override.
4865         (__nanf): Likewise.
4866         (__nanl): Likewise.
4868 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4870         * math/Makefile (gen-all-calls): New variable.
4871         (generated): Replace gen-libm-calls with gen-all-calls.
4872         (gen-libm-templates.stmp): Likewise.  Also, ensure
4873         the output directory exists or is created and add
4874         dependency on the Makefile.
4875         (calls): Move s_ldexpF into gen-calls.
4876         (gen-calls): New variable.
4878         * math/s_ldexpf.c: Removed.
4879         * math/s_ldexpl.c: Removed.
4880         * math/s_ldexp.c: Refactored into ...
4881         * math/s_ldexp_template.c: New file.
4883         * sysdeps/generic/math-type-macros-double.h: Remove
4884         redundant fall-through definition of declare_mgen_alias.
4885         (declare_mgen_alias_2): New macro.
4887         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
4888         New macro for function aliased to two exported symbols.
4890         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
4891         new template file.
4892         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
4894 2016-09-20  Florian Weimer  <fweimer@redhat.com>
4896         * Makeconfig (all-object-suffixes): Remove .og.
4897         * Makerules (elide-routines.og): Remove.
4898         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
4899         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
4900         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
4902 2016-09-20  Florian Weimer  <fweimer@redhat.com>
4904         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
4905         .os objects.
4907 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4909         [BZ #20615]
4910         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
4911         fpu directory by non-fpu.
4912         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
4913         on non-fpu directory from a fpu directory.
4915 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
4917         * include/limits.h: Define
4918         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4919         <bits/libc-header-start.h> instead of including <features.h>.
4920         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
4921         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
4922         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
4923         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
4924         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
4925         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
4926         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
4927         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
4928         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
4929         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
4930         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
4931         * manual/lang.texi (Width of Type): Document these macros.
4932         * stdlib/tst-width.c: New file.
4933         * stdlib/Makefile (tests): Add tst-width.
4935 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4937         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
4938         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
4940 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4942         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
4943         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
4944         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
4946 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4948         [BZ #18243]
4949         * rt/Makefile (test): Add tst-shm-cancel.
4950         * rt/tst-shm-cancel.c: New file.
4951         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
4953         [BZ #18243]
4954         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
4955         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
4956         definition.
4957         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
4958         uncontended case.
4959         * nptl/sem_wait.c (__new_sem_wait): Likewise.
4960         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
4961         (tf): Fix check for uncontended case.
4962         (do_test): Likewise.
4963         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
4964         (tf): Fix check for uncontended case.
4965         (do_test): Likewise.
4966         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
4967         (tf): Fix check for uncontended case.
4968         (do_test): Likewise.
4969         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
4970         (tf): Fix check for uncontended case.
4971         (do_test): Likewise.
4973         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
4974         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
4976         [BZ #15765]
4977         * nptl/Makefile (tests): Add tst-sem16.
4978         * nptl/tst-sem16.c: New file.
4979         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
4981         * nptl/sem_open.c (sem_open): Init pad value to 0.
4982         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
4983         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
4985 2016-09-15  Florian Weimer  <fweimer@redhat.com>
4987         [BZ #20611]
4988         * inet/Makefile (routines): Add inet6_scopeid_pton.
4989         (tests): Add tst-inet6_scopeid_pton.
4990         * inet/inet6_scopeid_pton.c: New file.
4991         * inet/net-internal.h: Likewise.
4992         * inet/tst-inet6_scopeid_pton.c: New test.
4993         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
4994         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
4995         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4997 2016-09-14  Florian Weimer  <fweimer@redhat.com>
4999         Remove support for compiling wrappers with PTW.
5000         * sysdeps/nptl/Makeconfig: Drop ptw- support.
5001         * nptl/Makefile (pthread-compat-wrappers): Define.
5002         (libpthread-routines): Use pthread-compat-wrappers.
5003         * sysdeps/unix/sysv/linux/alpha/Makefile
5004         (libpthread-routines, libpthread-shared-only-routines): Remove
5005         ptw- prefix.
5006         * sysdeps/s390/nptl/Makefile
5007         (libpthread-routines, libpthread-shared-only-routines): Likewise.
5008         * sysdeps/ia64/nptl/Makefile
5009         (libpthread-routines, libpthread-shared-only-routines): Likewise.
5010         * sysdeps/nacl/Makefile (libpthread-routines): Use
5011         pthread-compat-wrappers to filter the routines list instead of the
5012         ptw- prefix.
5014 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5016         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
5017         with L() and remove explicit suffix, convert real literals
5018         which can be equivalentally substituted with integers, and
5019         transform -L(x) to L(-x).
5021         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5022         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5023         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5024         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5025         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5026         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5027         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5028         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
5029         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5030         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5031         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5032         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5033         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5034         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5035         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5036         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5037         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5038         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5039         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5040         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5041         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5042         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5043         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5044         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5045         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
5046         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5047         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5048         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5049         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5050         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5051         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5052         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
5053         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5054         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5055         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5056         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5057         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5058         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5059         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5060         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5061         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5062         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5063         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5064         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5065         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5066         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5067         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5068         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
5069         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
5070         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5072 2016-09-13  Florian Weimer  <fweimer@redhat.com>
5074         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
5076 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5078         * malloc/Makefile (tests): Remove individual static test names
5079         and just add all of tests-static.
5081         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
5083 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
5085         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
5086         file.
5088         * sysdeps/sparc/fpu/fegetmode.c: New file.
5089         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
5091         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
5092         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
5094         * sysdeps/s390/fpu/fegetmode.c: New file.
5095         * sysdeps/s390/fpu/fesetmode.c: Likewise.
5097         * sysdeps/powerpc/fpu/fegetmode.c: New file.
5098         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
5099         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
5100         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
5101         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
5102         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
5104         * sysdeps/mips/fpu/fegetmode.c: New file.
5105         * sysdeps/mips/fpu/fesetmode.c: Likewise.
5107         * sysdeps/m68k/fpu/fegetmode.c: New file.
5108         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
5110         * sysdeps/ia64/fpu/fegetmode.c: New file.
5111         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
5113         * sysdeps/hppa/fpu/fegetmode.c: New file.
5114         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
5116         * sysdeps/arm/fegetmode.c: New file.
5117         * sysdeps/arm/fesetmode.c: Likewise.
5119         * sysdeps/alpha/fpu/fegetmode.c: New file.
5120         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
5122         * sysdeps/aarch64/fpu/fegetmode.c: New file.
5123         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
5125         * math/fegetmode.c: New file.
5126         * math/fesetmode.c: Likewise.
5127         * sysdeps/i386/fpu/fegetmode.c: Likewise.
5128         * sysdeps/i386/fpu/fesetmode.c: Likewise.
5129         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
5130         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
5131         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
5132         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
5133         declaration.
5134         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
5135         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
5136         typedef.
5137         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5138         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5139         (femode_t): New typedef.
5140         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5141         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5142         (femode_t): New typedef.
5143         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5144         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5145         (femode_t): New typedef.
5146         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5147         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5148         (femode_t): New typedef.
5149         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5150         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5151         (femode_t): New typedef.
5152         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5153         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5154         (femode_t): New typedef.
5155         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5156         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5157         (femode_t): New typedef.
5158         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5159         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5160         (femode_t): New typedef.
5161         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5162         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5163         (femode_t): New typedef.
5164         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5165         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5166         (femode_t): New typedef.
5167         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
5168         declaration.
5169         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5170         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5171         (femode_t): New typedef.
5172         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5173         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5174         (femode_t): New typedef.
5175         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5176         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5177         (femode_t): New typedef.
5178         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5179         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5180         (femode_t): New typedef.
5181         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5182         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5183         (femode_t): New typedef.
5184         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5185         * manual/arith.texi (FE_DFL_MODE): Document macro.
5186         (fegetmode): Document function.
5187         (fesetmode): Likewise.
5188         * math/Versions (fegetmode): New libm symbol at version
5189         GLIBC_2.25.
5190         (fesetmode): Likewise.
5191         * math/Makefile (libm-support): Add fegetmode and fesetmode.
5192         (tests): Add test-femode and test-femode-traps.
5193         * math/test-femode-traps.c: New file.
5194         * math/test-femode.c: Likewise.
5195         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
5196         alias for __fe_dfl_env.
5197         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
5198         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
5199         (__fe_dfl_mode): Likewise.
5200         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
5201         version GLIBC_2.25.
5202         * sysdeps/nacl/libm.abilist: Update.
5203         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5204         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5205         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5206         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5207         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5208         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5209         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5210         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5211         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5212         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5213         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5214         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5216         Likewise.
5217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5218         Likewise.
5219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5220         Likewise.
5221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5222         Likewise.
5223         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5224         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5225         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5226         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5227         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5228         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5229         Likewise.
5230         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5231         Likewise.
5232         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5233         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5234         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5236 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
5238         [BZ #20495]
5239         [BZ #20508]
5240         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
5241         processors, set Use_dl_runtime_resolve_slow and set
5242         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
5243         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
5244         New.
5245         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
5246         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
5247         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
5248         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
5249         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
5250         if Use_dl_runtime_resolve_opt is set.  Use
5251         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
5252         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
5253         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
5254         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
5255         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
5256         New.
5257         (_dl_runtime_resolve_opt): Likewise.
5258         (_dl_runtime_profile): Define only if _dl_runtime_profile is
5259         defined.
5261 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
5263         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
5264         __libc_memalign with "+ RELA R_390_GLOB_DAT".
5266 2016-09-06  Florian Weimer  <fweimer@redhat.com>
5268         Convert malloc to __libc_lock.  Automated part, using this Perl
5269         s/// command:
5270           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
5271             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
5272         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
5273         conversion.
5275 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
5277         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
5278         (linknamespace-symlists-tests): Likewise.
5279         (linknamespace-header-tests): Likewise.
5281 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
5283         [BZ #19810]
5284         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
5285         * elf/tst-noload.c: New test case.
5286         * elf/Makefile (tests): Add tst-noload.
5288 2016-09-02  Roland McGrath  <roland@hack.frob.com>
5290         * sysdeps/nacl/dup.c: Add libc_hidden_def.
5292         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
5293         not any more.
5295         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
5297 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5299         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
5300         (do_cos_slow): Likewise.
5301         (do_sin): Likewise.
5302         (do_sin_slow): Likewise.
5303         (slow): Likewise.
5304         (slow1): Likewise.
5305         (slow2): Likewise.
5306         (sloww): Likewise.
5307         (sloww1): Likewise.
5308         (sloww2): Likewise.
5309         (bsloww): Likewise.
5310         (bsloww1): Likewise.
5311         (bsloww2): Likewise.
5312         (cslow2): Likewise.
5314         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
5316         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
5317         arguments.  Consolidate input partitioning from callers here.
5318         (do_cos_slow): Likewise.
5319         (do_sin): Likewise.
5320         (do_sin_slow): Likewise.
5321         (do_sincos_1): Remove the no longer necessary input partitioning.
5322         (do_sincos_2): Likewise.
5323         (__sin): Likewise.
5324         (__cos): Likewise.
5325         (slow1): Likewise.
5326         (slow2): Likewise.
5327         (sloww1): Likewise.
5328         (sloww2): Likewise.
5329         (bsloww1): Likewise.
5330         (bsloww2): Likewise.
5331         (cslow2): Likewise.
5333 2016-09-02  Florian Weimer  <fweimer@redhat.com>
5335         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
5336         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
5337         outside of allocated array.
5339 2016-09-02  Florian Weimer  <fweimer@redhat.com>
5341         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
5342         instead of MB_CUR_MAX to avoid variable-length array.
5344 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5346         * math/Makefile (libm-calls): Remove k_rem_pio2F.
5347         (type-double-routines): Add k_rem_pio2.
5348         (type-float-routines): Add k_rem_pio2f.
5350         * sysdeps/generic/math_private.h:
5351         (__kernel_rem_pio2l): Removed.
5353         * math/k_rem_pio2l.c: Removed.
5354         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
5355         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
5356         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
5357         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
5359 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5361         * math/Makefile (gen-libm-calls): Add s_fmin
5362         (libm-calls): Remove above.
5364         * math/s_fmin.c: Refactor into ...
5365         * math/s_fmin_template.c: New file.
5367         * math/s_fminf.c: Removed.
5368         * math/s_fminl.c: Removed.
5369         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
5370         (LDOUBLE_fmin_libm_version): New macro.
5372         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
5373         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
5375 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5377         * math/Makefile: (gen-libm-calls): Add s_fmax.
5378         (libm-calls): Remove above.
5380         * math/s_fmax.c: Refactor into ...
5381         * math/s_fmax_template.c: New file.
5382         * math/s_fmaxf.c: Removed.
5383         * math/s_fmaxl.c: Removed.
5385         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
5386         (LDOUBLE_fmaxl_libm_version): New macro.
5388         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
5389         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
5391         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
5392         s_fmin.c to pick the aarch64 version of the file.
5393         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
5394         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
5396 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5398         * math/Makefile: (gen-libm-calls): Add s_nextdown.
5399         (libm-calls): Remove above.
5401         * math/s_nextdown.c: Refactor into ...
5402         * math/s_nextdown_template.c: New file.
5403         * math/s_nextdownf.c: Removed.
5404         * math/s_nextdownl.c: Removed.
5406         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
5408 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5410         * math/Makefile (gen-libm-calls): Add s_fdim.
5411         (libm-calls): Move to above.
5413         * math/s_fdim.c: Renamed and refactored into to ...
5414         * math/s_fdim_template.c: New file.
5415         * math/s_fdiml.c: Removed.
5416         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
5417         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
5419         * sysdeps/generic/math-type-macros-double.h:
5420         (declare_mgen_alias): Don't declare if already declared.
5421         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
5422         Likewise.
5424         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
5425         (declare_mgen_alias): Don't declare if already declared.
5426         (M_LIBM_NEED_COMPAT): Likewise.
5427         (declare_mgen_libm_compat): Likewise.
5428         (LDOUBLE_fdiml_libm_version): New macro.
5430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
5431         Include math/s_fdim.c now that ldbl-opt version is not needed.
5432         (declare_mgen_alias): New macro to disable aliasing.
5434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
5435         (declare_mgen_alias): Likewise.
5436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
5437         (declare_mgen_alias): Likewise.
5438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
5439         (declare_mgen_alias): Likewise.
5440         (M_LIBM_NEED_COMPAT): Likewise.
5442 2016-09-01  Florian Weimer  <fweimer@redhat.com>
5444         [BZ #20525]
5445         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
5446         Include <linux/quota.h>.
5447         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
5448         and btodb.
5449         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
5450         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
5451         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
5452         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
5453         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
5454         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
5455         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
5456         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
5457         types.
5458         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
5459         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
5461 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5463         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
5464         (gammal_positive): Fix spacing.
5465         (__ieee754_gammal_r): Likewise.
5467 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5469         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
5470         (_Float128): Define as long double, always.
5471         (L): Apply long double type suffix, always.
5473         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
5474         _Float128, excepting comments.
5476         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5477         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5478         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5479         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5480         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5481         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5482         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5483         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
5484         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5485         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
5486         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5487         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5488         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5489         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5490         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5491         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5492         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5493         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5494         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5495         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5496         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5497         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
5498         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5499         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5500         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5501         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5502         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
5503         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
5504         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5505         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5506         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5507         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5508         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5509         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5510         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5511         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5512         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5513         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5514         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5515         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
5516         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5517         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5518         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5519         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5520         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
5521         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5522         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5523         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5524         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5525         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5526         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5527         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5528         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5529         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5530         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
5531         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5532         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5533         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5534         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5535         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5536         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5537         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5538         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5539         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5540         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5541         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
5542         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5543         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5545         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
5546         _Float128, and include math_private.h.
5547         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
5549         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
5550         long double semantics.
5551         (_Float128): Likewise.
5552         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
5553         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
5554         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
5555         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
5557 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5559         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
5560         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
5561         * sysdeps/s390/configure: Regenerated.
5562         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
5563         instruction for raising over-/underflow if z196 zarch is supported
5564         by default.
5565         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
5567 2016-08-30  Svante Signell  <svante.signell@gmail.com>
5569         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
5570         it point to a dumb buffer for RPC to fill it.
5572 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5574         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
5575         instead of if/else.
5576         (do_sin_slow): Likewise.
5577         (do_sincos_1): Use fabs instead of if/else.
5578         (do_sincos_2): Likewise.
5579         (__sin): Likewise.
5580         (__cos): Likewise.
5581         (slow2): Likewise.
5582         (sloww): Likewise.
5583         (sloww1): Likewise.  Drop argument M.
5584         (sloww2): Use fabs instead of if/else.
5585         (bsloww): Likewise.
5586         (bsloww1): Likewise.
5587         (bsloww2): Likewise.
5589         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
5590         fall through comment.
5591         (do_sincos_1): Likewise.
5593         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
5594         Consolidate switch cases 0 and 2.
5596 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5598         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
5599         (libm-calls): Remove the above.
5601         * math/s_cexp_template.c: Update using type-generic macros.
5602         * math/s_clog10_template.c: Likewise.
5603         * math/s_cpow_template.c: Likewise.
5604         * math/s_clog_template.c: Likewise.
5605         * math/s_cproj_template.c: Likewise.
5606         * math/s_csqrt_template.c: Likewise.
5608         * math/s_cexp.c: Removed.
5609         * math/s_cexpf.c: Removed.
5610         * math/s_cexpl.c: Removed.
5611         * math/s_clog10.c: Removed.
5612         * math/s_clog10f.c: Removed.
5613         * math/s_clog10l.c: Removed.
5614         * math/s_cpow.c: Removed.
5615         * math/s_cpowf.c: Removed.
5616         * math/s_cpowl.c: Removed.
5617         * math/s_clog.c: Removed.
5618         * math/s_clogf.c: Removed.
5619         * math/s_clogl.c: Removed.
5620         * math/s_cproj.c: Removed.
5621         * math/s_cprojf.c: Removed.
5622         * math/s_cprojl.c: Removed.
5623         * math/s_csqrt.c: Removed.
5624         * math/s_csqrtf.c: Removed.
5625         * math/s_csqrtl.c: Removed.
5627         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
5628         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
5629         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
5630         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
5631         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
5632         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
5634         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
5635         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
5636         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
5637         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
5638         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
5639         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
5640         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
5641         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
5642         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
5643         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
5644         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
5646         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
5647         version.
5649         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
5650         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
5651         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
5652         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
5654 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5656         * s_cexp_template.c: Copy of s_cexp.c.
5657         * s_clog_template.c: Copy of s_clog.c.
5658         * s_clog10_template.c: Copy of s_clog10.c.
5659         * s_cpow_template.c: Copy of s_cpow.c.
5660         * s_cproj_template.c: Copy of s_cproj.c.
5661         * s_csqrt_template.c: Copy of s_csqrt.c.
5663 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5665         [BZ #20517]
5666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
5667         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
5668         exported.
5670 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
5672         * math/fetestexceptflag.c: New file.
5673         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
5674         Stefan Liebler.
5675         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5676         (fetestexceptflag): New function declaration.
5677         * manual/arith.texi (fetestexceptflag): Document function.
5678         * math/Versions (fetestexceptflag): New libm symbol at version
5679         GLIBC_2.25.
5680         * math/Makefile (libm-support): Add fetestexceptflag.
5681         (tests): Add test-fetestexceptflag.
5682         * math/test-fetestexceptflag.c: New file.
5683         * sysdeps/nacl/libm.abilist: Update.
5684         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5685         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5686         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5687         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5688         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5689         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5690         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5691         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5692         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5693         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5694         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5695         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5697         Likewise.
5698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5699         Likewise.
5700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5701         Likewise.
5702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5703         Likewise.
5704         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5705         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5706         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5707         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5708         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5709         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5710         Likewise.
5711         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5712         Likewise.
5713         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5714         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5715         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5717 2016-08-26  Florian Weimer  <fweimer@redhat.com>
5719         [BZ #20432]
5720         Avoid strong references to malloc-internal symbols when linking
5721         statically, to support statically interposed mallocs.
5722         * include/libc-symbols.h (call_function_static_weak): New macro.
5723         * malloc/Makefile (tests): Add tst-interpose-nothread,
5724         tst-interpose-thread, tst-interpose-static-nothread,
5725         tst-interpose-static-thread.
5726         (tests-static): Add tst-interpose-static-nothread,
5727         tst-interpose-static-thread.
5728         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
5729         tst-interpose-aux-thread.o.
5730         (test-extras): Add tst-interpose-aux-nothread,
5731         tst-interpose-aux-thread.
5732         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
5733         tst-interpose-aux-nothread.o.
5734         (tst-interpose-thread, tst-interpose-static-thread): Link with
5735         tst-interpose-aux-thread.o and libthread.
5736         * malloc/tst-interpose-aux-nothread.c: New file.
5737         * malloc/tst-interpose-aux-thread.c: Likewise.
5738         * malloc/tst-interpose-aux.c: Likewise.
5739         * malloc/tst-interpose-aux.h: Likewise.
5740         * malloc/tst-interpose-nothread.c: Likewise.
5741         * malloc/tst-interpose-skeleton.c: Likewise.
5742         * malloc/tst-interpose-static-nothread.c: Likewise.
5743         * malloc/tst-interpose-static-thread.c: Likewise.
5744         * malloc/tst-interpose-thread.c: Likewise.
5745         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
5746         * sysdeps/mach/hurd/fork.c (__fork): Only call
5747         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
5748         __malloc_fork_unlock_child if defined.
5749         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
5751 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5753         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
5754         timespec C99 designated initialization.
5756 2016-08-26  Florian Weimer  <fweimer@redhat.com>
5758         [BZ #19946]
5759         Avoid expected SIGALRM signals.
5760         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
5761         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
5762         (xpthread_create, xpthread_detach, xpthread_join)
5763         (delayed_exit_thread, delayed_exit): New functions.
5764         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
5765         (tf): Use xpthread_cond_wait.
5766         (do_test): Likewise.  Replace alarm with delayed_exit.
5767         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
5768         (do_test): Call delayed_exit.  Report failure.
5769         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
5770         (do_test): Call delayed_exit.
5771         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
5772         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
5773         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
5774         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
5775         error.
5776         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
5777         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
5778         error.
5779         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
5780         (do_test): Call delayed_exit.
5781         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
5782         (do_test): Call delayed_exit.
5783         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
5784         (do_test): Call delayed_exit instead of alarm.  Use
5785         xpthread_mutex_lock.
5786         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
5787         (do_test): Call delayed_exit instead of alarm.  Use
5788         xpthread_mutex_lock.
5789         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
5790         (do_test): Call delayed_exit instead of alarm.
5791         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
5792         (do_test): Call delayed_exit instead of alarm.  Use
5793         xpthread_spin_lock.
5794         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
5795         (do_test): Call delayed_exit instead of alarm.  Use
5796         xpthread_join.
5798 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
5800         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
5801         adjust CFA when allocating register save area on re-aligned
5802         stack.
5804 2016-08-26  Florian Weimer  <fweimer@redhat.com>
5806         * string/tst-cmp.c: New test.
5807         * string/Makefile (tests): Add it.
5809 2016-08-25  Mark Wielaard  <mark@klomp.org>
5811         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
5812         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
5813         (check_tree_recurse): Use newly defined accessors.
5814         (check_tree): Likewise.
5815         (maybe_split_for_insert): Likewise.
5816         (__tfind): Likewise.
5817         (__tdelete): Likewise.
5818         (trecurse): Likewise.
5819         (tdestroy_recurse): Likewise.
5820         (__tsearch): Likewise. And add asserts for malloc alignment.
5821         (__twalk): Cast root to node in case CHECK_TREE is defined.
5823 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5825         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
5827 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5829         * math/Makefile (libm-gen-calls): Add
5830         catan, catanh, ctan, ctanh.
5831         (libm-calls): Remove the above.
5833         * math/s_catan_template.c: Update using type-generic macros.
5834         * math/s_catanh_template.c: Likewise.
5835         * math/s_ctan_template.c: Likewise.
5836         * math/s_ctanh_template.c: Likewise.
5838         * math/s_catanf.c: Removed.
5839         * math/s_catan.c: Removed.
5840         * math/s_catanl.c: Removed.
5841         * math/s_catanhf.c: Removed.
5842         * math/s_catanh.c: Removed.
5843         * math/s_catanhl.c: Removed.
5844         * math/s_ctanf.c: Removed.
5845         * math/s_ctan.c: Removed.
5846         * math/s_ctanl.c: Removed.
5847         * math/s_ctanhf.c: Removed.
5848         * math/s_ctanh.c: Removed.
5849         * math/s_ctanhl.c: Removed.
5851         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
5852         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
5853         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
5854         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
5855         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
5856         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
5858         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
5859         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
5860         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
5861         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
5863 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5865         * s_catan_template.c: Copy of s_catan.c.
5866         * s_catanh_template.c: Copy of s_catanh.c.
5867         * s_ctan_template.c: Copy of s_ctan.c.
5868         * s_ctanh_template.c: Copy of s_ctanh.c.
5870 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5872         * math/Makefile (gen-libm-calls): Move
5873         casin, casinh, csin, csinh here.
5874         (libm-calls): Remove the above.
5876         * math/s_casin_template.c: Update using type-generic macros.
5877         * math/s_casinh_template.c: Likewise.
5878         * math/s_csin_template.c: Likewise.
5879         * math/s_csinh_template.c: Likewise.
5880         * math/k_casinh_template.c: Likewise.
5882         * math/s_casinf.c: Removed.
5883         * math/s_casin.c: Removed.
5884         * math/s_casinl.c: Removed.
5885         * math/s_casinh.c: Removed.
5886         * math/s_casinhf.c: Removed.
5887         * math/s_casinhl.c: Removed.
5888         * math/s_csin.c: Removed.
5889         * math/s_csinf.c: Removed.
5890         * math/s_csinl.c: Removed.
5891         * math/s_csinh.c: Removed.
5892         * math/s_csinhf.c: Removed.
5893         * math/s_csinhl.c: Removed.
5894         * math/k_casinh.c: Removed.
5895         * math/k_casinhf.c: Removed.
5896         * math/k_casinhl.c: Removed.
5898         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
5899         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
5900         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
5901         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
5903         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
5904         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
5905         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
5906         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
5907         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
5908         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
5909         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
5910         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
5912         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
5913         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
5914         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
5915         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
5917         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
5918         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
5919         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
5920         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
5922 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5924         * s_casin_template.c: Copy of s_casin.c.
5925         * s_casinh_template.c: Copy of s_casinh.c.
5926         * s_csin_template.c: Copy of s_csin.c.
5927         * s_csinh_template.c: Copy of s_csinh.c.
5928         * k_casinh_template.c: Copy of k_casinh.c.
5930 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
5932         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
5934 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5936         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
5937         (mul_split) Remove, rename as mul_splitl, remove
5938         redundant float.h include, and include via mul_splitl.h
5940         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
5941         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5942         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
5943         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
5944         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
5946         * math/mul_splitl.h: New file.
5948         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
5949         Move into mul_split.h, and remove redundant float.h include.
5951         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
5952         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
5953         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
5954         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
5956         * math/mul_split.h: New file.
5958 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5960         * math/Makefile (libm-gen-calls): Move
5961         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
5962         (libm-calls): Remove above.
5964         * math/s_cacos_template.c: Update using type-generic macros.
5965         * math/s_cacosh_template.c: Likewise.
5966         * math/s_ccos_template.c: Likewise.
5967         * math/s_ccosh_template.c: Likewise.
5969         * math/s_cacosf.c: Removed.
5970         * math/s_cacos.c: Removed.
5971         * math/s_cacosl.c: Removed.
5972         * math/s_cacoshf.c: Removed.
5973         * math/s_cacosh.c: Removed.
5974         * math/s_cacoshl.c: Removed.
5975         * math/s_ccosf.c: Removed.
5976         * math/s_ccos.c: Removed.
5977         * math/s_ccosl.c: Removed.
5978         * math/s_ccoshf.c: Removed.
5979         * math/s_ccosh.c: Removed.
5980         * math/s_ccoshl.c: Removed.
5982         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
5983         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
5984         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
5985         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
5986         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
5987         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
5989         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
5990         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
5991         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
5992         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
5994         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
5995         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
5996         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
5997         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
5999 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6001         * s_cacos_template.c: Copy of s_cacos.c.
6002         * s_cacosh_template.c: Copy of s_cacosh.c.
6003         * s_ccos_template.c: Copy of s_ccos.c.
6004         * s_ccosh_template.c: Copy of s_ccosh.c.
6006 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6008         * stdlib/tst-strtod-round-skeleton.c:
6009         Refactored from tst-strtod-round.c.
6011         (L_): New macro to apply literal modifier.
6012         (FNPFX): New macro to select str or wcs prefix.
6013         (CHAR): New macro to choose wchar_t or char.
6014         (STRM): New macro to choose printf for tested character type.
6016         (STRTO): New macro to choose appropriate string -> real function.
6017         (FNPFXS): Stringitized version of FNPFX.
6018         (STR): Support for above macro.
6019         (STRX): Likewise.
6021         (TEST): Update with above macros.
6022         (test): Likewise.
6023         (GEN_ONE_TEST): Likewise.
6024         (test_in_one_mode): Likewise.
6026         * stdlib/tst-strtod-round.c: New file.
6027         * wcsmbs/tst-wcstod-round.c: New file.
6029         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
6030         (tst-wcstod-round): Add libm depencency for fesetround.
6032 2016-08-19  Zack Weinberg  <zackw@panix.com>
6034         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
6036 2016-08-18  Torvald Riegel  <triegel@redhat.com>
6038         [BZ #20477]
6039         * resolv/res_hconf.c (do_init): Use atomic access.
6040         * resolv/res_hconf.h: Add comments.
6041         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
6042         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
6043         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6045 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
6047         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
6048         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
6049         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
6050         Likewise.
6052 2016-08-18  Florian Weimer  <fweimer@redhat.com>
6054         [BZ #16907]
6055         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
6056         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
6057         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
6058         (__attribute__): Remove definition.
6060 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6062         * sysdeps/ieee754/ldbl-128/e_asinl.c:
6063         Remove unused sqrtl declaration.
6065 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6067         * math/Makefile: (gen-libm-templates.stmp): New rule.
6068         (libm-calls): Move carg conj cimag and cabs into ...
6069         (gen-libm-calls): New variable.
6070         (generated): Inform Make objects from gen-libm-calls
6071         may be generated.
6073         * sysdeps/generic/math-type-macros.h: New file.
6074         * sysdeps/generic/math-type-macros-float.h: Likewise.
6075         * sysdeps/generic/math-type-macros-double.h: Likewise.
6076         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
6077         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
6078         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
6080         * math/cabs.c: Refactor into
6081         * math/cabs_template.c: new file.
6082         * math/cabsf.c: Removed.
6083         * math/cabsl.c: Removed.
6084         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
6085         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
6087         * math/carg.c: Refactor into
6088         * math/carg_template.c: new file.
6089         * math/cargf.c: Removed.
6090         * math/cargl.c: Removed.
6091         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
6092         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
6094         * math/conj.c: Refactor into
6095         * math/conj_template.c: new file.
6096         * math/conjf.c: Removed.
6097         * math/conjl.c: Removed.
6098         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
6099         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
6101         * math/cimag.c: Refactor into
6102         * math/cimag_template.c: new file.
6103         * math/cimagf.c: Removed.
6104         * math/cimagl.c: Removed.
6105         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
6106         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
6108         * math/cimag.c: Refactor into
6109         * math/cimag_template.c: new file.
6110         * math/cimagf.c: Removed.
6111         * math/cimagl.c: Removed.
6112         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
6113         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
6115 2016-08-17  Florian Weimer  <fweimer@redhat.com>
6117         Reduce time to expected nptl/tst-once5 failure.
6118         * nptl/tst-once5.cc (TIMEOUT): Define.
6120 2016-08-17  Florian Weimer  <fweimer@redhat.com>
6122         [BZ #20452]
6123         Avoid additional copies of objects in libc.a in static libraries.
6124         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
6125         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
6126         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
6127         rt-sysdep.
6128         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
6129         Add nptl-sysdep.
6130         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
6131         Add ptw-sysdep.
6132         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
6133         rt-sysdep.
6134         * sysdeps/unix/sysv/linux/alpha/Makefile
6135         (libpthread-shared-only-routines): Add ptw-sysdep,
6136         ptw-sigprocmask, ptw-rt_sigaction.
6137         * sysdeps/unix/sysv/linux/ia64/Makefile
6138         (librt-shared-only-routines): Add rt-sysdep.
6139         * sysdeps/unix/sysv/linux/i386/Makefile
6140         (libpthread-shared-only-routines): Add libc-do-syscall.
6141         * sysdeps/unix/sysv/linux/microblaze/Makefile
6142         (libpthread-shared-only-routines): Add sysdep.
6143         * sysdeps/unix/sysv/linux/powerpc/Makefile
6144         (librt-shared-only-routines): Add rt-sysdep.
6145         (libpthread-shared-only-routines): Add sysdep.
6146         * sysdeps/unix/sysv/linux/s390/Makefile
6147         (librt-shared-only-routines): Add rt-sysdep.
6148         * sysdeps/unix/sysv/linux/sparc/Makefile
6149         (librt-shared-only-routines): Add rt-sysdep.
6150         (libpthread-shared-only-routines): Add sysdep.
6151         * sysdeps/unix/sysv/linux/tile/Makefile
6152         (libpthread-shared-only-routines): Likewise.
6154 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
6156         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
6157         Mask implicit bit out of unpacked value.
6158         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
6159         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
6160         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
6162         * sysdeps/sparc/fpu/fesetexcept.c: New file.
6164         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
6166         * sysdeps/s390/fpu/fesetexcept.c: New file.
6168         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
6169         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
6170         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
6172         * sysdeps/mips/fpu/fesetexcept.c: New file.
6174         * sysdeps/m68k/fpu/fesetexcept.c: New file.
6176         * sysdeps/ia64/fpu/fesetexcept.c: New file.
6178         * sysdeps/hppa/fpu/fesetexcept.c: New file.
6180         * sysdeps/arm/fesetexcept.c: New file.
6182         * sysdeps/alpha/fpu/fesetexcept.c: New file.
6184         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
6186         * math/fesetexcept.c: New file.
6187         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
6188         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
6189         * math/fenv.h: Define
6190         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6191         <bits/libc-header-start.h> instead of including <features.h>.
6192         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
6193         declaration.
6194         * manual/arith.texi (fesetexcept): Document function.
6195         * math/Versions (fesetexcept): New libm symbol at version
6196         GLIBC_2.25.
6197         * math/Makefile (libm-support): Add fesetexcept.
6198         (tests): Add test-fesetexcept and test-fesetexcept-traps.
6199         * math/test-fesetexcept.c: New file.
6200         * math/test-fesetexcept-traps.c: Likewise.
6201         * sysdeps/nacl/libm.abilist: Update.
6202         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6203         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6204         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6205         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6206         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6207         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6208         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6209         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6210         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6211         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6212         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6213         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6215         Likewise.
6216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6217         Likewise.
6218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6219         Likewise.
6220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6221         Likewise.
6222         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6223         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6224         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6225         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6226         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6227         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6228         Likewise.
6229         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6230         Likewise.
6231         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6232         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6233         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6235 2016-08-16  Florian Weimer  <fweimer@redhat.com>
6237         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
6238         New.
6239         (do_test): Apply default_stack_size_in_mb if not set.
6240         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
6242 2016-08-15  Andreas Schwab  <schwab@suse.de>
6244         [BZ #20435]
6245         CVE-2016-6323
6246         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
6247         as .cantunwind.
6249 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
6251         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
6252         comment from fraiseexcpt.c.
6254         * math/test-fexcept.c (feraiseexcept_exact): New function.
6255         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
6256         (test_except): Likewise.
6258 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
6260         [BZ #20455]
6261         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
6262         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
6263         to be restored.
6265         * math/test-fexcept-traps.c: New file.
6266         * math/test-fexcept.c: Likewise.
6267         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
6268         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
6269         macro.
6270         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
6271         (EXCEPTION_SET_FORCES_TRAP): Likewise.
6273 2016-08-09  Torvald Riegel  <triegel@redhat.com>
6275         * include/atomic.h (atomic_fetch_and_relaxed,
6276         atomic_fetch_and_release, atomic_fetch_or_release,
6277         atomic_fetch_xor_release): New.
6279 2016-08-06  Christian Seiler  <christian@iwakd.de>
6281         [BZ #20444]
6282         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
6283         MACH_PORT_NULL.
6285 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
6287         * math/s_fdim.c: Avoid alias renamed.
6288         * math/s_fdimf.c: Likewise.
6289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
6290         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
6291         Add s_fdimf-vis3, s_fdim-vis3.
6292         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
6293         (CFLAGS-s_fdim-vis3.c): Likewise.
6294         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
6295         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
6297 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
6299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
6300         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
6301         Remove s_fdimf-vis3, s_fdim-vis3.
6302         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
6303         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
6304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
6305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
6306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
6307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
6308         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
6309         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
6310         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
6311         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
6313 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
6315         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
6316         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
6317         -Wa,-Av9a -mvis.
6319 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6321         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
6322         LIT() to individual constants in simple expressions
6323         after splitting on spaces.
6324         (_apply_lit): Rename replaced version, and use it to
6325         apply to what appears to be a token.
6327         * math/libm-test.inc: Fix many, many issues with
6328         spacing.
6330 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
6332         * math/math.h: Move comment about <bits/mathdef.h> definitions
6333         above inclusion of <bits/mathdef.h>.  Do not mention
6334         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
6336 2016-08-05  Torvald Riegel  <triegel@redhat.com>
6338         * include/atomic.h (atomic_exchange_relaxed): New.
6340 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
6342         * math/e_scalb.c: Do not include <fenv.h>.
6343         (invalid_fn): Do calculation resulting in NaN instead of raising
6344         FE_INVALID and returning a NaN explicitly.
6345         * math/e_scalbf.c: Do not include <fenv.h>.
6346         (invalid_fn): Do calculation resulting in NaN instead of raising
6347         FE_INVALID and returning a NaN explicitly.
6348         * math/e_scalbl.c: Do not include <fenv.h>.
6349         (invalid_fn): Do calculation resulting in NaN instead of raising
6350         FE_INVALID and returning a NaN explicitly.
6352 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
6354         * po/de.po: Updated from Translation Project.
6355         * po/fi.po: Likewise.
6356         * po/sv.po: Likewise.
6358 2016-08-04  Florian Weimer  <fweimer@redhat.com>
6360         [BZ #20452]
6361         Use sysdep.o from libc.a in static libraries.
6362         * sysdeps/unix/sysv/linux/i386/Makefile
6363         (libpthread-shared-only-routines): Add sysdep.
6364         (librt-shared-only-routines): Likewise.
6366 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
6368         * math/tgmath.h (nextdown): Define if
6369         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
6370         (nextup): Likewise.
6372         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
6373         macro.
6374         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
6375         Document.
6376         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
6377         Document macro.
6378         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
6379         (exp10f): Likewise.
6380         (exp10l): Likewise.
6381         * math/bits/mathcalls.h (exp10): Declare if
6382         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
6384         * manual/arith.texi (nextup): Fix typo in last change.
6386 2016-08-03  Zack Weinberg  <zackw@panix.com>
6388         [BZ #19239]
6389         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
6390         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
6391         define major, minor, and makedev to issue deprecation warnings on use.
6392         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
6393         previously-activated deprecation warnings for these macros and prevent
6394         subsequent inclusions of this header from having any effect.
6395         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
6396         including <sys/sysmacros.h>, and undefine it again afterward.
6398 2016-08-03  Zack Weinberg  <zackw@panix.com>
6400         * sysdeps/generic/sys/sysmacros.h: Delete file.
6401         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
6402         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
6403         * bits/sysmacros.h: ... here; this encoding is now the generic
6404         encoding.  Now defines only the following macros:
6405         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
6406         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
6407         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
6409         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
6410         bits/sysmacros.h and the above new macros to generate the
6411         public implementations of major, minor, and makedev.
6412         * misc/tst-makedev.c: New test.
6413         * include/sys/sysmacros.h: New wrapper.
6415         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
6416         (routines): Add makedev.
6417         (tests): Add tst-makedev.
6418         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
6419         gnu_dev_makedev.
6420         * posix/Makefile (headers): Remove sys/sysmacros.h.
6421         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
6423         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
6424         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
6425         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
6426         * sysdeps/unix/sysv/linux/alpha/libc.abilist
6427         * sysdeps/unix/sysv/linux/arm/libc.abilist
6428         * sysdeps/unix/sysv/linux/hppa/libc.abilist
6429         * sysdeps/unix/sysv/linux/i386/libc.abilist
6430         * sysdeps/unix/sysv/linux/ia64/libc.abilist
6431         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
6432         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
6433         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
6434         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6435         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6436         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6437         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6438         * sysdeps/unix/sysv/linux/nios2/libc.abilist
6439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6443         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
6444         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
6445         * sysdeps/unix/sysv/linux/sh/libc.abilist
6446         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
6447         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
6448         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
6449         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
6450         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
6451         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
6452         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
6453         Add GLIBC_2.25.
6455         * include/features.h (__glibc_clang_prereq): New macro.
6456         * misc/sys/cdefs.h (__glibc_clang_has_extension)
6457         (__attribute_deprecated_msg__): New macros.
6459 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
6461         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
6462         macro.
6463         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
6464         * manual/arith.texi (issignaling): Document as ISO from TS
6465         18661-1:2014.
6466         (nextup): Likewise.
6467         (nextupf): Likewise.
6468         (nextupl): Likewise.
6469         (nextdown): Likewise.
6470         (nextdownf): Likewise.
6471         (nextdownl): Likewise.
6472         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
6473         macro.
6474         * math/math.h: Define
6475         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6476         <bits/libc-header-start.h> instead of including <features.h>.
6477         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
6478         [__USE_GNU].
6479         * math/bits/mathcalls.h (nextdown): Declare if
6480         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
6481         (nextup): Likewise.
6482         (__issignaling): Likewise.
6484 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6486         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
6487         check, and remove __glibc_likely hint
6488         from FP_INFINITE check.
6489         * s_csinhf.c (__csinhf): Likewise.
6491         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
6492         hint from FP_INFINITE check.
6493         * s_csinhl.c (__csinhl): Likewise.
6495 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6497         * math/Makefile (libm-calls): Insert F placeholder into
6498         object names.  Move w_lgamma_compat* routines into
6499         (libm-compat-calls): New variable.
6500         (libm-compat-calls-ldouble-yes): New variable.
6501         (calls): Insert F placeholder.
6502         (generated): Redefine using new type-foreach macro call.
6503         (routines): Likewise.
6505         (types): New variable to hold a list of symbolic names
6506         for each type supported by the target machine.
6507         (libm-routines): Redefine using new types variable.
6508         (type-foreach): macro to replace fooF with the
6509         appropriately suffixed foo for each types.
6511         (type-ldouble-suffix): New variable.
6512         (type-ldouble-routines): Likewise.
6513         (type-ldouble-yes): Likewise.
6514         (type-double-suffix): Likewise.
6515         (type-double-routines): Likewise.
6516         (type-float-suffix): Likewise.
6517         (type-float-routines): Likewise.
6519         (dbl-only-routines): Remove.
6520         (long-c-yes): Likewise.
6521         (long-m-routines): Likewise.
6522         (long-m-support): Likewise.
6523         (long-m-yes): Likewise.
6524         (test-longdouble-yes): Likewise.
6526         (test-float.o): Simplify by increasing the scope of the
6527         recipe which adds libm-test.stmp to the vector types.
6528         (test-ifloat.o): Likewise.
6529         (test-float-finite.o): Likewise.
6530         (test-double.o): Likewise
6531         (test-idouble.o): Likewise.
6532         (test-double-finite.o): Likewise.
6533         (test-ldouble.o): Likewise
6534         (test-ildoubl.o): Likewise.
6535         (test-ldouble-finite.o): Likewise.
6537         (libm-tests): Redefine type tests using foreach and the
6538         list of types in types.
6540         (CPPFLAGS-test-ildoubl.c): Rename to
6541         (CPPFLAGS-test-ildouble.c): New variable
6543         * math/test-ildoubl.c: Rename to
6544         * math/test-ildouble.c: New file.
6546 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6548         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
6549         Use fabsl instead of fabs.
6550         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
6551         Likewise.
6552         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
6553         Add long double suffix to constant to ensure proper
6554         promotion to long double.
6556 2016-08-03  Tom Tromey  <tom@tromey.com>
6558         [BZ #20311]
6559         * nptl_db/Makefile (headers): Add proc_service.h.
6560         * nptl_db/proc_service.h: Add include guard.  Use
6561         __BEGIN/__END_DECLS.
6562         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
6563         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
6564         arguments.
6567 2016-08-03  Florian Weimer  <fweimer@redhat.com>
6569         [BZ #17730]
6570         Avoid using memalign for TCB allocations.
6571         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
6572         (_dl_allocate_tls_storage): Use malloc and manual alignment.
6573         Avoid alignment gap in the TLS_DTV_AT_TP case.
6574         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
6575         determine the pointer to free.
6576         * nptl/tst-tls3-malloc.c: New test.
6577         * nptl/Makefile (tests): Add it.
6578         (tst-tls3-malloc): Link with libdl, libpthread.
6579         (LDFLAGS-tst-tls3-malloc): Set.
6580         (tst-tls3-malloc.out): Depend on DSO used in test.
6582 2016-08-03  Florian Weimer  <fweimer@redhat.com>
6584         [BZ #17730]
6585         Avoid using memalign for TLS allocations.
6586         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
6587         is_static member with to_free member.
6588         (union dtv): Use struct dtv_pointer.
6589         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
6590         dtv_pointer instead of is_static.
6591         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
6592         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
6593         instead of val.
6594         (allocate_dtv_entry): New function.
6595         (allocate_and_init): Return struct dtv_pointer.  Call
6596         allocate_dtv_entry instead of __libc_memalign.
6597         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
6598         instead of val.
6599         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
6600         instead of is_static.  Adjust call to allocate_and_init.
6601         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
6602         struct dtv_pointer instead of val.
6604 2016-08-03  Florian Weimer  <fweimer@redhat.com>
6606         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
6607         (MALLOC_ALIGN_MASK): Move ...
6608         * malloc/malloc-internal.h: ... to here.
6609         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
6611 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
6613         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
6614         (UDP_ENCAP_GTP1U): Likewise.
6616         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
6617         (PF_MAX): Update value.
6618         (AF_QIPCRTR): New macro.
6620 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
6622         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
6623         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6624         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6625         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
6626         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
6627         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
6628         s_truncf-vis3, s_trunc-vis3.
6629         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
6630         (CFLAGS-s_ceil-vis3.c): Likewise.
6631         (CFLAGS-s_floorf-vis3.c): Likewise.
6632         (CFLAGS-s_floor-vis3.c): Likewise.
6633         (CFLAGS-s_truncf-vis3.c): Likewise.
6634         (CFLAGS-s_trunc-vis3.c): Likewise.
6635         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
6636         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
6637         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
6638         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
6639         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
6640         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
6641         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
6642         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
6643         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
6644         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
6645         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
6646         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
6648 2016-08-02  David S. Miller  <davem@davemloft.net>
6650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
6651         (__nearbyint_vis3): Don't check for sNaN before float register is
6652         loaded with the incoming argument.
6653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
6654         (__nearbyintf_vis3): Likewise.
6655         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
6656         Likewise.
6657         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
6658         Likewise.
6660         * string/test-strncmp.c (do_test_limit): Make sure the test data
6661         stream is aligned as required for the type "CHAR".
6662         (do_test): Likewise.
6664 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
6666         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
6667         by beq instructions jumping to the end of the function.
6668         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
6669         clobber list. Use "i" constraint instead of "X".
6670         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
6671         of "X".
6673 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
6675         * bits/libc-header-start.h: New file.
6676         * Makefile (headers): Add bits/libc-header-start.h.
6677         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
6678         (__GLIBC_USE): New macro.
6679         * libio/stdio.h: Define
6680         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6681         <bits/libc-header-start.h> instead of including <features.h>.
6682         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
6683         (open_memstream): Likewise.
6684         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
6685         (__asprintf): Likewise.
6686         (asprintf): Likewise.
6687         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
6688         (getdelim): Likewise.
6689         (getline): Likewise.
6690         * string/string.h: Define
6691         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6692         <bits/libc-header-start.h> instead of including <features.h>.
6693         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
6694         (strndup): Likewise.
6695         * wcsmbs/wchar.h: Define
6696         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6697         <bits/libc-header-start.h> instead of including <features.h>.
6698         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
6699         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
6701 2016-08-02  Florian Weimer  <fweimer@redhat.com>
6703         Support linking against compatibility symbols, for use in tests.
6704         * include/libc-symbols.h (symbol_version_reference): New macro.
6705         (symbol_version): Use it.
6706         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
6707         (compat_symbol): Use compat_symbol_reference.
6708         (compat_symbol_1, compat_symbol_2): Remove.
6709         (compat_symbol_reference, compat_symbol_reference_1)
6710         (compat_symbol_reference_2): New macro.  Use
6711         symbol_version_reference.
6713 2016-08-02  Florian Weimer  <fweimer@redhat.com>
6715         [BZ #19469]
6716         * malloc/Makefile (CPPFLAGS): Compile tests with
6717         -DTEST_NO_MALLOPT.
6718         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
6720 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
6722         [BZ #20033]
6723         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
6724         finite version.
6725         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
6726         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
6727         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
6728         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
6729         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
6730         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
6731         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
6732         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
6733         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
6734         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
6735         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
6736         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
6737         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
6738         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
6739         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
6740         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
6741         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
6742         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
6743         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
6744         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
6745         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
6746         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
6747         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
6748         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
6749         in zero power.
6751 2016-08-02  Florian Weimer  <fweimer@redhat.com>
6753         [BZ #20370]
6754         * malloc/arena.c (get_free_list): Update comment.  Assert that
6755         arenas on the free list have no attached threads.
6756         (remove_from_free_list): New function.
6757         (reused_arena): Call it.
6759 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
6761         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
6762         when it is a NaN.
6763         [_IEEE_FP_INEXACT] Remove.
6764         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
6765         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
6766         when it is a NaN.
6767         [_IEEE_FP_INEXACT] Remove.
6768         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
6769         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
6770         when it is a NaN.
6771         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
6772         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
6773         when its absolute value is greater than 0x1.0p52.
6774         [_IEEE_FP_INEXACT] Remove.
6775         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
6776         when its absolute value is greater than 0x1.0p23.
6777         [_IEEE_FP_INEXACT] Remove.
6779 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
6781         * version.h (RELEASE): Set to "development"
6782         (VERSION): Set to 2.24.90.
6783         * NEWS: Add 2.25 section.
6785         * version.h (RELEASE): Set to "stable"
6786         (VERSION): Set to 2.24.
6787         * include/features.h (__GLIBC_MINOR__): Set to 24.
6789         * NEWS: Add 2.24 fixed bugs.
6790         * po/libc.pot: Regenerate.
6792 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
6794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
6795         [$(subdir) = math] (libm-sysdep_routines): Remove.
6796         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
6797         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
6798         s_truncf-vis3, s_trunc-vis3.
6799         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
6801         file.
6802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
6803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
6804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
6805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
6806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
6808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
6809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
6811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
6812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
6813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
6814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
6815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
6816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
6817         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
6818         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6819         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
6820         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
6821         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
6822         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
6823         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
6824         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
6825         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6826         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
6827         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
6828         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6829         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
6830         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
6831         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6832         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
6833         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
6834         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6835         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
6836         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
6837         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
6838         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
6839         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6840         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6841         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
6842         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
6843         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
6844         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
6846 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
6848         [BZ #20384]
6849         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
6850         test-double-libmvec-sincos-avx-main.o,
6851         test-double-libmvec-sincos-avx2-main.o,
6852         test-double-libmvec-sincos-main.o,
6853         test-float-libmvec-sincosf-avx-main.o,
6854         test-float-libmvec-sincosf-avx2-main.o and
6855         test-float-libmvec-sincosf-main.o.
6856         test-float-libmvec-sincosf-avx512-main.o.
6857         ($(objpfx)test-double-libmvec-sincos): Also link with
6858         $(objpfx)test-double-libmvec-sincos-main.o.
6859         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
6860         $(objpfx)test-double-libmvec-sincos-avx-main.o.
6861         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
6862         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
6863         ($(objpfx)test-float-libmvec-sincosf): Also link with
6864         $(objpfx)test-float-libmvec-sincosf-main.o.
6865         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
6866         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
6867         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
6868         test-double-libmvec-sincos-avx512-main.o and
6869         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
6870         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
6871         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
6872         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
6873         (CFLAGS-test-double-libmvec-sincos.c): Removed.
6874         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
6875         (CFLAGS-test-double-libmvec-sincos-main.c): New.
6876         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
6877         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
6878         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
6879         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
6880         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
6881         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
6882         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
6883         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
6884         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
6885         -DREQUIRE_AVX2.
6886         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
6887         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
6888         -DREQUIRE_AVX512F.
6889         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
6890         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
6891         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
6892         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
6893         file.
6894         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
6895         Likewise.
6896         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
6897         Likewise.
6898         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
6899         Likewise.
6900         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
6901         Likewise.
6902         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
6903         Likewise.
6904         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
6905         Likewise.
6906         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
6907         Likewise.
6909 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
6911         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
6913 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
6915         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
6916         and typo in a comment about AT_HWCAP entry.
6918 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6920         * sysdeps/aarch64/libm-test-ulps: Updated.
6922 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6924         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
6925         of r13 as it is not restored in mvcle case.
6927 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
6929         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
6930         Rename "ret" to "__ret".
6931         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
6932         inline_syscall5, inline_syscall6): Likewise.
6934 2016-07-19   Will Newton  <will.newton@gmail.com>
6936         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
6937         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
6938         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
6939         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
6940         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
6942 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
6944         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
6945         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
6946         -mfpmath=387 with $(rtld-CFLAGS).
6947         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
6948         $(rtld-CFLAGS).
6950 2016-07-18   Ross Burton  <ross.burton@intel.com>
6951              Khem Raj  <raj.khem@gmail.com>
6953         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
6954         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
6955         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
6956         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
6957         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
6958         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
6959         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
6960         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
6961         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
6962         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
6963         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
6964         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
6965         R_METAG_TLS_DTPOFF): New.
6967 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6968             Matt Clay  <mclay@lycos.com>
6970         [BZ #20357]
6971         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
6972         to call __mpsin/__mpcos and to negate values.
6973         * math/auto-libm-test-in: Add test.
6974         * math/auto-libm-test-out: Regenerate.
6976 2016-07-18  Zack Weinberg  <zackw@panix.com>
6978         * grp/Makefile: Don't install the internal header grp-merge.h.
6980 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6982         * sysdeps/aarch64/libm-test-ulps: Regenerated.
6984 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6986         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
6988 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6990         [BZ #15368]
6991         * sysdeps/unix/sysv/linux/nptl-signals.h
6992         (__nptl_clear_internal_signals): New function.
6993         (__libc_signal_block_all): Likewise.
6994         (__libc_signal_block_app): Likewise.
6995         (__libc_signal_restore_set): Likewise.
6996         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
6997         implementation.
6998         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
6999         the cached pid/tid value in pthread structure.
7001 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
7003         [BZ #20347]
7004         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
7006 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
7008         [BZ #20348]
7009         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
7010         preadv64, pwrite64 and pwritev64.
7012 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
7014         [BZ #20350]
7015         * posix/tst-preadwrite.c: Renamed to ...
7016         * posix/tst-preadwrite-common.c: This.
7017         (PREAD): Removed.
7018         (PWRITE): Likewise.
7019         (STRINGIFY): Likewise.
7020         (STRINGIFY2): Likewise.
7021         (do_prepare): Make it static and remove function arguments.
7022         (do_test): Likewise.
7023         (PREPARE): Updated.
7024         (TEST_FUNCTION): New.
7025         (name): Make it static.
7026         (fd): Likewise.
7027         (do_prepare): Use create_temp_file.
7028         (do_test): Renamed to ...
7029         (do_test_with_offset): This.  Make it static and accept offset.
7030         Properly check return value of PWRITE and PREAD.  Return bytes
7031         read.  Don't close fd nor unlink name.
7032         * posix/tst-preadwrite.c: Rewrite.
7033         * posix/tst-preadwrite64.c: Likewise.
7035 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
7037         [BZ #20309]
7038         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
7039         -mtls-dialect=gnu2 works.
7040         * configure: Regenerated.
7041         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
7042         (tests): Add tst-gnu2-tls1.
7043         (modules-names): Add tst-gnu2-tls1mod.
7044         ($(objpfx)tst-gnu2-tls1): New.
7045         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
7046         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
7047         * elf/tst-gnu2-tls1.c: New file.
7048         * elf/tst-gnu2-tls1mod.c: Likewise.
7049         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
7050         bytes for push in the PLT entry to align the stack.
7052 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
7054         [BZ #20349]
7055         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
7057 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7059         [BZ #18707]
7060         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
7061         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
7063 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7065         * sysdeps/unix/sysv/linux/sysdep.h
7066         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
7067         guards.
7068         * misc/tst-preadvwritev-common.c: New file.
7069         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
7070         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
7071         a check for files larger than 2GB.
7073         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7074         (__ASSUME_OFF_DIFF_OFF64): Remove define.
7075         * sysdeps/unix/sysv/linux/pread.c
7076         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
7077         __OFF_T_MATCHES_OFF64_T.
7078         * sysdeps/unix/sysv/linux/pread64.c
7079         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
7080         * sysdeps/unix/sysv/linux/preadv.c
7081         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
7082         * sysdeps/unix/sysv/linux/preadv64.c
7083         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
7084         * sysdeps/unix/sysv/linux/pwrite.c
7085         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
7086         * sysdeps/unix/sysv/linux/pwrite64.c
7087         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
7088         * sysdeps/unix/sysv/linux/pwritev.c
7089         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
7090         * sysdeps/unix/sysv/linux/pwritev64.c
7091         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
7093 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
7095         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7096         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
7098 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
7100         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
7102 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
7104         [BZ #20240]
7105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
7106         (CFLAGS-s_modf-ppc32.c): New variable.
7107         (CFLAGS-s_modff-ppc32.c): Likewise.
7108         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
7109         (CFLAGS-s_modf-ppc64.c): Likewise.
7110         (CFLAGS-s_modff-ppc64.c): Likewise.
7112 2016-07-07  Andreas Schwab  <schwab@suse.de>
7114         [BZ #20263]
7115         * nptl/tst-robust10.c: New test.
7116         * nptl/Makefile (tests): Add tst-robust10.
7118 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
7120         [BZ #20263]
7121         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
7123 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
7125         * sysdeps/s390/linkmap.h (struct link_map_machine):
7126         Remove member gotplt and add member jmprel.
7127         * sysdeps/s390/s390-32/dl-machine.h
7128         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
7129         instead of gotplt with &got[3].
7130         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
7131         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7133 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
7135         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
7137 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7139         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
7140         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
7141         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
7142         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
7143         * libio/vtables.c (_IO_vtable_check)
7144         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
7145         * libio/libioP.h (IO_set_accept_foreign_vtables)
7146         [!PTR_MANGLE]: Do not call PTR_MANGLE.
7148 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
7150         [BZ #20314]
7151         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
7152         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
7153         $(common-objpfx)cmath.
7154         ($(common-objpfx)cstdlib): New target.
7155         ($(common-objpfx)cmath): Likewise.
7157 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
7159         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
7161 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7163         [BZ #20327]
7164         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
7165         are not part of the string.
7167 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7169         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
7170         * nptl/tst-cancel4-common.h (fifoname): New variable.
7171         (fifofd): Likewise.
7172         (cl_fifo): New function.
7173         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
7174         SIGINT.
7175         (tf_open): Add early cancel test.
7177 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
7179         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
7181 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
7183         * sysdeps/generic/ldsodefs.h
7184         (dl_symbol_visibility_binds_local_p): New inline function.
7185         * elf/dl-addr.c (determine_info): Treat hidden and internal
7186         symbols as local.
7187         * elf/dl-lookup.c (do_lookup_x): Likewise.
7188         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
7190 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
7192         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
7193         invalid exception for a sNaN input.
7194         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
7195         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
7196         (__nearbyint_vis3): Likewise
7197         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
7198         (__nearbyintf_vis3): Likewise
7199         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
7200         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
7201         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
7202         Likewise.
7203         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
7204         Likewise.
7206 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
7208         [BZ #20139]
7209         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
7210         (HAVE_AVX512DQ_ASM_SUPPORT): This.
7211         * sysdeps/x86_64/configure.ac: Require assembler from binutils
7212         2.24 or above.
7213         (HAVE_AVX512_ASM_SUPPORT): Removed.
7214         (HAVE_AVX512DQ_ASM_SUPPORT): New.
7215         * sysdeps/x86_64/configure: Regenerated.
7216         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
7217         check unconditional.
7218         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
7219         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7220         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7221         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
7222         Likewise.
7223         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
7224         Likewise.
7225         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
7226         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
7227         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7228         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7229         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
7230         Likewise.
7231         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
7232         Likewise.
7233         * sysdeps/x86_64/multiarch/memset.S: Likewise.
7234         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7235         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
7236         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
7237         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
7238         Likewise.
7239         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
7240         Likewise.
7241         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
7242         Likewise.
7243         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
7244         Likewise.
7245         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
7246         Likewise.
7247         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
7248         Likewise.
7249         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
7250         Likewise.
7251         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
7252         Likewise.
7253         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
7254         Likewise.
7255         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
7256         Likewise.
7257         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
7258         Likewise.
7260 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
7262         [BZ #20024]
7263         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
7264         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
7265         of this implementation of vector function.
7266         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
7267         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
7268         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
7269         Likewise.
7270         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
7271         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
7272         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
7273         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
7274         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
7275         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
7276         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
7277         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
7278         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
7279         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
7280         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
7281         for testing vector sincos with fixed ABI.
7282         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
7283         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
7284         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
7285         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
7286         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
7287         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
7288         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
7289         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
7290         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
7291         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
7292         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
7293         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
7294         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
7295         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
7296         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
7297         * sysdeps/x86_64/fpu/Makefile: Added new tests.
7299 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
7301         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
7303 2016-06-30  Anton Blanchard  <anton@samba.org>
7305         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
7306         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
7307         s_sinf-ppc64.
7308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
7309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
7310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
7311         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
7313 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7315         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7316         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
7317         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
7318         e_expf-ppc64.
7319         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
7320         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
7321         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
7322         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
7324 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
7326         [BZ #20277]
7327         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
7328         when SHARED is defined.
7330 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
7332         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
7333         (index_arch_Prefer_ERMS): Likewise.
7334         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
7335         __memcpy_erms for Prefer_ERMS.
7336         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
7337         (__memmove_erms): Enabled for libc.a.
7338         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
7339         __memmove_erms or Prefer_ERMS.
7340         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
7341         __mempcpy_erms for Prefer_ERMS.
7342         * sysdeps/x86_64/multiarch/memset.S (memset): Return
7343         __memset_erms for Prefer_ERMS.
7345 2016-06-30  Andreas Schwab  <schwab@suse.de>
7347         [BZ #20262]
7348         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
7349         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
7350         of memory.
7352 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
7354         [BZ #18645]
7355         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
7356         (test-extras): Add tst-cleanupx4aux.
7357         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
7358         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
7359         tst-cleanupx4aux.o.
7360         * nptl/tst-cleanupx4aux.c: New file.
7362 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
7364         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
7366 2016-06-29  Andreas Schwab  <schwab@suse.de>
7368         [BZ #20260]
7369         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
7370         address before the beginning of the string as an integer to avoid
7371         array-bounds warning.
7373 2016-06-28  Richard Henderson  <rth@redhat.com>
7375         * elf/elf.h (EM_BPF): New.
7376         (EM_NUM): Update.
7377         (R_BPF_NONE, R_BPF_MAP_FD): New.
7379         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
7380         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
7381         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
7382         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
7383         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
7384         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
7385         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
7386         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
7387         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
7388         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
7389         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
7390         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
7391         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
7392         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
7393         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
7394         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
7395         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
7396         (EM_NUM): Update.
7398 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
7400         [BZ #18960]
7401         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
7402         Set _nl_current_LC_CATEGORY_used to two instead of one.
7404 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
7406         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
7407         (do_test): ... this.
7408         (TEST_FUNCTION): New macro.
7409          Include test-skeleton.c.
7410         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
7411         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
7413 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
7415         [BZ #15479]
7416         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
7417         floating-point environment rather than just control word.
7418         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
7419         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
7420         floating-point environment, with "invalid" exceptions merged in,
7421         rather than just control word.
7422         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
7423         * math/libm-test.inc (trunc_test_data): Do not allow spurious
7424         "inexact" exceptions.
7426         [BZ #15479]
7427         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
7428         floating-point environment rather than just control word.
7429         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
7430         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
7431         floating-point environment, with "invalid" exceptions merged in,
7432         rather than just control word.
7433         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
7434         * math/libm-test.inc (floor_test_data): Do not allow spurious
7435         "inexact" exceptions.
7437         [BZ #15479]
7438         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
7439         floating-point environment rather than just control word.
7440         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
7441         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
7442         floating-point environment, with "invalid" exceptions merged in,
7443         rather than just control word.
7444         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
7445         * math/libm-test.inc (ceil_test_data): Do not allow spurious
7446         "inexact" exceptions.
7448 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
7450         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
7451         __libc_vfork.
7452         (__vfork) [IS_IN (libc)]: Remove alias.
7453         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
7454         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
7455         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
7457 2016-06-24  Torvald Riegel  <triegel@redhat.com>
7459         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
7460         of atomic_compare_and_exchange_bool_rel.
7461         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7462         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
7463         catomic_compare_and_exchange_bool_rel): Remove.
7464         * sysdeps/aarch64/atomic-machine.h
7465         (atomic_compare_and_exchange_bool_rel): Likewise.
7466         * sysdeps/alpha/atomic-machine.h
7467         (atomic_compare_and_exchange_bool_rel): Likewise.
7468         * sysdeps/arm/atomic-machine.h
7469         (atomic_compare_and_exchange_bool_rel): Likewise.
7470         * sysdeps/mips/atomic-machine.h
7471         (atomic_compare_and_exchange_bool_rel): Likewise.
7472         * sysdeps/microblaze/atomic-machine.h
7473         ( __arch_compare_and_exchange_bool_8_rel,
7474         __arch_compare_and_exchange_bool_16_rel): Likewise.
7475         * sysdeps/powerpc/atomic-machine.h
7476         ( __arch_compare_and_exchange_bool_8_rel,
7477         __arch_compare_and_exchange_bool_16_rel): Likewise.
7478         * sysdeps/powerpc/powerpc32/atomic-machine.h
7479         ( __arch_compare_and_exchange_bool_32_rel,
7480         __arch_compare_and_exchange_bool_64_rel): Likewise.
7481         * sysdeps/powerpc/powerpc64/atomic-machine.h
7482         ( __arch_compare_and_exchange_bool_32_rel,
7483         __arch_compare_and_exchange_bool_64_rel): Likewise.
7484         * sysdeps/tile/atomic-machine.h
7485         (atomic_compare_and_exchange_bool_rel): Likewise.
7487 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
7489         [BZ #20296]
7490         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
7491         when either argument is a NaN.
7492         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
7493         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
7495         * math/libm-test.inc (snan_value_ld): New macro.
7496         (isgreater_test_data): Add sNaN tests.
7497         (isgreaterequal_test_data): Likewise.
7498         (isless_test_data): Likewise.
7499         (islessequal_test_data): Likewise.
7500         (islessgreater_test_data): Likewise.
7501         (isunordered_test_data): Likewise.
7502         (nextafter_test_data): Likewise.
7503         (nexttoward_test_data): Likewise.
7504         (remainder_test_data): Likewise.
7505         (remquo_test_data): Likewise.
7506         (significand_test_data): Likewise.
7507         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
7509 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7511         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
7512         environment macros are defined.
7513         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
7515 2016-06-23  Florian Weimer  <fweimer@redhat.com>
7517         [BZ #20191]
7518         Implement vtable verification in libio.
7519         * Makerules (shlib.lds): Place __libc_IO_vtables section.
7520         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
7521         * debug/vdprintf_chk.c (__vdprintf_chk): Call
7522         _IO_new_file_init_internal instead of _IO_file_init.
7523         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
7524         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
7525         * libio/Makefile (routines): Add vtables.
7526         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
7527         (_IO_init): Remove, not for internal use.
7528         (_IO_init_internal): Declare, internal replacement for _IO_init.
7529         (_IO_file_init): Remove, not for internal use.
7530         (_IO_new_file_init): Remove, not for internal use.
7531         (_IO_new_file_init_internal): Declare, internal replacement for
7532         _IO_new_file_init.
7533         (_IO_old_file_init): Remove, not for internal use.
7534         (_IO_old_file_init_internal): Declare, internal replacement for
7535         _IO_old_file_init.
7536         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
7537         internal use.
7538         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
7539         Declare.
7540         (libio_vtable): New macro.
7541         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
7542         functions.
7543         * libio/fileops.c (_IO_new_file_init_internal): Rename from
7544         _IO_new_file_init.
7545         (_IO_new_file_init): New externally visible wrapper which disables
7546         vtable verification.
7547         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
7548         Define as vtables.
7549         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
7550         (_IO_init): New externally visible wrapper which disables
7551         vtable verification.
7552         * libio/iofdopen.c (_IO_new_fdopen): Call
7553         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
7554         comment.
7555         * libio/iofopen.c (__fopen_internal): Call
7556         _IO_new_file_init_internal instead of _IO_file_init.
7557         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
7558         Define as vtables.
7559         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
7560         _IO_new_file_init_internal instead of _IO_file_init.
7561         * libio/iopopen.c (_IO_new_popen): Likewise.
7562         (_IO_proc_jumps): Define as vtable.
7563         * libio/iovdprintf.c (_IO_vdprintf): Call
7564         _IO_new_file_init_internal instead of _IO_file_init.
7565         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
7566         (__open_memstream): Call _IO_init_internal instead of _IO_init.
7567         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
7568         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
7569         _IO_old_file_init.
7570         (_IO_old_file_init): New externally visible wrapper which disables
7571         vtable verification.
7572         (_IO_old_file_jumps): Define as vtable.
7573         * libio/oldiofdopen.c (_IO_old_fdopen): Call
7574         _IO_old_file_init_internal instead of _IO_old_file_init.
7575         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
7576         * libio/oldiopopen.c (_IO_old_popen): Likewise.
7577         (_IO_old_proc_jumps): Define as vtable.
7578         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
7579         Define as vtables.
7580         * libio/vtables.c: New file.
7581         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
7582         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
7583         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
7584         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
7585         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
7586         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
7587         instead of _IO_init.
7589 2016-06-23  Florian Weimer  <fweimer@redhat.com>
7591         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
7593 2016-06-23  Florian Weimer  <fweimer@redhat.com>
7595         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
7596         potentially unused.
7598 2016-06-22  Florian Weimer  <fweimer@redhat.com>
7600         * test-skeleton.c (write_message): New function.
7601         * malloc/tst-mallocfork2.c (write_message): Remove.
7602         * debug/tst-longjmp_chk2.c (write_indented): New function.
7603         (write_message): Remove.
7604         (stackoverflow_handler): Call write_indented.
7606 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
7608         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
7609         "inexact" exceptions after fnstenv.
7610         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
7611         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
7612         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
7614 2015-06-22  Zack Weinberg  <zackw@panix.com>
7616         * sysdeps/generic/bits/hwcap.h: Moved to ...
7617         * bits/hwcap.h: Here.
7619 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
7621         * sysdeps/aarch64/memcpy.S (memcpy):
7622         Further tuning for performance.
7624 2016-06-21  Florian Weimer  <fweimer@redhat.com>
7626         [BZ #20284]
7627         * malloc/arena.c (reused_arena): Do not return NULL if we start
7628         out with a non-corrupted arena.
7630 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7632         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
7633         * misc/tst-preadvwritev.c: New file.
7634         * misc/tst-preadvwritev64.c: Likewise.
7635         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
7636         usage.
7637         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
7638         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
7639         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
7640         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
7642 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
7644         [BZ #19654]
7645         * sysdeps/x86_64/fpu/Makefile: Added new tests.
7646         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
7647         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
7648         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
7649         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
7650         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
7651         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
7652         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
7653         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
7654         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
7655         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
7656         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
7657         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
7658         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
7659         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
7660         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
7661         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
7662         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
7663         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
7664         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
7665         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
7666         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
7667         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
7668         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
7669         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
7670         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
7672 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
7674         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
7675         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
7677 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
7679         * sysdeps/aarch64/memcpy.S (memcpy):
7680         Rewrite of optimized memcpy and memmove.
7681         * sysdeps/aarch64/memmove.S (memmove): Remove
7682         memmove code (merged into memcpy.S).
7684 2016-06-20  Florian Weimer  <fweimer@redhat.com>
7686         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
7687         * sysdeps/generic/dl-dtv.h: New file.
7688         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7689         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
7690         (dtv_t): Remove.
7691         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7692         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
7693         (dtv_t): Remove.
7694         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7695         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
7696         (dtv_t): Remove.
7697         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7698         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
7699         (dtv_t): Remove.
7700         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7701         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
7702         (dtv_t): Remove.
7703         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7704         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
7705         (dtv_t): Remove.
7706         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7707         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
7708         (dtv_t): Remove.
7709         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
7710         (dtv_t): Remove.
7711         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7712         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
7713         (dtv_t): Remove.
7714         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7715         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
7716         (dtv_t): Remove.
7717         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7718         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
7719         (dtv_t): Remove.
7720         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7721         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
7722         (dtv_t): Remove.
7723         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7724         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
7725         (dtv_t): Remove.
7726         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7727         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
7728         (dtv_t): Remove.
7729         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7730         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
7731         (dtv_t): Remove.
7732         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
7733         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
7734         (dtv_t): Remove.
7736 2016-06-20  Florian Weimer  <fweimer@redhat.com>
7738         Revert symbol poisoning of  __malloc_initialize_hook.
7739         * include/stdc-predef.h (__malloc_initialize_hook): Remove
7740         poisoning.
7741         * malloc/Makefile: Remove un-poisoning.
7742         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
7743         instead of old__malloc_initialize_hook.
7744         * malloc/malloc-hooks.h: Likewise.
7745         * malloc/malloc.c: Likewise.
7746         * malloc/mcheck-init.c: Likewise.
7748 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
7750         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
7752 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
7754         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
7755         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
7756         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
7757         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
7759 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7761         * NEWS: Mention addition of nextup and nextdown.
7762         * manual/arith.texi: Document nextup and nextdown.
7763         * manual/libm-err-tab.pl: Add nextup and nextdown.
7764         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
7765         * math/Versions (libm): Add GLIBC_2.24.
7766         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
7767         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
7768         Add new test.
7769         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
7770         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
7771         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
7772         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
7773         (nextup_test_data): Likewise.
7774         (nextdown_test_data): Likewise.
7775         * math/s_nextdown.c: New file.
7776         * math/s_nextdownf.c: Likewise.
7777         * math/s_nextdownl.c: Likewise.
7778         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
7779         F(nextup): New function.
7780         F(nextdown): Likewise.
7781         * math/tgmath.h: Add nextup and nextdown.
7782         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
7783         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
7784         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
7785         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
7786         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
7787         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
7788         Add nextup and nextdown.
7789         (CFLAGS-nldbl-nextup.c): New variable.
7790         (CFLAGS-nldbl-nextdown.c): Likewise.
7791         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
7792         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
7793         * sysdeps/nacl/libm.abilist: Update.
7794         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7795         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7796         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7797         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7798         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7799         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7800         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7801         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7802         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7803         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7804         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7805         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
7807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7808         Likewise.
7809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
7810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
7811         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7812         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7813         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7814         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7815         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
7817         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
7818         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7819         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7820         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
7821         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7823 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
7825         * manual/pattern.texi: Fix typos & grammar errors.
7827 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
7829         * manual/search.texi: Fix typos & grammar errors.
7831 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
7833         * manual/message.texi: Fix typos & grammar errors.
7835 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
7837         * manual/contrib.texi: Fix spelling typos.
7838         * manual/crypt.texi: Likewise.
7839         * manual/filesys.texi: Likewise.
7840         * manual/locale.texi: Likewise.
7841         * manual/message.texi: Likewise.
7842         * manual/nss.texi: Likewise.
7843         * manual/string.texi: Likewise.
7845 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
7847         * manual/locale.texi: Fix typos & grammar errors.
7849 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
7851         * manual/charset.texi: Fix typos & grammar errors.
7853 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
7855         * manual/string.texi: Fix typos.
7857 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
7859         * manual/ctype.texi: Fix typos.
7861 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
7863         * manual/memory.texi: Fix various typos & grammar errors.
7865 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
7867         [BZ #20255]
7868         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
7869         * math/libm-test.inc (fdim_test_data): Add another test.
7871         [BZ #6796]
7872         [BZ #20255]
7873         [BZ #20256]
7874         * math/s_fdim.c: Include <math_private.h>.
7875         (__fdim): Use math_narrow_eval on result.
7876         * math/s_fdimf.c: Include <math_private.h>.
7877         (__fdimf): Use math_narrow_eval on result.
7878         * sysdeps/i386/fpu/s_fdim.S: Remove file.
7879         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
7880         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
7881         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
7882         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
7883         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
7884         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
7885         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
7886         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
7887         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
7888         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
7889         * math/libm-test.inc (fdim_test_data): Expect errno setting on
7890         overflow.  Add sNaN tests.
7892         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
7893         fpclassify.
7894         * math/s_fdimf.c (__fdimf): Likewise.
7895         * math/s_fdiml.c (__fdiml): Likewise.
7897 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7899         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7900         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
7901         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7902         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
7903         ifunc'ed strcasecmp/strncasecmp.
7904         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
7905         [EALIGN]: Removed.
7906         [END]: Likewise.
7907         [__strcasecmp]: Define instead of the above to control symbol name.
7908         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
7909         for __strcasecmp_power8.
7910         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
7911         for __strncasecmp_power8.
7912         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
7913         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
7914         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
7915         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
7916         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
7917         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
7919 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
7921         [BZ #20252]
7922         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
7923         arguments when second argument is a NaN.
7924         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
7925         qNaN tests.
7927         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
7928         (conj_test_data): Likewise.
7929         (copysign_test_data): Likewise.
7930         (creal_test_data): Likewise.
7931         (fma_test_data): Likewise.
7932         (fmod_test_data): Likewise.
7934         [BZ #20250]
7935         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
7936         itself.
7937         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
7938         zero input to itself.
7939         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
7940         Likewise.
7941         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
7942         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
7943         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
7944         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
7945         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
7947 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7949         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
7950         * nptl/tst-cancel4-common.c: New file.
7951         * nptl/tst-cancel4-common.h: Likewise.
7952         * nptl/tst-cancel4.c: Move common definitions to
7953         tst-cancel4-common.{c,h} file.
7954         * nptl/tst-cancel4_1.c: New test.
7955         * nptl/tst-cancel4_2.c: New test.
7957 2016-06-13  Florian Weimer  <fweimer@redhat.com>
7959         [BZ #20248]
7960         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
7961         (write_message): New function.
7962         (stackoverflow_handler): Call it instead of printf, to avoid
7963         excessive stack usage by printf.
7964         (do_test): Restore SIGSEGV, SIGBUS default handlers.
7966 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7968         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
7969         (prio_inherit_missing): Remove define.
7970         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7971         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7972         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
7973         Likewise.
7974         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7975         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7976         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7977         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7978         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7979         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7981 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
7983         [BZ #19670]
7984         [BZ #19672]
7986         * io/test-lfs.c (do_prepare): Use xmalloc.
7987         * io/tst-fcntl.c (do_prepare): Likewise.
7988         * libio/tst-fopenloc.c (do_bz17916): Likewise.
7989         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
7990         * login/tst-utmp.c (do_prepare): Likewise.
7991         * posix/tst-exec.c (do_prepare): Likewise.
7992         * posix/tst-pathconf.c (prepare): Likewise.
7993         * posix/tst-spawn.c (do_prepare): Likewise.
7994         * posix/tst-truncate.c (do_prepare): Likewise.
7995         * rt/tst-aio.c (do_prepare): Likewise.
7996         * rt/tst-aio64.c (do_prepare): Likewise.
7998 2016-06-11  Florian Weimer  <fweimer@redhat.com>
8000         [BZ #20237]
8001         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
8002         (get*ent): Set entidx to NULL during initialization.  If entidx is
8003         NULL, start iteration from the beginning.
8005 2016-06-11  Florian Weimer  <fweimer@redhat.com>
8007         * malloc/malloc.c (musable): Return correct size for dumped fake
8008         mmapped chunk.
8010 2016-06-11  Florian Weimer  <fweimer@redhat.com>
8012         [BZ #20222]
8013         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
8014         (_IO_cookie_write): Likewise.
8015         (_IO_cookie_seek): Likewise.
8016         (_IO_cookie_close): Likewise.
8017         (_IO_old_cookie_seek): Likewise.
8018         (set_callbacks): New function.
8019         (_IO_cookie_init): Call set_callbacks to copy callbacks.
8021 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
8023         * locale/programs/localedef.c (oldstyle_tables): Remove.
8024         * locale/programs/localedef.h (oldstyle_tables): Likewise.
8026 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
8028         [BZ #20240]
8029         * math/Makefile (CFLAGS-s_modf.c): New variable.
8030         (CFLAGS-s_modff.c): Likewise.
8031         (CFLAGS-s_modfl.c): Likewise.
8032         * math/libm-test.inc (modf_test_data): Add sNaN tests.
8034 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
8036         [BZ #20215]
8037         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
8038         [!__GNUC_PREREQ (3,2)]: Likewise.
8040 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
8042         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
8043         (msghdr.msg_controllen): Likewise.
8044         (cmsghdr.cmsg_len): Likewise.
8045         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
8046         ptw-oldsendmsg.
8047         (CFLAGS-oldrecvmsg.c): Remove rule.
8048         (CFLAGS-oldsendmsg.c): Likewise.
8049         (CFLAGS-recvmsg.c): Add rule.
8050         (CFLAGS-sendmsg.c): Likewise.
8051         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
8052         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
8053         (CFLAGS-recvmsg.c): Remove rule.
8054         (CFLAGS-sendmsg.c): Likewise.
8055         (CFLAGS-oldrecvmsg.c): Likewise.
8056         (CFLAGS-oldsendmsg.c): Likewise.
8057         (CFLAGS-recvmmsg.c): Likewise.
8058         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
8059         to kernel defined interfaces.
8060         (msghdr.msg_controllen): Likewise.
8061         (cmsghdr.cmsg_len): Likewise.
8062         (msghdr.__glibc_reserved1): Remove member.
8063         (msghdr.__glibc_reserved2): Likewise.
8064         (cmsghdr.__glibc_reserved1): Likewise.
8065         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
8066         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
8067         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
8068         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
8069         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
8070         version.
8071         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
8072         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
8073         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
8074         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
8075         Remove recvmsg and sendmsg.
8076         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
8077         Likewise.
8078         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
8079         Likewise.
8080         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
8081         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
8082         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
8083         Likewise.
8084         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
8085         Likewise.
8086         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
8087         [libc] (GLIBC_2.24): Likewise.
8088         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
8089         Likewise.
8090         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
8091         Likewise.
8092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8093         [libc] (GLIBC_2.24): Likewise.
8094         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
8095         Likewise.
8096         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
8097         Likewise.
8098         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
8099         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
8100         Likewise.
8101         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
8102         Likewise.
8103         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
8104         Likewise.
8105         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
8106         Likewise.
8107         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
8108         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
8109         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
8110         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
8111         version for {recv,send,recm,sendm}msg.
8112         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8113         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8114         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8115         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8116         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8117         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8118         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8119         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8120         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8121         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8122         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8123         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8125         Likewise.
8126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8127         Likewise.
8128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8130         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8131         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8132         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8133         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8134         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8135         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8136         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8137         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8138         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8139         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8140         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8142 2016-06-10  Florian Weimer  <fweimer@redhat.com>
8144         [BZ #19564]
8145         Remove __malloc_initialize_hook from the API.
8146         * malloc/malloc.h (__malloc_initialize_hook): Remove.
8147         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
8148         #pragma GCC poison.
8149         * malloc/malloc-hooks.h: New file.
8150         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
8151         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
8152         (old__malloc_initialize_hook): Rename from
8153         __malloc_initialize_hook to evade poisoning.  Turn into compat
8154         symbol.
8155         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
8156         __malloc_initialize_hook.
8157         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
8158         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
8159         * manual/memory.texi (Hooks for Malloc): Remove
8160         __malloc_initialize_hook.  Adjust hook example.
8162 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
8164         [BZ #20235]
8165         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
8166         itself.
8167         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
8168         * math/libm-test.inc (log2_test_data): Add sNaN tests.
8170         [BZ #20234]
8171         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
8172         infinity or NaN input to itself.
8174         [BZ #20233]
8175         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
8176         to itself.
8178         [BZ #20232]
8179         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
8180         itself.
8182 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
8184         * sysdeps/x86_64/start.S (_start): Always indirect branch to
8185         __libc_start_main via GOT.
8187 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
8189         * sysdeps/x86_64/memcopy.h: New file.
8190         * sysdeps/x86_64/wordcopy.c: Likewise.
8192 2016-06-09  Florian Weimer  <fweimer@redhat.com>
8194         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
8195         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
8196         <cstdlib>.
8197         (optimization_barrier): New.
8198         (do_test): Use it.  Call quick_exit in the global namespace.
8199         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
8200         instead of <cstdlib>, <thread>.
8201         (optimization_barrier): New.
8202         (non_main_thread): Adjust declaration.  Call optimization_barrier.
8203         Call quick_exit in the global namespace.
8204         (do_test): Call optimization_barrier.  Use pthread_create,
8205         pthread_join instead of std::thread.
8207 2016-06-09  Andreas Schwab  <schwab@suse.de>
8209         [BZ #19755]
8210         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
8211         new entries in auto-propagate mode.
8212         * nscd/grpcache.c (cache_addgr): Likewise.
8214 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
8216         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
8217         New functions.
8218         (add_temp_file): Use them.
8220 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
8222         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
8224 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
8226         [BZ #20229]
8227         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
8228         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
8229         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
8231         [BZ #20228]
8232         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
8233         itself.
8234         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
8235         * math/libm-test.inc (log10_test_data): Add sNaN tests.
8237         [BZ #20227]
8238         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
8239         itself.
8240         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8241         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
8242         * math/libm-test.inc (log_test_data): Add sNaN tests.
8244         [BZ #20226]
8245         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
8246         itself.
8247         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
8248         * math/libm-test.inc (exp_test_data): Add sNaN tests.
8249         (exp10_test_data): Likewise.
8250         (expm1_test_data): Likewise.
8252         [BZ #20225]
8253         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
8254         itself.
8255         * math/s_ldexpf.c (__ldexpf): Likewise.
8256         * math/s_ldexpl.c (__ldexpl): Likewise.
8257         * math/w_scalbln.c (__w_scalbln): Likewise.
8258         * math/w_scalblnf.c (__w_scalblnf): Likewise.
8259         * math/w_scalblnl.c (__w_scalblnl): Likewise.
8260         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
8261         (scalbln_test_data): Likewise.
8263         [BZ #20224]
8264         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
8265         argument to itself.
8266         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
8268 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
8270         [BZ #19776]
8271         * sysdeps/x86_64/memcpy.S: Make it dummy.
8272         * sysdeps/x86_64/mempcpy.S: Likewise.
8273         * sysdeps/x86_64/memmove.S: New file.
8274         * sysdeps/x86_64/memmove_chk.S: Likewise.
8275         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
8276         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
8277         * sysdeps/x86_64/memmove.c: Removed.
8278         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
8279         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
8280         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
8281         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
8282         Likewise.
8283         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8284         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8285         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8286         memcpy-sse2-unaligned, memmove-avx-unaligned,
8287         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
8288         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8289         (__libc_ifunc_impl_list): Replace
8290         __memmove_chk_avx512_unaligned_2 with
8291         __memmove_chk_avx512_unaligned.  Remove
8292         __memmove_chk_avx_unaligned_2.  Replace
8293         __memmove_chk_sse2_unaligned_2 with
8294         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
8295         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
8296         with __memmove_avx512_unaligned.  Replace
8297         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
8298         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
8299         with __memcpy_chk_avx512_unaligned.  Remove
8300         __memcpy_chk_avx_unaligned_2.  Replace
8301         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
8302         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
8303         Replace __memcpy_avx512_unaligned_2 with
8304         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
8305         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
8306         with __mempcpy_chk_avx512_unaligned.  Remove
8307         __mempcpy_chk_avx_unaligned_2.  Replace
8308         __mempcpy_chk_sse2_unaligned_2 with
8309         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
8310         Replace __mempcpy_avx512_unaligned_2 with
8311         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
8312         Replace __mempcpy_sse2_unaligned_2 with
8313         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
8314         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
8315         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
8316         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
8317         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
8318         (ENTRY): Removed.
8319         (END): Likewise.
8320         (ENTRY_CHK): Likewise.
8321         (libc_hidden_builtin_def): Likewise.
8322         Don't include ../memcpy.S.
8323         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
8324         __memcpy_chk_avx512_unaligned_erms and
8325         __memcpy_chk_avx512_unaligned.  Use
8326         __memcpy_chk_avx_unaligned_erms and
8327         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
8328         Default to __memcpy_chk_sse2_unaligned.
8329         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
8330         Change function suffix from unaligned_2 to unaligned.
8331         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
8332         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
8333         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
8334         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
8335         (ENTRY): Removed.
8336         (END): Likewise.
8337         (ENTRY_CHK): Likewise.
8338         (libc_hidden_builtin_def): Likewise.
8339         Don't include ../mempcpy.S.
8340         (mempcpy): New.  Add a weak alias.
8341         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
8342         __mempcpy_chk_avx512_unaligned_erms and
8343         __mempcpy_chk_avx512_unaligned.  Use
8344         __mempcpy_chk_avx_unaligned_erms and
8345         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
8346         Default to __mempcpy_chk_sse2_unaligned.
8348 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
8350         [BZ #19881]
8351         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
8352         into ...
8353         * sysdeps/x86_64/memset.S: This.
8354         (__bzero): Removed.
8355         (__memset_tail): Likewise.
8356         (__memset_chk): Likewise.
8357         (memset): Likewise.
8358         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
8359         defined.
8360         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
8361         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
8362         (__memset_zero_constant_len_parameter): Check SHARED instead of
8363         PIC.
8364         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8365         memset-avx2 and memset-sse2-unaligned-erms.
8366         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8367         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
8368         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
8369         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
8370         (__bzero): Enabled.
8371         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
8372         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
8373         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
8374         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
8375         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
8376         (memset): Removed.
8377         (__memset_chk): Likewise.
8378         (MEMSET_SYMBOL): New.
8379         (libc_hidden_builtin_def): Replace __memset_sse2 with
8380         __memset_sse2_unaligned.
8381         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
8382         __memset_chk_sse2 and __memset_chk_avx2 with
8383         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
8384         Use __memset_chk_sse2_unaligned_erms or
8385         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
8386         __memset_chk_avx512_unaligned_erms and
8387         __memset_chk_avx512_unaligned.
8389 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8391         * math/gen-auto-libm-test.c (fp_format_desc): remove
8392         suffix member.
8393         (output_generic_value): Remove usage of suffix member,
8394         and the resulting unuse of the fp_format argument.
8395         (output_for_one_input_case): Remove unused fp_format
8396         parameter.
8398         * math/auto-libm-test-out: Regenerate.
8400         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
8401         usage with TEST_COND_ibm128.
8402         (TEST_COND_flt_32): Remove.
8403         (TEST_COND_dbl_64): Remove.
8404         (TEST_COND_ldbl_96_intel): Remove.
8405         (TEST_COND_ldbl_96_m68k): Remove.
8406         (TEST_COND_ldbl_128): Remove.
8408 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8410         * auto-libm-test-in:
8411         Replace flt-32 usage with binary32.
8412         Replace dbl-64 usage with binary64.
8413         Replace ldbl-intel-96 usage with intel96.
8414         Replace ldbl-m68k-96 usage with m68k96.
8415         Replace ldbl-128ibm usage with ibm128.
8416         Replace ldbl-128 usage with binary128.
8418         * auto-libm-test-out: Regenerate.
8420 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8422         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
8423         (parse_ulps): Dynamically generate type name matching
8424         string from all_floats.
8425         (get_ulps): Generate the ulps as an array instead.
8426         (output_ulps): Dynamically compose the type based
8427         on the number of supported formats, and print
8428         the indices as type specific helper macros.
8430         * math/libm-test.inc: Remove comment about CHOOSE.
8431         (ulp_data): Generate the type in libm-test-ulps.h.
8432         (ULP_IDX): New macro.
8433         (find_ulps): Update usage of max_ulp.
8435         * math/test-double-vlen2.h (CHOOSE): Remove.
8436         * math/test-double-vlen4.h (CHOOSE): Likewise.
8437         * math/test-double-vlen8.h (CHOOSE): Likewise.
8438         * math/test-float.c (CHOOSE): Likewise.
8439         * math/test-float-finite.c (CHOOSE): Likewise.
8440         * math/test-double.c (CHOOSE): Likewise.
8441         * math/test-double-finite.c (CHOOSE): Likewise.
8442         * math/test-idouble.c (CHOOSE): Likewise.
8443         * math/test-ifloat.c (CHOOSE): Likewise.
8444         * math/test-ildoubl.c (CHOOSE): Likewise.
8445         * math/test-ldouble-finite.c (CHOOSE): Likewise.
8446         * math/test-ldouble.c (CHOOSE): Likewise.
8448         * math/test-float.h (TEST_FLOAT): Remove.
8449         * math/test-double.h (TEST_DOUBLE): Likewise.
8450         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
8452 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8454         * math/gen-libm-test.pl: (apply_lit): New subroutine.
8455         (parse_args): Strip C suffix from floating point literals
8456         typed with 'f' and wrap them with LIT().
8458         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
8459         (test_ff_f_data_nexttoward): Rename to
8460         (test_fj_f_data): New struct.
8461         (nexttoward_test_data): Relabel tests as
8462         TEST_fj_f instead of TEST_ff_f.
8464 2016-06-08  Florian Weimer  <fweimer@redhat.com>
8466         Emacs bug 23726.
8467         * malloc/malloc.c (dumped_main_arena_start): Update comment.
8468         (__libc_realloc): Correct size computation for dumped fake mmapped
8469         chunks.
8471 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
8473         [BZ #20219]
8474         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
8475         to itself.
8476         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
8478         [BZ #20218]
8479         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
8480         to itself.
8481         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
8483 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
8485         [BZ #20195]
8486         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
8487         check to ...
8488         (init_cpu_features): Here.
8490 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
8492         [BZ #20214]
8493         * sysdeps/unix/sysv/linux/bits/in.h
8494         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
8495          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
8496         Define to 1.
8497         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
8498          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
8499         Define to 0.
8500         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
8501         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
8503 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
8505         [BZ #20198]
8506         * stdlib/Makefile (tests): Add tst-quick_exit, and
8507         tst-thread-quick_exit.
8508         [ifeq ($(have-cxx-thread_local),yes)]
8509         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
8510         (CFLAGS-tst-thread-quick_exit.o): Likewise.
8511         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
8512         (LDLIBS-tst-thread-quick_exit): Likewise.
8513         [ifneq ($(have-cxx-thread_local),yes)]
8514         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
8515         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
8516         If run_dtors is true call __call_tls_dtors.
8517         (exit): Call __run_exit_handlers with run_dtors set to true.
8518         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
8519         definition.
8520         * stdlib/quick_exit.c (quick_exit): Remove function.
8521         (__new_quick_exit): New function.
8522         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
8523         function.
8524         * stdlib/tst-quick_exit.cc: New file.
8525         * stdlib/tst-thread-quick_exit.cc: New file.
8526         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
8527         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
8528         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
8529         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
8530         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
8531         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
8532         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
8533         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
8534         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
8535         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
8536         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
8537         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
8538         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
8539         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
8540         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
8541         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
8542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
8543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
8544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
8545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
8546         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
8547         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
8548         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
8549         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
8550         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
8551         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
8552         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
8553         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
8554         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
8555         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
8557 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
8559         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
8560         a typo in comments.
8562 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
8564         [BZ #20213]
8565         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
8566         argument to itself.
8567         * math/libm-test.inc (asin_test_data): Add sNaN tests.
8569 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8571         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
8572         required flags.
8573         (CFLAGS-pwritev64.c): Likewise.
8574         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
8575         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
8576         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
8577         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8578         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
8579         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
8580         syscall from auto-generation.
8581         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
8582         [WORDSIZE == 64] (pwritev64): Remove macro.
8583         [!PWRITEV] (PWRITEV): Likewise.
8584         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
8585         [!PWRITEV] (PWRITE): Likewise.
8586         [!PWRITEV] (OFF_T): Likewise.
8587         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
8588         (LO_HI_LONG): Remove macro.
8589         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
8590         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
8591         (PWRITEV): Remove macro.
8592         (PWRITEV_REPLACEMENTE): Likewise.
8593         (PWRITE): Likewise.
8594         (OFF_T): Likewise.
8595         (pwritev64): New function.
8596         * nptl/tst-cancel4.c (tf_writev): Add test.
8598         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
8599         required flags.
8600         (CFLAGS-preadv64.c): Likewise.
8601         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
8602         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
8603         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
8604         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
8605         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
8606         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
8607         syscall from auto-generation.
8608         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
8609         [WORDSIZE == 64] (preadv64): Remove macro.
8610         [!PREADV] (PREADV): Likewise.
8611         [!PREADV] (PREADV_REPLACEMENT): Likewise.
8612         [!PREADV] (PREAD): Likewise.
8613         [!PREADV] (OFF_T): Likewise.
8614         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
8615         (LO_HI_LONG): Remove macro.
8616         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
8617         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
8618         (PREADV): Remove macro.
8619         (PREADV_REPLACEMENTE): Likewise.
8620         (PREAD): Likewise.
8621         (OFF_T): Likewise.
8622         (preadv64): New function.
8623         * nptl/tst-cancel4.c (tf_preadv): Add test.
8625 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
8627         [BZ #20212]
8628         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
8629         argument to itself.
8630         * math/libm-test.inc (acos_test_data): Add sNaN tests.
8632 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8634         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
8635         New symbol defined as libc_hidden_def.
8636         (strcasestr): Became a weak alias to __strcasestr.
8637         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
8638         according to multi-arch support.  Move __stpncpy hidden
8639         definition from here to...
8640         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
8641         symbol stpncpy.
8642         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
8643         libc_hidden_builtin_def.
8644         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
8645         memset symbol to use when multi-arch support is available.
8647 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
8649         * dlfcn/tst-rec-dlopen.c: Include string.h.
8651 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
8653         * manual/install.texi: Remove mention of --without-tls
8654         * INSTALL: Regenerate.
8656 2016-06-05  Florian Weimer  <fweimer@redhat.com>
8658         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
8659         Remove.
8660         (call_function, interposed_malloc_called): New variables.
8661         (malloc): New function.
8662         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
8663         and clear call_function as needed.
8665 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
8667         * include/wchar.h (__wmemset): Use __typeof.
8669 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
8671         * include/wchar.h (__wmemset): Declare function without typeof.
8673 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
8675         [BZ #20205]
8676         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
8677         exponent when incrementing negative subnormal with low mantissa
8678         word zero.
8679         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
8680         Add another test.
8682 2016-06-03  Florian Weimer  <fweimer@redhat.com>
8684         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
8685         __wmemset instead of wmemset.
8687 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
8689         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
8690         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
8691         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
8692         __USE_KERNEL_IPV6_DEFS to 0.
8693         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
8694         Update comment.
8696 2016-06-01  Florian Weimer  <fweimer@redhat.com>
8698         [BZ #19861]
8699         Do not use IFUNC resolver with potentially unrelocated symbol.
8700         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
8701         (DEFINE_FORK): Remove macro and inline definition.
8702         (fork_alias): Renamed from fork_ifunc.
8703         (__fork_alias): Renamed from __fork_ifunc.
8705 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
8707         [BZ 19653]
8708         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
8709         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
8711 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8713         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
8714         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
8715         i386-linux-gnu).
8716         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
8717         Set to no.
8718         * sysdeps/mach/hurd/configure: Refresh.
8720 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8722         [BZ #20178]
8723         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
8724         on failure instead of exit.
8726 2016-05-30  Roland McGrath  <roland@hack.frob.com>
8728         [BZ #3629]
8729         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
8730         of POSIX.1-2008.
8732 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8734         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
8735           Use PLT entry for calling _hurd_self_sigstate.
8737 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
8739         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
8740         available logical processors with SMT level type sharing L2
8741         cache for Intel processors.
8743 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
8745         [BZ #20160]
8746         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
8747         argument to itself before returning the result.
8748         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
8749         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
8750         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
8751         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
8752         Likewise.
8753         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
8754         Likewise.
8755         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
8756         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
8757         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
8758         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
8759         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
8760         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
8762         [BZ #20160]
8763         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
8764         argument to itself before returning the result.
8765         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
8766         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
8767         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
8768         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
8769         Likewise.
8770         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
8771         Likewise.
8772         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
8773         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
8774         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
8775         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
8776         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
8777         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
8779 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8781         * libm-test.inc: Replace usage of M_El with
8782         (lit_e): New macro.
8784 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8786         * libm-test.inc: Replace usage of M_PI_4l with
8787         (lit_pi_4_d): New macro.
8789 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8791         * libm-test.inc: Replace usage of M_PIl with
8792         (lit_pi): New macro.
8794 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8796         * libm-test.inc: Replace usage of M_PI2l with
8797         (lit_pi_2_d): New macro.
8799         * math/test-double.h (LITM): New macro.
8800         * math/test-float.h (LITM): Likewise.
8801         * math/test-ldouble.h (LITM): Likewise.
8803 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8805         * libm-test.inc (M_PI_34l): Rename to
8806         (lit_pi_3_m_4_d): New Macro.
8807         (M_PI_34_LOG10El): Rename to
8808         (lit_pi_3_m_4_ln10_m_d): New Macro.
8809         (M_PI2_LOG10El): Rename to
8810         (lit_pi_2_ln10_m_d):  New Macro.
8811         (M_PI4_LOG10El): Rename to
8812         (lit_pi_4_ln10_m_d):  New Macro.
8813         (M_PI_LOG10El): Rename to
8814         (lit_pi_ln10_d):  New Macro.
8816 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
8818         [BZ #20157]
8819         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
8820         determine whether to negate low half if [_ARCH_PPCGR], and integer
8821         comparison otherwise.
8822         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
8823         determine whether to negate low half.
8825         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
8826         (NO_TEST_INLINE_DOUBLE): Likewise.
8827         (TEST_COND_x86_64): Likewise.
8828         (TEST_COND_x86): Likewise.
8829         (M_PI_6l): Likewise.
8831 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8833         * math/libm-test.inc:
8834         (TEST_FLOAT): Change usage to TEST_COND_binary32.
8835         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
8836         (TEST_LDOUBLE): Update usage to evaluate as true if
8837         the guarded tests match the property being tested.
8838         (LDBL_MAX_EXP): Change to MAX_EXP.
8839         (LDBL_MIN_EXP): Change to MIN_EXP.
8840         (LDBL_MANT_DIG): Change to MANT_DIG, except for
8841         nexttoward tests.
8843 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8845         * math/libm-test.inc:
8846         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
8847         (TYPE_MIN): Likewise.
8848         (TYPE_TRUE_MIN): Likewise.
8849         (TYPE_MAX): Likewise.
8850         (MIN_EXP): Likewise.
8851         (MAX_EXP): Likewise.
8852         (MANT_DIG): Likewise.
8854         (FSTR_MAX): New macro.
8855         (__CONCATX): Likewise.
8856         (QTYPE_STR): Likewise.
8857         (TEST_COND_binary32): Likewise.
8858         (TEST_COND_binary64): Likewise.
8859         (TEST_COND_binary128): Likewise.
8860         (TEST_COND_ibm128): Likewise.
8861         (TEST_COND_intel96): Likewise.
8862         (TEST_COND_m68k96): Likewise.
8864         (TEST_COND_flt_32): Redefine as equivalent format test macro.
8865         (TEST_COND_dbl_64): Likewise.
8866         (TEST_COND_ldbl_96_intel): Likewise.
8867         (TEST_COND_ldbl_96_m68k): Likewise.
8868         (TEST_COND_ldbl_128): Likewise.
8869         (TEST_COND_ldbl_128ibm): Likewise.
8871         (plus_zero): Redefine using LIT macro.
8872         (minus_zero): Likewise.
8873         (plus_infty): Redefine as (INF).
8874         (minux_infty): Redefine as (-INF).
8875         (max_value): Redefine as TYPE_MAX.
8876         (min_value): Redefine as TYPE_MIN.
8877         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
8879         (print_float): Refactor to use snprintf to convert FLOAT values
8880         to string. This brings it closer to dropin replacement of strtof
8881         for the TS 18661 defined types.
8882         (update_stats): Likewise.
8883         (print_complex_function_ulps): Likewise.
8884         (print_max_error): Likewise.
8885         (print_complex_max_error): Likewise.
8886         (check_float_internal): Likewise.
8888         * math/test-float.h (PREFIX): New macro.
8889         (LIT): Likewise.
8890         (TYPE_STR): Likewise.
8891         (FTOSTR): Likewise.
8893         * math/test-double.h (PREFIX): New macro.
8894         (LIT): Likewise.
8895         (TYPE_STR): Likewise.
8896         (FTOSTR): Likewise.
8898         * math/test-ldouble.h (PREFIX): New macro.
8899         (LIT): Likewise.
8900         (TYPE_STR): Likewise.
8901         (FTOSTR): Likewise.
8903 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
8905         [BZ #20156]
8906         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
8907         to itself when zero or not finite.
8908         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
8909         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8910         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
8911         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8913 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
8915         [BZ #20153]
8916         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
8917         x * x + x for infinities and NaNs.
8919         [BZ #20151]
8920         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
8921         argument to itself before returning result.
8922         (__ieee754_y0l): Likewise.
8923         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
8924         (__ieee754_y1l).
8926         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
8927         (atan_test_data): Likewise.
8928         (ceil_test_data): Likewise.
8929         (cos_test_data): Likewise.
8930         (cosh_test_data): Likewise.
8931         (erf_test_data): Likewise.
8932         (exp2_test_data): Likewise.
8933         (fabs_test_data): Likewise.
8934         (floor_test_data): Likewise.
8935         (ilogb_test_data): Likewise.
8936         (j0_test_data): Likewise.
8937         (j1_test_data): Likewise.
8938         (jn_test_data): Likewise.
8939         (lgamma_test_data): Likewise.
8940         (lrint_test_data): Likewise.
8941         (llrint_test_data): Likewise.
8942         (logb_test_data): Likewise.
8943         (lround_test_data): Likewise.
8944         (llround_test_data): Likewise.
8945         (nearbyint_test_data): Likewise.
8946         (rint_test_data): Likewise.
8947         (round_test_data): Likewise.
8948         (sin_test_data): Likewise.
8949         (sincos_test_data): Likewise.
8950         (sinh_test_data): Likewise.
8951         (sqrt_test_data): Likewise.
8952         (tan_test_data): Likewise.
8953         (tanh_test_data): Likewise.
8954         (tgamma_test_data): Likewise.
8955         (trunc_test_data): Likewise.
8956         (y0_test_data): Likewise.
8957         (y1_test_data): Likewise.
8958         (yn_test_data): Likewise.
8960         * math/libm-test.inc: Update comment about NaN testing.
8961         (TEST_SNAN): New macro.
8962         (snan_value): Likewise.
8963         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
8964         (fpclassify_test_data): Add sNaN tests.
8965         (isfinite_test_data): Likewise.
8966         (isinf_test_data): Likewise.
8967         (isnan_test_data): Likewise.
8968         (isnormal_test_data): Likewise.
8969         (issignaling_test_data): Likewise.
8970         (signbit_test_data): Likewise.
8971         * math/gen-libm-test.pl (%beautify): Add snan_value.
8972         (show_exceptions): Add argument $test_snan.
8973         (parse_args): Handle snan_value as non-finite.  Update call to
8974         show_exceptions.
8975         * math/Makefile (libm-test-no-inline-cflags): Add
8976         -fsignaling-nans.
8978 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8980         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
8981         (CFLAGS-oldsendmsg.c): Add rule.
8982         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
8983         Correct recvmsg symbol name.
8984         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
8985         Likewise.
8987 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8989         * sysdeps/unix/sysv/linux/Makefile
8990         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
8991         oldsendmmsg.
8992         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
8993         sendmmsg.
8994         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8995         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8996         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8997         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8999         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9000         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9001         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9002         Likewise.
9003         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9004         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
9005         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
9006         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
9007         iovlen and controllen fields to adjust to POSIX specification.
9008         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9010         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
9011         and change to correct expected type.
9012         (msghdr.msg_controllen): Likewise.
9013         (cmsghdr.cmsg_len): Likewise.
9014         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
9015         expected POSIX assumption about the size.
9016         (msghdr.msg_controllen): Likewise.
9017         (msghdr.__glibc_reserved1): Likewise.
9018         (msghdr.__glibc_reserved2): Likewise.
9019         (cmsghdr.cmsg_len): Likewise.
9020         (cmsghdr.__glibc_reserved1): Likewise.
9021         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
9022         Add ptw-oldrecvmsg and ptw-oldsendmsg.
9023         (CFLAGS-sendmsg.c): Remove rule.
9024         (CFLAGS-recvmsg.c): Likewise.
9025         (CFLAGS-oldsendmsg.c): Add rule.
9026         (CFLAGS-oldrecvmsg.c): Likewise.
9027         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
9028         recvmsg and sendmsg.
9029         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
9030         Likewise.
9031         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
9032         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
9033         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
9034         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
9035         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
9036         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
9037         Likewise.
9038         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
9039         Likewise.
9040         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
9041         Likewise.
9042         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
9043         Likewise.
9044         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
9045         Likewise.
9046         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
9047         Likewise.
9048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
9049         (GLIBC_2.24): Likewise.
9050         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
9051         Likewise.
9052         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
9053         Likewise.
9054         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
9055         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
9056         Likewise.
9057         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
9058         Likewise.
9059         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
9060         Likewise.
9061         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
9062         (GLIBC_2.24): Likewise.
9063         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
9064         Likewise.
9065         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
9066         Likewise.
9067         * sysdeps/unix/sysv/linux/Makefile
9068         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
9069         (CFLAGS-sendmsg.c): Add rule.
9070         (CFLAGS-recvmsg.c): Likewise.
9071         (CFLAGS-oldsendmsg.c): Likewise.
9072         (CFLAGS-oldrecvmsg.c): Likewise.
9073         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
9074         initialization.
9075         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
9076         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
9077         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
9078         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
9079         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
9080         iovlen and controllen fields to adjust to POSIX specification.
9081         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
9082         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
9083         added recvmsg and sendmsg.
9084         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9085         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9086         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9087         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9088         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9089         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9090         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9091         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9092         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9093         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9094         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9095         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
9096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9097         Likewise.
9098         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
9099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9100         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9101         Likewise.
9102         Likewise.
9103         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9104         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9105         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9106         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9107         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9108         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9109         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9110         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9111         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9112         Likewise.
9113         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9114         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9116         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
9117         from auto-generation.
9118         (sendmsg): Likewise.
9119         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
9120         (sendmsg): Likewise.
9121         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
9122         (sendmsg): Likewise.
9123         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
9124         (sendmsg): Likewise.
9125         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
9126         (sendmsg): Likewise.
9127         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
9128         (sendmsg): Likewise.
9129         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
9130         Likewise.
9131         (sendmsg): Likewise.
9132         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
9133         (sendmsg): Likewise.
9134         * sysdeps/unix/sysv/linux/i386/kernel-features.h
9135         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9136         Remove.
9137         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9138         Likewise.
9139         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9140         Undefine.
9141         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9142         Likewise.
9143         * sysdeps/unix/sysv/linux/kernel-features.h
9144         (__ASSUME_SENDMSG_SYSCALL): Define.
9145         (__ASSUME_RECVMSG_SYSCALL): Likewise.
9146         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9147         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9148         Remove.
9149         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9150         Likewise.
9151         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9152         Undefine.
9153         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9154         Likewise.
9155         * sysdeps/unix/sysv/linux/s390/kernel-features.h
9156         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9157         Remove.
9158         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9159         Likewise.
9160         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9161         Undefine.
9162         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9163         Likewise.
9164         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9165         (__ASSUME_SENDMSG_SYSCALL): Undefine.
9166         (__ASSUME_RECVMSG_SYSCALL): Likewise.
9167         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9168         (__ASSUME_SENDMSG_SYSCALL): Likewise.
9169         (__ASSUME_RECVMSG_SYSCALL): Likewise.
9170         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9171         (__ASSUME_SENDMSG_SYSCALL): Likewise.
9172         (__ASSUME_RECVMSG_SYSCALL): Likewise.
9174 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9176         * stdlib/gen-tst-strtod-round.c: Add backslash to
9177         compile command in comment.
9178         (printfp): Remove the literal suffix, and define an infinite
9179         value as INF to avoid expansion clash with INFINITY.
9180         (round_str): Remove the literal suffix.
9181         (round_for_all): Likewise, remove the now duplicate ldbl-64
9182         entry, and remove some magic constants.
9184         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
9185         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
9186         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
9187         (_CONCAT): New macro.
9188         (CONCAT): Likewise.
9189         (CHOOSE_ld): Likewise.
9190         (CHOOSE_f): Likewise.
9191         (CHOOSE_d): Likewise.
9192         (FTYPE_MEMBER): Likewise.
9193         (BOOL_MEMBER): Likewise.
9194         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
9195         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
9196         (_XNTRY): Likewise.
9197         (XNTRY): Likewise.
9198         (_ENTRY): Likewise.
9199         (ENTRY): Likewise.
9200         (test_exactness): Generate members via macro.
9201         (test_results): Likewise.
9202         (test): Update members.
9203         (TEST): Redefine using new macros.
9204         (INF): New macro.
9205         (fetestmodes): New structure.
9206         (do_test): Refactor to be type generic.
9207         (test_in_one_mode): Refactor duplicate code into
9208         (GEN_ONE_TEST): New macro.
9210         * stdlib/tst-strtod-round-data.h: Regenerate.
9212         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
9213         Extend to pass additional arbitrary parameters to
9214         generators.
9216 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
9218         [BZ #15479]
9219         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
9220         floating-point state after first floating-point operation on
9221         input.  Restore full floating-point state instead of just rounding
9222         mode.
9223         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
9224         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
9225         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
9226         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
9227         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
9229         [BZ #15479]
9230         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
9231         floating-point state after first floating-point operation on
9232         input.  Restore full floating-point state instead of just rounding
9233         mode.
9234         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
9235         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
9236         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
9237         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
9238         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
9240 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
9242         [BZ #19727]
9243         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
9244         valid high surrogate.
9245         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
9246         of an utf16 surrogate.
9247         * iconv/gconv_simple.c (BODY): Likewise.
9248         * iconvdata/bug-iconv12.c: New file.
9249         * iconvdata/Makefile (tests): Add bug-iconv12.
9251 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
9253         [BZ #19726]
9254         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
9255         outptrp in case of an illegal input.
9256         * iconv/tst-iconv6.c: New file.
9257         * iconv/Makefile (tests): Add tst-iconv6.
9259 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
9261         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
9262         an error in case of a value in range of an utf16 low surrogate.
9264 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
9266         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
9267         an error in case of a value in range of an utf16 low surrogate.
9269 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
9271         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
9272         Move to ...
9273         * sysdeps/s390/Makefile: ... here.
9274         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
9275         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
9276         (BRANCH_ON_COUNT): New define.
9277         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
9278         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
9279         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
9280         run on s390-32, too.
9281         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
9282         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
9283         run on s390-32, too.
9284         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
9285         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
9286         run on s390-32, too.
9288 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
9290         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
9291         etf3eh or new vector loop-variant.
9293 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
9295         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
9296         etf3eh or new vector loop-variant.
9298 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
9300         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
9301         or new vector loop-variant.
9303 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
9305         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
9306         Rename to TR_LOOP and usage of tr instead of troo instruction.
9308 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
9310         * sysdeps/s390/multiarch/gconv_simple.c: New File.
9311         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
9313 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
9315         * sysdeps/s390/multiarch/8bit-generic.c: New File.
9316         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
9317         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
9318         New override define.
9319         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
9321 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
9323         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
9324         * sysdeps/s390/configure.ac: Add test for S390 vector register
9325         support in gcc.
9326         * sysdeps/s390/configure: Regenerated.
9328 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
9330         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
9331         Install file from $(objpfx)gconv-modules.
9332         ($(objpfx)gconv-modules): Concatenate architecture specific file
9333         in variable sysdeps-gconv-modules and gconv-modules in src dir.
9334         * sysdeps/s390/gconv-modules: New file.
9335         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
9336         Deleted.
9337         ($(objpfx)gconv-modules-s390): Deleted.
9338         (sysdeps-gconv-modules): New variable.
9340 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
9342         [BZ #15479]
9343         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
9344         of immediate operand to rounding instruction.
9345         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
9346         Likewise.
9347         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
9348         Likewise.
9349         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
9350         Likewise.
9352 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9354         * math/libm-test.inc (MIN_EXP): Directly define as
9355         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
9357 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9359         * math/libm-test.inc (MANT_DIG): Directly define as
9360         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
9362 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9364         * stdlib/gen-tst-strtod-round.c (main):
9365           Change usage to more closely match the generated
9366           output.  Add usage and compilation instructions.
9367           (string_to_fp): Add and use FILE* parameter as
9368           output target.
9369           (print_fp): Likewise.
9370           (round_str): Likewise.
9371           (round_for_all): Likewise.
9372         * stdlib/tst-strtod-round.c (tests): Move into
9373         * stdlib/tst-strtod-round-data.h: New file.
9375 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
9377         [BZ #15479]
9378         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
9379         (__round): Do not force "inexact" exception.
9380         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
9381         variable.
9382         (__round): Do not force "inexact" exception.
9383         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
9384         (__roundf): Do not force "inexact" exception.
9385         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
9386         (__roundl): Do not force "inexact" exception.
9387         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
9388         (__roundl): Do not force "inexact" exception.
9389         * math/libm-test.inc (round_test_data): Do not allow spurious
9390         "inexact" exceptions.
9392         [BZ #15479]
9393         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
9394         exception in comment.
9395         (huge): Remove variable.
9396         (__floor): Do not force "inexact" exception.
9397         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
9398         "inexact" exception in comment.
9399         (huge): Remove variable.
9400         (__floor): Do not force "inexact" exception.
9401         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
9402         exception in comment.
9403         (huge): Remove variable.
9404         (__floorf): Do not force "inexact" exception.
9405         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
9406         exception in comment.
9407         (huge): Remove variable.
9408         (__floorl): Do not force "inexact" exception.
9410         [BZ #15479]
9411         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
9412         exception in comment.
9413         (huge): Remove variable.
9414         (__ceil): Do not force "inexact" exception.
9415         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
9416         "inexact" exception in comment.
9417         (huge): Remove variable.
9418         (__ceil): Do not force "inexact" exception.
9419         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
9420         (__ceilf): Do not force "inexact" exception.
9421         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
9422         exception in comment.
9423         (huge): Remove variable.
9424         (__ceill): Do not force "inexact" exception.
9426 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
9428         * config.h.in (BIND_NOW): New.
9429         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
9430         * configure: Regenerated.
9431         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
9432         indirect branch via the GOT slot.
9434 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
9436         [BZ #19765]
9437         * sysdeps/s390/mempcpy.S: New File.
9438         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
9439         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
9440         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9441         Add mempcpy variants.
9442         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
9443         (memcpy): Adjust to be usable from mempcpy entry point.
9444         (__memcpy_mvcle): Likewise.
9445         * sysdeps/s390/s390-64/memcpy.S: Likewise.
9446         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
9447         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
9448         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
9449         (__memcpy_z10): Likewise.
9450         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
9452 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
9454         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
9455         Remove __GI_ symbol.
9456         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
9457         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
9458         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
9459         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
9460         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
9461         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
9463 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
9465         * sysdeps/s390/s390-64/memcpy.S (memcpy):
9466         Use cghi instead of chi to compare 64bit value.
9468 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
9470         * sysdeps/s390/s390-32/memcpy.S (memcpy):
9471         Jump to 1MB check before executing mvc-loop.
9473 2016-05-24  Florian Weimer  <fweimer@redhat.com>
9475         [BZ #6527]
9476         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
9477         unconditionally.
9478         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
9480 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9482         * stdlib/tst-strtod6.c (do_test): Use new type generic
9483         invocation of the test function.
9484         (test): Refactor into ...
9485         (TEST_STRTOD): New macro base function.
9487 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9489         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
9490         (TEST_STRTOD): New macro.
9491         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
9493 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9495         * stdlib/tst-strtod6.c (do_test): Use new type generic
9496         invocation of the test function.
9497         (test): Refactor into ...
9498         (TEST_STRTOD): New macro base function.
9500 2016-05-23  Florian Weimer  <fweimer@redhat.com>
9502         CVE-2016-4429
9503         [BZ #20112]
9504         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
9505         payload.
9507 2016-05-23  Florian Weimer  <fweimer@redhat.com>
9509         [BZ #20111]
9510         * bits/sockaddr.h (_SS_SIZE): Define.
9511         * bits/socket.h (_SS_SIZE): Remove.
9512         (_SS_PADSIZE): Adjust to account for all padding.
9513         (struct sockaddr_storage): Update comment.  Avoid implicit
9514         padding.
9515         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
9516         (_SS_PADSIZE): Adjust to account for all padding.
9517         (struct sockaddr_storage): Update comment.  Avoid implicit
9518         padding.
9519         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
9520         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
9521         (_SS_PADSIZE): Adjust to account for all padding.
9522         (struct sockaddr_storage): Update comment.  Avoid implicit
9523         padding.
9524         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
9525         __SS_SIZE is 126 in this version.
9526         * inet/tst-sockaddr.c: New file.
9527         * inet/Makefile (tests): Add tst-sockaddr.c
9528         (tst-sockaddr.c): Compile with non-strict aliasing.
9530 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
9532         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
9533         [XPG3 || XPG4].
9534         (NL_ARGMAX): Also expect for [XPG3].
9535         (NL_LANGMAX): Likewise.
9536         (NL_MSGMAX): Likewise.
9537         (NL_NMAX): Likewise.
9538         (NL_SETMAX): Likewise.
9539         (NL_TEXTMAX): Likewise.
9540         (NZERO): Likewise.
9541         (TMP_MAX): Likewise.
9542         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
9543         variable.
9545         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
9546         (PF_MAX): Update value.
9547         (AF_KCM): New macro.
9548         (SOL_NETBEUI): Likewise.
9549         (SOL_LLC): Likewise.
9550         (SOL_DCCP): Likewise.
9551         (SOL_NETLINK): Likewise.
9552         (SOL_TIPC): Likewise.
9553         (SOL_RXRPC): Likewise.
9554         (SOL_PPPOL2TP): Likewise.
9555         (SOL_BLUETOOTH): Likewise.
9556         (SOL_PNPIPE): Likewise.
9557         (SOL_RDS): Likewise.
9558         (SOL_IUCV): Likewise.
9559         (SOL_CAIF): Likewise.
9560         (SOL_ALG): Likewise.
9561         (SOL_NFC): Likewise.
9562         (SOL_KCM): Likewise.
9563         (MSG_BATCH): New enum value and macro.
9565 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
9567         [BZ #18185]
9568         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
9569         sharing L2 cache to 2 for Knights Landing.
9571 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
9573         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
9574         (FTW_DP): Do not expect for [XPG3 || XPG4].
9575         (FTW_SL): Do not expect for [XPG3].
9576         (FTW_SLN): Likewise.
9577         (FTW_PHYS): Likewise.
9578         (FTW_MOUNT): Likewise.
9579         (FTW_DEPTH): Likewise.
9580         (FTW_CHDIR): Likewise.
9581         (nftw): Likewise.
9582         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
9583         variable.
9585 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
9587         * manual/errno.texi: Fix various typos & grammar errors.
9589 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
9591         * manual/intro.texi: Fix duplicated typo.
9593 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
9595         [BZ #13304]
9596         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
9597         <float.h>, <math_private.h> and <stdlib.h>.
9598         (add_split): New function.
9599         (mul_split): Likewise.
9600         (ext_val): New typedef.
9601         (store_ext_val): New function.
9602         (mul_ext_val): New function.
9603         (compare): New function.
9604         (add_split_ext): New function.
9605         (__fmal): After checking for Inf, NaN and zero, compute result as
9606         an exact sum of scaled double values in round-to-nearest before
9607         adding those up and adjusting for other rounding modes.
9608         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
9609         tests of fma.
9610         * math/auto-libm-test-out: Regenerated.
9612 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
9614         [BZ #20119]
9615         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
9616         processor level type mask for CPUID with EAX == 11.
9618 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
9620         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
9621         logical threads if the HTT bit is 0.
9622         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
9623         (index_cpu_HTT): Likewise.
9624         (reg_HTT): Likewise.
9626 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
9628         [BZ #20115]
9629         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
9630         Remove alignments on jump targets.
9632 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
9634         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
9635         (getpwent): Likewise.
9636         (setpwent): Likewise.
9637         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
9638         variable.
9640         * conform/data/search.h-data (insque): Do not expect for [XPG3].
9641         (remque): Likewise.
9642         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
9643         variable.
9645 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
9647         * math/libm-test.inc: Update comment not to refer to signs of NaNs
9648         not being tested.
9650 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
9652         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
9653         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
9654         call.
9655         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
9656         (__condvar_cleanup1): Likewise.
9658 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
9660         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
9661         New
9662         (__pthread_unwind): Renamed to ...
9663         (PTHREAD_UNWIND): This.
9664         (__pthread_enable_asynccancel): Replace
9665         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
9667 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
9669         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
9670         (CLONE_NEWCGROUP): New macro.
9672         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
9673         (Q_GETNEXTQUOTA): New macro.
9675 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
9677         [BZ #19907]
9678         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
9679         buffer updated by the previous run.
9680         * string/test-memcpy.c (do_one_test): Likewise.
9681         * benchtests/bench-memmove.c (do_one_test): Add a comment.
9682         * string/test-memmove.c (do_one_test): Likewise.
9684 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
9686         [BZ #20094]
9687         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
9688         not [__USE_XOPEN].
9689         (unlockpt): Likewise.
9690         (ptsname): Likewise.
9691         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
9692         variable.
9694         [BZ #20076]
9695         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
9696         instead of [__USE_UNIX98].
9697         (S_ISSOCK): Likewise.
9698         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
9699         variable.
9701         [BZ #20074]
9702         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
9703         [__USE_POSIX].
9704         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
9705         variable.
9707         [BZ #20051]
9708         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
9709         (ttyslot): Do not declare.
9710         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
9711         (ttyslot): New prototype.
9712         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
9713         variable.
9714         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9716 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9718         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
9720 2016-05-13  Florian Weimer  <fweimer@redhat.com>
9722         Fix race condition in tst-mallocfork2, use fewer resources.
9723         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
9724         to current process group.
9725         (signal_sender): Yield in the non-sleeping case.
9727 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
9729         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
9730         (ecvt): Likewise.
9731         (fcvt): Likewise.
9732         (gcvt): Likewise.
9733         (getsubopt): Likewise.
9734         (grantpt): Likewise.
9735         (initstate): Likewise.
9736         (l64a): Likewise.
9737         (mktemp): Likewise.
9738         (mkstemp): Likewise.
9739         (ptsname): Likewise.
9740         (random): Likewise.
9741         (realpath): Likewise.
9742         (setstate): Likewise.
9743         (srandom): Likewise.
9744         (ttyslot): Likewise.
9745         (unlockpt): Likewise.
9746         (valloc): Likewise.
9748         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
9749         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
9750         variable.
9752 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
9754         [BZ #20072]
9755         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
9756         init_cpu_features only if SHARED is defined.
9757         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
9759 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
9761         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
9762         non-inclusive caches on Intel processors.
9764 2016-05-13  Florian Weimer  <fweimer@redhat.com>
9766         * malloc/malloc.c (dumped_main_arena_start)
9767         (dumped_main_arena_end): New variables.
9768         (DUMPED_MAIN_ARENA_CHUNK): New macro.
9769         (do_check_chunk): Skip dumped fake mmapped chunks.
9770         (munmap_chunk): Likewise.
9771         (__libc_free): Do not adjust statistics for fake mmapped chunks.
9772         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
9773         mmapped chunks.
9774         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
9775         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
9776         and dumped_main_arena_end to cover the dumped heap.
9778 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
9780         * conform/data/time.h-data (getdate_err): Do not expect for
9781         [XPG3].
9782         (getdate): Likewise.
9783         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
9784         variable.
9786         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
9787         (F_ULOCK): Likewise.
9788         (F_TEST): Likewise.
9789         (F_TLOCK): Likewise.
9790         (useconds_t): Likewise.
9791         (intptr_t): Do not expect for [XPG3] or [XPG4].
9792         (brk): Do not expect for [XPG3]
9793         (fchown): Likewise.
9794         (fchdir): Likewise.
9795         (ftruncate): Likewise.
9796         (getdtablesize): Likewise.
9797         (gethostid): Likewise.
9798         (getpagesize): Likewise.
9799         (getpgid): Likewise.
9800         (getsid): Likewise.
9801         (getwd): Likewise.
9802         (lchown): Likewise.
9803         (lockf): Likewise.
9804         (readlink): Likewise.
9805         (sbrk): Likewise.
9806         (setpgrp): Likewise.
9807         (setregid): Likewise.
9808         (setreuid): Likewise.
9809         (symlink): Likewise.
9810         (sync): Likewise.
9811         (truncate): Likewise.
9812         (ualarm): Likewise.
9813         (usleep): Likewise.
9814         (vfork): Likewise.
9815         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
9816         variable.
9818         [BZ #20054]
9819         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
9820         not [__USE_UNIX98].
9821         * conform/data/unistd.h-data (gethostname): Do not expect for
9822         [XPG3].
9824         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
9825         [!POSIX] (S_IFBLK): Likewise.
9826         [!POSIX] (S_IFCHR): Likewise.
9827         [!POSIX] (S_IFIFO): Likewise.
9828         [!POSIX] (S_IFREG): Likewise.
9829         [!POSIX] (S_IFDIR): Likewise.
9830         [!POSIX] (S_IFLNK): Likewise.
9831         [!POSIX] (S_IFSOCK): Likewise.
9832         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
9833         variable.
9834         (test-xfail-XPG4/fcntl.h/conform): Likewise.
9836 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
9838         * sysdeps/aarch64/memset.S (__memset):
9839         Rewrite of optimized memset.
9841 2016-05-12  Florian Weimer  <fweimer@redhat.com>
9843         [BZ #19703]
9844         Partially async-signal-safe fork for single-threaded processes.
9845         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
9846         variable.  Do not acquire and reset/release malloc and libio locks
9847         in single-threaded processes.
9848         * malloc/tst-mallocfork2.c: New file.
9849         * malloc/Makefile (tests): Add it.
9851 2016-05-12  Florian Weimer  <fweimer@redhat.com>
9853         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
9854         argument.  Use scratch buffer instead of extend_alloca.
9855         (gethosts): Use scratch buffer instead of extend_alloca.
9856         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
9857         extend_alloca.
9858         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
9860 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
9862         [BZ #20055]
9863         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
9864         instead of [__USE_UNIX98].
9865         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
9866         [__USE_UNIX98].
9867         * conform/data/termios.h-data (tcgetsid): Do not expect for
9868         [XPG3].
9869         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
9870         variable.
9871         (test-xfail-XPG4/termios.h/conform): Likewise.
9873 2016-05-11  Florian Weimer  <fweimer@redhat.com>
9875         Do not use mcheck in localedef.
9876         * locale/programs/localedef.c (turn_on_mcheck)
9877         (__malloc_initialize_hook): Remove.
9879 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9881         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
9882         * sysdeps/s390/s390-64/Makefile: Likewise.
9884 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
9886         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
9887         Remove ifunc-defines.sym.
9888         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
9889         Likewise.
9890         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
9891         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
9892         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
9893         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
9894         rtld-global-offsets.sym.
9895         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
9896         * sysdeps/x86/cpu-features-offsets.sym: This.
9897         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
9898         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
9900 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
9902         [BZ #20073]
9903         * io/sys/stat.h (fchmod): Declare for
9904         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
9905         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
9906         variable.
9908         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
9909         [XPG3] (S_IFSOCK): Likewise.
9910         [XPG3] (S_ISVTX): Likewise.
9911         [XPG3] (S_ISLNK): Likewise.
9912         [XPG3] (S_ISSOCK): Likewise.
9913         [XPG3] (fchmod): Likewise.
9914         [XPG3] (lstat): Likewise.
9915         [XPG3] (mknod): Likewise.
9917         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
9918         [XPG3].  Expect type long and XFAIL for [XPG4].
9919         (st_blocks): Likewise.
9921         [BZ #20044]
9922         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
9923         (pthread_atfork): New prototype.
9924         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
9925         variable.
9927         [BZ #20043]
9928         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
9929         prototype.
9931 2016-05-10  Florian Weimer  <fweimer@redhat.com>
9933         [BZ #20017]
9934         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
9935         gmtime.
9937 2016-05-10  Florian Weimer  <fweimer@redhat.com>
9939         [BZ #19994]
9940         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
9941         flag in _res.options.
9943 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
9945         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
9946         [XPG3 || XPG4].
9947         (blksize_t): Likewise.
9948         (clockid_t): Likewise.
9949         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
9950         variable.
9951         (test-xfail-XPG4/sys/types.h/conform): Likewise.
9953 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
9955         * sysdeps/unix/sysv/linux/s390/init-first.c:
9956         Add VDSO_SYMBOL(getcpu).
9957         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
9958         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
9959         Add VDSO_SYMBOL(getcpu).
9960         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
9961         New define HAVE_GETCPU_VSYSCALL.
9962         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9964 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
9966         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
9967         instead of <sysdeps/x86_64/cacheinfo.c>.
9968         * sysdeps/x86_64/cacheinfo.c: Moved to ...
9969         * sysdeps/x86/cacheinfo.c: Here.
9971 2016-05-04  Florian Weimer  <fweimer@redhat.com>
9973         * malloc/malloc-internal.h: Adjust header file guard.
9975 2016-05-04  Florian Weimer  <fweimer@redhat.com>
9977         [BZ #19787]
9978         * inet/getnameinfo.c (check_sprintf_result): New function.
9979         (CHECKED_SNPRINTF): New macro.
9980         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
9981         to the host buffer.
9982         (gni_host_local): Use checked_copy to copy the host name.
9983         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
9984         (gni_serv_local): Use checked_copy to copy the service name.
9985         (getnameinfo): Remove unnecessary truncation of result buffers.
9987 2016-05-04  Florian Weimer  <fweimer@redhat.com>
9989         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
9990         in case of inet_ntop failure.
9992 2016-05-04  Florian Weimer  <fweimer@redhat.com>
9994         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
9995         avoid long lines.
9996         (gni_host_inet_numeric): Likewise.  Reduce scope of local
9997         variables.
9998         (gni_host_inet, gni_host_local): Add comment.
9999         (gni_host): Add comment.  Use temporary to avoid long lines.
10001 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10003         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
10004         registers specifiers where general purpose registers specifiers should
10005         have been used.
10007 2016-05-04  Florian Weimer  <fweimer@redhat.com>
10009         [BZ #19779]
10010         CVE-2016-1234
10011         Avoid copying names of directory entries.
10012         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
10013         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
10014         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
10015         (struct readdir_result): New type.
10016         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
10017         (GL_READDIR): New macros.
10018         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
10019         (convert_dirent, convert_dirent64): New functions.
10020         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
10021         convert_dirent64.  Adjust references to the readdir result.
10022         * sysdeps/unix/sysv/linux/i386/glob64.c:
10023         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
10024         * posix/bug-glob2.c (LONG_NAME): Define.
10025         (filesystem): Add LONG_NAME.
10026         (my_DIR): Increase the size of room_for_dirent.
10028 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
10030         [BZ #20041]
10031         * misc/sys/select.h (__need_timespec): Only define if
10032         [__USE_XOPEN2K].
10033         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
10034         variable.
10035         (test-xfail-XPG4/utmpx.h/conform): Likewise.
10036         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
10037         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
10039 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10040             Segher Boessenkool  <segher@gcc.gnu.org>
10042         [BZ #20004]
10043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
10044         (__novec_swapcontext): Add missing load.
10046 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
10048         [BZ #20023]
10049         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
10050         <time.h>.
10051         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
10052         variable.
10053         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
10055 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
10058         flags CLONE_VM compare.
10060 2016-05-02  Florian Weimer  <fweimer@redhat.com>
10062         [BZ #20031]
10063         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
10064         completely empty.
10066 2016-05-02  Florian Weimer  <fweimer@redhat.com>
10068         [BZ #19573]
10069         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
10070         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
10071         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
10072         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
10073         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
10074         (hesiod_free_list): Mark as hidden.
10075         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
10076         res_set, res_get.
10077         * hesiod/hesiod.c: Remove unnecessary forward declarations.
10078         (init, __hesiod_res_get, __hesiod_res_set): Remove.
10079         (hesiod_init): Remove obsolete res_ninit call.
10080         (hesiod_end): Do not free resolver state.  Do not invoke callback.
10081         (hesiod_bind): Do not call init.
10082         (get_txt_records): Use res_mkquery, res_send instead of
10083         res_nmkquery, res_nsend.
10084         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
10085         instead of _nss_hesiod_init.
10086         (_nss_hesiod_initgroups_dyn): Likewise.
10087         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
10088         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
10089         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
10091 2016-05-02  Florian Weimer  <fweimer@redhat.com>
10093         * hesiod/hesiod_p.h (DEF_RHS): Remove.
10094         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
10096 2016-05-02  Florian Weimer  <fweimer@redhat.com>
10098         * hesiod/hesiod.h: Remove RCS keyword.
10099         * hesiod/hesiod_p.h: Likewise.
10101         * hesiod/hesiod.c: Likewise.
10103 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
10105         [BZ #12450]
10106         * locale/iso-639.def: Add Samogitian/sgs.
10108 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
10110         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
10112         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
10114 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
10115             Carlos O'Donell  <carlos@redhat.com>
10117         [BZ #19072]
10118         * grp/Makefile (headers): Add grp-merge.h
10119         (routines): Add grp-merge.
10120         * grp/getgrgid_r.c: Include grp-merge.h.
10121         (DEEPCOPY_FN): Define.
10122         (MERGE_FN): Define.
10123         * grp/getgrname_r.c: Include grp-merge.h.
10124         (DEEPCOPY_FN): Define.
10125         (MERGE_FN): Define.
10126         * grp/grp-merge.c: New file.
10127         * grp/grp-merge.h: New file.
10128         * include/grp-merge.h: New file.
10129         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
10130         __copy_grp@GLIBC_PRIVATE.
10131         * manual/nss.texi (Actions in the NSS configuration): Describe
10132         return, continue, and merge.
10133         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
10134         (DEEPCOPY_FN): Define.
10135         (MERGE_FN): Define.
10136         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
10137         (DEEPCOPY_FN): Define.
10138         (MERGE_FN): Define.
10139         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
10140         [!MERGE_FN]: Define __merge_einval.
10141         (CHECK_MERGE): Define.
10142         (REENTRANT_NAME): Process merge if do_merge is true.
10143         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
10144         (__nss_getent_r): Likewise.
10145         * nss/nsswitch.c (nss_parse_service_list): Likewise.
10146         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
10148 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10150         [BZ #20012]
10151         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
10152         length to calculate the buffer to read.
10153         (fmemopen_write): Set the buffer position based on bytes written.
10154         (fmemopen_seek): Return EINVAL for invalid whence modes.
10156         [BZ #19957]
10157         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
10158         tst-getpid2.
10159         (test): Add tst-clone2.
10160         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
10161         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
10162         pid/tid fields for CLONE_VM.
10163         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
10164         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
10165         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
10166         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
10167         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
10168         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
10169         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
10170         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
10171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
10172         Likewise.
10173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10174         Likewise.
10175         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
10176         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
10177         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
10178         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
10179         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
10180         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
10181         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
10182         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
10184 2016-04-29  Florian Weimer  <fweimer@redhat.com>
10186         [BZ #19642]
10187         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
10188         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
10189         (gni_serv_local, gni_serv): New functions extracted from
10190         getnameinfo.
10191         (getnameinfo): Call gni_host and gni_serv to perform the
10192         processing.  Always free scratch buffer.
10194 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10196         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
10197         remaining bytes in the dest string, with zeros.
10199 2016-04-29  Florian Weimer  <fweimer@redhat.com>
10201         [BZ #20010]
10202         CVE-2016-3706
10203         * sysdeps/posix/getaddrinfo.c
10204         (convert_hostent_to_gaih_addrtuple): New function.
10205         (gethosts): Call convert_hostent_to_gaih_addrtuple.
10206         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
10207         AF_INET data.
10209 2016-04-29  Florian Weimer  <fweimer@redhat.com>
10211         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
10212         callback function gl_readdir.
10213         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
10214         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
10215         (glob_in_dir): Remove len.  Use strdup instead of malloc and
10216         memcpy to copy the name.
10217         * manual/pattern.texi (Calling Glob): Document requirements for
10218         implementations of the gl_readdir callback function.
10219         * manual/examples/mkdirent.c: New example.
10220         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
10221         per the manual guidance.
10222         * posix/tst-gnuglob.c (my_readdir): Likewise.
10224 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
10226         [BZ #20014]
10227         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
10228         not [__USE_POSIX].
10229         (getchar_unlocked): Likewise.
10230         (putc_unlocked): Likewise.
10231         (putchar_unlocked): Likewise.
10232         (flockfile): Likewise.
10233         (ftrylockfile): Likewise.
10234         (funlockfile): Likewise.
10235         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
10236         variable.
10237         (test-xfail-XPG4/stdio.h/conform): Likewise.
10239         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
10240         Expect constant.
10241         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
10242         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
10243         variable.
10244         (test-xfail-XPG4/langinfo.h/conform): Likewise.
10245         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
10247         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
10248         [__USE_LARGEFILE64] (off64_t): Likewise.
10249         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
10250         variable.
10252 2016-04-28  Florian Weimer  <fweimer@redhat.com>
10254         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
10256 2016-04-28  Florian Weimer  <fweimer@redhat.com>
10258         * resolv/inet_addr.c: Reindent preprocessor conditionals.
10259         * resolv/res_init.c: Likewise.
10260         * resolv/res_mkquery.c: Likewise.
10262 2016-04-28  Florian Weimer  <fweimer@redhat.com>
10264         * resolv/res_init.c (isascii): Do not define.  Use definition in
10265         <ctype.h>.
10266         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
10267         (LOG_AUTH): Remove.
10268         (SPRINTF): Remove, adjust caller.
10269         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
10271 2016-04-28  Florian Weimer  <fweimer@redhat.com>
10273         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
10274         SUNSECURITY conditional.
10275         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
10277 2016-04-28  Florian Weimer  <fweimer@redhat.com>
10279         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
10280         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
10281         Remove BSD-related preprocessor conditionals.
10282         * conf/portability.h: Remove.
10284 2016-04-28  Florian Weimer  <fweimer@redhat.com>
10286         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
10287         * resolv/res_data.c: Likewise.
10289 2016-04-28  Florian Weimer  <fweimer@redhat.com>
10291         * resolv/res_comp.c: Remove code conditional on __ultrix__.
10292         * resolv/res_data.c: Remove code conditional on ultrix.
10294 2016-04-28  Florian Weimer  <fweimer@redhat.com>
10296         * resolv/res_init.c (RFC1535): Do not define.  Remove
10297         RFC1535 preprocessor conditionals.
10298         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
10299         because there configuration options which make the resolver
10300         behavior different.
10302 2016-04-28  Florian Weimer  <fweimer@redhat.com>
10304         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
10305         RESOLVSORT preprocessor conditionals.
10306         * resolv/nss_dns/dns-host.c: Likewise.
10307         * resolv/res_init.c: Likewise.
10309 2016-04-28  Florian Weimer  <fweimer@redhat.com>
10311         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
10312         is never defined.
10314 2016-04-28  Florian Weimer  <fweimer@redhat.com>
10316         * inet/inet_lnaof.c: Remove SCSS keyword.
10317         * inet/inet_mkadr.c: Likewise.
10318         * inet/inet_net.c: Likewise.
10319         * inet/inet_netof.c: Likewise.
10320         * inet/rcmd.c: Likewise.
10321         * inet/rexec.c: Likewise.
10322         * inet/ruserpass.c: Likewise.
10324 2016-04-28  Florian Weimer  <fweimer@redhat.com>
10326         * resolv/inet_addr.c: Remove _LIBC conditionals.
10327         * resolv/res_data.c: Likewise.
10328         * resolv/res_init.c: Likewise.
10329         * resolv/res_mkquery.c: Likewise.
10330         * resolv/res_libc.c: Update comment.
10331         * resolv/README: Update.
10333 2016-04-28  Florian Weimer  <fweimer@redhat.com>
10335         * resolv/gethnamaddr.c: Remove SCSS keyword.
10336         * resolv/herror.c: Likewise.
10337         * resolv/inet_addr.c: Likewise.
10338         * resolv/inet_net_ntop.c: Likewise.
10339         * resolv/inet_net_pton.c: Likewise.
10340         * resolv/inet_neta.c: Likewise.
10341         * resolv/inet_ntop.c: Likewise.
10342         * resolv/inet_pton.c: Likewise.
10343         * resolv/ns_date.c: Remove RCS keyword.
10344         * resolv/ns_name.c: Likewise.
10345         * resolv/ns_netint.c: Likewise.
10346         * resolv/ns_parse.c: Likewise.
10347         * resolv/ns_print.c: Likewise.
10348         * resolv/ns_samedomain.c: Likewise.
10349         * resolv/ns_ttl.c: Likewise.
10350         * resolv/nsap_addr.c: Likewise.
10351         * resolv/res_comp.c: Remove SCSS and RCS keyword.
10352         * resolv/res_data.c: Remove RCS keyword.
10353         * resolv/res_debug.c: Remove SCSS and RCS keyword.
10354         * resolv/res_init.c: Likewise.
10355         * resolv/res_mkquery.c: Likewise.
10356         * resolv/res_query.c: Likewise.
10357         * resolv/res_send.c: Likewise.
10359 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
10361         * conform/data/stdio.h-data (fdopen): Expect also for
10362         [XPG3 || XPG4].
10364         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
10365         (fseeko): Likewise.
10366         (ftello): Likewise.
10367         (ftrylockfile): Likewise.
10368         (funlockfile): Likewise.
10369         (getc_unlocked): Likewise.
10370         (getchar_unlocked): Likewise.
10371         (putc_unlocked): Likewise.
10372         (putchar_unlocked): Likewise.
10374 2016-04-27  Florian Weimer  <fweimer@redhat.com>
10376         [BZ #19868]
10377         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
10378         DNS packet syntax checks (which were not needed before).  Skip
10379         over non-PTR records.
10381 2016-04-27  Florian Weimer  <fweimer@redhat.com>
10383         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
10384         definition.  Include <stddef.h> instead.
10386 2016-04-27  Florian Weimer  <fweimer@redhat.com>
10388         [BZ #19831]
10389         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
10390         function.
10391         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
10392         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
10394 2016-04-27  Florian Weimer  <fweimer@redhat.com>
10396         [BZ #19862]
10397         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
10398         (getanswer_r): Do not call syslog.
10399         (gaih_getanswer_slice): Likewise.
10400         * resolv/gethnamaddr.c (AskedForGot): Remove.
10401         (getanswer): Do not call syslog.
10402         (gethostbyaddr): Likewise.
10404 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
10406         * conform/data/signal.h-data (union sigval): Expect also if
10407         [XOPEN2K].
10408         (struct sigevent): Likewise.
10409         (SIGEV_NONE): Likewise.
10410         (SIGEV_SIGNAL): Likewise.
10411         (SIGEV_THREAD): Likewise.
10412         (SIGRTMIN): Likewise.
10413         (SIGRTMAX): Likewise.
10414         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
10415         variable.
10416         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
10418 2016-04-27  Florian Weimer  <fweimer@redhat.com>
10420         [BZ #19830]
10421         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
10422         (gaih_getanswer_slice): Likewise.
10423         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
10424         Also check for availability of RR metadata.
10426 2016-04-27  Florian Weimer  <fweimer@redhat.com>
10428         [BZ #19825]
10429         * resolv/res_send.c (send_vc): Remove early *resplen2
10430         initialization.  Set *resplen2 on socket error.  Call
10431         close_and_return_error for other errors.
10433 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
10435         * sysdeps/unix/sysv/linux/netiucv/iucv.h
10436         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
10437         (SCM_IUCV_TRGCLS): New define.
10439 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10441         [BZ #20005]
10442         * libio/fmemopen.c (fmemopen_write): Update internal position after
10443         write.
10444         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
10445         * stdio-common/tst-fmemopen4.c: New file..
10447 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
10449         [BZ #19996]
10450         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
10451         not [__USE_XOPEN2K].
10452         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
10453         variable.
10455         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
10456         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
10457         variable.
10459         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
10460         [__USE_XOPEN2K8].
10461         [__USE_LARGEFILE64] (off64_t): Likewise.
10462         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
10463         variable.
10465 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
10467         [BZ #19989]
10468         * libio/stdio.h (cuserid): Do not declare if
10469         [__USE_XOPEN2K && !__USE_GNU].
10470         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
10471         variable.
10473 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10475         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
10476         (sysdep_routines): Add P8 and PPC64 strcspn targets.
10477         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10478         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
10479         ifunc'ed strcspn.
10480         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
10481         [EALIGN]: Removed.
10482         [END]: Likewise
10483         [STRSPN]: Define instead of the above to control symbol name.
10484         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
10485         New file.
10486         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
10487         Likewise.
10488         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
10489         Likewise.
10490         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
10491         Likewise.
10492         * sysdeps/powerpc/powerpc64/power8/strspn.S:
10493         [INITIAL_MASK]: New macro.
10494         [STRCSPN]: Likewise.
10495         [UPDATE_MASK]: Likewise.
10496         [USE_AS_STRCSPN]: Likewise.
10498 2016-04-25  Florian Weimer  <fweimer@redhat.com>
10500         [BZ #19931]
10501         * stdio-common/tst-vfprintf-width-prec.c: New file.
10502         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
10503         (tests-special): Add tst-vfprintf-width-prec-mem.out.
10504         (generated): Add mtrace-related files.
10505         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
10506         (tst-%-mem.out): New pattern rule, replaces
10507         tst-printf-bz18872-mem.out.
10508         * stdio-common/vfprintf.c (vfprintf): When handling a precision
10509         specifier, deallocate any previously allocated work buffer.
10511 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
10513         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
10514         Add nop before __startcontext, add explaining comments.
10516 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
10518         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
10519         any more. Notably since IPV6_PKTINFO has been reintroduced with a
10520         completely different API.
10522         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
10523         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
10524         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
10525         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
10526         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
10527         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
10528         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
10529         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
10530         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
10531         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
10533 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
10535         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
10537 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
10539         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
10540         when it is the default of 0.
10542 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10544         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
10545         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
10546         (sysdep_routines): Add new strcasestr targets.
10547         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10548         (__libc_ifunc_impl_list): Likewise.
10549         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
10550         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
10551         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
10552         * sysdeps/powerpc/powerpc64/power8/Makefile:
10553         New file to add strcasestr-ppc64 to sysdep_routines.
10554         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
10555         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
10557 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
10559         * benchtests/Makefile (wcsmbs-benchset): Include only for
10560         native builds and runs.
10561         (LOCALES): Likewise.
10562         (bench-build): Build timing-type here instead of the bench
10563         target.  Generate locale only for native builds.
10564         * benchtests/README: Add note for cross-building.
10566         * benchtests/Makefile (bench-clean): Clean up extra-objs.
10568         * benchtests/README: Update README to include instructions on
10569         using bench-build.
10571         * Makefile.in (bench-build): New target.
10572         * Rules (PHONY): Add bench-build target.
10573         * benchtests/Makefile (bench): Depend on bench-build.
10574         (bench-build): New target.
10576 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10578         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
10579         profil_reply_port.
10580         (profile_waiter): Do not initialize profil_reply_port.
10581         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
10582         frequency instead of tick length in us.
10584 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
10586         [BZ #18712]
10587         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
10588         (__old_mempcpy_small): Likewise.
10589         (__old_strcpy_small): Likewise.
10590         (__old_stpcpy_small): Likewise.
10591         (__old_strpbrk_c2): Fix compat symbol name.
10592         (__old_strpbrk_c3): Likewise.
10593         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
10594         (__mempcpy_small): Remove.
10595         (__strcpy_small): Remove.
10596         (__stpcpy_small): Remove.
10598 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
10600         [BZ #19400]
10601         * locale/iso-639.def: Add the Talossan/tzl language.
10603 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
10605         [BZ #16983]
10606         * locale/programs/ld-address.c (address_finish): Update postal_fmt
10607         comment.  Add "ln" to strchr check on postal_fmt.
10609 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
10611         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
10612         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
10613         tel_dom_fmt.
10615 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10617         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
10618         (sysdep_routines): Added __strlen_power8.
10619         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
10620         __strlen_power8 entry.
10621         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
10622         Implementation for POWER8.
10623         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
10624         for __strlen_power8.
10625         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
10626         Implementation for POWER8.
10628 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
10630         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
10632 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
10634         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
10635         Goldmont and Airmont processors.
10637 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
10639         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
10640         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
10641         (__STRING2_SMALL_GET32): Remove.
10642         (memset): Remove.
10643         (__memset_1): Remove.
10644         (__memset_gc): Remove.
10645         (__mempcpy): Remove.
10646         (mempcpy): Remove.
10647         (__mempcpy_args): Remove.
10648         (strchr): Remove.
10649         (strcpy): Remove.
10650         (strcpy_args): Remove.
10651         (__stpcpy_args): Remove.
10652         (__strcmp_cc): Remove.
10653         (__strcmp_gc): Remove.
10654         (strstr): Remove.
10656 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
10658         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
10659         * nis/nis_call.c (nis_server_cache_add): Likewise.
10661 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10663         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
10665 2016-04-14  Florian Weimer  <fweimer@redhat.com>
10667         * malloc/arena.c (__malloc_fork_lock_parent)
10668         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
10669         internal_function attribute.
10671 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
10673         * stdio-common/printf_fp.c (__printf_fp_l):
10674         Rename ___printf_fp_l to __printf_fp_l and
10675         remove strong alias. Use libc_hidden_def instead
10676         of ldbl_hidden_def macro.
10678 2016-04-14  Florian Weimer  <fweimer@redhat.com>
10680         Remove malloc hooks from fork handler.  They are no longer needed
10681         because malloc runs right before fork, and no malloc calls from
10682         other fork handlers are not possible anymore.
10683         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
10684         declarations.
10685         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
10686         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
10687         (atfork_recursive_cntr): Remove.
10688         (__malloc_fork_lock_parent): Do not override malloc hooks and
10689         thread_arena.
10690         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
10691         thread_arena.
10692         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
10693         thread_arena instead of save_arena.
10695 2016-04-14  Florian Weimer  <fweimer@redhat.com>
10697         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
10698         (thread_atfork, thread_atfork_static): Remove.
10699         * sysdeps/mach/hurd/malloc-machine.h:
10700         (thread_atfork, thread_atfork_static): Remove.
10702 2016-04-14  Florian Weimer  <fweimer@redhat.com>
10704         [BZ #19431]
10705         Run the malloc fork handler as late as possible to avoid deadlocks.
10706         * malloc/malloc-internal.h: New file.
10707         * malloc/malloc.c: Include it.
10708         * malloc/arena.c (ATFORK_MEM): Remove.
10709         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
10710         Update comment.
10711         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
10712         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
10713         Remove outdated comment.
10714         (ptmalloc_init): Do not call thread_atfork.  Remove
10715         thread_atfork_static.
10716         * malloc/tst-malloc-fork-deadlock.c: New file.
10717         * Makefile (tests): Add tst-malloc-fork-deadlock.
10718         (tst-malloc-fork-deadlock): Link against libpthread.
10719         * manual/memory.texi (Aligned Memory Blocks): Update safety
10720         annotation comments.
10721         * sysdeps/nptl/fork.c (__libc_fork): Call
10722         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
10723         __malloc_fork_unlock_child.
10724         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
10726 2016-04-14  Florian Weimer  <fweimer@redhat.com>
10728         [BZ #19613]
10729         Remove union wait.
10730         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
10731         (w_stopsig, w_stopval): Remove.
10732         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
10733         stat_loc argument.
10734         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
10735         (__WAIT_STATUS_DEFN): Remove.
10736         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
10737         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
10738         (wait, wait3, wait4): Use int * for the stat_loc argument.
10739         * posix/wait.c (__wait): Likewise.
10740         * posix/wait3.c (__wait3): Likewise.
10741         * posix/wait4.c (__wait4): Likewise.
10742         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
10743         (__WAIT_STATUS_DEFN): Remove.
10744         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
10745         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
10746         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
10747         argument.
10748         * sysdeps/posix/wait.c (__libc_wait): Likewise.
10749         * sysdeps/posix/wait3.c (__wait3): Likewise.
10750         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
10751         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
10752         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
10753         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
10754         stat_loc argument.
10755         * manual/process.texi (BSD Wait Functions): Remove union wait.
10757 2016-04-13  Andreas Schwab  <schwab@suse.de>
10759         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
10760         (test-extras): Add tst-tlsalign-vars.
10761         * math/Makefile: Wrap long lines.
10762         (libm-vec-test-wrappers): Define.
10763         (test-extras): Add $(libm-vec-test-wrappers).
10764         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
10765         * nss/Makefile (extra-test-objs): Add nss_test1.os.
10766         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
10767         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
10768         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
10769         (extra-test-objs): Add corresponding objects.
10771 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
10773         [BZ #19928]
10774         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
10775         New.
10776         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
10777         times of shared cache size.
10778         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
10779         (VMOVNT): New.
10780         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
10781         (VMOVNT): Likewise.
10782         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
10783         (VMOVNT): Likewise.
10784         (VMOVU): Changed to movups for smaller code sizes.
10785         (VMOVA): Changed to movaps for smaller code sizes.
10786         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
10787         comments.
10788         (PREFETCH): New.
10789         (PREFETCH_SIZE): Likewise.
10790         (PREFETCHED_LOAD_SIZE): Likewise.
10791         (PREFETCH_ONE_SET): Likewise.
10792         Rewrite to use forward and backward loops, which move 4 vector
10793         registers at a time, to support overlapping addresses and use
10794         non temporal store if size is above the threshold and there is
10795         no overlap between destination and source.
10797 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
10799         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
10800         Include dl-vdso.
10801         * sysdeps/unix/sysv/linux/mips/Versions: Add
10802         __vdso_clock_gettime.
10803         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
10804         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
10805         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
10806         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
10807         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
10808         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
10809         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
10810         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
10811         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
10813 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10815         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
10816         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
10817         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
10818         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
10819         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
10820         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
10822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
10823         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
10824         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
10825         syscalls generation.
10826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10827         [__NR_pwrite64] (__NR_write): Remove define.
10828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10829         [__NR_pwrite64] (__NR_write): Remove define.
10830         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
10831         Remove define.
10832         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
10833         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
10834         Remove define.
10835         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
10836         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
10837         Linux implementation as base.
10838         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
10840         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
10841         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
10842         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
10843         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
10844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
10845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
10846         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
10847         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
10848         syscall generation.
10849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10850         [__NR_pread64] (__NR_pread): Remove define.
10851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10852         [__NR_pread64] (__NR_pread): Likewise.
10853         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
10854         define.
10855         (__libc_pread): Use SYSCALL_LL macro on offset argument.
10856         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
10857         Remove define.
10858         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
10859         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
10860         Linux implementation as base.
10861         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
10862         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
10863         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10865         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
10866         definition.
10867         (__ALIGNMENT_COUNT): Likewise.
10868         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
10869         (__ALIGNMENT_COUNT): Likewise.
10870         (SYSCALL_LL): New define.
10871         (SYSCALL_LL64): Likewise.
10872         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
10873         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
10874         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
10875         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
10877         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10878         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
10879         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10880         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
10881         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10882         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
10884 2016-04-11  Florian Weimer  <fweimer@redhat.com>
10886         [BZ #19865]
10887         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
10888         original buffer before retry.
10890 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10892         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
10893         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
10894         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
10895         GLRO(dl_auxv) list.
10896         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
10897         including <ldsodefs.h>.
10898         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
10900 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
10902         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
10903         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
10904         $(CPPFLAGS).
10906 2016-04-09  Khem Raj  <raj.khem@gmail.com>
10908         [BZ #17950]
10909         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
10910         Add -mfpmath=387.
10912 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
10914         * sysdeps/i386/configure.ac: Change == to = when calling test.
10915         * sysdeps/x86_64/configure.ac: Likewise.
10916         * sysdeps/i386/configure: Regenerated.
10917         * sysdeps/x86_64/configure: Likewise.
10919 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
10921         [BZ #16137]
10922         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
10923         * benchtests/bench-strcoll.c (input_files): Likewise.
10924         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
10925         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
10926         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
10928 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
10930         [BZ #19929]
10931         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
10932         [__USE_XOPEN2K8 && !__USE_GNU].
10933         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
10934         variable.
10936         [BZ #19925]
10937         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
10938         define if [!__USE_MISC && __USE_XOPEN2K].
10939         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
10940         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
10941         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
10942         Likewise.
10943         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
10944         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
10945         variable.
10946         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
10948 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10950         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
10951         (sysdep_routines): Add new strspn targets.
10952         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10953         (__libc_ifunc_impl_list): Add strspn.
10954         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
10955         New file.
10956         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
10957         Likewise.
10958         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
10959         Likewise.
10960         * sysdeps/powerpc/powerpc64/power8/strspn.S:
10961         Likewise.
10963 2016-04-07  Florian Weimer  <fweimer@redhat.com>
10965         * misc/hsearch_r.c: Include <limits.h>.
10967 2016-04-07  Florian Weimer  <fweimer@redhat.com>
10969         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
10971 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
10973         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10974         (MEMCPY_SYMBOL): New.
10975         (MEMPCPY_SYMBOL): Likewise.
10976         (MEMMOVE_CHK_SYMBOL): Likewise.
10977         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
10978         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
10979         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
10980         Provide alias for memcpy in libc.a and ld.so.
10982 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
10984         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10985         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
10986         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
10987         Disabled fro now.
10988         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
10989         symbols.  Properly check USE_MULTIARCH on __memset symbols.
10991 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
10993         * benchtests/Makefile (string-benchset): Add memcpy-large,
10994         memmove-large and memset-large.
10995         * benchtests/bench-memcpy-large.c: New file.
10996         * benchtests/bench-memmove-large.c: Likewise.
10997         * benchtests/bench-memmove-large.c: Likewise.
10998         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
11000 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
11002         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
11003         32-bit displacement to avoid long nop between instructions.
11005 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
11007         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
11008         a comment on VMOVU and VMOVA.
11010 2016-04-04  Florian Weimer  <fweimer@redhat.com>
11012         [BZ #19633]
11013         Use specified locale for number formatting in strfmon_l.
11014         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
11015         (__nl_lookup_word): New inline functions.
11016         * include/printf.h (__print_fp_l): Declare.
11017         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
11018         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
11019         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
11020         (___printf_fp): New function.
11021         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
11022         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
11023         * stdlib/tst-strfmon_l.c (do_test): New test.
11024         * stdlib/Makefile (tests): Add kt.
11025         (LOCALES): Build additional locales.
11026         (tst-strfmon_l.out): Require locales.
11028 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
11030         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
11031         if not in libc.
11032         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
11033         Likewise.
11034         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
11035         Likewise.
11036         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
11037         Likewise.
11039 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
11041         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
11042         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
11043         with unaligned_erms.
11044         (__memmove_erms): Skip if source == destination.
11045         (__memmove_unaligned_erms): Don't check source == destination
11046         first.
11048 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
11050         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
11051         bit_arch_Fast_Copy_Backward for Intel Core proessors.
11053 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11055         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
11056         * string/strspn.c (strspn): Likewise.
11058 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
11060         * benchtests/bench-memset.c (do_test): Support 64-byte
11061         alignment.
11062         (test_main): Test 64-byte alignment.
11064 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
11066         * benchtests/bench-memmove.c (test_main): Test 64-byte
11067         alignment.
11069 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
11071         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
11073 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11075         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
11076         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
11077         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
11079         * string/strpbrk.c (strpbrk): Rewrite function.
11080         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
11081         (__strpbrk_c2): Likewise.
11082         (__strpbrk_c3): Likewise.
11083         * string/string-inlines.c
11084         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
11085         Likewise.
11086         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
11087         Likewise.
11089         * string/strspn.c (strcspn): Rewrite function.
11090         * string/bits/string2.h (strspn): Use __builtin_strcspn.
11091         (__strspn_c1): Remove inline function.
11092         (__strspn_c2): Likewise.
11093         (__strspn_c3): Likewise.
11094         * string/string-inlines.c
11095         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
11096         compatibility symbol.
11097         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
11098         Likewise.
11099         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
11100         Likewise.
11101         * string/string-inlines.c: Include generic version.
11103 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
11104             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11106         * string/Version (libc): Add GLIBC_2.24.
11107         * string/strcspn.c (strcspn): Rewrite function.
11108         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
11109         (__strcspn_c1): Remove inline function.
11110         (__strcspn_c2): Likewise.
11111         (__strcspn_c3): Likewise.
11112         * string/string-inline.c
11113         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
11114         compatibility symbol.
11115         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
11116         Likewise.
11117         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
11118         Likewise.
11119         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
11121 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
11123         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
11124         Use ahi instead of aghi to adjust stack pointer.
11126 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11128         [BZ #19853]
11129         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
11130         TEST to take significant digits as second parameter.
11131         [TEST]: Redefine in terms of TEST_N taking 30
11132         significant digits.
11133         (do_test): Add test case to demonstrate precision
11134         failure in the ldbl-128ibm printf.
11135         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
11136         (__mpn_extract_long_double): Carry 7 extra intermediate
11137         bits of precision to aide computing difference when
11138         signs differ.
11140 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
11142         [BZ #19881]
11143         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11144         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
11145         memset-avx512-unaligned-erms.
11146         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11147         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
11148         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
11149         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
11150         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
11151         __memset_sse2_unaligned_erms, __memset_erms,
11152         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
11153         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
11154         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
11155         file.
11156         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
11157         Likewise.
11158         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
11159         Likewise.
11160         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
11161         Likewise.
11163 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
11165         [BZ #19776]
11166         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11167         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
11168         memmove-avx512-unaligned-erms.
11169         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11170         (__libc_ifunc_impl_list): Test
11171         __memmove_chk_avx512_unaligned_2,
11172         __memmove_chk_avx512_unaligned_erms,
11173         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
11174         __memmove_chk_sse2_unaligned_2,
11175         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
11176         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
11177         __memmove_avx512_unaligned_erms, __memmove_erms,
11178         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
11179         __memcpy_chk_avx512_unaligned_2,
11180         __memcpy_chk_avx512_unaligned_erms,
11181         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
11182         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
11183         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
11184         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
11185         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
11186         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
11187         __mempcpy_chk_avx512_unaligned_erms,
11188         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
11189         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
11190         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
11191         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
11192         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
11193         __mempcpy_erms.
11194         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
11195         file.
11196         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
11197         Likewise.
11198         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
11199         Likewise.
11200         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
11201         Likewise.
11203 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
11205         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
11206         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
11207         (La_s390_64_regs): Likewise.
11208         (La_s390_32_retval): Append vector register lrv_v24.
11209         (La_s390_64_retval): Likeweise.
11210         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
11211         Handle extended structs La_s390_32_regs and La_s390_32_retval.
11212         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
11213         Handle extended structs La_s390_64_regs and La_s390_64_retval.
11215 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
11217         [BZ #19916]
11218         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
11219         to create a non-vector/vector version for _dl_runtime_resolve and
11220         _dl_runtime_profile. Move implementation to ...
11221         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
11222         (_dl_runtime_resolve) Save and restore fpr/vrs.
11223         (_dl_runtime_profile) Save and restore vrs and fix some issues
11224         if _dl_call_pltexit is called.
11225         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
11226         Choose the correct resolver function if running on a machine with vx.
11227         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
11228         to create a non-vector/vector version for _dl_runtime_resolve and
11229         _dl_runtime_profile. Move implementation to ...
11230         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
11231         (_dl_runtime_resolve) Save and restore fpr/vrs.
11232         (_dl_runtime_profile) Save and restore vrs and fix some issues
11233         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
11234         Choose the correct resolver function if running on a machine with vx.
11236 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11238         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
11240 2016-03-31  Florian Weimer  <fweimer@redhat.com>
11242         [BZ #19509]
11243         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
11244         skip_map != NULL.
11245         * elf/tst-dlsym-error.c: New file.
11246         * elf/Makefile (tests): Add tst-dlsym-error.
11247         (tst-dlsym-error): Link against libdl.
11249 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
11251         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11252         (__ASSUME_FUTIMESAT): Remove macro.
11253         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
11255 2016-03-29  Florian Weimer  <fweimer@redhat.com>
11257         [BZ #19879]
11258         CVE-2016-3075
11259         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
11260         copy name.
11262 2016-03-29  Florian Weimer  <fweimer@redhat.com>
11264         [BZ #19837]
11265         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
11266         error if parse_line fails.
11268 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
11270         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
11271         (index_cpu_ERMS): Likewise.
11272         (reg_ERMS): Likewise.
11274 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
11276         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
11277         PER_LINUX_FDPIC): Add.
11279 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
11281         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11282         memcpy-avx512-no-vzeroupper.
11283         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
11284         to ...
11285         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
11286         (MEMCPY): Don't define.
11287         (MEMCPY_CHK): Likewise.
11288         (MEMPCPY): Likewise.
11289         (MEMPCPY_CHK): Likewise.
11290         (MEMPCPY_CHK): Renamed to ...
11291         (__mempcpy_chk_avx512_no_vzeroupper): This.
11292         (MEMPCPY_CHK): Renamed to ...
11293         (__mempcpy_chk_avx512_no_vzeroupper): This.
11294         (MEMCPY_CHK): Renamed to ...
11295         (__memmove_chk_avx512_no_vzeroupper): This.
11296         (MEMCPY): Renamed to ...
11297         (__memmove_avx512_no_vzeroupper): This.
11298         (__memcpy_avx512_no_vzeroupper): New alias.
11299         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
11301 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
11303         [BZ #18858]
11304         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11305         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
11306         and mempcpy-avx512-no-vzeroupper.
11307         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
11308         New.
11309         (MEMPCPY): Likewise.
11310         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
11311         (MEMPCPY_CHK): New.
11312         (MEMPCPY): Likewise.
11313         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
11314         (MEMPCPY): Likewise.
11315         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
11316         (MEMPCPY): Likewise.
11317         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
11318         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
11319         Likewise.
11320         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
11321         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
11323 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
11324              Amit Pawar  <Amit.Pawar@amd.com>
11326         [BZ #19583]
11327         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
11328         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
11329         processors.  Set Fast_Copy_Backward for AMD Excavator
11330         processors.
11331         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
11332         New.
11333         (index_arch_Fast_Unaligned_Copy): Likewise.
11334         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
11335         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
11337 2016-03-25  Florian Weimer  <fweimer@redhat.com>
11339         [BZ #19791]
11340         * resolv/res_send.c (close_and_return_error): New function.
11341         (send_dg): Initialize *resplen2 after reopen failure.  Call
11342         close_and_return_error for error returns.  On error paths without
11343         __res_iclose, initialze *resplen2 explicitly.  Update comment for
11344         successful return.
11346 2016-03-25  Florian Weimer  <fweimer@redhat.com>
11348         [BZ# 19860]
11349         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
11350         zero if the compiler does not provide the AVX512F bit.
11352 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
11354         [BZ #19848]
11355         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
11356         from 8 to 4.
11357         (__ieee754_powl): Compare integer exponent against 4 not 8.
11358         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
11359         from 8 to 4.
11360         (__ieee754_powl): Compare integer exponent against 4 not 8.
11361         * math/auto-libm-test-in: Add more tests of pow.
11362         * math/auto-libm-test-out: Regenerated.
11363         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
11364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11366 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
11368         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
11369         Make code unconditional.
11370         [!__NR_utimensat]: Remove conditional code.
11371         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
11372         Make code unconditional.
11373         [!__NR_utimensat]: Remove conditional code.
11374         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
11375         Make code unconditional.
11376         [!__NR_utimensat]: Remove conditional code.
11378 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
11380         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
11381         Make code unconditional.
11383 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
11385         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
11386         call-clobbered %eax on retry path.
11387         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
11389 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
11391         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
11392         Don't set %rcx twice before "rep movsb".
11394 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
11396         [BZ #19583]
11397         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
11398         inline.  Check family before setting family, model and
11399         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
11400         bits here.
11401         (init_cpu_features): Replace HAS_CPU_FEATURE and
11402         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
11403         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
11404         for Intel processors with usable AVX2.  Call get_common_indeces
11405         for other processors with family == NULL.
11406         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
11407         (CPU_FEATURES_ARCH_P): Likewise.
11408         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
11409         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
11411 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11413         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
11414         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
11415         $(shared-thread-library) instead of hardcoding the path to libpthread.
11417 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
11419         * sysdeps/unix/sysv/linux/kernel-features.h
11420         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
11421         * sysdeps/unix/sysv/linux/getdents.c
11422         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
11423         [!have_no_getdents64_defined]: Likewise.
11424         (__GETDENTS): Remove __have_no_getdents64 conditional.
11426 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
11428         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
11429         Remove macro.
11430         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
11431         <kernel-features.h>.
11432         (signalfd) [__NR_signalfd4]: Make code unconditional.
11433         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
11435 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11437         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
11438         style.
11440 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
11442         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
11443         (__pthread_enable_asynccancel): Use JUMPTARGET to call
11444         __pthread_unwind.
11445         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
11446         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
11447         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
11448         (__condvar_cleanup1): Likewise.
11450 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
11452         [BZ #19822]
11453         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
11454         move it to the final $@ location.
11456 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11458         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
11459         access where posix_spawn success and pid argument is null.
11460         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
11461         success case.
11463 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
11465         * sysdeps/mach/hurd/i386/c++-types.data: New file.
11467         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
11469         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
11470         and __fcntl.
11471         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
11472         __fcntl only.
11473         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
11474         adding attribute_hidden to __open and __fcntl.
11476         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
11477         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
11478         depend on libc-modules.h,
11479         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
11481 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
11483         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
11484         Remove macro.
11485         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
11486         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
11487         entry.
11489         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
11490         Remove macro.
11491         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
11492         include <kernel-features.h>.
11493         [!__ASSUME_FALLOCATE]: Remove conditional code.
11494         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
11496 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
11498         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
11499         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
11500         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
11501         (_ZGVdN4v_cos_avx2): Likewise.
11502         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
11503         (_ZGVdN4v_cos): Likewise.
11504         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
11505         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
11506         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
11507         (_ZGVdN4v_exp_avx2): Likewise.
11508         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
11509         (_ZGVdN4v_exp): Likewise.
11510         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
11511         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
11512         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
11513         (_ZGVdN4v_log_avx2): Likewise.
11514         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
11515         (_ZGVdN4v_log): Likewise.
11516         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
11517         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
11518         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
11519         (_ZGVdN4vv_pow_avx2): Likewise.
11520         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
11521         (_ZGVdN4vv_pow): Likewise.
11522         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
11523         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
11524         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
11525         (_ZGVdN4v_sin_avx2): Likewise.
11526         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
11527         (_ZGVdN4v_sin): Likewise.
11528         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
11529         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
11530         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
11531         (_ZGVdN4vvv_sincos_avx2): Likewise.
11532         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
11533         (_ZGVdN4vvv_sincos): Likewise.
11534         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
11535         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
11536         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
11537         (_ZGVbN4v_cosf_sse4): Likewise.
11538         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
11539         (_ZGVdN8v_cosf_avx2): Likewise.
11540         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
11541         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
11542         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
11543         (_ZGVbN4v_expf_sse4): Likewise.
11544         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
11545         (_ZGVdN8v_expf_avx2): Likewise.
11546         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
11547         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
11548         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
11549         (_ZGVbN4v_logf_sse4): Likewise.
11550         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
11551         (_ZGVdN8v_logf_avx2): Likewise.
11552         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
11553         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
11554         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
11555         (_ZGVbN4vv_powf_sse4): Likewise.
11556         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
11557         (_ZGVdN8vv_powf_avx2): Likewise.
11558         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
11559         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
11560         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
11561         (_ZGVbN4vvv_sincosf_sse4): Likewise.
11562         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
11563         (_ZGVdN8vvv_sincosf_avx2): Likewise.
11564         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
11565         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
11566         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
11567         (_ZGVbN4v_sinf_sse4): Likewise.
11568         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
11569         (_ZGVdN8v_sinf_avx2): Likewise.
11570         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
11571         Use JUMPTARGET to call callee.
11572         (WRAPPER_IMPL_SSE2_ff): Likewise.
11573         (WRAPPER_IMPL_SSE2_fFF): Likewise.
11574         (WRAPPER_IMPL_AVX): Likewise.
11575         (WRAPPER_IMPL_AVX_ff): Likewise.
11576         (WRAPPER_IMPL_AVX_fFF): Likewise.
11577         (WRAPPER_IMPL_AVX512): Likewise.
11578         (WRAPPER_IMPL_AVX512_ff): Likewise.
11579         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
11580         Likewise.
11581         (WRAPPER_IMPL_SSE2_ff): Likewise.
11582         (WRAPPER_IMPL_SSE2_fFF): Likewise.
11583         (WRAPPER_IMPL_AVX): Likewise.
11584         (WRAPPER_IMPL_AVX_ff): Likewise.
11585         (WRAPPER_IMPL_AVX_fFF): Likewise.
11586         (WRAPPER_IMPL_AVX512): Likewise.
11587         (WRAPPER_IMPL_AVX512_ff): Likewise.
11588         (WRAPPER_IMPL_AVX512_fFF): Likewise.
11590 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11592         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
11593         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
11594         qualifier.
11595         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
11596         internal_function qualifiers.
11598 2016-03-15  Carlos O'Donell <carlos@redhat.com>
11600         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
11601         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
11602         * math/atest-exp.c (exp_mpn): Mark chk unused.
11603         * math/atest-exp2.c (exp_mpn): Likewise.
11604         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
11605         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
11607 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
11609         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
11610         Remove macro.
11611         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
11612         <kernel-features.h>.
11613         [__NR_ppoll]: Make code unconditional.
11614         [!__ASSUME_PPOLL]: Remove conditional code.
11616         * sysdeps/unix/sysv/linux/kernel-features.h
11617         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
11618         (__ASSUME_ACCEPT4): Likewise.
11619         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11620         Define.
11621         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
11622         Likewise.
11623         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11624         Likewise.
11625         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
11626         Likewise.
11627         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
11628         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
11629         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11630         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
11631         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11632         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11633         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11634         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11635         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11636         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11637         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11638         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11639         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11640         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11641         * sysdeps/unix/sysv/linux/i386/kernel-features.h
11642         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11643         Likewise.
11644         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11645         Likewise.
11646         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
11647         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
11648         0x040300].
11649         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11650         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
11651         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11652         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
11653         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
11654         0x030300].
11655         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
11656         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11657         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
11658         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
11659         0x040300].
11660         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11661         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11662         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11663         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11664         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11665         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
11666         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
11667         0x030300].
11668         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11669         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11670         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11671         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11672         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11673         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11674         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11675         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11676         * sysdeps/unix/sysv/linux/s390/kernel-features.h
11677         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
11678         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
11679         0x040300].
11680         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11681         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11682         * sysdeps/unix/sysv/linux/sh/kernel-features.h
11683         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11684         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11685         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11686         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11687         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11688         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11689         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11690         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11691         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11692         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11693         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11694         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
11695         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11696         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11697         Likewise.
11698         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11699         Likewise.
11701 2016-03-15  Andreas Schwab  <schwab@suse.de>
11703         [BZ #19257]
11704         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
11705         statp->_u._ext.nscount as loop count.
11707 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
11709         * math/test-signgam-finite-c99.c: Also #undef
11710         __LIBC_INTERNAL_MATH_INLINES.
11711         * math/test-signgam-main.c: Likewise.
11713 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
11715         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
11716         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
11717         (MADV_FREE): Likewise.
11718         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
11719         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
11720         EPOLLEXCLUSIVE.
11722 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
11724         * timezone/README: Remove mention of checktab.awk. Mention wiki
11725         SharedSourceFiles.
11727 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
11729         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
11730         WUNTRACED.
11732 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11734         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
11735         order to match the type of p when calling atomic_exchange_acq().
11737 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11739         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
11740         cfi_offset calls.
11741         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
11742         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
11743         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
11744         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
11745         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
11747 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
11749         * timezone/checktab.awk: Removed.
11751 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
11753         * manual/math.texi (Errors in Math Functions): Document relaxed
11754         accuracy goals for IBM long double.
11755         * math/libm-test.inc (test_exceptions): Always allow spurious
11756         "underflow" and "inexact" exceptions for IBM long double.
11758 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
11760         [BZ #19762]
11761         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
11762         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
11763         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
11764         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
11765         (bit_arch_*): This for feature array.
11766         (bit_*): Renamed to ...
11767         (bit_cpu_*): This for cpu array.
11768         (index_*): Renamed to ...
11769         (index_arch_*): This for feature array.
11770         (index_*): Renamed to ...
11771         (index_cpu_*): This for cpu array.
11772         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
11773         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
11774         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
11775         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
11776         bit_##name with index_cpu_##name and bit_cpu_##name.
11777         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
11778         bit_##name with index_arch_##name and bit_arch_##name.
11780 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
11782         [BZ #19792]
11783         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
11784         Terminate FDE before return label.
11786 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
11788         [BZ #19790]
11789         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
11790         (rintl): Define as macro.
11791         [USE_AS_NEARBYINTL] (__rintl): Likewise.
11792         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
11793         of fesetround.  Ensure results are evaluated before end of scope.
11794         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
11795         USE_AS_NEARBYINTL and include s_rintl.c.
11796         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
11797         Disable exception traps in new environment.
11798         (libc_feholdsetround_ppc_ctx): Likewise.
11800 2016-03-08  Roland McGrath  <roland@hack.frob.com>
11802         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
11803         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
11804         (tst_audit10_aux) [__AVX512F__]: ... here.
11806 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
11808         * include/sys/auxv.h: New file.
11810 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
11812         [BZ #19759]
11813         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
11815 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11817         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
11818         operand modifier.
11819         (feclearexcept): Likewise.
11821 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11823         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
11824         to reflect the entire 32-bit HWCAP.
11825         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
11826         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
11828 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
11830         [BZ #19783]
11831         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
11832         $(test-via-rtld-prefix).
11833         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
11835 2016-03-08  Florian Weimer  <fweimer@redhat.com>
11837         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
11838         union wait.  Report any non-zero exit status as error.
11840 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11842         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
11843         configured with --enable-hardcoded-path-in-tests.
11845 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
11847         [BZ #19677]
11848         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
11849         (__ieee754_remainderl): Put zero low parts in canonical form.
11850         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
11851         file.  Based on
11852         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
11853         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
11854         with wrapper round test-fmodrem-ldbl-128ibm.c.
11855         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
11856         file.
11857         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
11858         Likewise.
11859         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
11860         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
11862 2016-03-07  Florian Weimer  <fweimer@redhat.com>
11864         [BZ #19610]
11865         * elf/ldconfig.c (opt_link): Update comment.
11866         (options): Update help string for option -X.
11867         (search_dir): Unlink stale symbolic link only if updating symbolic
11868         links.
11869         * elf/tst-ldconfig-X.sh: New file.
11870         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
11871         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
11873 2016-03-07  Andreas Schwab  <schwab@suse.de>
11875         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
11876         needed arguments.
11878 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
11880         [BZ #15333]
11881         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
11882         to lstat64.
11884 2016-03-07  Florian Weimer  <fweimer@redhat.com>
11886         * libio/filedoalloc.c (isatty): Remove.
11887         (local_isatty): Add comment.  Call __isatty directly.
11888         (_IO_file_doallocate): Update comment.  Assume _LIBC.
11889         * libio/wfiledoalloc.c (isatty): Remove.
11890         (_IO_wfile_doallocate): Update comment.
11892 2016-03-07  Florian Weimer  <fweimer@redhat.com>
11894         [BZ #19269]
11895         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
11896         tst-audit4-aux.o.
11897         (tst-audit10): Depend on tst-audit10-aux.o.
11898         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
11899         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
11900         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
11901         instead of inline AVX code.
11902         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
11903         instead of inline AVX512 code.
11904         * sysdeps/x86_64/tst-audit4-aux.c: New file
11905         * sysdeps/x86_64/tst-audit10-aux.c: New file
11907         [BZ #19648]
11908         * test-skeleton.c (main): Do not set RLIMIT_DATA.
11910 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11912         [BZ #14750]
11913         [BZ #10354]
11914         [BZ #18433]
11915         * include/sched.h (__clone): Add hidden prototype.
11916         (__clone2): Likewise.
11917         * include/unistd.h (__dup): Likewise.
11918         * posix/Makefile (tests): Add tst-spawn2.
11919         * posix/tst-spawn2.c: New file.
11920         * sysdeps/posix/dup.c (__dup): Add hidden definition.
11921         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
11922         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
11923         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
11924         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
11925         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
11926         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
11927         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
11928         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
11929         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
11930         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
11931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
11932         Likewise.
11933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11934         Likewise.
11935         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
11936         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
11937         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
11938         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
11939         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
11940         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
11941         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
11942         * sysdeps/unix/sysv/linux/nptl-signals.h
11943         (____nptl_is_internal_signal): New function.
11944         * sysdeps/unix/sysv/linux/spawni.c: New file.
11946         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
11947         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
11948         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
11949         * posix/tst-execvp2.c (do_test): Likewise.
11950         * posix/tst-execvp3.c (do_test): Likewise.
11951         * posix/tst-execvp4.c (do_test): Likewise.
11952         * posix/tst-execvpe1.c: New file.
11953         * posix/tst-execvpe2.c: Likewise.
11954         * posix/tst-execvpe3.c: Likewise.
11955         * posix/tst-execvpe4.c: Likewise.
11956         * posix/tst-execvpe5.c: Likewise.
11957         * posix/tst-execvpe6.c: Likewise.
11959         [BZ #19534]
11960         * posix/execl.c (execl): Remove dynamic memory allocation.
11961         * posix/execle.c (execle): Likewise.
11962         * posix/execlp.c (execlp): Likewise.
11964 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
11966         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
11967         Replace .text with .text.avx512.
11968         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
11969         Likewise.
11971 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
11973         * sysdeps/generic/libnsl.abilist: New file.
11974         * sysdeps/generic/libutil.abilist: New file.
11976 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
11978         [BZ #19762]
11979         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
11980         HAS_ARCH_FEATURE with Fast_Rep_String.
11981         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
11982         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
11983         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
11984         Likewise.
11985         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
11986         Likewise.
11987         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
11988         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
11989         Likewise.
11990         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
11991         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
11992         Likewise.
11994 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
11996         [BZ #19745]
11997         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
11998         with *%rax in call.
12000 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
12002         [BZ #19745]
12003         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
12004         with *__libc_start_main@GOTPCREL(%rip) in call.
12006 2016-03-04  Roland McGrath  <roland@hack.frob.com>
12008         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
12009         inside conditional for nonempty $(CXX).
12011         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
12012         nonempty.
12014         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
12015         to test for empty $(CXX) rather than $(CXX) of "no".
12017 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
12019         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
12021 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
12022             H.J. Lu  <hongjiu.lu@intel.com>
12024         [BZ #18880]
12025         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
12026         instead of Slow_BSF, and also check for Fast_Copy_Backward to
12027         enable __memcpy_ssse3_back.
12029 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
12031         [BZ #19758]
12032         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
12033         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
12035 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
12037         [BZ #19490]
12038         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
12039         (__fentry__): Likewise.
12041 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
12043         * gmon/Makefile (noprof): Add $(sysdep_noprof).
12044         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
12046 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
12048         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
12049         __mcount_internal directly.
12050         (C_LABEL(__fentry__)): Likewise.
12051         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
12052         directly.
12054 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
12056         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
12057         (__start_context): Call __setcontext directly.
12059 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
12061         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12062         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12063         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
12064         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
12065         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12066         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12067         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
12068         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12069         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12070         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
12071         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
12072         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
12073         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12074         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12075         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12076         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12077         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
12078         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12079         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12080         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
12081         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
12082         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12083         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12084         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
12085         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
12086         Remove conditional code.
12087         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12088         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
12089         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12090         * sysdeps/unix/sysv/linux/sh/kernel-features.h
12091         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
12092         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12093         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
12094         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12095         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12096         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12097         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12098         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12100 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
12102         * NEWS (2.23): Fix typo in bug 19048 text.
12104 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
12106         [BZ #14259]
12107         * Makeconfig: Rename msgcatdir to localedir.
12108         Rename inst_msgcatdir to inst_localedir.
12109         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
12110         * config.make.in: Add localedir.
12111         * elf/Makefile ($(objpfx)sotruss): Use localedir.
12112         (ldd-rewrite): Likewise.
12113         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
12114         (install-others): Use inst_localedir.
12115         (CPPFLAGS): Use localedir.
12116         * locale/Makefile (locale-CPPFLAGS): Likewise.
12117         * po/Makefile (mo-installed): Use inst_localedir.
12119         [BZ #19575]
12120         * localedata/charmaps/GB18030: Update comments regarding PAU to
12121         non-PUA mappings.
12123 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
12125         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
12126         test for header.
12127         * sysdeps/unix/sysv/linux/configure: Regenerated.
12128         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
12129         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
12130         Remove conditional code.
12131         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
12133         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
12134         Define to 3.2.0.
12135         (arch_minimum_kernel): Likewise.
12136         * sysdeps/unix/sysv/linux/configure: Regenerated.
12137         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
12138         Define to 2.6.32.
12139         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
12140         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
12141         (arch_minimum_kernel): Define to 2.6.32.
12142         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
12143         * README: Document Linux 3.2 requirement.
12144         * manual/install.texi (Linux): Document Linux 3.2 headers
12145         requirement.
12146         * INSTALL: Regenerated.
12148 2016-02-24  Andreas Schwab  <schwab@suse.de>
12150         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
12151         if !NO_LONG_DOUBLE.
12153 2016-02-22  Roland McGrath  <roland@hack.frob.com>
12155         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
12156         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
12158 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
12160         [BZ #19512]
12161         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
12163 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
12165         * posix/tst-dir.c: Include libc-internal.h.
12167 2016-02-20  Florian Weimer  <fweimer@redhat.com>
12169         [BZ #19056]
12170         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
12171         * manual/filesys.texi (Reading/Closing Directory): Mention
12172         deprecaion.
12173         * posix/tst-dir.c (main): Disable deprecation warning in test.
12175 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
12177         [BZ #19679]
12178         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
12179         Renamed to ...
12180         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
12181         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
12182         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
12183         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
12184         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
12185         * sysdeps/x86_64/dl-trampoline.h
12186         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
12187         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
12189 2016-02-19  Mark Wielaard  <mjw@redhat.com>
12191         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
12193 2016-02-19  Mark Wielaard  <mjw@redhat.com>
12195         * elf/elf.h (R_386_GOT32X): New.
12196         (R_386_NUM): Update.
12197         (R_X86_64_GOTPCRELX: New.
12198         (R_X86_64_REX_GOTPCRELX): New.
12199         (R_X86_64_NUM): Update.
12201 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
12203         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
12205 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
12207         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
12208         assign attr->stackaddr to it, and adjust it down when
12209         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
12210         [_STACK_GROWS_UP]: Delete assert.
12211         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
12212         Implement stack grows up logic.
12213         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
12214         stack grows up logic.
12216 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12218         * NEWS: Update with 2.24 template.
12220 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
12222         [BZ #19678]
12223         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
12224         Ensure +0.0 is returned when taking the next value below the least
12225         positive value.
12227 2016-02-19  Florian Weimer  <fweimer@redhat.com>
12229         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
12230         available.  Do not define NO_THREADS.
12231         * malloc/malloc.c: Do not check NO_THREADS.
12232         * malloc/arena.c: Likewise.
12234 2016-02-19  Florian Weimer  <fweimer@redhat.com>
12236         * malloc/malloc.c (__libc_mallinfo): Update comment.
12237         (struct malloc_par): Remove max_total_mem member, it was always 0.
12238         (int_mallinfo): Store 0 into usmblks (no functional change).
12239         * malloc/hooks.c (struct malloc_state): Document that
12240         max_total_mem is always 0.
12241         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
12242         always 0.
12243         * manual/memory.texi (Statistics of Malloc): Likewise.
12245 2016-02-19  Florian Weimer  <fweimer@redhat.com>
12247         * malloc/malloc.c (sysmalloc): Do not update arena_max.
12248         * malloc/arena.c (arena_max): Remove.
12249         (heap_trim, _int_new_arena): Do not update arena_max.
12251 2016-02-19  Florian Weimer  <fweimer@redhat.com>
12253         * resolv/res_init.c (res_ninit): Update comment.
12255 2016-02-19  Florian Weimer  <fweimer@redhat.com>
12257         [BZ #19505]
12258         * posix/spawn_int.h: Add headers and include guard.
12259         (__spawn_valid_fd): New function.
12260         * posix/spawn_faction_addopen.c
12261         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
12262         * posix/spawn_faction_addclose.c
12263         (posix_spawn_file_actions_addclose): Likewise.
12264         * posix/spawn_faction_adddup2.c
12265         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
12266         second file descriptor.
12267         * posix/spawn_valid_fd.c: New file.
12268         * posix/tst-posix_spawn-fd.c: New file.
12269         * posix/Makefile (routines): Add spawn_valid_fd.
12270         (tests): Add tst-posix_spawn-fd.
12272 2016-02-19  Florian Weimer  <fweimer@redhat.com>
12274         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
12275         (do_test): Limit the number of arenas, so that we can use fewer
12276         outer threads.  Limit timeout to 3 seconds, in preparation for a
12277         larger TIMEOUT value.
12279 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
12281         [BZ #19674]
12282         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
12283         sign in overflowing and underflowing results when overflow or
12284         underflow is detected early.  Include sign in result before rather
12285         than after scaling.
12287         [BZ #19603]
12288         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
12289         (__ieee754_remainderl): Adjust sign of integer version of low part
12290         when taking absolute value of high part.
12291         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12292         * math/libm-test.inc (remainder_test_data): Add another test.
12293         (remquo_test_data): Likewise.
12295 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
12297         [BZ #19602]
12298         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
12299         equal high parts and both low parts zero specially.
12300         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
12301         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
12302         Add test-fmodl-ldbl-128ibm.
12304         [BZ #19595]
12305         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
12306         common logic for all cases of shifting subnormal results.  Do not
12307         insert sign bit in shifted mantissa.  Always pass -1023 as biased
12308         exponent to ldbl_insert_mantissa in subnormal case.
12310         [BZ #19594]
12311         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
12312         on high and low parts then adjust result and use
12313         ldbl_canonicalize_int if needed.
12315         [BZ #19593]
12316         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
12317         on high part and __floor or __ceil on low part then use
12318         ldbl_canonicalize_int if needed.
12320         [BZ #19592]
12321         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
12322         high and low parts then use ldbl_canonicalize_int if needed.
12324         [BZ #17899]
12325         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
12326         New function.
12327         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
12328         on high and low parts then use ldbl_canonicalize_int if needed.
12330 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12332         * configure: Regenerated.
12334         * po/libc.pot: Regenerated.
12336         * po/be.po: Updated translation.
12337         * po/bg.po: Likewise.
12338         * po/ca.po: Likewise.
12339         * po/cs.po: Likewise.
12340         * po/da.po: Likewise.
12341         * po/el.po: Likewise.
12342         * po/eo.po: Likewise.
12343         * po/es.po: Likewise.
12344         * po/fi.po: Likewise.
12345         * po/fr.po: Likewise.
12346         * po/gl.po: Likewise.
12347         * po/hr.po: Likewise.
12348         * po/hu.po: Likewise.
12349         * po/ia.po: Likewise.
12350         * po/id.po: Likewise.
12351         * po/it.po: Likewise.
12352         * po/ja.po: Likewise.
12353         * po/lt.po: Likewise.
12354         * po/nb.po: Likewise.
12355         * po/nl.po: Likewise.
12356         * po/pt_BR.po: Likewise.
12357         * po/rw.po: Likewise.
12358         * po/sk.po: Likewise.
12359         * po/sl.po: Likewise.
12360         * po/sv.po: Likewise.
12361         * po/tr.po: Likewise.
12362         * po/zh_CN.po: Likewise.
12363         * po/zh_TW.po: Likewise.
12365         * version.h (RELEAES): Set to "development".
12366         (VERSION): Set to 2.23.90.
12368         * version.h (RELEASE): Set to "stable".
12369         (VERSION): Set to 2.23.
12370         * include/feature.h (__GLIBC_MINOR__): Set to 23.
12372         * NEWS: Updated fixed bugs.
12374 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
12375             Wilco Dijkstra  <wdijkstr@arm.com>
12377         [BZ #19462]
12378         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
12379         (_STRING_INLINE_unaligned): This.
12380         * include/string.h: Include <string_private.h>.
12381         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
12382         _STRING_INLINE_unaligned.
12383         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
12384         (_STRING_INLINE_unaligned): New.
12385         * sysdeps/aarch64/string_private.h: New file.
12386         * sysdeps/generic/string_private.h: Likewise.
12387         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
12388         * sysdeps/s390/string_private.h: Likewise.
12389         * sysdeps/x86/string_private.h: Likewise.
12390         * sysdeps/m68k/m680x0/m68020/bits/string.h
12391         (_STRING_ARCH_unaligned): Renamed to ...
12392         (_STRING_INLINE_unaligned): This.
12393         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
12394         to ...
12395         (_STRING_INLINE_unaligned): This.
12396         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
12397         to ...
12398         (_STRING_INLINE_unaligned): This.
12399         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
12400         to ...
12401         (_STRING_INLINE_unaligned): This.
12403 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
12404             H.J. Lu  <hongjiu.lu@intel.com>
12406         [BZ #19590]
12407         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
12408         relocation.
12410 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
12412         [BZ #18665]
12413         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
12414         *herrno_p.
12415         (gaih_getanswer): Document functional behviour. Return tryagain
12416         if any result is tryagain.
12417         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
12418         when freed.
12419         * resolv/res_send.c: Add copyright text.
12420         (__libc_res_nsend): Document that MAXPACKET is expected.
12421         (send_vc): Document. Remove buffer reuse.
12422         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
12423         size of the buffer. Add Dprint for truncated UDP buffer.
12425 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
12427         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
12428         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
12429         * INSTALL: Regenerate.
12431 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
12432             Jonathan Wakely  <jwakely@redhat.com>
12433             Carlos O'Donell  <carlos@redhat.com>
12435         [BZ 19439]
12436         * math/Makefile (tests): Add test-math-isinff.
12437         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
12438         * math/bits/mathcalls.h [__USE_MISC]: Use
12439         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
12440         functions not in C++11 and which don't conflict e.g. isinff,
12441         isinfl etc.
12442         * math/test-math-isinff.cc: New file.
12444 2016-02-12  Florian Weimer  <fweimer@redhat.com>
12446         * misc/bug18240.c (do_test): Set RLIMIT_AS.
12448 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12450         [BZ #19529]
12451         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
12453 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12455         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
12457 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
12459         [BZ #19550]
12460         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
12461         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
12462         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
12463         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
12464         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
12465         New syscall entry.
12466         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
12467         New syscall entry.
12468         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
12469         syscall entry.
12471 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
12473         [BZ #18240]
12474         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
12475         unsigned int wraparound.
12477 2016-01-27  Florian Weimer  <fweimer@redhat.com>
12479         [BZ #18240]
12480         * misc/bug18240.c: New test.
12481         * misc/Makefile (tests): Add it.
12483 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
12484             Joseph Myers  <joseph@codesourcery.com>
12486         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
12487         load in branch delay slot when less than a word of input left.
12489 2016-01-27  Andreas Schwab  <schwab@suse.de>
12491         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
12492         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
12493         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
12494         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
12496 2016-01-26  David S. Miller  <davem@davemloft.net>
12498         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
12500 2016-01-25  David S. Miller  <davem@davemloft.net>
12502         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
12503         __sqrtl_finite.
12504         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
12505         instead using versioned_symbol.
12506         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
12507         of entries.
12509         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
12510         __sqrtl_finite to GLIBC_2.23
12512 2016-01-25  Ricchard Henderson  <rth@redhat.com>
12514         * sysdeps/alpha/fpu/libm-test-ulps: Update.
12516 2016-01-25  Andreas Schwab  <schwab@suse.de>
12518         [BZ #17514]
12519         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
12520         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
12521         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
12522         * nptl/tst-mutex-errorcheck.c: New file.
12524 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12526         [BZ #18560]
12527         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
12528         (IPCOP_semop): Likewise.
12529         (IPCOP_semget): Likewise.
12530         (IPCOP_semctl): Likewise.
12531         (IPCOP_msgsnd): Likewise.
12532         (IPCOP_msgrcv): Likewise.
12533         (IPCOP_msgget): Likewise.
12534         (IPCOP_msgctl): Likewise.
12535         (IPCOP_shmat): Likewise.
12536         (IPCOP_shmdt): Likewise.
12537         (IPCOP_shmget): Likewise.
12538         (IPCOP_shmctl): Likewise.
12540 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
12542         * string/tst-endian.c: Include <libc-internal.h>.
12543         (do_test): Ignore tautological-compare warnings around
12544         "htobeXX (beXXtoh (i)) != i" and
12545         "htoleXX (leXXtoh (i)) != i" if-statements.
12547 2016-01-24  David S. Miller  <davem@davemloft.net>
12549         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
12550         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
12551         alias.
12552         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
12553         __sqrtl_finite.
12555         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12557 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
12559         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
12560         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
12561         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
12563 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12565         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
12566         (thread_func): Use new function to simplify barrier check.
12567         (do_test): Use new function to simplify checking barrier exit
12568         code, and actually join the child thread.
12570 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12572         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
12573         semicolon.
12574         (__libc_tend): Likewise.
12575         (__libc_tabort): Likewise.
12577 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
12579         * sysdeps/nios2/libm-test-ulps: Update.
12580         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
12581         (__gtsf2): Likewise.
12582         (__unorddf2): Likewise.
12583         (__unordsf2): Likewise.
12584         (__ledf2): Likewise.
12586 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
12588         * nis/nis_table.c (__follow_path): Disable diagnostic for
12589         uninitialized variable that is a false positive for gcc 4.7.
12590         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
12592 2016-01-20  Roland McGrath  <roland@hack.frob.com>
12594         * sysdeps/nacl/lowlevellock-futex.h
12595         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
12596         Always evaluate PRIVATE argument.
12598 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
12600         [BZ #19490]
12601         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
12602         (pthread_cond_broadcast): Use ENTRY/END
12603         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
12604         (pthread_cond_signal): Likewise.
12605         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
12606         Likewise.
12607         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
12608         Likewise.
12609         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
12610         Likewise.
12612 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
12614         * sysdeps/ieee754/dbl-64/s_finite.c
12615         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
12616         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
12617         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
12618         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
12619         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
12621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
12622         (__gtsf2): Add as optional for libc.so.
12623         (__unordsf2): Likewise.
12624         (__signbit): Remove for libc.so.
12625         (__signbitl): Likewise.
12627 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
12629         * iconvdata/bug-iconv11.c (test_ibm93x):
12630         Use %zu printf format specifier for size_t argument.
12632 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
12634         * math/gen-libm-test.pl (parse_ulps): Do not reduce
12635         already-recorded ulps.
12636         * sysdeps/arm/libm-test-ulps: Regenerated.
12637         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12638         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12639         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
12641 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
12642             Paul Pluzhnikov  <ppluzhnikov@google.com>
12644         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
12645         assembler not supporting AVX-512.
12647 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
12649         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12651 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
12653         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
12654         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12656         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12658         * sysdeps/arm/libm-test-ulps: Regenerated.
12660 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
12662         [BZ #19451]
12663         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
12665 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
12667         [BZ #19486]
12668         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
12669         * sysdeps/generic/fix-fp-int-convert-overflow.h
12670         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
12671         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
12672         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
12673         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
12674         Likewise.
12675         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
12676         Avoid conversions to long int where inexact exceptions
12677         could be raised.
12678         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
12679         Likewise.
12680         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
12681         Avoid conversions to long long int where inexact exceptions
12682         could be raised.
12683         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
12684         Likewise.
12686 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
12688         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
12689         * configure: Regenerated.
12691 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
12693         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
12695 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
12697         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
12698         outside of comment.
12700 2016-01-15  Torvald Riegel  <triegel@redhat.com>
12702         * nptl/tst-barrier1.c: Add description on first line.
12703         * nptl/tst-barrier2.c: Likewise.
12704         * nptl/tst-barrier3.c: Likewise.
12705         * nptl/tst-barrier4.c: Likewise.
12706         * nptl/tst-barrier5.c: Likewise.
12708 2016-01-15  Torvald Riegel  <triegel@redhat.com>
12710         [BZ #18868]
12711         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
12713 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
12715         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
12716         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
12717         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
12718         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
12719         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
12720         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
12721         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12722         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12723         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12724         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12725         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12727 2016-01-15  Torvald Riegel  <triegel@redhat.com>
12729         [BZ #13065]
12730         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
12731         new implementation.
12732         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
12733         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
12734         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
12735         (BARRIER_IN_THRESHOLD): New macro.
12736         * nptl/pthread_barrierattr_setpshared.c
12737         (pthread_barrierattr_setpshared): Clean up.
12738         * nptl/tst-barrier4.c: Correct comment.
12739         * nptl/tst-barrier5.c: New file.
12740         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
12741         (gen-as-const-headers): Remove lowlevelbarrier.sym.
12742         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
12743         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
12744         * nptl/lowlevelbarrier.sym: Remove.
12745         * nptl/DESIGN-barrier.txt: Remove.
12746         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
12747         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
12748         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
12749         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
12750         error.
12751         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
12752         implementation.
12754 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12756         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
12757         (do_child): Mask SIGRTMIN while thr is running.
12759 2016-01-15  Martin Sebor  <msebor@redhat.com>
12761         [BZ #19432]
12762         * iconvdata/Makefile: Add bug-iconv11.
12763         * iconvdata/bug-iconv11.c: New test.
12764         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
12765         * iconvdata/ibm933.c: Same.
12766         * iconvdata/ibm935.c: Same.
12767         * iconvdata/ibm937.c: Same.
12768         * iconvdata/ibm939.c: Same.
12770 2016-01-15  Martin Sebor  <msebor@redhat.com>
12772         [BZ #19443]
12773         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
12774         [DEBUG] (_ufc_set_bits): Declare used.
12775         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
12776         [DEBUG] (print_all): Declare used.
12777         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
12778         operands of the ternary ?: expression to target type.
12779         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
12780         calling the undeclared abort.
12781         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
12783 2016-01-15  Martin Sebor  <msebor@redhat.com>
12785         [BZ #18755]
12786         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
12787         warnings.
12788         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
12789         (__gai_create_helper_thread): Same.
12790         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
12791         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
12792         to suppress -Wmaybe-uninitialized warnings.
12794 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
12796         [BZ #19465]
12797         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
12798         inside if.
12799         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12800         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12801         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12803 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
12805         [BZ #19466]
12806         * time/tst-mktime2.c (time_t_max): Removed.
12807         (time_t_min): Likewise.
12808         (TYPE_SIGNED): New.
12809         (TYPE_MINIMUM): Likewise.
12810         (TYPE_MAXIMUM): Likewise.
12811         (TIME_T_MIN): Likewise.
12812         (TIME_T_MAX): Likewise.
12813         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
12814         and TIME_T_MIN.
12815         (do_test): Likewise.
12817 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
12819         [BZ #19467]
12820         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
12821         index_Fast_Unaligned_Load flag for Excavator family CPUs.
12823 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
12825         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
12827 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
12829         * benchtests/Makefile (PYTHON): Define.
12830         (bench-func): Use $(PYTHON) to run python scripts.
12831         ($(objpfx)bench-%.c): Likewise.
12833 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
12835         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
12836         leading slash when `file_name' is "/".
12838 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
12840         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
12841         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
12842         Likewise.
12843         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
12844         Likewise.
12845         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
12846         Likewise.
12847         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
12848         enum constant and macro.
12849         (PTRACE_SETSIGMASK): Likewise.
12850         (PTRACE_SECCOMP_GET_FILTER): Likewise.
12851         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
12852         (PTRACE_GETSIGMASK): Likewise.
12853         (PTRACE_SETSIGMASK): Likewise.
12854         (PTRACE_SECCOMP_GET_FILTER): Likewise.
12855         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
12856         Likewise.
12857         (PTRACE_SETSIGMASK): Likewise.
12858         (PTRACE_SECCOMP_GET_FILTER): Likewise.
12859         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
12860         (PTRACE_GETSIGMASK): Likewise.
12861         (PTRACE_SETSIGMASK): Likewise.
12862         (PTRACE_SECCOMP_GET_FILTER): Likewise.
12863         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
12864         Likewise.
12865         (PTRACE_SETSIGMASK): Likewise.
12866         (PTRACE_SECCOMP_GET_FILTER): Likewise.
12867         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
12868         Likewise.
12869         (PTRACE_SETSIGMASK): Likewise.
12870         (PTRACE_SECCOMP_GET_FILTER): Likewise.
12871         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
12872         Likewise.
12873         (PTRACE_SETSIGMASK): Likewise.
12874         (PTRACE_SECCOMP_GET_FILTER): Likewise.
12876 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
12877             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12879         [BZ #19439]
12880         * math/bits/mathcalls.h
12881         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
12882         prototype.
12883         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
12885 2016-01-11  Andreas Schwab  <schwab@suse.de>
12887         [BZ #19253]
12888         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
12889         cache when TZDEFRULES was used.
12890         * time/tst-tzname.c: New file.
12891         * time/Makefile (test): Add tst-tzname.
12892         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
12893         * timezone/Makefile (test-zones): Add $(posixrules-file).
12894         ($(testdata)/$(posixrules-file)): New rule.
12896 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
12898         Fix doc quoting problems with Texinfo 5
12899         Without this change, in the info file output, Texinfo 5 quotes code
12900         in text with undirected single quotes 'like this' and generates
12901         code examples that with many PDF readers cannot be cut out of PDFs
12902         and pasted into code.
12903         * manual/libc.texinfo: Configure the libc manual like the GNU
12904         Emacs manual, by using @documentencoding and setting
12905         txicodequoteundirected and txicodequotebacktick.  This way,
12906         Texinfo 5 quotes code in text with directed single quotes ‘like
12907         this’ and produces examples that can be cut out of PDFs.  This
12908         change causes Texinfo 5 to generate info files that contain UTF-8
12909         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
12910         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
12912 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12914         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
12915         __libc_tabort, __libc_tend): New wrappers that enforce compiler
12916         barriers to their respective compiler built-ins.
12917         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
12918         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
12919         * sysdeps/powerpc/sysdep.h: Likewise.
12920         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
12921         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
12922         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
12924 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
12926         * scripts/config.guess: Revert previous shebang change.
12927         * scripts/config.sub: Likewise.
12928         * scripts/mkinstalldirs: Likewise.
12930 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12932         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
12933         PPC_FEATURE2_HAS_IEEE128.
12934         * sysdeps/powerpc/dl-procinfo.c:
12935         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
12937 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
12939         [BZ #19415]
12940         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
12941         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
12942         (_dl_lookup_address): Rewrite using function resolver trampoline.
12943         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
12944         two bits in address.
12946 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
12948         * longlong.h: Change !__SHMEDIA__ to
12949         (!defined (__SHMEDIA__) || !__SHMEDIA__).
12950         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
12952 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
12953             Joseph Myers  <joseph@codesourcery.com>
12954             Mark Shinwell  <shinwell@codesourcery.com>
12955             Andrew Stubbs  <ams@codesourcery.com>
12956             Rich Felker <dalias@libc.org>
12958         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
12960 2016-01-07  Richard Henderson  <rth@redhat.com>
12962         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
12964 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
12966         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
12967         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
12968         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12969         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
12970         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
12972 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
12973             Joseph Myers  <joseph@codesourcery.com>
12975         * timezone/private.h: Update from tzcode 2015g.
12976         * timezone/tzfile.h: Likewise.
12977         * timezone/tzselect.ksh: Likewise.
12978         * timezone/zdump.c: Likewise.
12979         * timezone/zic.c: Likewise.
12980         * timezone/ialloc.c: Remove file.
12981         * timezone/scheck.c: Likewise.
12982         * timezone/Makefile (extra-objs): Remove variable.
12983         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
12984         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
12985         -Wno-maybe-uninitialized.
12986         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
12987         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
12988         (CFLAGS-ialloc.c): Remove variable.
12989         (CFLAGS-scheck.c): Likewise.
12990         * timezone/README: Update list of files from tzcode.
12992 2016-01-07  Khem Raj  <raj.khem@gmail.com>
12994         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
12995         instead of __fxprintf when _LIBC is undefined.
12997 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
12999         * catgets/test-gencat.sh: Remove space after shebang.
13000         * conform/GlibcConform.pm: Likewise.
13001         * conform/check-header-lists.sh: Likewise.
13002         * conform/conformtest.pl: Likewise.
13003         * conform/linknamespace.pl: Likewise.
13004         * conform/list-header-symbols.pl: Likewise.
13005         * debug/catchsegv.sh: Likewise.
13006         * elf/genrtldtbl.awk: Likewise.
13007         * elf/tst-pathopt.sh: Likewise.
13008         * elf/tst-rtld-load-self.sh: Likewise.
13009         * grp/tst_fgetgrent.sh: Likewise.
13010         * iconvdata/gen-8bit-gap-1.sh: Likewise.
13011         * iconvdata/gen-8bit-gap.sh: Likewise.
13012         * iconvdata/gen-8bit.sh: Likewise.
13013         * iconvdata/run-iconv-test.sh: Likewise.
13014         * intl/tst-gettext.sh: Likewise.
13015         * intl/tst-gettext2.sh: Likewise.
13016         * intl/tst-gettext4.sh: Likewise.
13017         * intl/tst-gettext6.sh: Likewise.
13018         * intl/tst-translit.sh: Likewise.
13019         * io/ftwtest-sh: Likewise.
13020         * libio/test-freopen.sh: Likewise.
13021         * locale/gen-translit.pl: Likewise.
13022         * malloc/tst-mtrace.sh: Likewise.
13023         * manual/check-safety.sh: Likewise.
13024         * manual/libc-texinfo.sh: Likewise.
13025         * manual/tsort.awk: Likewise.
13026         * manual/xtract-typefun.awk: Likewise.
13027         * nptl/tst-cancel-wrappers.sh: Likewise.
13028         * nptl/tst-tls6.sh: Likewise.
13029         * posix/globtest.sh: Likewise.
13030         * posix/tst-getconf.sh: Likewise.
13031         * posix/wordexp-tst.sh: Likewise.
13032         * scripts/check-c++-types.sh: Likewise.
13033         * scripts/check-local-headers.sh: Likewise.
13034         * scripts/config.guess: Likewise.
13035         * scripts/config.sub: Likewise.
13036         * scripts/cpp: Likewise.
13037         * scripts/cross-test-ssh.sh: Likewise.
13038         * scripts/documented.sh: Likewise.
13039         * scripts/evaluate-test.sh: Likewise.
13040         * scripts/gen-libc-abis: Likewise.
13041         * scripts/gen-sorted.awk: Likewise.
13042         * scripts/list-fixed-bugs.py: Likewise.
13043         * scripts/merge-test-results.sh: Likewise.
13044         * scripts/mkinstalldirs: Likewise.
13045         * scripts/rellns-sh: Likewise.
13046         * scripts/test-installation.pl: Likewise.
13047         * scripts/update-copyrights: Likewise.
13048         * stdio-common/tst-printf.sh: Likewise.
13049         * stdio-common/tst-unbputc.sh: Likewise.
13050         * stdlib/tst-fmtmsg.sh: Likewise.
13051         * stdlib/tst-setcontext3.sh: Likewise.
13052         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
13053         * sysdeps/unix/make-syscalls.sh: Likewise.
13055 2016-01-06  John David Anglin  <dave.anglin@bell.net>
13057         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
13058         asm stw with atomic_exchange_rel.  Add explanatory comment.
13059         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
13060         Likewise.
13062 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
13064         [BZ #19122]
13065         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
13066         * sysdeps/generic/dl-unistd.h: New file.
13067         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
13069 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
13071          [BZ #19122]
13072          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
13073          * sysdeps/generic/dl-mman.h: New file.
13074          * sysdeps/mach/hurd/dl-mman.h: Likewise.
13076 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
13078         * manual/texinfo.tex: Update to version 2016-01-04.21 with
13079         trailing whitespace removed.
13080         * scripts/config.guess: Update to version 2016-01-01.
13081         * scripts/config.sub: Update to version 2016-01-01.
13082         * scripts/move-if-change: Update from gnulib.
13084 2016-01-04  Anton Blanchard  <anton@samba.org>
13086         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
13087         for array indices.
13088         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
13090 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
13092         * NEWS: Update copyright dates.
13093         * catgets/gencat.c (print_version): Likewise.
13094         * csu/version.c (banner): Likewise.
13095         * debug/catchsegv.sh: Likewise.
13096         * debug/pcprofiledump.c (print_version): Likewise.
13097         * debug/xtrace.sh (do_version): Likewise.
13098         * elf/ldconfig.c (print_version): Likewise.
13099         * elf/ldd.bash.in: Likewise.
13100         * elf/pldd.c (print_version): Likewise.
13101         * elf/sotruss.sh: Likewise.
13102         * elf/sprof.c (print_version): Likewise.
13103         * iconv/iconv_prog.c (print_version): Likewise.
13104         * iconv/iconvconfig.c (print_version): Likewise.
13105         * locale/programs/locale.c (print_version): Likewise.
13106         * locale/programs/localedef.c (print_version): Likewise.
13107         * login/programs/pt_chown.c (print_version): Likewise.
13108         * malloc/memusage.sh (do_version): Likewise.
13109         * malloc/memusagestat.c (print_version): Likewise.
13110         * malloc/mtrace.pl: Likewise.
13111         * manual/libc.texinfo: Likewise.
13112         * nptl/version.c (banner): Likewise.
13113         * nscd/nscd.c (print_version): Likewise.
13114         * nss/getent.c (print_version): Likewise.
13115         * nss/makedb.c (print_version): Likewise.
13116         * posix/getconf.c (main): Likewise.
13117         * scripts/test-installation.pl: Likewise.
13118         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
13120         * All files with FSF copyright notices: Update copyright dates
13121         using scripts/update-copyrights.
13122         * intl/plural.c: Regenerated.
13123         * locale/programs/charmap-kw.h: Likewise.
13124         * locale/programs/locfile-kw.h: Likewise.
13126 2016-01-02  Helge Deller  <deller@gmx.de>
13128         [BZ #19285]
13129         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
13130         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
13131         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
13132         (MADV_xxK_PAGES): Remove.
13134 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
13136         [BZ #15421]
13137         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
13138         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
13139         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
13140         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
13142 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
13144         [BZ #19408]
13145         * sysdeps/unix/sysv/linux/personality.c: New file.
13146         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
13147         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
13148         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
13149         (sysdep_routines): Add personality.
13150         (tests): Add tst-personality.
13151         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
13152         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
13153         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
13154         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
13155         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
13156         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
13157         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
13158         Likewise.
13159         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
13160         Likewise.
13161         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
13162         Likewise.
13163         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
13164         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
13165         Likewise.
13167 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
13169         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
13170         (PATH_ARM_SYSTYPE): Remove.
13171         (PATH_CPUINFO): Likewise.
13172         (IO_BASE_FOOTBRIDGE): Likewise.
13173         (IO_SHIFT_FOOTBRIDGE): Likewise.
13174         (struct platform): Likewise.
13175         (init_iosys): Remove compatibility code for 2.4 kernels.
13176         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
13178 2015-12-29  Florian Weimer  <fweimer@redhat.com>
13180         * malloc/tst-malloc-thread-fail.c: New file.
13181         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
13182         (tst-malloc-thread-fail): Link against libpthread.
13184 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
13186         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
13187         (get_parser): New function.
13188         (main): New function.
13190 2015-12-29  Rob Wu  <rob@robwu.nl>
13192         [BZ #19369]
13193         * resolv/res_init.c (__res_vinit): Reset defdname before use.
13195 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
13197         [BZ #19270]
13198         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
13200 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
13202         [BZ #15421]
13203         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
13205 2015-12-23  Torvald Riegel  <triegel@redhat.com>
13207         [BZ #13690]
13208         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
13209         after releasing it.
13210         (__lll_robust_unlock): Likewise.
13211         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
13212         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
13213         (lll_robust_unlock): Likewise.
13214         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
13215         Prevent warnings in callers.
13217 2015-12-23  Florian Weimer  <fweimer@redhat.com>
13219         * malloc/arena.c (list_lock): Update comment.
13221 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13223         * sysdeps/powerpc/hwcapinfo.c: Export symbol
13224         __parse_hwcap_and_convert_at_platform to libc.a.
13226 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13228         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
13229         platform and feature support for POWER9.
13230         * sysdeps/powerpc/dl-procinfo.h: Likewise.
13231         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
13232         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
13233         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
13234         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
13235         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
13236         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
13237         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
13239 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13241         Harmonize generic stdio-lock support with nptl
13243         This fixes build when _IO_funlockfile is a macro, fixes build where
13244         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
13245         stack unwind.
13247         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
13248         _IO_release_lock ): Use cleanup attribute on new
13249         _IO_acquire_lock_file variable instead of assuming that
13250         _IO_release_lock will be called.
13251         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
13252         _IO_acquire_lock_needs_exceptions_enabled.
13253         (_IO_acquire_lock_clear_flags2): New macro.
13255 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13257         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
13259 2015-12-21  Florian Weimer  <fweimer@redhat.com>
13261         [BZ #19182]
13262         * malloc/arena.c (list_lock): Document lock ordering requirements.
13263         (free_list_lock): New lock.
13264         (ptmalloc_lock_all): Comment on free_list_lock.
13265         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
13266         (detach_arena): Update comment.  free_list_lock is now needed.
13267         (_int_new_arena): Use free_list_lock around detach_arena call.
13268         Acquire arena lock after list_lock.  Add comment, including FIXME
13269         about incorrect synchronization.
13270         (get_free_list): Switch to free_list_lock.
13271         (reused_arena): Acquire free_list_lock around detach_arena call
13272         and attached threads counter update.  Add two FIXMEs about
13273         incorrect synchronization.
13274         (arena_thread_freeres): Switch to free_list_lock.
13275         * malloc/malloc.c (struct malloc_state): Update comments to
13276         mention free_list_lock.
13278 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
13280         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
13281         Remove functions.
13282         (sloww, sloww1): Accept argument to offset quadrant.
13283         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
13284         quadrant.
13285         (__sin, __cos): Consolidate common code into new functions.
13286         (reduce_sincos_1, do_sincos_1): New functions.
13287         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
13289         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
13290         code to new functions.
13291         (reduce_sincos_2, do_sincos_2): New functions.
13292         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
13294         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
13295         common code for sincos.
13296         (__cos) [!IN_SINCOS]: Likewise.
13297         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
13298         New function.
13299         (__sincos): Use it.
13301 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
13303         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
13304         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
13305         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
13307 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
13309         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
13310         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
13311         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
13312         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
13313         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13314         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
13315         index_Prefer_No_VZEROUPPER): New feature.
13316         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
13317         Prefer_No_VZEROUPPER for Knights Landing.
13319 015-12-18  Torvald Riegel  <triegel@redhat.com>
13321         * math/atest-exp2.c (mp_exp_m1): Remove.
13323 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13325         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
13326         syscalls.
13327         (__SYSCALL0): New macro.
13328         (__SYSCALL1): Likewise.
13329         (__SYSCALL2): Likewise.
13330         (__SYSCALL3): Likewise.
13331         (__SYSCALL4): Likewise.
13332         (__SYSCALL5): Likewise.
13333         (__SYSCALL6): Likewise.
13334         (__SYSCALL_CONCAT_X): Likewise.
13335         (__SYSCALL_CONCAT): Likewise.
13336         (__SYSCALL_DIST): Likewise.
13337         (__SYSCALL_CALL): Likewise.
13339 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
13341         [BZ #19363]
13342         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
13344 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13346         [BZ #19375]
13347         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
13348         negative subnormals.
13350 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
13352         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
13353         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
13354         (INTERNAL_SYSCALL_NCS): Use it.
13355         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
13357 2015-12-16  Florian Weimer  <fweimer@redhat.com>
13359         [BZ #19243]
13360         * malloc/arena.c (get_free_list): Remove assert and adjust
13361         reference count handling.  Add comment about reused_arena
13362         interaction.
13363         (reused_arena): Add comments abount get_free_list interaction.
13364         * malloc/tst-malloc-thread-exit.c: New file.
13365         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
13366         (tst-malloc-thread-exit): Link against libpthread.
13368 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
13370         [BZ #19367]
13371         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
13372         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
13373         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
13374         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
13375         (index_Prefer_MAP_32BIT_EXEC): Likewise.
13377 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
13379         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
13380         Silvermont optimizations for Knights Landing.
13382 2015-12-15  Andreas Schwab  <schwab@suse.de>
13384         [BZ #17197]
13385         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
13386         immediately after emitting SI.
13387         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
13388         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
13389         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
13390         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
13391         * iconvdata/bug-iconv10.c: New file.
13392         * iconvdata/Makefile (tests): Add bug-iconv10.
13393         ($(objpfx)bug-iconv10.out): New rule.
13395 2015-12-15  Florian Weimer  <fweimer@redhat.com>
13397         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
13398         aliasing violation.
13400 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
13402         [BZ #18472]
13403         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
13404         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
13405         conditionals for them.
13406         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
13407         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
13408         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
13409         sys/kdaemon.h.
13410         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
13411         compat-only syscall, obsoleted in glibc 2.23.
13412         (create_module): Likewise.
13413         (get_kernel_syms): Likewise.
13414         (query_module): Likewise.
13415         (uselib): Likewise.
13416         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
13418 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
13420         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
13421         <linux/version.h>.
13422         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
13423         conditional code.
13424         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
13425         and ioshift_name initialization.
13427 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
13429         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
13430         Fix indentation.
13432 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
13434         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
13436 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
13438         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
13440 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
13441             Jakub Wilk  <jwilk@debian.org>
13443         [BZ #19347]
13444         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
13445         to change the group of the device to the tty group.
13447 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
13449         Split large string section; add truncation advice
13450         * manual/examples/strncat.c: Remove.
13451         This example was misleading, as the code would have undefined
13452         behavior if "hello" was longer than SIZE.  Anyway, the manual
13453         shouldn't encourage strncpy+strncat for this sort of thing.
13454         * manual/string.texi (Copying Strings and Arrays): Split into
13455         three sections Copying Strings and Arrays, Concatenating Strings,
13456         and Truncating Strings, as this section was way too long.  All
13457         cross-referenced changed.  Add advice about string-truncation
13458         functions.  Remove misleading strncat example.
13460 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
13462         * manual/nss.texi (NSS Modules Interface): Document
13463         NSS_STATUS_NOTFOUND and SUCCESS.
13465 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
13467         [BZ 18568]
13468         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
13469         201505L, for Unicode 8.
13471 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
13473         * locale/C-translit.h: Regenerate.
13475 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
13477         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
13478         and U+0153.
13480 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
13482         [BZ #19351]
13483         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
13484         expanding log(1+z), compare z rather than its square with epsilon
13485         to determine when to avoid evaluating the expansion.
13487         [BZ #19350]
13488         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
13489         Increase overflow threshold.
13491         [BZ #19349]
13492         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
13493         when small.
13495         * sysdeps/unix/sysv/linux/i386/kernel-features.h
13496         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
13497         New macro.
13498         [__LINUX_KERNEL_VERSION >= 0x040300]
13499         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
13500         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
13501         Likewise.
13502         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
13503         Likewise.
13504         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
13505         Likewise.
13506         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
13507         Likewise.
13508         [__LINUX_KERNEL_VERSION >= 0x040300]
13509         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
13510         [__LINUX_KERNEL_VERSION >= 0x040300]
13511         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
13512         [__LINUX_KERNEL_VERSION >= 0x040300]
13513         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
13514         [__LINUX_KERNEL_VERSION >= 0x040300]
13515         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
13516         [__LINUX_KERNEL_VERSION >= 0x040300]
13517         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
13518         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
13519         Likewise.
13520         [__LINUX_KERNEL_VERSION >= 0x040300]
13521         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
13522         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13523         Likewise.
13524         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
13525         Likewise.
13526         [__LINUX_KERNEL_VERSION >= 0x040300]
13527         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
13528         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13529         Likewise.
13530         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
13531         Likewise.
13532         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13533         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
13534         Likewise.
13535         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
13536         Likewise.
13537         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
13538         Likewise.
13539         [__LINUX_KERNEL_VERSION >= 0x040300]
13540         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
13541         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
13542         Likewise.
13543         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
13544         Likewise.
13545         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
13546         Likewise.
13547         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
13548         Likewise.
13549         [__LINUX_KERNEL_VERSION >= 0x040300]
13550         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
13551         [__LINUX_KERNEL_VERSION >= 0x040300]
13552         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
13553         [__LINUX_KERNEL_VERSION >= 0x040300]
13554         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
13555         [__LINUX_KERNEL_VERSION >= 0x040300]
13556         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
13557         [__LINUX_KERNEL_VERSION >= 0x040300]
13558         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
13559         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
13560         Likewise.
13561         [__LINUX_KERNEL_VERSION >= 0x040300]
13562         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
13563         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13564         Likewise.
13565         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
13566         Likewise.
13567         [__LINUX_KERNEL_VERSION >= 0x040300]
13568         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
13569         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13570         Likewise.
13571         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
13572         Likewise.
13573         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13574         (__ASSUME_SOCKET_SYSCALL): Likewise.
13575         (__ASSUME_BIND_SYSCALL): Likewise.
13576         (__ASSUME_CONNECT_SYSCALL): Likewise.
13577         (__ASSUME_LISTEN_SYSCALL): Likewise.
13578         (__ASSUME_ACCEPT_SYSCALL): Likewise.
13579         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
13580         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
13581         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
13582         (__ASSUME_SEND_SYSCALL): Likewise.
13583         (__ASSUME_SENDTO_SYSCALL): Likewise.
13584         (__ASSUME_RECV_SYSCALL): Likewise.
13585         (__ASSUME_RECVFROM_SYSCALL): Likewise.
13586         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
13587         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
13588         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
13589         (__ASSUME_SENDMSG_SYSCALL): Likewise.
13590         (__ASSUME_RECVMSG_SYSCALL): Likewise.
13591         * sysdeps/unix/sysv/linux/sh/kernel-features.h
13592         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
13593         Likewise.
13594         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
13595         Likewise.
13596         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
13597         Likewise.
13598         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
13599         Likewise.
13600         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
13601         Likewise.
13602         [__LINUX_KERNEL_VERSION >= 0x020625]
13603         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
13604         [__LINUX_KERNEL_VERSION >= 0x020625]
13605         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
13606         [__LINUX_KERNEL_VERSION >= 0x020625]
13607         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
13608         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
13609         Likewise.
13610         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
13611         Likewise.
13612         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
13613         Likewise.
13614         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
13615         Likewise.
13616         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
13617         Likewise.
13618         [__LINUX_KERNEL_VERSION >= 0x020625]
13619         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
13620         [__LINUX_KERNEL_VERSION >= 0x020625]
13621         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
13622         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
13623         Likewise.
13624         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
13625         Likewise.
13627 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
13629         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
13630         record the current if the current ABI and CPU support the FP64
13631         extension.
13632         (has-modd-spreg): Define to record the current if the current ABI and
13633         CPU support 32-bit floating point values in odd FPU registers.
13634         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
13635         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
13636         $(has-modd-spreg) equals yes.
13637         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
13638         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
13639         $(has-modd-spreg) equal yes.
13641 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
13643         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
13644         basename.
13646 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
13648         * benchtests/Makefile (bench-math): Move ffs and ffsll...
13649         (bench-string): ... here.
13650         (bench): Add bench-string.
13651         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
13652         to *-benchset to reflect what they are.
13653         (benchset): Adjust.
13655         * benchtests/sincos-inputs: Add inputs from sin-inputs and
13656         cos-inputs.
13658 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
13660         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
13661         __attribute__ ((__simd__)) for vector math function declarations.
13663 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
13665         Fix typo in strncat, wcsncat manual entries
13666         * manual/string.texi (Copying and Concatenation): Fix typos in
13667         sample implementations of strncat and wcsncat, by having them use
13668         the old value of the destination length, not the new one.
13670 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
13672         [BZ #16961]
13673         [BZ #16962]
13674         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
13675         string on the stack for strtod.
13676         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
13677         a string on the stack for strtof.
13678         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
13679         constructing a string on the stack for strtold.
13680         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
13681         __strtold_nan to GLIBC_PRIVATE.
13682         * math/test-nan-overflow.c: New file.
13683         * math/test-nan-payload.c: Likewise.
13684         * math/Makefile (tests): Add test-nan-overflow and
13685         test-nan-payload.
13687 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
13689         Consistency about byte vs character in string.texi
13690         * manual/string.texi (String and Array Utilities):
13691         Distinguish more carefully among bytes, multibyte characters,
13692         and wide characters.  Use "byte" when talking about C 'char',
13693         to distinguish it more clearly from multibyte characters.
13694         Say "wide character" or "multibyte character" instead of
13695         "character", when a wide or multibyte character is intended.
13696         Similarly for "multibyte string" versus "string".
13697         Define these terms more carefully.
13699 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
13701         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
13702         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
13703         Likewise.
13704         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
13705         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
13706         * sysdeps/sh/math_private.h: New file.
13707         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
13708         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
13709         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
13710         long double function name.
13711         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13712         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13713         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13714         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13715         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13716         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
13717         Remove __finitel, __isinfl, and __isnanl.
13718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
13719         Likewise.
13720         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13721         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13722         Remove __finitel.
13723         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13724         Likewise.
13725         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13727 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
13729         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
13730         installed libmvec_nonshared.a.
13732 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13734         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
13735         (sysdep_routines): Likewise.
13736         (sysdep-rtld-routines): Likewise.
13737         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
13738         [$(subdir) = nptl](tests-static): test-get_hwcap-static
13739         * sysdeps/powerpc/Versions: Added new
13740         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
13741         * sysdeps/powerpc/hwcapinfo.c: New file.
13742         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
13743         and parse hwcap, hwcap2 and platform number information.
13744         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
13745         to store HWCAP+HWCAP2 and platform number.
13746         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
13747         for HWCAP+HWCAP2 and platform number in the TCB.
13748         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
13749         the HWCAP, HWCAP2 and platform number in the TCB.
13750         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
13751         (TLS_INIT_TP): Included calls to add the hwcap and
13752         at_platform values in the TCB in TP initialization.
13753         (TLS_DEFINE_INIT_TP): Likewise.
13754         (THREAD_GET_HWCAP): New macro.
13755         (THREAD_SET_HWCAP): Likewise.
13756         (THREAD_GET_AT_PLATFORM): Likewise.
13757         (THREAD_SET_AT_PLATFORM): Likewise.
13758         * sysdeps/powerpc/powerpc32/dl-machine.h:
13759         (dl_platform_init): New function that calls
13760         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
13761         powerpc32.
13762         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
13763         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
13764         this functionality, static linking case.
13765         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
13766         linking case.
13767         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
13768         __parse_hwcap_and_convert_at_platform for the static linking case.
13769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
13770         Included the new __parse_hwcap_and_convert_at_platform symbol in the
13771         ABI list for GLIBC 2.23.
13772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
13773         Likewise.
13774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
13775         Likewise.
13777 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
13779         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
13780         * configure: Regenerate.
13781         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
13782         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
13784 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
13786         * iconvdata/ibm930.c: Add comment explaining encoding uses.
13787         * iconvdata/ibm933.c: Likewise.
13788         * iconvdata/ibm935.c: Likewise.
13789         * iconvdata/ibm937.c: Likewise.
13790         * iconvdata/ibm939.c: Likewise.
13792 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13794         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
13795         pthread_join.
13796         * nptl/tst-cancel21.c (tf): Likewise.
13798 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
13800         [BZ #19313]
13801         * bits/typesizes.h (__CPU_MASK_TYPE): New.
13802         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
13803         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
13804         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
13805         Likewise.
13806         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
13807         Likewise.
13808         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
13809         Likewise.
13810         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
13811         Likewise.
13812         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
13813         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
13814         unsigned long int with __CPU_MASK_TYPE.
13816 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13818         * sysdeps/aarch64/libm-test-ulps: Regenerated.
13820 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
13822         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
13823         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
13824         t512.x.
13825         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
13827 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
13829         [BZ #19214]
13830         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
13831         argument to return extended model.  Update family and model
13832         with extended family and model when family == 0x0f.
13833         (init_cpu_features): Updated.
13835 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13837         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
13838         signed off_t, so 32bit bigger than 2GiB values are fine actually.
13840         * sysdeps/mach/hurd/mmap64.c: New file.
13842 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
13844         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
13845         rights for its main user thread in NEWTASK.
13847 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
13849         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
13850         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
13852 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
13854         [BZ #14259]
13855         * Makeconfig: Rename localedir to complocaledir.
13856         Rename inst_localedir to inst_complocaledir.
13857         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
13858         * config.make.in: Use complocaledir and libc_cv_complocaledir.
13859         * configure.ac: Use libc_cv_complocaledir.
13860         * configure: Regenerate.
13861         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
13862         -DCOMPLOCALEDIR.
13863         * locale/findlocale.c: Use COMPLOCALEDIR.
13864         * locale/loadarchive.c: Likewise.
13865         * locale/programs/locale.c: Likewise.
13866         * locale/programs/localedef.c: Likewise.
13867         * locale/programs/locarchive.c: Likewise.
13868         * localedata/Makefile: Use inst_complocaledir.
13869         * sysdeps/gnu/configure: Regenerate.
13870         * sysdeps/hppa/configure: Regenerate.
13871         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
13872         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
13873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
13874         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
13875         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
13876         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
13877         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
13879 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
13881         [BZ #19058]
13882         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
13883         AS_NEEDED.
13884         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
13885         workaround.
13886         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
13887         libmvec-static-only-routines): Added new file.
13888         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
13890 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13892         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
13893         of interrupted RPC instead of restoring it.
13895         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
13896         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
13897         libc_hidden_def.
13898         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
13899         into initialized data instead of common. Define rtld_hidden_data_def.
13900         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
13901         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
13902         libc_hidden_def.
13903         (if_freenameindex): Add libc_hidden_weak.
13904         (if_nameindex): Add libc_hidden_weak.
13905         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
13906         __open64.
13907         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
13908         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
13909         * sysdeps/mach/nanosleep.c: Include <time.h>
13910         (__nanosleep): Rename to __libc_nanosleep.
13911         (__nanosleep): Add weak_alias.
13912         (nanosleep): Update alias.
13914 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
13916         * stdlib/strtod_nan.c: New file.
13917         * stdlib/strtod_nan_double.h: Likewise.
13918         * stdlib/strtod_nan_float.h: Likewise.
13919         * stdlib/strtod_nan_main.c: Likewise.
13920         * stdlib/strtod_nan_narrow.h: Likewise.
13921         * stdlib/strtod_nan_wide.h: Likewise.
13922         * stdlib/strtof_nan.c: Likewise.
13923         * stdlib/strtold_nan.c: Likewise.
13924         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
13925         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
13926         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
13927         * wcsmbs/wcstod_nan.c: Likewise.
13928         * wcsmbs/wcstof_nan.c: Likewise.
13929         * wcsmbs/wcstold_nan.c: Likewise.
13930         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
13931         strtold_nan.
13932         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
13933         wcstof_nan.
13934         * include/stdlib.h (__strtof_nan): Declare and use
13935         libc_hidden_proto.
13936         (__strtod_nan): Likewise.
13937         (__strtold_nan): Likewise.
13938         (__wcstof_nan): Likewise.
13939         (__wcstod_nan): Likewise.
13940         (__wcstold_nan): Likewise.
13941         * include/wchar.h (____wcstoull_l_internal): Declare.
13942         * stdlib/strtod_l.c: Do not include <ieee754.h>.
13943         (____strtoull_l_internal): Remove declaration.
13944         (STRTOF_NAN): Define macro.
13945         (SET_MANTISSA): Remove macro.
13946         (STRTOULL): Likewise.
13947         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
13948         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
13949         (STRTOF_NAN): Define macro.
13950         (SET_MANTISSA): Remove macro.
13951         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
13952         (SET_MANTISSA): Remove macro.
13953         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
13954         macro.
13955         (SET_MANTISSA): Remove macro.
13956         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
13957         macro.
13958         (SET_MANTISSA): Remove macro.
13959         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
13960         (SET_MANTISSA): Remove macro.
13961         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
13962         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
13963         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
13965         [BZ #19266]
13966         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
13967         upper case and lower case letters inside NAN(), not using TOLOWER.
13968         * stdlib/tst-strtod-nan-locale-main.c: New file.
13969         * stdlib/tst-strtod-nan-locale.c: Likewise.
13970         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
13971         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
13972         Depend on $(gen-locales).
13973         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
13974         * wcsmbs/tst-wcstod-nan-locale.c: New file.
13975         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
13976         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
13977         Depend on $(gen-locales).
13978         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
13980 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
13982         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
13984         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
13985         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
13986         __finitel, __isinfl, and __isnanl.
13987         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
13988         Likewise.
13989         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13990         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
13991         __finitel.
13992         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13993         Likewise.
13994         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13996 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
13998         * malloc/memusage.c (me): Remove redundant getenv call.
14000 2015-10-24  Florian Weimer  <fweimer@redhat.com>
14002         [BZ #19143]
14003         [BZ #19164]
14004         * nptl/check-cpuset.h: Remove.
14005         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
14006         Remove CPU set size check.
14007         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
14008         Likewise.
14009         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
14010         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
14011         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
14012         (__pthread_setaffinity_new): Remove CPU set size check.
14013         * sysdeps/unix/sysv/linux/sched_setaffinity.c
14014         (__kernel_cpumask_size): Remove.
14015         (__sched_setaffinity_new): Remove CPU set size check.
14016         * manual/threads.texi (Default Thread Attributes): Remove stale
14017         reference to check_cpuset_attr, determine_cpumask_size in comment.
14018         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
14019         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
14020         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
14021         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
14022         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
14023         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
14024         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
14025         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
14026         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
14027         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
14028         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
14029         skeleton test file.
14030         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
14031         tst-affinity-pid.
14033 2015-11-24  Florian Weimer  <fweimer@redhat.com>
14035         * scripts/update-abilist.sh: New file.
14036         * Makefile (+subdir_targets): Add subdir_update-all-abi.
14037         * Makerules (update-all-abi-%, update-all-abi)
14038         (subdir_update-all-abi): New targets.
14039         * elf/Makefile (update-all-abi): New target.
14041 2015-11-24  Florian Weimer  <fweimer@redhat.com>
14043         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
14044         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
14045         (__libc_lock_define_initialized): Use it.
14046         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
14047         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
14048         * malloc/malloc.c (main_arena): Likewise.
14049         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
14050         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
14052 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
14054         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14055         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
14056         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
14057         (PTRACE_O_MASK): Update value.
14058         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
14059         New value in enum __ptrace_setoptions.
14060         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
14061         (PTRACE_O_MASK): Update value.
14062         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14063         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
14064         (PTRACE_O_MASK): Update value.
14065         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
14066         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
14067         (PTRACE_O_MASK): Update value.
14068         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
14069         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
14070         (PTRACE_O_MASK): Update value.
14071         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
14072         New value in enum __ptrace_setoptions.
14073         (PTRACE_O_MASK): Update value.
14074         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
14075         New value in enum __ptrace_setoptions.
14076         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
14077         (PTRACE_O_MASK): Update value.
14079         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
14080         New macro.
14081         (PACKET_AUXDATA): Likewise.
14082         (PACKET_ORIGDEV): Likewise.
14083         (PACKET_VERSION): Likewise.
14084         (PACKET_HDRLEN): Likewise.
14085         (PACKET_RESERVE): Likewise.
14086         (PACKET_TX_RING): Likewise.
14087         (PACKET_LOSS): Likewise.
14088         (PACKET_VNET_HDR): Likewise.
14089         (PACKET_TX_TIMESTAMP): Likewise.
14090         (PACKET_TIMESTAMP): Likewise.
14091         (PACKET_FANOUT): Likewise.
14092         (PACKET_TX_HAS_OFF): Likewise.
14093         (PACKET_QDISC_BYPASS): Likewise.
14094         (PACKET_ROLLOVER_STATS): Likewise.
14095         (PACKET_FANOUT_DATA): Likewise.
14096         (PACKET_MR_UNICAST): Likewise.
14098         [BZ #19242]
14099         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
14100         (TOUPPER): Likewise.
14101         * stdlib/tst-strtol-locale-main.c: New file.
14102         * stdlib/tst-strtol-locale.c: Likewise.
14103         * stdlib/Makefile (tests): Add tst-strtol-locale.
14104         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
14105         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
14106         Depend on $(gen-locales).
14107         * wcsmbs/tst-wcstol-locale.c: New file.
14108         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
14109         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
14110         tr_TR.ISO-8859-9.
14111         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
14112         Depend on $(gen-locales).
14114 2015-11-20  Roland McGrath  <roland@hack.frob.com>
14116         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
14117         __glibc_likely instead of __builtin_expect.  After falling back to
14118         dyncode_create in a non-ET_DYN case, use the allocate_code_data
14119         system interface to register the code pages as occupied.
14121 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
14123         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14124         [!ARM_MATH_PRIVATE_H].
14125         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
14126         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14127         [!HPPA_MATH_PRIVATE_H].
14128         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
14129         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
14130         to [!I386_MATH_PRIVATE_H].
14131         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
14132         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
14133         Change guard to [!M68K_MATH_PRIVATE_H].
14134         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
14135         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
14136         guard to [!MICROBLAZE_MATH_PRIVATE_H].
14137         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
14138         macro.
14139         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14140         [!MIPS_MATH_PRIVATE_H].
14141         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
14142         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14143         [!NIO2_MATH_PRIVATE_H].
14144         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
14145         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14146         [!TILE_MATH_PRIVATE_H].
14147         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
14149         [BZ #15421]
14150         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
14151         initialize with 0 and define as weak alias of __signgam.
14152         * include/math.h [!_ISOMAC] (__signgam): Declare.
14153         * math/Makefile (libm-calls): Add w_lgamma_compat.
14154         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
14155         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
14156         test-signgam-ullong-init.
14157         (tests-static): Add test-signgam-uchar-static,
14158         test-signgam-uchar-init-static, test-signgam-uint-static,
14159         test-signgam-uint-init-static, test-signgam-ullong-static and
14160         test-signgam-ullong-init-static.
14161         (CFLAGS-test-signgam-uchar.c): New variable.
14162         (CFLAGS-test-signgam-uchar-init.c): Likewise.
14163         (CFLAGS-test-signgam-uchar-static.c): Likewise.
14164         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
14165         (CFLAGS-test-signgam-uint.c): Likewise.
14166         (CFLAGS-test-signgam-uint-init.c): Likewise.
14167         (CFLAGS-test-signgam-uint-static.c): Likewise.
14168         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
14169         (CFLAGS-test-signgam-ullong.c): Likewise.
14170         (CFLAGS-test-signgam-ullong-init.c): Likewise.
14171         (CFLAGS-test-signgam-ullong-static.c): Likewise.
14172         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
14173         * math/Versions (libm): Add GLIBC_2.23.
14174         * math/lgamma-compat.h: New file.
14175         * math/test-signgam-main.c: Likewise.
14176         * math/test-signgam-uchar-init-static.c: Likewise.
14177         * math/test-signgam-uchar-init.c: Likewise.
14178         * math/test-signgam-uchar-static.c: Likewise.
14179         * math/test-signgam-uchar.c: Likewise.
14180         * math/test-signgam-uint-init-static.c: Likewise.
14181         * math/test-signgam-uint-init.c: Likewise.
14182         * math/test-signgam-uint-static.c: Likewise.
14183         * math/test-signgam-uint.c: Likewise.
14184         * math/test-signgam-ullong-init-static.c: Likewise.
14185         * math/test-signgam-ullong-init.c: Likewise.
14186         * math/test-signgam-ullong-static.c: Likewise.
14187         * math/test-signgam-ullong.c: Likewise.
14188         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
14189         wrapper of w_lgamma_main.c.
14190         * math/w_lgamma_compat.c: New file.
14191         * math/w_lgamma_compatf.c: Likewise.
14192         * math/w_lgamma_compatl.c: Likewise.
14193         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
14194         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
14195         defining compatibility symbols.
14196         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
14197         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
14198         wrapper of w_lgammaf_main.c.
14199         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
14200         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
14201         defining compatibility symbols.
14202         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
14203         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
14204         wrapper of w_lgammal_main.c.
14205         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
14206         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
14207         defining compatibility symbols.
14208         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
14209         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
14210         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
14211         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
14212         <lgamma-compat.h>.
14213         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
14214         (__ieee754_gamma): Define as alias.
14215         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
14216         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
14217         <lgamma-compat.h>.
14218         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
14219         (__ieee754_gammaf): Define as alias.
14220         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
14221         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
14222         <lgamma-compat.h>.
14223         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
14224         (__ieee754_gammal): Define as alias.
14225         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
14226         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
14227         <math/w_lgamma_compat.c>.
14228         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
14229         Define as alias of __lgamma_compat and use in defining lgammal.
14230         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
14231         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
14232         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
14233         (USE_AS_COMPAT): New macro.
14234         (LGAMMA_OLD_VER): Undefine and redefine.
14235         (lgammal): Do not define here.
14236         (gammal): Only define here if [GAMMA_ALIAS].
14237         * conform/linknamespace.pl (@whitelist): Remove signgam.
14238         * sysdeps/nacl/libm.abilist: Update.
14239         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14240         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14241         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14242         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14243         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14244         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14245         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14246         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14247         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14248         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14249         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14250         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14252         Likewise.
14253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14254         Likewise.
14255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14256         Likewise.
14257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14258         Likewise.
14259         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14260         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14261         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14262         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14263         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14264         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14265         Likewise.
14266         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14267         Likewise.
14268         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14269         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14270         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14272 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14274         [BZ #16364]
14275         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
14276         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
14278 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
14280         * sysdeps/s390/fpu/bits/mathinline.h:
14281         Use __asm__ [__volatile__] instead of asm [volatile].
14282         * sysdeps/s390/abort-instr.h: Likewise.
14283         * sysdeps/s390/atomic-machine.h: Likewise.
14284         * sysdeps/s390/bits/string.h: Likewise.
14285         * sysdeps/s390/dl-tls.h: Likewise.
14286         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14287         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14288         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14289         * sysdeps/s390/fpu/fesetround.c: Likewise.
14290         * sysdeps/s390/fpu/fpu_control.h: Likewise.
14291         * sysdeps/s390/fpu/s_fma.c: Likewise.
14292         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
14293         * sysdeps/s390/memusage.h: Likewise.
14294         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
14295         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
14296         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
14297         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
14298         * sysdeps/s390/nptl/tls.h: Likewise.
14299         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
14300         * sysdeps/s390/s390-32/backtrace.c: Likewise.
14301         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14302         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
14303         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14304         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
14305         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
14306         * sysdeps/s390/s390-64/backtrace.c: Likewise.
14307         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14308         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
14309         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
14310         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14311         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
14312         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
14313         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14314         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14315         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
14316         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
14317         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
14318         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14319         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
14320         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14321         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
14323 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14324             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14326         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
14327         Add lwarx hint, and use macro for acquire instruction.
14328         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
14329         Likewise.
14330         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
14331         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
14332         update to use new atomic macros.
14334 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14336         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
14337         (__lll_trylock_elision): Fix setting of adapt_count.
14338         * sysdeps/unix/sysv/linux/powerpc/htm.h
14339         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
14340         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
14341         (_ABORT_SYSCALL): Renumber, and clarify definition.
14342         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
14344 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14346         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
14347         after system headers to prevent MIN/MAX redefinition.  Define
14348         HAVE_ALLOCA to preserve builtin alloca usage.
14350 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
14352         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
14353         static and don't set or restore rounding.
14354         (__cos)[IN_SINCOS]: Likewise.
14355         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
14356         (__sincos): Set and restore rounding mode.  Remove check for infinite
14357         or NaN input.
14359         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
14361         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
14362         as used.
14364 2015-11-16  Florian Weimer  <fweimer@redhat.com>
14366         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
14368 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
14370         * config.make.in (have-glob-dat-reloc): New.
14371         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
14372         target supports GLOB_DAT relocaton. AC_SUBST.
14373         * configure: Regenerated.
14374         * elf/Makefile (tests): Add tst-prelink.
14375         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
14376         (tst-prelink-ENV): New.
14377         ($(objpfx)tst-prelink-conflict.out): Likewise.
14378         ($(objpfx)tst-prelink-cmp.out): Likewise.
14379         * sysdeps/x86/tst-prelink.c: Moved to ...
14380         * elf/tst-prelink.c: Here.
14381         * sysdeps/x86/tst-prelink.exp: Moved to ...
14382         * elf/tst-prelink.exp: Here.
14383         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
14384         (tst-prelink-ENV): Removed.
14385         ($(objpfx)tst-prelink-conflict.out): Likewise.
14386         ($(objpfx)tst-prelink-cmp.out): Likewise.
14387         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
14389 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
14391         [BZ #14551]
14392         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
14393         (__mpn_construct_long_double): If high part overflows to infinity,
14394         set errno and recompute overflowed result of the correct sign.
14395         * sysdeps/ieee754/ldbl-128ibm/Makefile
14396         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
14397         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
14398         $(libm).
14399         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
14401 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
14403         [BZ #15479]
14404         [BZ #19238]
14405         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
14406         floating-point state after first operation on input.  Restore full
14407         state rather than just rounding mode.
14408         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
14409         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
14410         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
14412         [BZ #19235]
14413         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
14414         add 0.5 to integer arguments.
14415         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
14416         Likewise.
14417         (.LC2): New object.
14419 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
14421         * scripts/pylintrc (reports): Set to no.
14423 2015-11-10  Roland McGrath  <roland@hack.frob.com>
14425         * elf/dl-load.c (open_verify): Take new argument FD.
14426         Skip __open call if passed FD is not -1.
14427         (_dl_map_object, open_path): Update callers.
14428         * elf/dl-sysdep-open.h: New file.
14429         * elf/dl-load.c: Include it.
14430         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
14431         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
14432         * sysdeps/nacl/dl-sysdep-open.h: New file.
14433         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
14434         from libc to rtld.
14436 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
14438         [BZ #19228]
14439         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
14440         and restore full floating-point state.
14441         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
14442         Likewise.
14443         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
14444         Likewise.
14445         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
14446         Likewise.
14447         * math/test-nearbyint-except-2.c: New file.
14448         * math/Makefile (tests): Add test-nearbyint-except-2.
14450 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
14452         [BZ #19178]
14453         * sysdeps/x86/Makefile (tests): Add tst-prelink.
14454         (tst-prelink-ENV): New.
14455         ($(objpfx)tst-prelink-conflict.out): Likewise.
14456         ($(objpfx)tst-prelink-cmp.out): Likewise.
14457         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
14458         * sysdeps/x86/tst-prelink.c: New file.
14459         * sysdeps/x86/tst-prelink.exp: Likewise.
14461 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
14463         * math/auto-libm-test-in: Add another test of pow.
14464         * math/auto-libm-test-out: Regenerated.
14465         * math/libm-test.inc (pow_test_data): Add another test.
14467 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14469         [BZ #19219]
14470         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
14471         weak_alias to nearbyintl.
14473 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
14475         * sysdeps/aarch64/bits/string.h: New file.
14476         (_STRING_ARCH_unaligned): Define.
14478 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
14480         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
14481         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
14482         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
14483         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
14484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
14486 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
14488         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
14489         for original name of the DSO.  Add it to the name list of the DSO
14490         if it is actually given.
14491         (_dl_map_object): Keep track of whether an audit module rewrote
14492         the file name.  If yes, pass the original name to
14493         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
14494         debugging is enabled, log the change of the file name.
14495         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
14496         _dl_map_object_from_fd.
14497         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
14498         * elf/tst-audit11.c: New file
14499         * elf/tst-auditmod11.c: New file.
14500         * elf/tst-audit11mod1.c: New file.
14501         * elf/tst-audit11mod2.c: New file.
14502         * elf/tst-audit11mod2.map: New file.
14503         * elf/tst-audit12.c: New file
14504         * elf/tst-auditmod12.c: New file.
14505         * elf/tst-audit12mod1.c: New file.
14506         * elf/tst-audit12mod2.c: New file.
14507         * elf/tst-audit12mod2.map: New file.
14508         * elf/tst-audit12mod3.c: New file.
14510 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
14512         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
14513         Don't create weak aliases,
14514         because versioned symbols are created later.
14515         * sysdeps/s390/s390-32/setjmp.S
14516         (setjmp, _setjmp): Remove weak and rename to an unique name
14517         in SHARED case due to existing versioned symbols.
14518         * sysdeps/s390/s390-64/setjmp.S: Likewise.
14519         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
14520         (getcontext): Create weak alias only in non SHARED case.
14521         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
14523 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
14525         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
14526         (__ASSUME_*_SYSCALL) Define new macros.
14527         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
14528         Remove socketcall syscalls.
14529         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
14530         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
14531         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
14532         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
14533         * sysdeps/unix/sysv/linux/send.c (__libc_send):
14534         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
14536 2015-11-09  Florian Weimer  <fweimer@redhat.com>
14538         [BZ #12926]
14539         Terminate process on invalid netlink response.
14540         * sysdeps/unix/sysv/linux/netlinkaccess.h
14541         (__netlink_assert_response): Declare.
14542         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
14543         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
14544         (sysdep_routines): Add netlink_assert_response.
14545         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
14546         __netlink_assert_response.
14547         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
14548         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
14549         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
14550         __netlink_assert_response.
14552 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
14554         [BZ #19178]
14555         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
14556         (RTYPE_CLASS_PLT): Likewise.
14557         (RTYPE_CLASS_COPY): Likewise.
14558         (RTYPE_CLASS_TLS): Likewise.
14559         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
14560         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
14561         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
14562         DL_DEBUG_PRELINK.
14564 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
14566         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
14567         calls with argument -0.5.
14568         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
14570         * configure.ac (libc_cv_z_nodelete): Remove configure test.
14571         (libc_cv_z_nodlopen): Likewise.
14572         (libc_cv_z_initfirst): Likewise.
14573         * configure: Regenerated.
14575 2015-11-06  Florian Weimer  <fweimer@redhat.com>
14577         Simplify abilist format to be line-based.
14578         * scripts/abilist.awk: Collect descriptors in the descs variable.
14579         (emit): Write descs variable and sort it
14580         externally, with sort.
14581         * sysdeps/**/*.abilist: Convert to new format.
14583 2015-11-06  Mark Wielaard  <mjw@redhat.com>
14585         [BZ #11460]
14586         * io/Makefile (routines): Add fts64.
14587         (tests): Add tst-fts and tst-fts-lfs.
14588         (CFLAGS-fts64.c): New.
14589         * io/Versions (GLIBC_2.23): New.
14590         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
14591         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
14592         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
14593         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
14594         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
14595         (FTSENT64): Likewise.
14596         (fts64_children): Likewise.
14597         (fts64_close): Likewise.
14598         (fts64_open): Likewise.
14599         (fts64_read): Likewise.
14600         (fts64_set): Likewise.
14601         * io/fts64.c: New file.
14602         * io/tst-fts.c: New test.
14603         * io/tst-fts-lfs.c: Likewise.
14604         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
14605         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
14606         fts64_set.
14607         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14608         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14609         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14610         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14611         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14612         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14613         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14614         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14615         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14616         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14617         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14618         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14619         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14621         Likewise.
14622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14623         Likewise.
14624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14626         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14627         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14628         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14629         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14630         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14631         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
14632         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
14633         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14634         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14635         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14636         * sysdeps/wordsize-64/fts.c: New file.
14637         * sysdeps/wordsize-64/fts64.c: Likewise.
14638         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
14639         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
14640         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
14641         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
14643 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
14645         * math/libm-test.inc (NON_FINITE): New macro.
14646         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
14647         * math/gen-libm-test.pl (show_exceptions): Add argument
14648         $non_finite.
14649         (parse_args): Update call to show_exceptions.
14650         * math/test-math-finite.h: New file.
14651         * math/test-math-no-finite.h: Likewise.
14652         * math/test-double-finite.c: Likewise.
14653         * math/test-float-finite.c: Likewise.
14654         * math/test-ldouble-finite.c: Likewise.
14655         * math/test-double.c: Include "test-math-no-finite.h".
14656         * math/test-float.c: Include "test-math-no-finite.h".
14657         * math/test-ldouble.c: Include "test-math-no-finite.h".
14658         * math/test-math-inline.h (TEST_FINITE): New macro.
14659         * math/test-math-vector.h (TEST_FINITE): Likewise.
14660         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
14661         (libm-tests): Add test-float-finite and test-double-finite.
14662         ($(objpfx)test-float-finite.o): New dependency on
14663         $(objpfx)libm-test.stmp.
14664         ($(objpfx)test-double-finite.o): Likewise.
14665         ($(objpfx)test-ldouble-finite.o): Likewise.
14666         (libm-test-no-inline-cflags): New variable.
14667         (libm-test-finite-cflags): Likewise.
14668         (CFLAGS-test-float-finite.c): Likewise.
14669         (CFLAGS-test-double-finite.c): Likewise.
14670         (CFLAGS-test-ldouble-finite.c): Likewise.
14671         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
14672         (CFLAGS-test-double.c): Likewise.
14673         (CFLAGS-test-ldouble.c): Likewise.
14675 2015-11-05  Roland McGrath  <roland@hack.frob.com>
14677         * io/fcntl.c (__fcntl): Add ... to prototype.
14678         * misc/ioctl.c (__ioctl): Likewise.
14679         * misc/syscall.c (syscall): Likewise.
14681 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
14683         * scripts/list-fixed-bugs.py: New file.
14685         [BZ #19213]
14686         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
14687         returned for argument 1.
14688         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
14689         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
14690         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
14691         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
14692         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
14693         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
14695         [BZ #19211]
14696         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
14697         __USE_XOPEN], not if [!__USE_ISOC99].
14698         (lgammaf): Likewise.
14699         (lgammal): Likewise.
14700         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
14701         (gammaf): Likewise.
14702         (gammal): Likewise.
14703         * math/test-signgam-finite-c11.c: New file.
14704         * math/test-signgam-finite-c99.c: Likewise.
14705         * math/test-signgam-finite.c: Likewise.
14706         * math/Makefile (tests): Add test-signgam-finite,
14707         test-signgam-finite-c99 and test-signgam-finite-c11.
14708         (CFLAGS-test-signgam-finite.c): New variable.
14709         (CFLAGS-test-signgam-finite-c99.c): Likewise.
14710         (CFLAGS-test-signgam-finite-c11.c): Likewise.
14712         [BZ #19212]
14713         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
14714         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
14715         500].
14716         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
14717         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
14718         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
14719         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
14720         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
14721         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
14722         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
14723         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
14724         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
14725         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
14727         [BZ #19209]
14728         * math/bits/math-finite.h (ldexp): Remove declaration.
14729         (ldexpf): Likewise.
14730         (ldexpl): Likewise.
14732         [BZ #19205]
14733         * math/bits/math-finite.h (acosf): Condition declaration on
14734         [__USE_ISOC99].
14735         (acosl): Likewise.
14736         (acoshf): Likewise.
14737         (acoshl): Likewise.
14738         (asinf): Likewise.
14739         (asinl): Likewise.
14740         (atan2f): Likewise.
14741         (atan2l): Likewise.
14742         (atanhf): Likewise.
14743         (atanhl): Likewise.
14744         (coshf): Likewise.
14745         (coshl): Likewise.
14746         (expf): Likewise.
14747         (expl): Likewise.
14748         (fmodf): Likewise.
14749         (fmodl): Likewise.
14750         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
14751         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
14752         (j0l): Likewise.
14753         (y0f): Likewise.
14754         (y0l): Likewise.
14755         (j1f): Likewise.
14756         (j1l): Likewise.
14757         (y1f): Likewise.
14758         (y1l): Likewise.
14759         (jnf): Likewise.
14760         (jnl): Likewise.
14761         (ynf): Likewise.
14762         (ynl): Likewise.
14763         (lgammaf_r): Condition declaration on [__USE_ISOC99].
14764         (lgammal_r): Likewise.
14765         (__lgamma_r_finite): New declaration.
14766         (__lgammaf_r_finite): Likewise.
14767         (__lgammal_r_finite): Likewise.
14768         (lgamma): Use __lgamma_r_finite.
14769         (lgammaf): Condition definition on [__USE_ISOC99].  Use
14770         __lgammaf_r_finite.
14771         (lgammal): Condition definition on [__USE_ISOC99].  Use
14772         __lgammal_r_finite.
14773         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
14774         __lgamma_r_finite.
14775         (gammaf): Condition definition on [__USE_ISOC99].  Use
14776         __lgammaf_r_finite.
14777         (gammal): Condition definition on [__USE_ISOC99].  Use
14778         __lgammal_r_finite.
14779         (logf): Condition declaration on [__USE_ISOC99].
14780         (logl): Likewise.
14781         (log10f): Likewise.
14782         (log10l): Likewise.
14783         (ldexpf): Likewise.
14784         (ldexpl): Likewise.
14785         (powf): Likewise.
14786         (powl): Likewise.
14787         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
14788         __USE_ISOC99].
14789         (remainderf): Condition declaration on [__USE_ISOC99].
14790         (remainderl): Likewise.
14791         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
14792         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
14793         (scalbl): Likewise.
14794         (sinhf): Condition declaration on [__USE_ISOC99].
14795         (sinhl): Likewise.
14796         (sqrtf): Likewise.
14797         (sqrtl): Likewise.
14799 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
14801         * sysdeps/arm/atomic-machine.h
14802         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
14803         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
14804         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
14805         Remove conditional code.
14806         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
14807         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
14808         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
14809         Change conditional to [__ASSEMBLER__].
14810         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
14811         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
14812         [!__ASSEMBLER__].
14813         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
14814         code.
14815         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
14816         conditional macro definitions.
14817         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
14818         (__arch_compare_and_exchange_val_16_acq): Likewise.
14819         (__arch_compare_and_exchange_val_32_acq): Likewise.
14820         (atomic_exchange_and_add): Likewise.
14821         (atomic_add): Likewise.
14822         (atomic_add_negative): Likewise.
14823         (atomic_add_zero): Likewise.
14824         (atomic_bit_set): Likewise.
14825         (atomic_bit_test_set): Likewise.
14826         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
14827         code unconditional.
14828         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14830         * math/test-math-errno.h: New file.
14831         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
14832         empty.
14833         (TEST_ERRNO): New macro.
14834         (TEST_EXCEPTIONS): Likewise.
14835         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
14836         (TEST_EXCEPTIONS): Likewise.
14837         * math/test-math-vector.h (TEST_ERRNO): Likewise.
14838         * math/test-double.c: Include "test-math-errno.h".
14839         * math/test-float.c: Likewise.
14840         * math/test-ldouble.c: Likewise.
14841         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
14842         code unconditional.
14843         (test_exceptions): Only run code if TEST_EXCEPTIONS.
14844         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
14845         unconditional.
14846         (test_errno): Only run code if TEST_ERRNO.
14847         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
14849 2015-11-04  Florian Weimer  <fweimer@redhat.com>
14851         * nptl/tst-once5.cc: Remove attribution.
14853 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
14855         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
14856         sqrt, tan, tanh, y0, y1 and yn.
14857         * math/auto-libm-test-out: Regenerated.
14858         * math/libm-test.inc (scalb_test_data): Add more tests.
14859         (scalbn_test_data): Likewise.
14860         (scalbln_test_data): Likewise.
14861         (signbit_test_data): Likewise.
14862         (sin_test_data): Likewise.
14863         (sincos_test_data): Likewise.
14864         (sinh_test_data): Likewise.
14865         (sqrt_test_data): Likewise.
14866         (tan_test_data): Likewise.
14867         (tanh_test_data): Likewise.
14868         (tgamma_test_data): Likewise.
14869         (y0_test_data): Likewise.
14870         (y1_test_data): Likewise.
14871         (yn_test_data): Likewise.
14872         (significand_test_data): Likewise.
14873         * sysdeps/i386/fpu/libm-test-ulps: Update.
14875 2015-11-03  David Kastrup  <dak@gnu.org>
14877         [BZ #18604]
14878         * assert/assert.h (assert): Don't macro-expand failed assertion
14879         expression in error message.
14880         * malloc/malloc.c (assert): Likewise.
14882 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
14884         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
14885         test.
14886         * configure: Regenerated.
14888 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
14890         * math/libm-test.inc (modf_test_data): Add more tests.
14891         (nearbyint_test_data): Likewise.
14892         (nextafter_test_data): Likewise.
14893         (nexttoward_test_data): Likewise.
14894         (pow_test_data): Likewise.
14895         (remainder_test_data): Likewise.
14896         (remquo_test_data): Likewise.
14897         (rint_test_data): Likewise.
14899         [BZ #19201]
14900         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
14901         Check for zero remainder in case of large exponents and ensure
14902         correct sign of result in that case.
14903         * math/libm-test.inc (remainder_test_data): Add more tests.
14905         [BZ #6799]
14906         * math/s_nextafter.c: Include <errno.h>.
14907         (__nextafter): Set errno on overflow and underflow.
14908         * math/s_nexttowardf.c: Include <errno.h>.
14909         (__nexttowardf): Set errno on overflow and underflow.
14910         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
14911         (__nextafterl): Set errno on overflow and underflow.
14912         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
14913         (__nexttoward): Set errno on overflow and underflow.
14914         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
14915         (__nexttowardf): Set errno on overflow and underflow.
14916         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
14917         (__nextafterf): Set errno on overflow and underflow.
14918         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
14919         (__nextafterl): Set errno on overflow and underflow.
14920         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
14921         (__nexttoward): Set errno on overflow and underflow.
14922         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
14923         (__nexttowardf): Set errno on overflow and underflow.
14924         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
14925         (__nextafterl): Set errno on overflow and underflow.
14926         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
14927         (__nexttoward): Set errno on overflow and underflow.
14928         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
14929         (__nexttowardf): Set errno on overflow and underflow.
14930         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
14931         (__nexttoward): Set errno on overflow and underflow.
14932         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
14933         (__nexttowardf): Set errno on overflow and underflow.
14934         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
14935         (__nldbl_nexttowardf): Set errno on overflow and underflow.
14936         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
14937         (__nextafterl): Set errno on overflow and underflow.
14938         * math/libm-test.inc (nextafter_test_data): Do not allow errno
14939         setting to be missing on overflow.  Add more tests.
14940         (nexttoward_test_data): Likewise.
14942         * configure.ac (libc_cv_initfini_array): Remove configure test.
14943         * configure: Regenerated.
14945 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
14947         [BZ #19189]
14948         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
14949         non-finite argument handle arguments with negative sign.
14951         * math/libm-test.inc (j0_test_data): Do not test sign of zero
14952         result from infinite argument.
14953         (j1_test_data): Likewise.
14954         (jn_test_data): Likewise.
14955         (y0_test_data): Likewise.
14956         (y1_test_data): Likewise.
14957         (yn_test_data): Likewise.
14959         [BZ #16171]
14960         * math/w_remainder.c (drem): Define as weak alias of __remainder.
14961         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
14962         * math/w_remainderf.c (dremf): Define as weak alias of
14963         __remainderf.
14964         * math/w_remainderl.c (dreml): Define as weak alias of
14965         __remainderl.
14966         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
14967         __remainder.
14968         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
14969         __remainderf.
14970         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
14971         __remainderl.
14972         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
14973         weak alias of remainderl.
14974         * sysdeps/ieee754/ldbl-opt/w_remainder.c
14975         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
14976         alias of __remainder.
14977         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
14978         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
14979         strong alias of __remainderl.
14980         (dreml): Use long_double_symbol.
14981         * math/Makefile (libm-calls): Remove w_drem.
14982         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
14983         (CFLAGS-nldbl-drem.c): Remove variable.
14984         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
14985         * math/w_drem.c: Remove file.
14986         * math/w_dremf.c: Likewise.
14987         * math/w_dreml.c: Likewise.
14988         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
14989         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
14990         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
14992         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
14993         * sysdeps/i386/configure: Regenerated.
14994         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
14995         * sysdeps/x86_64/configure: Regenerated.
14997         * configure.ac (libc_cv_asm_protected_directive): Remove configure
14998         test.
14999         (libc_cv_visibility_attribute): Likewise.
15000         (libc_cv_protected_data): Test unconditionally.
15001         (libc_cv_broken_visibility_attribute): Remove configure test.
15002         (libc_cv_have_sdata_section): Test unconditionally.
15003         * configure: Regenerated.
15005         * include/libc-internal.h (libc_max_align_t): Remove typedef.
15006         * include/scratch_buffer.h: Include <stddef.h> instead of
15007         <libc-internal.h>.
15008         (struct scratch_buffer): Use max_align_t instead of
15009         libc_max_align_t.
15011 2015-10-29  Florian Weimer  <fweimer@redhat.com>
15013         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
15014         instead of extend_alloca.  Change control flow to avoid a goto.
15015         Remove assert which is trivially always true.
15017 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
15019         [BZ #16068]
15020         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
15021         (FE_ALL_EXCEPT_X86): New macro.
15022         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
15023         FE_ALL_EXCEPT.  Ensure precision control is included in
15024         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
15025         handle "denormal operand exception" and clear FZ and DAZ bits.
15026         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
15027         (FE_ALL_EXCEPT_X86): New macro.
15028         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
15029         FE_ALL_EXCEPT.  Ensure precision control is included in
15030         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
15031         handle "denormal operand exception" and clear FZ and DAZ bits.
15032         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
15033         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
15034         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
15035         test-fenv-x87 and test-fenv-sse-2.
15036         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
15038         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
15039         * math/test-double.h (BUILD_COMPLEX): New macro.
15040         * math/test-float.h (BUILD_COMPLEX): Likewise.
15041         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
15043         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
15044         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
15045         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
15046         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
15047         instead of DBL_DENORM_MIN in comment.
15048         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
15049         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
15050         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
15051         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
15052         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
15053         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
15055 2015-10-28  Florian Weimer  <fweimer@redhat.com>
15057         [BZ# 19048]
15058         * malloc/malloc.c (struct malloc_state): Update comment.  Add
15059         attached_threads member.
15060         (main_arena): Initialize attached_threads.
15061         * malloc/arena.c (list_lock): Update comment.
15062         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
15063         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
15064         (deattach_arena): New function.
15065         (_int_new_arena): Initialize arena reference count and deattach
15066         replaced arena.
15067         (get_free_list, reused_arena): Update reference count and deattach
15068         replaced arena.
15069         (arena_thread_freeres): Update arena reference count and only put
15070         unreferenced arenas on the free list.
15072 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
15074         [BZ #19181]
15075         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
15076         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
15077         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
15078         * math/test-fenv-clear-main.c: New file.
15079         * math/test-fenv-clear.c: Likewise.
15080         * math/Makefile (tests): Add test-fenv-clear.
15081         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
15082         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
15083         test-fenv-clear-sse.
15084         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
15086         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
15087         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
15088         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
15090 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15092         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
15093         static libc.
15095 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
15097         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
15098         test.
15099         * sysdeps/i386/configure: Regenerated.
15100         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
15101         test.
15102         * sysdeps/x86_64/configure: Regenerated.
15103         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
15104         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15105         memset-avx2 unconditionally instead of conditionally on
15106         [$(config-cflags-avx2) = yes].
15107         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15108         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
15109         unconditional.
15110         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
15111         * sysdeps/x86_64/multiarch/memset_chk.S
15112         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
15113         to [IS_IN (libc) && SHARED].
15115 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
15117         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
15118         configure test.
15119         * sysdeps/arm/configure: Regenerated.
15120         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
15121         Define variable if not already defined.
15123         [BZ #17404]
15124         * sysdeps/mips/atomic-machine.h
15125         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
15126         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
15127         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
15129         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
15130         unconditional.
15131         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
15132         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15133         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
15134         unconditional.
15135         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15136         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
15137         unconditional.
15138         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15139         * stdlib/setenv.c
15140         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
15141         code unconditional.
15142         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
15143         Remove conditional code.
15144         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
15145         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
15146         unconditional.
15147         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
15148         code.
15149         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
15150         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
15151         unconditional.
15152         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
15153         code.
15154         * sysdeps/ieee754/ldbl-128/k_tanl.c
15155         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
15156         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15157         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
15158         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
15159         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15160         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
15161         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
15162         unconditional.
15163         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
15164         code.
15165         * sysdeps/ieee754/ldbl-96/k_tanl.c
15166         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
15167         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15169         * nptl/tst-initializers1-c11.c: New file.
15170         * nptl/tst-initializers1-gnu11.c: Likewise.
15171         * nptl/Makefile (tests): Add these new tests.
15172         (CFLAGS-tst-initializers1-c11.c): New variable.
15173         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
15175         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
15176         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
15177         instead of -std=gnu99.
15178         * configure.ac (systemtap): Test with -std=gnu11 instead of
15179         -std=gnu99.
15180         * configure: Regenerated.
15181         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
15182         in compilation command in comment.
15184         * sysdeps/nptl/configure.ac: Remove file.
15185         * sysdeps/nptl/configure: Remove generated file.
15186         * configure.ac (libc_cv_forced_unwind): Do not substitute.
15187         * configure: Regenerated.
15188         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
15189         * config.make.in (have-forced-unwind): Remove variable.
15190         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
15191         unconditional.
15192         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
15193         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
15194         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
15195         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
15196         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
15197         unconditional.
15199 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15201         [BZ #19174]
15202         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
15203         .skip_lock_out_of_tbegin_retries.
15204         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
15205         (__lll_lock_elision): Likewise, and respect a value of
15206         try_tbegin <= 0.
15208 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15210         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
15211         statement.
15213 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
15215         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
15216         variable.
15217         (test-xfail-ISO11/stdalign.h/conform): Likewise.
15218         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
15220         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
15221         of -std=c1x -D_ISOC11_SOURCE.
15223         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
15224         * configure: Regenerated.
15225         * manual/install.texi (Tools for Compilation): Document
15226         requirement for GCC 4.7 or later.
15227         * INSTALL: Regenerated.
15229 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
15231         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
15232         on CNT to a conditional jump to 'puntdata'.
15234 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
15236         * configure.ac (libc_cv_gcc___thread): Remove configure test.
15237         (libc_cv_gcc_tls_model_attr): Likewise.
15238         * configure: Regenerated.
15240         * configure.ac (libc_cv_need_minus_P): Remove configure test.
15241         * configure: Regenerated.
15242         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
15244 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
15246         * configure.ac (old_glibc_headers): Remove configure test.
15247         * configure: Regenerated.
15248         * config.make.in (old-glibc-headers): Remove variable.
15249         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
15250         (install): Remove dependency on remove-old-headers.
15251         (headers2_0): Remove variable.
15252         (remove-old-headers): Remove rule.
15254         * configure.ac (libc_cv_dot_text): Remove configure test.
15255         (libc_cv_asm_set_directive): Use .text instead of
15256         ${libc_cv_dot_text} in configure test.
15257         * configure: Regenerated.
15259 2015-10-26  Florian Weimer  <fweimer@redhat.com>
15261         [BZ #19168]
15262         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15264 2015-10-26  Florian Weimer  <fweimer@redhat.com>
15266         * configure.ac (CXX): Clear the variable if the C++ toolchain does
15267         not support static linking.
15268         * configure: Regenerate.
15270 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
15272         * math/libm-test.inc (check_float_internal): Do not special-case
15273         errors up to 0.5 ulp.
15275         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
15276         log2.
15277         * math/auto-libm-test-out: Regenerated.
15278         * math/libm-test.inc (MAX_EXP): New macro.
15279         (ilogb_test_data): Add more tests.
15280         (isfinite_test_data): Likewise.
15281         (isgreater_test_data): Likewise.
15282         (isgreaterequal_test_data): Likewise.
15283         (isinf_test_data): Likewise.
15284         (isless_test_data): Likewise.
15285         (islessequal_test_data): Likewise.
15286         (islessgreater_test_data): Likewise.
15287         (isnan_test_data): Likewise.
15288         (isnormal_test_data): Likewise.
15289         (issignaling_test_data): Likewise.
15290         (isunordered_test_data): Likewise.
15291         (j0_test_data): Likewise.
15292         (j1_test_data): Likewise.
15293         (jn_test_data): Likewise.
15294         (lgamma_test_data): Likewise.
15295         (log_test_data): Likewise.
15296         (log10_test_data): Likewise.
15297         (log1p_test_data): Likewise.
15298         (log2_test_data): Likewise.
15299         (logb_test_data): Likewise.
15300         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15302         [BZ #18611]
15303         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
15304         avoid excess range and precision on underflow.
15305         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15306         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
15307         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
15308         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
15309         underflow.
15310         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15311         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15312         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
15313         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15314         * math/auto-libm-test-in: Do not allow missing errno setting for
15315         tests of j1 and jn.
15316         * math/auto-libm-test-out: Regenerated.
15318 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
15320         [BZ #15491]
15321         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
15322         floating-point environment instead of clearing all exceptions.
15323         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
15324         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
15325         merging in "invalid" exceptions from frndint.
15326         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
15327         * math/test-nearbyint-except.c: New file.
15328         * math/Makefile (tests): Add test-nearbyint-except.
15330 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
15332         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
15334         * sysdeps/tile/libm-test-ulps: Regenerated.
15336 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
15339         (__NR_sync_file_range2): Assume it is always defined.
15340         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
15341         (__NR_sync_file_range): Assume it is always defined.
15343 2015-10-22  Andreas Schwab  <schwab@suse.de>
15345         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
15346         INTERNAL_SYSCALL_ERRNO.
15347         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
15348         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
15349         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15350         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
15351         Likewise.
15352         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15354 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
15356         * io/tst-fcntl.c (fd): New static variable.
15357         (do_prepare): Open temporary file here....
15358         (do_test): ...not here.
15360         * io/ftwtest-sh: Also trap on exit to remove temporary files.
15362 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
15364         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
15365         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
15366         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
15367         Moved before "#ifdef __ASSEMBLER__".
15369 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
15371         [BZ #19156]
15372         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
15373         arguments very close to 0.
15375 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
15377         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
15378         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
15380 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
15382         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
15383         New.  Defined for GCC 5 and above when not compiling for
15384         profiling.
15385         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
15387         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
15388         Renamed to ...
15389         (CFLAGS-epoll_pwait.o): This.
15390         (CFLAGS-mmap.c): Renamed to ...
15391         (CFLAGS-mmap.o): This.
15392         (CFLAGS-mmap64.c): Renamed to ...
15393         (CFLAGS-mmap64.o): This.
15394         (CFLAGS-epoll_pwait.os): New.
15395         (CFLAGS-mmap.os): Likewise.
15396         (CFLAGS-mmap64.os): Likewise.
15397         (CFLAGS-semtimedop.os): Likewise.
15398         (CFLAGS-semtimedop.c): Renamed to ...
15399         (CFLAGS-semtimedop.o): This.
15401 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15403         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
15404         warning message.
15406 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
15408         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
15409         * Makefile ($(objpfx)c++-types-check.out): Filter out
15410         $(+gccwarn-c) instead of -Wstrict-prototypes.
15412         * io/fts.c (fts_open): Convert to prototype-style function
15413         definition.
15414         * malloc/mcheck.c (mcheck): Likewise.
15415         (mcheck_pedantic): Likewise.
15416         * posix/regexec.c (re_search_2_stub): Likewise.  Use
15417         internal_function.
15418         (re_search_internal): Likewise.
15419         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
15420         prototype-style function definition.
15421         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
15422         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
15423         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
15424         (xdr_utmpptr): Likewise.
15425         (xdr_utmparr): Likewise.
15426         (xdr_utmpidle): Likewise.
15427         (xdr_utmpidleptr): Likewise.
15428         (xdr_utmpidlearr): Likewise.
15430         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
15431         log, log10 and log2.
15432         * math/auto-libm-test-out: Regenerated.
15433         * math/libm-test.inc (fmod_test_data): Add more tests.
15434         (fpclassify_test_data): Likewise.
15435         (frexp_test_data): Likewise.
15436         (hypot_test_data): Likewise.
15437         (ilogb_test_data): Likewise.
15439 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
15441         * debug/fortify_fail.c (__fortify_fail): Convert to
15442         prototype-style function definition.  Use internal_function.
15443         * libio/genops.c (save_for_backup): Convert to prototype-style
15444         function definition.
15445         * libio/wgenops.c (save_for_wbackup): Likewise.
15446         * login/grantpt.c (grantpt): Likewise.
15447         * login/ptsname.c (ptsname): Likewise.
15448         (__ptsname_r): Likewise.
15449         * login/unlockpt.c (unlockpt): Likewise.
15450         * mach/msgserver.c (__mach_msg_server): Likewise.
15451         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
15452         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
15453         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
15454         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
15455         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
15456         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
15457         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
15458         Likewise.
15459         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
15460         internal_function.
15461         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
15462         prototype-style function definition.
15463         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
15464         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
15465         (__pthread_create_2_0): Likewise.
15466         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
15467         * nptl/register-atfork.c (__register_atfork): Likewise.
15468         * posix/glob.c (glob): Likewise.
15469         * posix/regcomp.c (re_comp): Likewise.
15470         * posix/regexec.c (re_exec): Likewise.
15471         * stdlib/add_n.c [__STDC__]: Make code unconditional.
15472         [!__STDC__]: Remove conditional code.
15473         * stdlib/cmp.c [__STDC__]: Make code unconditional.
15474         [!__STDC__]: Remove conditional code.
15475         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
15476         [!__STDC__]: Remove conditional code.
15477         * stdlib/divrem.c [__STDC__]: Make code unconditional.
15478         [!__STDC__]: Remove conditional code.
15479         * stdlib/lshift.c [__STDC__]: Make code unconditional.
15480         [!__STDC__]: Remove conditional code.
15481         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
15482         [!__STDC__]: Remove conditional code.
15483         * stdlib/mul.c [__STDC__]: Make code unconditional.
15484         [!__STDC__]: Remove conditional code.
15485         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
15486         [!__STDC__]: Remove conditional code.
15487         * stdlib/rshift.c [__STDC__]: Make code unconditional.
15488         [!__STDC__]: Remove conditional code.
15489         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
15490         function definition.
15491         (STRTOF): Likewise.
15492         * stdlib/strtod_l.c (__STRTOF): Likewise.
15493         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
15494         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
15495         (__strtol_l): Likewise.
15496         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
15497         [!__STDC__]: Remove conditional code.
15498         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
15499         definition.
15500         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
15501         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
15502         type.
15503         (__strcasecmp): Convert to prototype-style function definition.
15504         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
15505         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
15506         type.
15507         (__strncasecmp): Convert to prototype-style function definition.
15508         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
15509         * sunrpc/xdr.c (xdr_union): Likewise.
15510         * sunrpc/xdr_array.c (xdr_array): Likewise.
15511         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
15512         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
15513         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
15514         Likewise.
15515         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
15516         Likewise.
15517         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
15518         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
15519         Likewise.
15520         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
15521         (LOCALE_PARAM_PROTO): Likewise.
15522         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
15523         argument type.
15524         (ut_argument_spec): Remove macro.
15525         (ut_argument_spec_iso): Rename to ut_argument_spec.
15526         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
15527         prototype-style function definition.
15528         (memcpy_uppcase): Likewise.
15529         (__strftime_internal): Likewise.
15530         (my_strftime): Likewise.
15531         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
15532         (LOCALE_PARAM_DECL): Likewise.
15533         [_LIBC] (LOCALE_PARAM): Include argument type.
15534         (__strptime_internal): Convert to prototype-style function
15535         definition.
15536         (strptime): Likewise.
15537         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
15538         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
15539         type.
15540         (__wcscasecmp): Convert to prototype-style function definition.
15541         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
15542         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
15543         type.
15544         (__wcsncasecmp): Convert to prototype-style function definition.
15546         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
15547         function definition.
15548         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
15549         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
15550         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
15551         * elf/dl-minimal.c (_itoa): Likewise.
15552         * hurd/hurdmalloc.c (malloc): Likewise.
15553         (free): Likewise.
15554         (realloc): Likewise.
15555         * inet/inet6_option.c (inet6_option_space): Likewise.
15556         (inet6_option_init): Likewise.
15557         (inet6_option_append): Likewise.
15558         (inet6_option_alloc): Likewise.
15559         (inet6_option_next): Likewise.
15560         (inet6_option_find): Likewise.
15561         * io/ftw.c (FTW_NAME): Likewise.
15562         (NFTW_NAME): Likewise.
15563         (NFTW_NEW_NAME): Likewise.
15564         (NFTW_OLD_NAME): Likewise.
15565         * libio/iofwide.c (_IO_fwide): Likewise.
15566         * libio/strops.c (_IO_str_init_static_internal): Likewise.
15567         (_IO_str_init_static): Likewise.
15568         (_IO_str_init_readonly): Likewise.
15569         (_IO_str_overflow): Likewise.
15570         (_IO_str_underflow): Likewise.
15571         (_IO_str_count): Likewise.
15572         (_IO_str_seekoff): Likewise.
15573         (_IO_str_pbackfail): Likewise.
15574         (_IO_str_finish): Likewise.
15575         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
15576         (_IO_wstr_overflow): Likewise.
15577         (_IO_wstr_underflow): Likewise.
15578         (_IO_wstr_count): Likewise.
15579         (_IO_wstr_seekoff): Likewise.
15580         (_IO_wstr_pbackfail): Likewise.
15581         (_IO_wstr_finish): Likewise.
15582         * locale/programs/localedef.c (normalize_codeset): Likewise.
15583         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15584         (add_locales_to_archive): Likewise.
15585         (delete_locales_from_archive): Likewise.
15586         * malloc/malloc.c (__libc_mallinfo): Likewise.
15587         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
15588         * misc/tsearch.c (__tfind): Likewise.
15589         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
15590         * nptl/pthread_attr_getdetachstate.c
15591         (__pthread_attr_getdetachstate): Likewise.
15592         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
15593         Likewise.
15594         * nptl/pthread_attr_getinheritsched.c
15595         (__pthread_attr_getinheritsched): Likewise.
15596         * nptl/pthread_attr_getschedparam.c
15597         (__pthread_attr_getschedparam): Likewise.
15598         * nptl/pthread_attr_getschedpolicy.c
15599         (__pthread_attr_getschedpolicy): Likewise.
15600         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
15601         Likewise.
15602         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
15603         Likewise.
15604         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
15605         Likewise.
15606         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
15607         Likewise.
15608         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
15609         (__pthread_attr_init_2_0): Likewise.
15610         * nptl/pthread_attr_setdetachstate.c
15611         (__pthread_attr_setdetachstate): Likewise.
15612         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
15613         Likewise.
15614         * nptl/pthread_attr_setinheritsched.c
15615         (__pthread_attr_setinheritsched): Likewise.
15616         * nptl/pthread_attr_setschedparam.c
15617         (__pthread_attr_setschedparam): Likewise.
15618         * nptl/pthread_attr_setschedpolicy.c
15619         (__pthread_attr_setschedpolicy): Likewise.
15620         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
15621         Likewise.
15622         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
15623         Likewise.
15624         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
15625         Likewise.
15626         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
15627         Likewise.
15628         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
15629         Likewise.
15630         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
15631         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
15632         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
15633         use internal_function.
15634         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
15635         prototype-style function definition.
15636         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
15637         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
15638         internal_function.
15639         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
15640         Convert to prototype-style function definition.
15641         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
15642         Likewise.
15643         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
15644         Likewise.
15645         (__pthread_mutex_unlock): Likewise.
15646         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
15647         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
15648         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
15649         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
15650         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
15651         * nss/makedb.c (process_input): Likewise.
15652         * posix/fnmatch.c (__strchrnul): Likewise.
15653         (__wcschrnul): Likewise.
15654         (fnmatch): Likewise.
15655         * posix/fnmatch_loop.c (FCT): Likewise.
15656         * posix/glob.c (globfree): Likewise.
15657         (__glob_pattern_type): Likewise.
15658         (__glob_pattern_p): Likewise.
15659         * posix/regcomp.c (re_compile_pattern): Likewise.
15660         (re_set_syntax): Likewise.
15661         (re_compile_fastmap): Likewise.
15662         (regcomp): Likewise.
15663         (regerror): Likewise.
15664         (regfree): Likewise.
15665         * posix/regexec.c (regexec): Likewise.
15666         (re_match): Likewise.
15667         (re_search): Likewise.
15668         (re_match_2): Likewise.
15669         (re_search_2): Likewise.
15670         (re_search_stub): Likewise.  Use internal_function
15671         (re_copy_regs): Likewise.
15672         (re_set_registers): Convert to prototype-style function
15673         definition.
15674         (prune_impossible_nodes): Likewise.  Use internal_function.
15675         * resolv/inet_net_pton.c (inet_net_pton): Convert to
15676         prototype-style function definition.
15677         (inet_net_pton_ipv4): Likewise.
15678         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15679         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
15680         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
15681         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
15682         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
15683         Make variadic.
15684         * time/strptime_l.c (localtime_r): Convert to prototype-style
15685         function definition.
15686         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
15687         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
15688         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
15689         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
15691         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
15692         definition.
15693         (_ufc_doit_r): Likewise.
15694         * crypt/crypt_util.c (_ufc_copymem): Likewise.
15695         (_ufc_output_conversion_r): Likewise.
15696         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
15697         * inet/rcmd.c (rcmd_af): Likewise.
15698         (rcmd): Likewise.
15699         (ruserok_af): Likewise.
15700         (ruserok): Likewise.
15701         (ruserok2_sa): Likewise.
15702         (ruserok_sa): Likewise.
15703         (iruserok_af): Likewise.
15704         (iruserok): Likewise.
15705         (__ivaliduser): Likewise.
15706         (__validuser2_sa): Likewise.
15707         * inet/rexec.c (rexec_af): Likewise.
15708         (rexec): Likewise.
15709         * inet/ruserpass.c (ruserpass): Likewise.
15710         * locale/programs/xmalloc.c (xcalloc): Likewise.
15711         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
15712         * math/w_drem.c (__drem): Likewise.
15713         * math/w_dremf.c (__dremf): Likewise.
15714         * math/w_dreml.c (__dreml): Likewise.
15715         * misc/daemon.c (daemon): Likewise.
15716         * resolv/res_debug.c (p_fqnname): Likewise.
15717         * stdlib/div.c (div): Likewise.
15718         * string/memcmp.c (memcmp_bytes): Likewise.
15719         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
15720         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
15722         * crypt/cert.c (main): Convert to prototype-style function
15723         definition.
15724         * io/pipe.c (__pipe): Likewise.
15725         * io/pipe2.c (__pipe2): Likewise.
15726         * misc/futimesat.c (futimesat): Likewise.
15727         * misc/utimes.c (__utimes): Likewise.
15728         * posix/execve.c (__execve): Likewise.
15729         * posix/execvp.c (execvp): Likewise.
15730         * posix/execvpe.c (__execvpe): Likewise.
15731         * posix/fexecve.c (fexecve): Likewise.
15732         * socket/socketpair.c (socketpair): Likewise.
15733         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
15734         * stdlib/erand48.c (erand48): Likewise.
15735         * stdlib/erand48_r.c (__erand48_r): Likewise.
15736         * stdlib/jrand48.c (jrand48): Likewise.
15737         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
15738         * stdlib/lcong48.c (lcong48): Likewise.
15739         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
15740         * stdlib/nrand48.c (nrand48): Likewise.
15741         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
15742         * stdlib/seed48.c (seed48): Likewise.
15743         * stdlib/seed48_r.c (__seed48_r): Likewise.
15744         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
15745         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
15746         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
15748 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
15750         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
15751         * configure: Regenerated.
15752         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
15753         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
15754         unconditional.
15755         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
15756         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
15757         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
15758         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
15759         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
15760         unconditional.
15761         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
15763         * posix/Makefile (CFLAGS-regex.c): Remove variable.
15764         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
15766         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
15767         function definition.
15768         * crypt/crypt_util.c (__encrypt_r): Likewise.
15769         * libio/genops.c (_IO_no_init): Likewise.
15770         * libio/iofopncook.c (_IO_fopencookie): Likewise.
15771         (_IO_old_fopencookie): Likewise.
15772         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15773         * libio/iogetline.c (_IO_getline): Likewise.
15774         (_IO_getline_info): Likewise.
15775         * libio/iogetwline.c (_IO_getwline): Likewise.
15776         (_IO_getwline_info): Likewise.
15777         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
15778         * libio/vswprintf.c (_IO_vswprintf): Likewise.
15779         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
15780         (find_entry): Likewise.
15781         (iterate_table): Likewise.
15782         (lookup): Likewise.
15783         * login/forkpty.c (forkpty): Likewise.
15784         * misc/hsearch_r.c (__hsearch_r): Likewise.
15785         * misc/select.c (__select): Likewise.
15786         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
15787         Likewise.
15788         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
15789         Likewise.
15790         * nptl/old_pthread_cond_timedwait.c
15791         (__pthread_cond_timedwait_2_0): Likewise.
15792         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
15793         * nptl/pthread_barrierattr_getpshared.c
15794         (pthread_barrierattr_getpshared): Likewise.
15795         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
15796         Likewise.
15797         * nptl/pthread_mutex_setprioceiling.c
15798         (pthread_mutex_setprioceiling): Likewise.
15799         * nptl/pthread_mutexattr_getprioceiling.c
15800         (pthread_mutexattr_getprioceiling): Likewise.
15801         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
15802         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
15803         Likewise.
15804         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
15805         Likewise.
15806         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
15807         Likewise.
15808         * socket/recvfrom.c (__recvfrom): Likewise.
15809         * socket/sendto.c (__sendto): Likewise.
15810         * socket/setsockopt.c (__setsockopt): Likewise.
15811         * stdio-common/_itoa.c (_itoa): Likewise.
15812         * stdio-common/_itowa.c (_itowa): Likewise.
15813         * stdio-common/reg-printf.c (__register_printf_specifier):
15814         Likewise.
15815         (__register_printf_function): Likewise.
15816         * stdio-common/tempname.c (__path_search): Likewise.
15817         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
15818         * stdlib/mul_1.c (mpn_mul_1): Likewise.
15819         * stdlib/random_r.c (__initstate_r): Likewise.
15820         * stdlib/setenv.c (__add_to_environ): Likewise.
15821         * stdlib/submul_1.c (mpn_submul_1): Likewise.
15822         * streams/getpmsg.c (getpmsg): Likewise.
15823         * streams/putmsg.c (putmsg): Likewise.
15824         * streams/putpmsg.c (putpmsg): Likewise.
15825         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
15826         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
15827         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
15828         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
15829         * sunrpc/pm_getport.c (pmap_getport): Likewise.
15830         * sunrpc/svc_udp.c (cache_get): Likewise.
15831         * sunrpc/xdr_array.c (xdr_vector): Likewise.
15832         * sysdeps/mach/hurd/getcwd.c
15833         (__canonicalize_directory_name_internal): Likewise.
15834         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
15835         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
15836         * sysdeps/mach/hurd/select.c (__select): Likewise.
15837         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
15838         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
15839         * sysdeps/sparc/nptl/pthread_barrier_init.c
15840         (__pthread_barrier_init): Likewise.
15841         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
15842         (__pthread_cond_timedwait): Likewise.
15843         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
15844         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
15845         Likewise.
15846         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
15847         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
15848         Likewise.
15849         * sysvipc/semtimedop.c (semtimedop): Likewise.
15850         * time/setitimer.c (__setitimer): Likewise.
15851         * time/strftime_l.c (emacs_strftime): Likewise.
15853 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
15855         * config.make.in (have-ssp): Delete.
15856         (stack-protector): New variable.
15857         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
15858         cache test for -fstack-protector-strong.  Export stack_protector to
15859         the best ssp flag.
15860         * configure: Regenerated.
15861         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
15862         * nscd/Makefile (CFLAGS-nscd): Likewise.
15863         * resolv/Makefile (CFLAGS-libresolv): Likewise.
15865 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
15867         [BZ #19122]
15868         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
15869         attribute_hidden.
15871 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15873         [BZ #18743]
15874         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
15875         code to...
15876         (ELIDE_LOCK): ...here.
15877         (__get_new_count): New function with part of the code from
15878         __elide_lock that updates the value of adapt_count after a
15879         transaction abort.
15880         (__elided_trylock): Moved this code to...
15881         (ELIDE_TRYLOCK): ...here.
15883 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
15885         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
15886         * configure: Regenerate.
15887         * INSTALL: Regenerate.
15888         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
15889         and tweak grammar.
15891 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
15893         * login/programs/pt_chown.c: Include signal.h
15894         (main): Clear any signal mask from the parent process.
15896 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
15898         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
15899         * configure: Regenerated.
15900         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
15901         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
15902         $(gnu89-inline-CFLAGS).
15904         * configure.ac (libc_cv_asm_weak_directive): Remove configure
15905         test.
15906         (libc_cv_asm_weakext_directive): Likewise.
15907         * configure: Regenerated.
15908         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
15909         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
15910         * include/libc-symbols.h
15911         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
15912         #error.
15913         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
15914         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
15916         * sysdeps/arm/backtrace.c (__backtrace): Convert to
15917         prototype-style function definition.
15918         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
15919         * sysdeps/i386/ffs.c (__ffs): Likewise.
15920         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15921         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
15922         Likewise.
15923         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
15924         Likewise.
15925         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
15926         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
15927         Likewise.
15928         * sysdeps/m68k/ffs.c (__ffs): Likewise.
15929         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
15930         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
15931         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
15932         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
15933         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
15934         * sysdeps/mach/hurd/access.c (__access): Likewise.
15935         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
15936         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
15937         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
15938         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
15939         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
15940         (cthread_getspecific): Likewise.
15941         (cthread_setspecific): Likewise.
15942         (__libc_getspecific): Likewise.
15943         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
15944         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
15945         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
15946         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
15947         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
15948         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
15949         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
15950         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
15951         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
15952         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
15953         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
15954         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
15955         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
15956         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
15957         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
15958         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
15959         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
15960         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
15961         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
15962         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
15963         * sysdeps/mach/hurd/link.c (__link): Likewise.
15964         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
15965         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
15966         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
15967         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
15968         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
15969         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
15970         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
15971         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
15972         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
15973         * sysdeps/mach/hurd/rename.c (rename): Likewise.
15974         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
15975         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
15976         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
15977         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
15978         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
15979         * sysdeps/mach/hurd/send.c (__send): Likewise.
15980         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
15981         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
15982         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
15983         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
15984         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
15985         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
15986         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
15987         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
15988         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
15989         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
15990         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
15991         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
15992         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
15993         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
15994         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
15995         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
15996         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
15997         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
15998         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
15999         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
16000         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
16001         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
16002         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
16003         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
16004         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
16005         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
16006         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
16007         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
16008         * sysdeps/posix/alarm.c (alarm): Likewise.
16009         * sysdeps/posix/cuserid.c (cuserid): Likewise.
16010         * sysdeps/posix/dirfd.c (dirfd): Likewise.
16011         * sysdeps/posix/dup.c (__dup): Likewise.
16012         * sysdeps/posix/dup2.c (__dup2): Likewise.
16013         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
16014         (main): Likewise.
16015         * sysdeps/posix/flock.c (__flock): Likewise.
16016         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
16017         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
16018         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
16019         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
16020         * sysdeps/posix/isatty.c (__isatty): Likewise.
16021         * sysdeps/posix/killpg.c (killpg): Likewise.
16022         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
16023         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
16024         * sysdeps/posix/raise.c (raise): Likewise.
16025         * sysdeps/posix/remove.c (remove): Likewise.
16026         * sysdeps/posix/rename.c (rename): Likewise.
16027         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
16028         * sysdeps/posix/seekdir.c (seekdir): Likewise.
16029         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
16030         * sysdeps/posix/sigignore.c (sigignore): Likewise.
16031         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
16032         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
16033         * sysdeps/posix/sigset.c (sigset): Likewise.
16034         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
16035         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
16036         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
16037         * sysdeps/posix/time.c (time): Likewise.
16038         * sysdeps/posix/ttyname.c (getttyname): Likewise.
16039         (ttyname): Likewise.
16040         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
16041         * sysdeps/posix/utime.c (utime): Likewise.
16042         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
16043         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
16044         Likewise.
16045         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
16046         (pthread_spin_trylock): Likewise.
16047         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
16048         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
16049         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
16050         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
16051         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
16052         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
16053         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
16054         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
16055         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
16056         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
16057         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
16058         * sysdeps/s390/ffs.c (__ffs): Likewise.
16059         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
16060         Likewise.
16061         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
16062         Likewise.
16063         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
16064         Likewise.
16065         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
16066         (pthread_barrier_destroy): Likewise.
16067         * sysdeps/sparc/nptl/pthread_barrier_wait.c
16068         (__pthread_barrier_wait): Likewise.
16069         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
16070         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
16071         (__pthread_barrier_wait): Likewise.
16072         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
16073         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
16074         (memcmp_not_common_alignment): Likewise.
16075         (MEMCMP): Likewise.
16076         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
16077         (_wordcopy_fwd_dest_aligned): Likewise.
16078         (_wordcopy_bwd_aligned): Likewise.
16079         (_wordcopy_bwd_dest_aligned): Likewise.
16080         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
16081         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
16082         * sysdeps/unix/bsd/stty.c (stty): Likewise.
16083         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
16084         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
16085         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
16086         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
16087         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
16088         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
16089         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
16090         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
16091         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
16092         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
16093         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
16094         * sysdeps/unix/stime.c (stime): Likewise.
16095         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
16096         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
16097         Likewise.  Use internal_function.
16098         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
16099         Convert to prototype-style function definition.
16100         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16101         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16102         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
16103         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
16104         Likewise.  Use internal_function.
16105         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
16106         prototype-style function definition
16107         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16108         Likewise.
16109         (__getlogin_r): Likewise.
16110         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
16111         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
16112         (__pthread_cond_broadcast): Likewise.
16113         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
16114         (__pthread_cond_destroy): Likewise.
16115         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
16116         (__pthread_cond_init): Likewise.
16117         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
16118         (__pthread_cond_signal): Likewise.
16119         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
16120         (__pthread_cond_wait): Likewise.
16121         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
16122         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
16123         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
16124         Likewise.
16125         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
16126         Likewise.
16127         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
16128         Likewise.
16129         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
16130         Likewise.
16131         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
16132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
16133         (__ftruncate64): Likewise.
16134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
16135         (truncate64): Likewise.
16136         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
16137         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
16138         (pthread_getcpuclockid): Likewise.
16139         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
16140         Likewise.
16141         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
16142         Likewise.
16143         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
16144         Likewise.
16145         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
16146         Likewise.
16147         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
16148         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
16149         (__libc_sigaction): Likewise.
16150         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
16151         Likewise.
16152         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
16153         (__sigprocmask): Likewise.
16154         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
16155         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
16156         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
16157         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
16158         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
16159         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
16160         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
16161         Likewise.
16162         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
16163         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
16164         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
16165         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
16166         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
16167         Likewise.
16168         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
16169         (__sigprocmask): Likewise.
16170         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
16171         (cfgetispeed): Likewise.
16172         (cfsetospeed): Likewise.
16173         (cfsetispeed): Likewise.
16174         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
16175         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
16176         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
16177         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
16178         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
16179         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
16180         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
16181         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
16182         Likewise.
16183         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
16184         Likewise.
16185         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
16186         Likewise.
16187         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
16188         Likewise.
16189         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
16191 2015-10-17  Florian Weimer  <fweimer@redhat.com>
16193         sunrpc: Rewrite with explicit TLS access using __thread.
16194         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
16195         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
16196         directly.
16197         (__rpc_thread_variables): Access thread_rpc_vars directly.
16198         Eliminate redundant assignment of the tvp variable.
16200 2015-10-17  Florian Weimer  <fweimer@redhat.com>
16202         malloc: Rewrite with explicit TLS access using __thread.
16203         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
16204         (tsd_setspecific, tsd_getspecific): Remove.
16205         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
16206         (tsd_setspecific, tsd_getspecific): Likewise.
16207         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
16208         (tsd_setspecific, tsd_getspecific): Likewise.
16209         * malloc/arena.c (thread_arena): New TLS variable.
16210         (arena_key): Remove variable.
16211         (arena_get): Use thread_arena.
16212         (arena_lookup): Remove macro.
16213         (malloc_atfork, free_atfork, ptmalloc_lock_all)
16214         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
16215         (_int_new_arena, get_free_list, reused_arena)
16216         (arena_thread_freeres): Use thread_arena.
16217         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
16218         tsd_getspecific, tsd_setspecific from safety annotations.
16219         (Allocating Cleared Space): Remove arena_lookup from safety
16220         annotations.
16222 2015-10-17  Florian Weimer  <fweimer@redhat.com>
16224         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
16225         struct scratch_buffer instead of extend_alloca.
16227 2015-10-17  Florian Weimer  <fweimer@redhat.com>
16229         * sysdeps/unix/sysv/linux/kernel-features.h
16230         (__ASSUME_SOCK_CLOEXEC): Remove.
16231         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
16232         (__have_paccept): Remove unused macro.
16233         * include/unistd.h (__have_sock_cloexec): Remove declaration.
16234         * misc/syslog.c (openlog_internal): Remove fallback code for
16235         !__ASSUME_SOCK_CLOEXEC.
16236         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
16237         missing SOCK_CLOEXEC.
16238         * nscd/connections.c (have_sock_cloexec): Remove definition.
16239         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
16240         * nscd/nscd_helper.c (open_socket): Remove fallback code for
16241         !__ASSUME_SOCK_CLOEXEC.
16242         * resolv/res_send.c (__have_o_nonblock): Remove definition.
16243         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
16244         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
16245         definition.
16246         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
16247         code for !__ASSUME_SOCK_CLOEXEC.
16249 2015-10-17  Florian Weimer  <fweimer@redhat.com>
16251         [BZ #18982]
16252         * manual/stdio.texi (Variable Arguments Output): Add portability
16253         note, explaining that vfprintf clobbers the va_list pointer.
16255 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
16257         * math/libm-test.inc (fabs_test_data): Add more tests.
16258         (fdim_test_data): Likewise.
16259         (fma_test_data): Likewise.
16260         (fmax_test_data): Likewise.
16261         (fmin_test_data): Likewise.
16262         (fmod_test_data): Likewise.
16264 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
16266         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
16267         data.
16269 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
16271         * math/libm-test.inc (ceil_test_data): Add more tests and more
16272         expectations for "inexact".
16273         (floor_test_data): Add more tests.
16274         (round_test_data): Likewise.
16275         (trunc_test_data): Likewise.
16277         * crypt/cert.c (good_bye): Convert to prototype-style function
16278         definition.
16279         (get8): Likewise.
16280         (put8): Likewise.
16281         * crypt/crypt-entry.c (crypt): Likewise.
16282         (__fcrypt): Likewise.
16283         * crypt/crypt_util.c (_ufc_prbits): Likewise.
16284         (_ufc_set_bits): Likewise.
16285         (_ufc_clearmem): Likewise.
16286         (__init_des_r): Likewise.
16287         (shuffle_sb): Likewise.
16288         (shuffle_sb): Likewise.
16289         (_ufc_setup_salt_r): Likewise.
16290         (_ufc_mk_keytab_r): Likewise.
16291         (_ufc_dofinalperm_r): Likewise.
16292         (encrypt): Likewise.
16293         (__setkey_r): Likewise.
16294         (setkey): Likewise.
16295         * crypt/md5.c (md5_init_ctx): Likewise.
16296         (md5_read_ctx): Likewise.
16297         (md5_finish_ctx): Likewise.
16298         (md5_stream): Likewise.
16299         (md5_buffer): Likewise.
16300         (md5_process_bytes): Likewise.
16301         * crypt/sha256.c (__sha256_init_ctx): Likewise.
16302         (__sha256_finish_ctx): Likewise.
16303         (__sha256_process_bytes): Likewise.
16304         * crypt/sha512.c (__sha512_init_ctx): Likewise.
16305         (__sha512_finish_ctx): Likewise.
16306         (__sha512_process_bytes): Likewise.
16307         * ctype/isctype.c (__isctype): Likewise.
16308         * debug/backtrace.c (__backtrace): Likewise.
16309         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
16310         * debug/fgets_chk.c (__fgets_chk): Likewise.
16311         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
16312         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
16313         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
16314         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
16315         * debug/memset_chk.c (__memset_chk): Likewise.
16316         * debug/strcat_chk.c (__strcat_chk): Likewise.
16317         * debug/strncat_chk.c (__strncat_chk): Likewise.
16318         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
16319         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
16320         * dirent/dirfd.c (dirfd): Likewise.
16321         * dirent/getdents.c (__getdirentries): Likewise.
16322         * dirent/getdents64.c (getdirentries64): Likewise.
16323         * dirent/rewinddir.c (__rewinddir): Likewise.
16324         * dirent/seekdir.c (seekdir): Likewise.
16325         * dirent/telldir.c (telldir): Likewise.
16326         * elf/sln.c (makesymlinks): Likewise.
16327         (makesymlink): Likewise.
16328         * gmon/gmon.c (__moncontrol): Likewise.
16329         (__monstartup): Likewise.
16330         (write_hist): Likewise.
16331         (write_call_graph): Likewise.
16332         (write_bb_counts): Likewise.
16333         * grp/setgroups.c (setgroups): Likewise.
16334         * inet/inet_lnaof.c (inet_lnaof): Likewise.
16335         * inet/inet_net.c (inet_network): Likewise.
16336         * inet/inet_netof.c (inet_netof): Likewise.
16337         * inet/rcmd.c (rresvport_af): Likewise.
16338         (rresvport): Likewise.
16339         * io/access.c (__access): Likewise.
16340         * io/chdir.c (__chdir): Likewise.
16341         * io/chmod.c (__chmod): Likewise.
16342         * io/chown.c (__chown): Likewise.
16343         * io/close.c (__close): Likewise.
16344         * io/creat.c (creat): Likewise.
16345         * io/creat64.c (creat64): Likewise.
16346         * io/dup.c (__dup): Likewise.
16347         * io/dup2.c (__dup2): Likewise.
16348         * io/dup3.c (__dup3): Likewise.
16349         * io/euidaccess.c (__euidaccess): Likewise.
16350         * io/faccessat.c (faccessat): Likewise.
16351         * io/fchmod.c (__fchmod): Likewise.
16352         * io/fchmodat.c (fchmodat): Likewise.
16353         * io/fchown.c (__fchown): Likewise.
16354         * io/fchownat.c (fchownat): Likewise.
16355         * io/fcntl.c (__fcntl): Likewise.
16356         * io/flock.c (__flock): Likewise.
16357         * io/fts.c (fts_load): Likewise.
16358         (fts_close): Likewise.
16359         (fts_read): Likewise.
16360         (fts_set): Likewise.
16361         (fts_children): Likewise.
16362         (fts_build): Likewise.
16363         (fts_stat): Likewise.
16364         (fts_sort): Likewise.
16365         (fts_alloc): Likewise.
16366         (fts_lfree): Likewise.
16367         (fts_palloc): Likewise.
16368         (fts_padjust): Likewise.
16369         (fts_maxarglen): Likewise.
16370         (fts_safe_changedir): Likewise.
16371         * io/getwd.c (getwd): Likewise.
16372         * io/isatty.c (__isatty): Likewise.
16373         * io/lchown.c (__lchown): Likewise.
16374         * io/link.c (__link): Likewise.
16375         * io/linkat.c (linkat): Likewise.
16376         * io/lseek.c (__libc_lseek): Likewise.
16377         * io/mkdir.c (__mkdir): Likewise.
16378         * io/mkdirat.c (mkdirat): Likewise.
16379         * io/mkfifo.c (mkfifo): Likewise.
16380         * io/mkfifoat.c (mkfifoat): Likewise.
16381         * io/open.c (__libc_open): Likewise.
16382         * io/open64.c (__libc_open64): Likewise.
16383         * io/readlink.c (__readlink): Likewise.
16384         * io/readlinkat.c (readlinkat): Likewise.
16385         * io/rmdir.c (__rmdir): Likewise.
16386         * io/symlink.c (__symlink): Likewise.
16387         * io/symlinkat.c (symlinkat): Likewise.
16388         * io/ttyname.c (ttyname): Likewise.
16389         * io/ttyname_r.c (__ttyname_r): Likewise.
16390         * io/umask.c (__umask): Likewise.
16391         * io/unlink.c (__unlink): Likewise.
16392         * io/unlinkat.c (unlinkat): Likewise.
16393         * io/utime.c (utime): Likewise.
16394         * libio/clearerr.c (clearerr): Likewise.
16395         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
16396         * libio/feof.c (_IO_feof): Likewise.
16397         * libio/feof_u.c (feof_unlocked): Likewise.
16398         * libio/ferror.c (_IO_ferror): Likewise.
16399         * libio/ferror_u.c (ferror_unlocked): Likewise.
16400         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
16401         * libio/fileno.c (__fileno): Likewise.
16402         * libio/fputc.c (fputc): Likewise.
16403         * libio/fputc_u.c (fputc_unlocked): Likewise.
16404         * libio/fputwc.c (fputwc): Likewise.
16405         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
16406         * libio/freopen.c (freopen): Likewise.
16407         * libio/freopen64.c (freopen64): Likewise.
16408         * libio/fseek.c (fseek): Likewise.
16409         * libio/fseeko.c (fseeko): Likewise.
16410         * libio/fseeko64.c (fseeko64): Likewise.
16411         * libio/ftello.c (__ftello): Likewise.
16412         * libio/ftello64.c (ftello64): Likewise.
16413         * libio/fwide.c (fwide): Likewise.
16414         * libio/genops.c (_IO_un_link): Likewise.
16415         (_IO_link_in): Likewise.
16416         (_IO_least_marker): Likewise.
16417         (_IO_switch_to_main_get_area): Likewise.
16418         (_IO_switch_to_backup_area): Likewise.
16419         (_IO_switch_to_get_mode): Likewise.
16420         (_IO_free_backup_area): Likewise.
16421         (_IO_switch_to_put_mode): Likewise.
16422         (__overflow): Likewise.
16423         (__underflow): Likewise.
16424         (__uflow): Likewise.
16425         (_IO_setb): Likewise.
16426         (_IO_doallocbuf): Likewise.
16427         (_IO_default_underflow): Likewise.
16428         (_IO_default_uflow): Likewise.
16429         (_IO_default_xsputn): Likewise.
16430         (_IO_sgetn): Likewise.
16431         (_IO_default_xsgetn): Likewise.
16432         (_IO_sync): Likewise.
16433         (_IO_default_setbuf): Likewise.
16434         (_IO_default_seekpos): Likewise.
16435         (_IO_default_doallocate): Likewise.
16436         (_IO_init): Likewise.
16437         (_IO_old_init): Likewise.
16438         (_IO_default_sync): Likewise.
16439         (_IO_default_finish): Likewise.
16440         (_IO_default_seekoff): Likewise.
16441         (_IO_sputbackc): Likewise.
16442         (_IO_sungetc): Likewise.
16443         (_IO_set_column): Likewise.
16444         (_IO_set_column): Likewise.
16445         (_IO_adjust_column): Likewise.
16446         (_IO_get_column): Likewise.
16447         (_IO_init_marker): Likewise.
16448         (_IO_remove_marker): Likewise.
16449         (_IO_marker_difference): Likewise.
16450         (_IO_marker_delta): Likewise.
16451         (_IO_seekmark): Likewise.
16452         (_IO_unsave_markers): Likewise.
16453         (_IO_nobackup_pbackfail): Likewise.
16454         (_IO_default_pbackfail): Likewise.
16455         (_IO_default_seek): Likewise.
16456         (_IO_default_stat): Likewise.
16457         (_IO_default_read): Likewise.
16458         (_IO_default_write): Likewise.
16459         (_IO_default_showmanyc): Likewise.
16460         (_IO_default_imbue): Likewise.
16461         (_IO_iter_next): Likewise.
16462         (_IO_iter_file): Likewise.
16463         * libio/getc.c (_IO_getc): Likewise.
16464         * libio/getwc.c (_IO_getwc): Likewise.
16465         * libio/iofclose.c (_IO_new_fclose): Likewise.
16466         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
16467         * libio/iofflush.c (_IO_fflush): Likewise.
16468         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
16469         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
16470         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
16471         * libio/iofgets.c (_IO_fgets): Likewise.
16472         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
16473         * libio/iofgetws.c (fgetws): Likewise.
16474         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
16475         * libio/iofopen64.c (_IO_fopen64): Likewise.
16476         * libio/iofopncook.c (_IO_cookie_read): Likewise.
16477         (_IO_cookie_write): Likewise.
16478         (_IO_cookie_seek): Likewise.
16479         (_IO_cookie_close): Likewise.
16480         (_IO_cookie_seekoff): Likewise.
16481         (_IO_old_cookie_seek): Likewise.
16482         * libio/iofputs.c (_IO_fputs): Likewise.
16483         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
16484         * libio/iofputws.c (fputws): Likewise.
16485         * libio/iofputws_u.c (fputws_unlocked): Likewise.
16486         * libio/iofread.c (_IO_fread): Likewise.
16487         * libio/iofread_u.c (__fread_unlocked): Likewise.
16488         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
16489         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
16490         * libio/ioftell.c (_IO_ftell): Likewise.
16491         * libio/iofwrite.c (_IO_fwrite): Likewise.
16492         * libio/iogetdelim.c (_IO_getdelim): Likewise.
16493         * libio/iogets.c (_IO_gets): Likewise.
16494         * libio/iopadn.c (_IO_padn): Likewise.
16495         * libio/iopopen.c (_IO_new_proc_open): Likewise.
16496         (_IO_new_popen): Likewise.
16497         (_IO_new_proc_close): Likewise.
16498         * libio/ioputs.c (_IO_puts): Likewise.
16499         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
16500         (_IO_seekoff): Likewise.
16501         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
16502         (_IO_seekpos): Likewise.
16503         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
16504         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
16505         * libio/ioungetc.c (_IO_ungetc): Likewise.
16506         * libio/ioungetwc.c (ungetwc): Likewise.
16507         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
16508         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
16509         * libio/iowpadn.c (_IO_wpadn): Likewise.
16510         * libio/libc_fatal.c (__libc_fatal): Likewise.
16511         * libio/memstream.c (__open_memstream): Likewise.
16512         (_IO_mem_sync): Likewise.
16513         (_IO_mem_finish): Likewise.
16514         * libio/oldfileops.c (_IO_old_file_init): Likewise.
16515         (_IO_old_file_close_it): Likewise.
16516         (_IO_old_file_finish): Likewise.
16517         (_IO_old_file_fopen): Likewise.
16518         (_IO_old_file_attach): Likewise.
16519         (_IO_old_file_setbuf): Likewise.
16520         (_IO_old_do_write): Likewise.
16521         (old_do_write): Likewise.
16522         (_IO_old_file_underflow): Likewise.
16523         (_IO_old_file_overflow): Likewise.
16524         (_IO_old_file_sync): Likewise.
16525         (_IO_old_file_seekoff): Likewise.
16526         (_IO_old_file_write): Likewise.
16527         (_IO_old_file_xsputn): Likewise.
16528         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
16529         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
16530         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
16531         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
16532         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
16533         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
16534         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
16535         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
16536         (_IO_old_popen): Likewise.
16537         (_IO_old_proc_close): Likewise.
16538         * libio/oldpclose.c (__old_pclose): Likewise.
16539         * libio/pclose.c (__new_pclose): Likewise.
16540         * libio/peekc.c (_IO_peekc_locked): Likewise.
16541         * libio/putc.c (_IO_putc): Likewise.
16542         * libio/putc_u.c (putc_unlocked): Likewise.
16543         * libio/putchar.c (putchar): Likewise.
16544         * libio/putchar_u.c (putchar_unlocked): Likewise.
16545         * libio/putwc.c (putwc): Likewise.
16546         * libio/putwc_u.c (putwc_unlocked): Likewise.
16547         * libio/putwchar.c (putwchar): Likewise.
16548         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
16549         * libio/rewind.c (rewind): Likewise.
16550         * libio/setbuf.c (setbuf): Likewise.
16551         * libio/setlinebuf.c (setlinebuf): Likewise.
16552         * libio/vasprintf.c (_IO_vasprintf): Likewise.
16553         * libio/vscanf.c (_IO_vscanf): Likewise.
16554         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
16555         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
16556         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
16557         * libio/wgenops.c (_IO_least_wmarker): Likewise.
16558         (_IO_switch_to_main_wget_area): Likewise.
16559         (_IO_switch_to_wbackup_area): Likewise.
16560         (_IO_wsetb): Likewise.
16561         (_IO_wdefault_pbackfail): Likewise.
16562         (_IO_wdefault_finish): Likewise.
16563         (_IO_wdefault_uflow): Likewise.
16564         (__woverflow): Likewise.
16565         (__wuflow): Likewise.
16566         (__wunderflow): Likewise.
16567         (_IO_wdefault_xsputn): Likewise.
16568         (_IO_wdefault_xsgetn): Likewise.
16569         (_IO_wdoallocbuf): Likewise.
16570         (_IO_wdefault_doallocate): Likewise.
16571         (_IO_switch_to_wget_mode): Likewise.
16572         (_IO_free_wbackup_area): Likewise.
16573         (_IO_switch_to_wput_mode): Likewise.
16574         (_IO_sputbackwc): Likewise.
16575         (_IO_sungetwc): Likewise.
16576         (_IO_adjust_wcolumn): Likewise.
16577         (_IO_init_wmarker): Likewise.
16578         (_IO_wmarker_delta): Likewise.
16579         (_IO_seekwmark): Likewise.
16580         (_IO_unsave_wmarkers): Likewise.
16581         * libio/wmemstream.c (open_wmemstream): Likewise.
16582         (_IO_wmem_sync): Likewise.
16583         (_IO_wmem_finish): Likewise.
16584         * locale/nl_langinfo.c (nl_langinfo): Likewise.
16585         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
16586         * locale/programs/simple-hash.c (init_hash): Likewise.
16587         (delete_hash): Likewise.
16588         (insert_entry): Likewise.
16589         (set_entry): Likewise.
16590         (next_prime): Likewise.
16591         (is_prime): Likewise.
16592         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
16593         (xmalloc): Likewise.
16594         (xrealloc): Likewise.
16595         * locale/programs/xstrdup.c (xstrdup): Likewise.
16596         * localedata/collate-test.c (xstrcoll): Likewise.
16597         * localedata/xfrm-test.c (xstrcmp): Likewise.
16598         * login/getlogin_r.c (__getlogin_r): Likewise.
16599         * login/getpt.c (__posix_openpt): Likewise.
16600         * login/login_tty.c (login_tty): Likewise.
16601         * login/setlogin.c (setlogin): Likewise.
16602         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
16603         (mach_msg_destroy_port): Likewise.
16604         (mach_msg_destroy_memory): Likewise.
16605         * malloc/mcheck.c (flood): Likewise.
16606         * misc/acct.c (acct): Likewise.
16607         * misc/brk.c (__brk): Likewise.
16608         * misc/chflags.c (chflags): Likewise.
16609         * misc/chroot.c (chroot): Likewise.
16610         * misc/fchflags.c (fchflags): Likewise.
16611         * misc/fstab.c (getfsspec): Likewise.
16612         (getfsfile): Likewise.
16613         * misc/fsync.c (fsync): Likewise.
16614         * misc/ftruncate.c (__ftruncate): Likewise.
16615         * misc/ftruncate64.c (__ftruncate64): Likewise.
16616         * misc/getdomain.c (getdomainname): Likewise.
16617         (getdomainname): Likewise.
16618         * misc/gethostname.c (__gethostname): Likewise.
16619         * misc/getpass.c (getpass): Likewise.
16620         * misc/getttyent.c (skip): Likewise.
16621         (value): Likewise.
16622         * misc/gtty.c (gtty): Likewise.
16623         * misc/hsearch.c (hsearch): Likewise.
16624         (hcreate): Likewise.
16625         * misc/hsearch_r.c (__hcreate_r): Likewise.
16626         (__hdestroy_r): Likewise.
16627         * misc/ioctl.c (__ioctl): Likewise.
16628         * misc/mkdtemp.c (mkdtemp): Likewise.
16629         * misc/mkostemp.c (mkostemp): Likewise.
16630         * misc/mkostemp64.c (mkostemp64): Likewise.
16631         * misc/mkostemps.c (mkostemps): Likewise.
16632         * misc/mkostemps64.c (mkostemps64): Likewise.
16633         * misc/mkstemp.c (mkstemp): Likewise.
16634         * misc/mkstemp64.c (mkstemp64): Likewise.
16635         * misc/mkstemps.c (mkstemps): Likewise.
16636         * misc/mkstemps64.c (mkstemps64): Likewise.
16637         * misc/mktemp.c (__mktemp): Likewise.
16638         * misc/preadv.c (preadv): Likewise.
16639         * misc/preadv64.c (preadv64): Likewise.
16640         * misc/pwritev.c (pwritev): Likewise.
16641         * misc/pwritev64.c (pwritev64): Likewise.
16642         * misc/readv.c (__readv): Likewise.
16643         * misc/revoke.c (revoke): Likewise.
16644         * misc/setdomain.c (setdomainname): Likewise.
16645         * misc/setegid.c (setegid): Likewise.
16646         * misc/seteuid.c (seteuid): Likewise.
16647         * misc/sethostid.c (sethostid): Likewise.
16648         * misc/sethostname.c (sethostname): Likewise.
16649         * misc/setregid.c (__setregid): Likewise.
16650         * misc/setreuid.c (__setreuid): Likewise.
16651         * misc/sstk.c (sstk): Likewise.
16652         * misc/stty.c (stty): Likewise.
16653         * misc/syscall.c (syscall): Likewise.
16654         * misc/syslog.c (setlogmask): Likewise.
16655         * misc/truncate.c (__truncate): Likewise.
16656         * misc/truncate64.c (truncate64): Likewise.
16657         * misc/ualarm.c (ualarm): Likewise.
16658         * misc/usleep.c (usleep): Likewise.
16659         * misc/ustat.c (ustat): Likewise.
16660         * misc/writev.c (__writev): Likewise.
16661         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
16662         * nptl/old_pthread_cond_broadcast.c
16663         (__pthread_cond_broadcast_2_0): Likewise.
16664         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
16665         Likewise.
16666         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
16667         Likewise.
16668         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
16669         Likewise.
16670         * nptl/pt-raise.c (raise): Likewise.
16671         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
16672         Likewise.
16673         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
16674         * nptl/pthread_barrierattr_destroy.c
16675         (pthread_barrierattr_destroy): Likewise.
16676         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
16677         Likewise.
16678         * nptl/pthread_barrierattr_setpshared.c
16679         (pthread_barrierattr_setpshared): Likewise.
16680         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
16681         Likewise.
16682         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
16683         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
16684         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
16685         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
16686         Likewise.
16687         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
16688         Likewise.
16689         * nptl/pthread_condattr_getpshared.c
16690         (pthread_condattr_getpshared): Likewise.
16691         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
16692         Likewise.
16693         * nptl/pthread_condattr_setpshared.c
16694         (pthread_condattr_setpshared): Likewise.
16695         * nptl/pthread_detach.c (pthread_detach): Likewise.
16696         * nptl/pthread_equal.c (__pthread_equal): Likewise.
16697         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
16698         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
16699         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
16700         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
16701         Likewise.
16702         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
16703         Likewise.
16704         * nptl/pthread_mutex_getprioceiling.c
16705         (pthread_mutex_getprioceiling): Likewise.
16706         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
16707         Likewise.
16708         * nptl/pthread_mutexattr_getprotocol.c
16709         (pthread_mutexattr_getprotocol): Likewise.
16710         * nptl/pthread_mutexattr_getpshared.c
16711         (pthread_mutexattr_getpshared): Likewise.
16712         * nptl/pthread_mutexattr_getrobust.c
16713         (pthread_mutexattr_getrobust): Likewise.
16714         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
16715         Likewise.
16716         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
16717         Likewise.
16718         * nptl/pthread_mutexattr_setprioceiling.c
16719         (pthread_mutexattr_setprioceiling): Likewise.
16720         * nptl/pthread_mutexattr_setprotocol.c
16721         (pthread_mutexattr_setprotocol): Likewise.
16722         * nptl/pthread_mutexattr_setpshared.c
16723         (pthread_mutexattr_setpshared): Likewise.
16724         * nptl/pthread_mutexattr_setrobust.c
16725         (pthread_mutexattr_setrobust): Likewise.
16726         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
16727         Likewise.
16728         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
16729         Likewise.
16730         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
16731         Likewise.
16732         * nptl/pthread_rwlockattr_getkind_np.c
16733         (pthread_rwlockattr_getkind_np): Likewise.
16734         * nptl/pthread_rwlockattr_getpshared.c
16735         (pthread_rwlockattr_getpshared): Likewise.
16736         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
16737         Likewise.
16738         * nptl/pthread_rwlockattr_setkind_np.c
16739         (pthread_rwlockattr_setkind_np): Likewise.
16740         * nptl/pthread_rwlockattr_setpshared.c
16741         (pthread_rwlockattr_setpshared): Likewise.
16742         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
16743         Likewise.
16744         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
16745         Likewise.
16746         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
16747         Likewise.
16748         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
16749         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
16750         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
16751         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
16752         * nptl/sem_close.c (sem_close): Likewise.
16753         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
16754         * nptl/sem_init.c (__old_sem_init): Likewise.
16755         * nptl/sigaction.c (__sigaction): Likewise.
16756         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
16757         * posix/_exit.c (_exit): Likewise.
16758         * posix/alarm.c (alarm): Likewise.
16759         * posix/confstr.c (confstr): Likewise.
16760         * posix/fpathconf.c (__fpathconf): Likewise.
16761         * posix/getgroups.c (__getgroups): Likewise.
16762         * posix/getpgid.c (__getpgid): Likewise.
16763         * posix/group_member.c (__group_member): Likewise.
16764         * posix/pathconf.c (__pathconf): Likewise.
16765         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
16766         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
16767         * posix/setgid.c (__setgid): Likewise.
16768         * posix/setpgid.c (__setpgid): Likewise.
16769         * posix/setuid.c (__setuid): Likewise.
16770         * posix/sleep.c (__sleep): Likewise.
16771         * posix/sysconf.c (__sysconf): Likewise.
16772         * posix/times.c (__times): Likewise.
16773         * posix/uname.c (__uname): Likewise.
16774         * posix/waitid.c (__waitid): Likewise.
16775         * pwd/getpw.c (__getpw): Likewise.
16776         * resolv/base64.c (b64_pton): Likewise.
16777         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
16778         * resolv/gethnamaddr.c (Dprintf): Likewise.
16779         (gethostbyname): Likewise.
16780         (gethostbyname2): Likewise.
16781         (gethostbyaddr): Likewise.
16782         (_sethtent): Likewise.
16783         (_gethtbyname): Likewise.
16784         (_gethtbyname2): Likewise.
16785         (_gethtbyaddr): Likewise.
16786         (map_v4v6_address): Likewise.
16787         (map_v4v6_hostent): Likewise.
16788         (addrsort): Likewise.
16789         (ht_sethostent): Likewise.
16790         (ht_gethostbyname): Likewise.
16791         (ht_gethostbyaddr): Likewise.
16792         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
16793         (inet_net_ntop_ipv4): Likewise.
16794         * resolv/inet_neta.c (inet_neta): Likewise.
16795         * resolv/inet_ntop.c (inet_ntop): Likewise.
16796         (inet_ntop4): Likewise.
16797         (inet_ntop6): Likewise.
16798         * resolv/inet_pton.c (__inet_pton): Likewise.
16799         (inet_pton4): Likewise.
16800         (inet_pton6): Likewise.
16801         * resolv/res_debug.c (loc_aton): Likewise.
16802         (loc_ntoa): Likewise.
16803         * resource/getpriority.c (__getpriority): Likewise.
16804         * resource/getrusage.c (__getrusage): Likewise.
16805         * resource/nice.c (nice): Likewise.
16806         * resource/setpriority.c (__setpriority): Likewise.
16807         * resource/setrlimit64.c (setrlimit64): Likewise.
16808         * resource/vlimit.c (vlimit): Likewise.
16809         * resource/vtimes.c (vtimes): Likewise.
16810         * rt/aio_error.c (aio_error): Likewise.
16811         * rt/aio_return.c (aio_return): Likewise.
16812         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
16813         * signal/kill.c (__kill): Likewise.
16814         * signal/killpg.c (killpg): Likewise.
16815         * signal/raise.c (raise): Likewise.
16816         * signal/sigaction.c (__sigaction): Likewise.
16817         * signal/sigaddset.c (sigaddset): Likewise.
16818         * signal/sigaltstack.c (sigaltstack): Likewise.
16819         * signal/sigandset.c (sigandset): Likewise.
16820         * signal/sigblock.c (__sigblock): Likewise.
16821         * signal/sigdelset.c (sigdelset): Likewise.
16822         * signal/sigempty.c (sigemptyset): Likewise.
16823         * signal/sigfillset.c (sigfillset): Likewise.
16824         * signal/sighold.c (sighold): Likewise.
16825         * signal/sigignore.c (sigignore): Likewise.
16826         * signal/sigintr.c (siginterrupt): Likewise.
16827         * signal/sigisempty.c (sigisemptyset): Likewise.
16828         * signal/sigismem.c (sigismember): Likewise.
16829         * signal/signal.c (signal): Likewise.
16830         * signal/sigorset.c (sigorset): Likewise.
16831         * signal/sigpause.c (__sigpause): Likewise.
16832         * signal/sigpending.c (sigpending): Likewise.
16833         * signal/sigprocmask.c (__sigprocmask): Likewise.
16834         * signal/sigrelse.c (sigrelse): Likewise.
16835         * signal/sigreturn.c (__sigreturn): Likewise.
16836         * signal/sigset.c (sigset): Likewise.
16837         * signal/sigsetmask.c (__sigsetmask): Likewise.
16838         * signal/sigstack.c (sigstack): Likewise.
16839         * signal/sigsuspend.c (__sigsuspend): Likewise.
16840         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
16841         * signal/sysv_signal.c (__sysv_signal): Likewise.
16842         * socket/accept.c (accept): Likewise.
16843         * socket/accept4.c (__libc_accept4): Likewise.
16844         * socket/bind.c (__bind): Likewise.
16845         * socket/connect.c (__connect): Likewise.
16846         * socket/getpeername.c (getpeername): Likewise.
16847         * socket/getsockname.c (__getsockname): Likewise.
16848         * socket/getsockopt.c (getsockopt): Likewise.
16849         * socket/listen.c (__listen): Likewise.
16850         * socket/recv.c (__recv): Likewise.
16851         * socket/recvmsg.c (__recvmsg): Likewise.
16852         * socket/send.c (__send): Likewise.
16853         * socket/sendmsg.c (__sendmsg): Likewise.
16854         * socket/shutdown.c (shutdown): Likewise.
16855         * socket/sockatmark.c (sockatmark): Likewise.
16856         * socket/socket.c (__socket): Likewise.
16857         * stdio-common/ctermid.c (ctermid): Likewise.
16858         * stdio-common/cuserid.c (cuserid): Likewise.
16859         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
16860         * stdio-common/remove.c (remove): Likewise.
16861         * stdio-common/rename.c (rename): Likewise.
16862         * stdio-common/renameat.c (renameat): Likewise.
16863         * stdio-common/tempname.c (__gen_tempname): Likewise.
16864         * stdio-common/xbug.c (InitBuffer): Likewise.
16865         (AppendToBuffer): Likewise.
16866         (ReadFile): Likewise.
16867         * stdlib/a64l.c (a64l): Likewise.
16868         * stdlib/drand48_r.c (drand48_r): Likewise.
16869         * stdlib/getcontext.c (getcontext): Likewise.
16870         * stdlib/getenv.c (getenv): Likewise.
16871         * stdlib/l64a.c (l64a): Likewise.
16872         * stdlib/llabs.c (llabs): Likewise.
16873         * stdlib/lldiv.c (lldiv): Likewise.
16874         * stdlib/lrand48_r.c (lrand48_r): Likewise.
16875         * stdlib/mrand48_r.c (mrand48_r): Likewise.
16876         * stdlib/putenv.c (putenv): Likewise.
16877         * stdlib/random.c (__srandom): Likewise.
16878         (__initstate): Likewise.
16879         (__setstate): Likewise.
16880         * stdlib/random_r.c (__srandom_r): Likewise.
16881         (__setstate_r): Likewise.
16882         (__random_r): Likewise.
16883         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
16884         * stdlib/setcontext.c (setcontext): Likewise.
16885         * stdlib/setenv.c (setenv): Likewise.
16886         (unsetenv): Likewise.
16887         * stdlib/srand48.c (srand48): Likewise.
16888         * stdlib/srand48_r.c (__srand48_r): Likewise.
16889         * stdlib/swapcontext.c (swapcontext): Likewise.
16890         * stdlib/system.c (__libc_system): Likewise.
16891         * stdlib/tst-strtod.c (expand): Likewise.
16892         * stdlib/tst-strtol.c (expand): Likewise.
16893         * stdlib/tst-strtoll.c (expand): Likewise.
16894         * streams/fattach.c (fattach): Likewise.
16895         * streams/fdetach.c (fdetach): Likewise.
16896         * streams/getmsg.c (getmsg): Likewise.
16897         * streams/isastream.c (isastream): Likewise.
16898         * string/ffs.c (__ffs): Likewise.
16899         * string/ffsll.c (ffsll): Likewise.
16900         * string/memcmp.c (memcmp_common_alignment): Likewise.
16901         (memcmp_not_common_alignment): Likewise.
16902         (MEMCMP): Likewise.
16903         * string/memcpy.c (memcpy): Likewise.
16904         * string/memmove.c (MEMMOVE): Likewise.
16905         * string/memset.c (memset): Likewise.
16906         * string/rawmemchr.c (RAWMEMCHR): Likewise.
16907         * string/strchrnul.c (STRCHRNUL): Likewise.
16908         * string/strerror.c (strerror): Likewise.
16909         * string/strndup.c (__strndup): Likewise.
16910         * string/strverscmp.c (__strverscmp): Likewise.
16911         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
16912         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
16913         (clnttcp_freeres): Likewise.
16914         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
16915         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
16916         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
16917         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
16918         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
16919         (xdr_callhdr): Likewise.
16920         * sunrpc/rpcinfo.c (udpping): Likewise.
16921         (tcpping): Likewise.
16922         (pstatus): Likewise.
16923         (pmapdump): Likewise.
16924         (brdcst): Likewise.
16925         (deletereg): Likewise.
16926         (getprognum): Likewise.
16927         (getvers): Likewise.
16928         (get_inet_address): Likewise.
16929         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
16930         * sunrpc/svc_udp.c (svcudp_create): Likewise.
16931         (svcudp_stat): Likewise.
16932         (svcudp_recv): Likewise.
16933         (svcudp_reply): Likewise.
16934         (svcudp_getargs): Likewise.
16935         (svcudp_freeargs): Likewise.
16936         (svcudp_destroy): Likewise.
16937         * sunrpc/xdr.c (xdr_bytes): Likewise.
16938         (xdr_netobj): Likewise.
16939         (xdr_string): Likewise.
16940         (xdr_wrapstring): Likewise.
16941         * sunrpc/xdr_float.c (xdr_float): Likewise.
16942         (xdr_double): Likewise.
16943         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
16944         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
16945         * sysvipc/ftok.c (ftok): Likewise.
16946         * sysvipc/msgctl.c (msgctl): Likewise.
16947         * sysvipc/msgget.c (msgget): Likewise.
16948         * sysvipc/msgrcv.c (msgrcv): Likewise.
16949         * sysvipc/msgsnd.c (msgsnd): Likewise.
16950         * sysvipc/semget.c (semget): Likewise.
16951         * sysvipc/semop.c (semop): Likewise.
16952         * sysvipc/shmat.c (shmat): Likewise.
16953         * sysvipc/shmctl.c (shmctl): Likewise.
16954         * sysvipc/shmdt.c (shmdt): Likewise.
16955         * sysvipc/shmget.c (shmget): Likewise.
16956         * termios/cfmakeraw.c (cfmakeraw): Likewise.
16957         * termios/speed.c (cfgetospeed): Likewise.
16958         (cfgetispeed): Likewise.
16959         (cfsetospeed): Likewise.
16960         (cfsetispeed): Likewise.
16961         * termios/tcflow.c (tcflow): Likewise.
16962         * termios/tcflush.c (tcflush): Likewise.
16963         * termios/tcgetattr.c (__tcgetattr): Likewise.
16964         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
16965         * termios/tcgetsid.c (tcgetsid): Likewise.
16966         * termios/tcsendbrk.c (tcsendbreak): Likewise.
16967         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
16968         * time/adjtime.c (__adjtime): Likewise.
16969         * time/dysize.c (dysize): Likewise.
16970         * time/ftime.c (ftime): Likewise.
16971         * time/getitimer.c (__getitimer): Likewise.
16972         * time/gettimeofday.c (__gettimeofday): Likewise.
16973         * time/gmtime.c (__gmtime_r): Likewise.
16974         (gmtime): Likewise.
16975         * time/localtime.c (__localtime_r): Likewise.
16976         (localtime): Likewise.
16977         * time/offtime.c (__offtime): Likewise.
16978         * time/settimeofday.c (__settimeofday): Likewise.
16979         * time/stime.c (stime): Likewise.
16980         * time/strftime_l.c (tm_diff): Likewise.
16981         (iso_week_days): Likewise.
16982         * time/strptime.c (strptime): Likewise.
16983         * time/time.c (time): Likewise.
16984         * time/timespec_get.c (timespec_get): Likewise.
16985         * time/tzset.c (tzset_internal): Likewise.
16986         (compute_change): Likewise.
16987         (__tz_compute): Likewise.
16988         * wcsmbs/btowc.c (__btowc): Likewise.
16989         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
16990         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
16991         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
16992         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
16993         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
16994         * wcsmbs/wcscat.c (__wcscat): Likewise.
16995         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
16996         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
16997         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
16998         * wcsmbs/wcscspn.c (wcscspn): Likewise.
16999         * wcsmbs/wcsdup.c (wcsdup): Likewise.
17000         * wcsmbs/wcslen.c (__wcslen): Likewise.
17001         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
17002         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
17003         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
17004         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
17005         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17006         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
17007         * wcsmbs/wcsspn.c (wcsspn): Likewise.
17008         * wcsmbs/wcsstr.c (wcsstr): Likewise.
17009         * wcsmbs/wcstok.c (wcstok): Likewise.
17010         * wcsmbs/wctob.c (wctob): Likewise.
17011         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
17012         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17013         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
17014         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
17015         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
17016         * wcsmbs/wmemset.c (__wmemset): Likewise.
17017         * wctype/wcfuncs.c (__towlower): Likewise.
17018         (__towupper): Likewise.
17020         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
17021         (lll_unlock_elision): Add adapt_count parameter.
17023 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
17025         * sysdeps/nptl/configure.ac: Do not give errors based on the
17026         results of top-level configure tests.
17027         * sysdeps/nptl/configure: Regenerated.
17029         * configure.ac (libc_cv_Bgroup): Remove configure test.
17030         * configure: Regenerated.
17031         * config.make.in (have-Bgroup): Remove variable.
17033         * configure.ac (sizeof_long_double): Remove configure test.
17034         * configure: Regenerated.
17035         * config.make.in (sizeof-long-double): Remove variable.
17037         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
17038         * configure: Regenerated.
17039         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
17040         variable.
17041         (exceptions): Likewise.
17042         * sysdeps/arm/configure: Regenerated.
17043         * config.make.in (exceptions): Remove variable.
17044         * Makeconfig (uses-callbacks): Use -fexceptions instead of
17045         $(exceptions).
17046         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
17047         (CFLAGS-vdprintf_chk.c): Likewise.
17048         (CFLAGS-printf_chk.c): Likewise.
17049         (CFLAGS-fprintf_chk.c): Likewise.
17050         (CFLAGS-vprintf_chk.c): Likewise.
17051         (CFLAGS-vfprintf_chk.c): Likewise.
17052         (CFLAGS-gets_chk.c): Likewise.
17053         (CFLAGS-fgets_chk.c): Likewise.
17054         (CFLAGS-fgets_u_chk.c): Likewise.
17055         (CFLAGS-fread_chk.c): Likewise.
17056         (CFLAGS-fread_u_chk.c): Likewise.
17057         (CFLAGS-wprintf_chk.c): Likewise.
17058         (CFLAGS-fwprintf_chk.c): Likewise.
17059         (CFLAGS-vwprintf_chk.c): Likewise.
17060         (CFLAGS-vfwprintf_chk.c): Likewise.
17061         (CFLAGS-fgetws_chk.c): Likewise.
17062         (CFLAGS-fgetws_u_chk.c): Likewise.
17063         * libio/Makefile (CFLAGS-fileops.c): Likewise.
17064         (CFLAGS-fputc.c): Likewise.
17065         (CFLAGS-fputwc.c): Likewise.
17066         (CFLAGS-freopen64.c): Likewise.
17067         (CFLAGS-freopen.c): Likewise.
17068         (CFLAGS-fseek.c): Likewise.
17069         (CFLAGS-fseeko64.c): Likewise.
17070         (CFLAGS-fseeko.c): Likewise.
17071         (CFLAGS-ftello64.c): Likewise.
17072         (CFLAGS-ftello.c): Likewise.
17073         (CFLAGS-fwide.c): Likewise.
17074         (CFLAGS-genops.c): Likewise.
17075         (CFLAGS-getc.c): Likewise.
17076         (CFLAGS-getchar.c): Likewise.
17077         (CFLAGS-getwc.c): Likewise.
17078         (CFLAGS-getwchar.c): Likewise.
17079         (CFLAGS-iofclose.c): Likewise.
17080         (CFLAGS-iofflush.c): Likewise.
17081         (CFLAGS-iofgetpos64.c): Likewise.
17082         (CFLAGS-iofgetpos.c): Likewise.
17083         (CFLAGS-iofgets.c): Likewise.
17084         (CFLAGS-iofgetws.c): Likewise.
17085         (CFLAGS-iofputs.c): Likewise.
17086         (CFLAGS-iofputws.c): Likewise.
17087         (CFLAGS-iofread.c): Likewise.
17088         (CFLAGS-iofsetpos64.c): Likewise.
17089         (CFLAGS-iofsetpos.c): Likewise.
17090         (CFLAGS-ioftell.c): Likewise.
17091         (CFLAGS-iofwrite.c): Likewise.
17092         (CFLAGS-iogetdelim.c): Likewise.
17093         (CFLAGS-iogetline.c): Likewise.
17094         (CFLAGS-iogets.c): Likewise.
17095         (CFLAGS-iogetwline.c): Likewise.
17096         (CFLAGS-ioputs.c): Likewise.
17097         (CFLAGS-ioseekoff.c): Likewise.
17098         (CFLAGS-ioseekpos.c): Likewise.
17099         (CFLAGS-iosetbuffer.c): Likewise.
17100         (CFLAGS-iosetvbuf.c): Likewise.
17101         (CFLAGS-ioungetc.c): Likewise.
17102         (CFLAGS-ioungetwc.c): Likewise.
17103         (CFLAGS-oldfileops.c): Likewise.
17104         (CFLAGS-oldiofclose.c): Likewise.
17105         (CFLAGS-oldiofgetpos64.c): Likewise.
17106         (CFLAGS-oldiofgetpos.c): Likewise.
17107         (CFLAGS-oldiofsetpos64.c): Likewise.
17108         (CFLAGS-oldiofsetpos.c): Likewise.
17109         (CFLAGS-peekc.c): Likewise.
17110         (CFLAGS-putc.c): Likewise.
17111         (CFLAGS-putchar.c): Likewise.
17112         (CFLAGS-putwc.c): Likewise.
17113         (CFLAGS-putwchar.c): Likewise.
17114         (CFLAGS-rewind.c): Likewise.
17115         (CFLAGS-wfileops.c): Likewise.
17116         (CFLAGS-wgenops.c): Likewise.
17117         (CFLAGS-oldiofopen.c): Likewise.
17118         (CFLAGS-iofopen.c): Likewise.
17119         (CFLAGS-iofopen64.c): Likewise.
17120         (CFLAGS-oldtmpfile.c): Likewise.
17121         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
17122         (CFLAGS-fprintf.c): Likewise.
17123         (CFLAGS-printf.c): Likewise.
17124         (CFLAGS-vfwprintf.c): Likewise.
17125         (CFLAGS-vfscanf.c): Likewise.
17126         (CFLAGS-vfwscanf.c): Likewise.
17127         (CFLAGS-fscanf.c): Likewise.
17128         (CFLAGS-scanf.c): Likewise.
17129         (CFLAGS-isoc99_vfscanf.c): Likewise.
17130         (CFLAGS-isoc99_vscanf.c): Likewise.
17131         (CFLAGS-isoc99_fscanf.c): Likewise.
17132         (CFLAGS-isoc99_scanf.c): Likewise.
17133         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
17134         (CFLAGS-isoc99_fwscanf.c): Likewise.
17135         (CFLAGS-isoc99_vwscanf.c): Likewise.
17136         (CFLAGS-isoc99_vfwscanf.c): Likewise.
17138         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
17139         after mkstemp64.
17140         * login/tst-utmp.c (do_prepare): Likewise.
17141         * rt/tst-aio.c (do_prepare): Likewise.
17142         * rt/tst-aio64.c (do_prepare): Likewise.
17144 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17146         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
17147         (__lll_lock_elision): Remove adapt_count decrement...
17148         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
17149         (__lll_trylock_elision): Likewise.
17150         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
17151         (__lll_unlock_elision): ... to here. And utilize
17152         new adapt_count parameter.
17153         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
17154         (__lll_unlock_elision): Update to include adapt_count
17155         parameter.
17156         (lll_unlock_elision): Pass pointer to adapt_count
17157         variable.
17159 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17161         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
17162         Add elision adapt_count parameter to list of arguments.
17163         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
17164         (lll_unlock_elision): Update with new parameter list
17165         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
17166         (lll_unlock_elision): Likewise.
17167         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
17168         (lll_unlock_elision): Likewise.
17170 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
17172         [BZ #19122]
17173         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
17174         attribute_hidden.
17176         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
17177         attribute_hidden.
17178         [IS_IN (rtld)] (__strdup): Likewise.
17179         [IS_IN (rtld)] (__strerror_r): Likewise.
17180         [IS_IN (rtld)] (__strsep_g): Likewise.
17181         [IS_IN (rtld)] (memchr): Likewise.
17182         [IS_IN (rtld)] (memcmp): Likewise.
17183         [IS_IN (rtld)] (memcpy): Likewise.
17184         [IS_IN (rtld)] (memmove): Likewise.
17185         [IS_IN (rtld)] (memset): Likewise.
17186         [IS_IN (rtld)] (rawmemchr): Likewise.
17187         [IS_IN (rtld)] (stpcpy): Likewise.
17188         [IS_IN (rtld)] (strchr): Likewise.
17189         [IS_IN (rtld)] (strcmp): Likewise.
17190         [IS_IN (rtld)] (strlen): Likewise.
17191         [IS_IN (rtld)] (strnlen): Likewise.
17192         [IS_IN (rtld)] (strsep): Likewise.
17194         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
17195         attribute_hidden.
17196         [IS_IN (rtld)] (__strtoul_internal): Likewise.
17198         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
17199         attribute_hidden.
17200         [IS_IN (rtld)] (__libc_sigaction): Likewise.
17202         * include/setjmp.h (__longjmp): Add attribute_hidden.
17203         [IS_IN (rtld)] (__sigsetjmp): Likewise.
17205         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
17206         Add attribute_hidden.
17208         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
17209         [IS_IN (rtld)] (__open): Likewise.
17210         [IS_IN (rtld)] (__fcntl): Likewise.
17212         * include/dirent.h (__opendirat): Add attribute_hidden.
17213         (__getdents): Likewise.
17214         (__getdents64): Likewise.
17215         (__alloc_dir): Likewise.
17216         [IS_IN (rtld)] (__closedir): Likewise.
17217         [IS_IN (rtld)] (__fdopendir): Likewise.
17218         [IS_IN (rtld)] (__readdir): Likewise.
17219         [IS_IN (rtld)] (__readdir64): Likewise.
17220         [IS_IN (rtld)] (__rewinddir): Likewise.
17222         * include/dlfcn.h (_dl_catch_error): Moved to ...
17223         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
17224         attribute_hidden.
17226         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
17227         (_itoa_word): Likewise.
17229         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
17230         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
17231         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
17232         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
17233         (_dl_higher_prime_number): Likewise.
17234         (_dl_debug_printf_c): Likewise.
17235         (_dl_signal_cerror): Likewise.
17236         (_dl_receive_error): Likewise.
17237         (_dl_reloc_bad_type): Likewise.
17238         (_dl_resolve_conflicts): Likewise.
17239         (_dl_check_all_versions): Likewise.
17240         (_dl_check_map_versions): Likewise.
17241         (_dl_sort_fini): Likewise.
17242         (_dl_debug_initialize): Likewise.
17243         (_dl_init_paths): Likewise.
17244         (_dl_show_auxv): Likewise.
17245         (_dl_next_ld_env_entry): Likewise.
17246         (_dl_important_hwcaps): Likewise.
17247         (_dl_load_cache_lookup): Likewise.
17248         (_dl_update_slotinfo): Likewise.
17249         (_dl_show_scope): Likewise.
17251         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
17252         attribute_hidden.
17253         (_wordcopy_fwd_dest_aligned): Likewise.
17254         (_wordcopy_bwd_aligned): Likewise.
17255         (_wordcopy_bwd_dest_aligned): Likewise.
17257         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
17258         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
17259         Likewise.
17260         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
17261         Likewise.
17262         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
17264 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
17266         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
17267         GCC 5 requirement.
17269 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
17271         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
17272         test.
17273         * sysdeps/i386/configure: Regenerated.
17274         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
17275         code unconditional.
17277         * configure.ac (libc_cv_asm_previous_directive): Remove configure
17278         test.
17279         (libc_cv_asm_popsection_directive): Likewise.
17280         * configure: Regenerated.
17281         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
17282         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
17283         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
17284         (__make_section_unallocated): Make definition unconditional.
17285         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
17286         Remove conditional definition.
17287         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
17288         (__make_section_unallocated): Likewise.
17290         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
17291         * configure: Regenerated.
17292         * config.make.in (static-libgcc): Remove variable.
17293         * Makerules (build-shlib-helper): Use -static-libgcc instead of
17294         $(static-libgcc).
17295         (build-module-helper): Likewise.
17297         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
17298         * configure: Regenerated.
17300 2015-10-15  Florian Weimer  <fweimer@redhat.com>
17302         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
17303         (struct char_buffer): New type.
17304         (char_buffer_start, char_buffer_size, char_buffer_error)
17305         (char_buffer_rewind, char_buffer_add): New functions.
17306         (ADDW): Remove macro, replaced by the char_buffer_add function.
17307         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
17308         of extend_alloca.  Make control flow more explicit.
17310 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
17312         [BZ #19137]
17313         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
17314         Add -fomit-frame-pointer.
17315         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
17317 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
17319         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
17320         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
17321         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
17322         only if !__GNUC_PREREQ (5,0).
17323         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
17324         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
17325         (INTERNAL_SYSCALL_NCS): Likewise.
17326         (LOADREGS_0): New macro for GCC 5.
17327         (ASMARGS_0): Likewise.
17328         (LOADREGS_1): Likewise.
17329         (ASMARGS_1): Likewise.
17330         (LOADREGS_2): Likewise.
17331         (ASMARGS_2): Likewise.
17332         (LOADREGS_3): Likewise.
17333         (ASMARGS_3): Likewise.
17334         (LOADREGS_4): Likewise.
17335         (ASMARGS_4): Likewise.
17336         (LOADREGS_5): Likewise.
17337         (ASMARGS_5): Likewise.
17338         (LOADREGS_6): Likewise.
17339         (ASMARGS_6): Likewise.
17341 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
17343         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
17344         -fomit-frame-pointer.
17345         (CFLAGS-mmap64.c): Likewise.
17346         (CFLAGS-semtimedop.c): Likewise.
17347         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
17348         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
17349         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17350         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
17352 2015-10-15  Florian Weimer  <fweimer@redhat.com>
17354         [BZ #18928]
17355         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
17356         _dl_pointer_guard member.
17357         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
17358         initializer.
17359         (security_init): Always set up pointer guard.
17360         (process_envvars): Do not process LD_POINTER_GUARD.
17362 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
17364         [BZ #19134]
17365         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
17366         (.LC2): Likewise.
17367         (.LC3): Likewise.
17368         (__lround): Do not add 0.5 to integer or out-of-range arguments.
17370 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17372         [BZ #19129]
17373         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
17374         r0 and r1.
17376 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
17378         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
17380 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
17382         * include/stap-probe.h: Fix macro definition formatting.
17384 2015-10-14  Florian Weimer  <fweimer@redhat.com>
17386         [BZ #19074]
17387         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
17388         load and store num_ifs.
17390 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
17392         [BZ #18822]
17393         * sysdeps/unix/sysv/linux/sched_getaffinity.c
17394         (__sched_getaffinity_new): Add libc_hidden_proto and
17395         libc_hidden_def.
17397 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
17399         [BZ #19007]
17400         * scripts/localplt.awk: Also allow GOT references.
17401         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
17402         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
17403         with "+ REL R_386_GLOB_DAT".
17404         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
17405         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
17407 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
17409         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
17410         INLINE_SYSCALL_ERROR_RETURN_VALUE.
17411         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
17412         Likewise.
17413         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
17414         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
17415         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
17416         INTERNAL_SYSCALLINTERNAL_SYSCALL and
17417         INLINE_SYSCALL_ERROR_RETURN_VALUE.
17418         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
17419         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17420         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
17421         Likewise.
17422         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17424 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
17426         [BZ #19125]
17427         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
17428         <math_private.h> and <stdint.h>.
17429         (__llround): Avoid conversions to and from long long int, and
17430         subtractions, where those might raise spurious exceptions.
17431         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
17432         <math_private.h> and <stdint.h>.
17433         (__llroundf): Avoid conversions to and from long long int, and
17434         subtractions, where those might raise spurious exceptions.
17436 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
17438         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
17439         INLINE_SYSCALL_ERROR_RETURN_VALUE.
17440         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
17441         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
17442         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17443         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17444         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
17445         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
17446         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
17447         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
17448         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17449         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17450         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
17451         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17452         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
17453         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
17454         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
17455         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
17456         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
17457         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
17458         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
17459         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
17460         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
17461         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
17462         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
17463         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
17464         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
17465         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
17466         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17467         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
17468         (__xstat64_conv): Likewise.
17469         (__xstat32_conv): Likewise.
17471 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
17473         * sysdeps/unix/sysv/linux/sysdep.h: New file.
17474         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
17475         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
17476         <sysdeps/unix/sysv/linux/sysdep.h>.
17477         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
17478         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
17479         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
17480         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17481         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
17482         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
17483         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
17484         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
17485         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
17486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
17487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17488         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17489         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17490         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
17491         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
17492         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17493         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
17494         (sysdep-dl-routines): Add sysdep.
17495         [$(subdir) == nptl] (libpthread-routines): Likewise.
17496         [$(subdir) == rt] (librt-routines): Likewise.
17497         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
17498         PIC when branching to SYSCALL_ERROR_LABEL.
17499         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
17500         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
17501         <sysdeps/unix/sysv/linux/sysdep.h>.
17502         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
17503         (SYSCALL_ERROR_ERRNO): Removed.
17504         (SYSCALL_ERROR_HANDLER): Changed to empty.
17505         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
17506         (__syscall_error): New prototype.
17507         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
17508         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
17510 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
17512         [BZ #19124]
17513         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
17514         (_dl_runtime_resolve_avx512): Make it a hidden alias of
17515         _dl_runtime_resolve_avx.
17516         (_dl_runtime_profile_avx512): Make it a hidden alias of
17517         _dl_runtime_profile_avx.
17519 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
17521         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
17522         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
17523         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
17524         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
17526         [BZ #16422]
17527         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
17528         New configure test.
17529         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
17530         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
17531         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
17532         <math_private.h> and <stdint.h>.
17533         (__llrint): Avoid conversions to long long int where those might
17534         raise spurious exceptions.
17535         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
17536         <math_private.h> and <stdint.h>.
17537         (__llrintf): Avoid conversions to long long int where those might
17538         raise spurious exceptions.
17540 2015-10-12  Andreas Schwab  <schwab@suse.de>
17542         [BZ #18969]
17543         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
17544         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
17545         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
17546         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
17547         $(gen-locales).
17548         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
17549         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
17550         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
17551         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
17552         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
17553         $(gen-locales).
17554         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
17555         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
17556         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
17557         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
17558         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
17559         ($(objpfx)tst-ftell-active-handler.out)
17560         ($(objpfx)tst-ftell-append.out)
17561         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
17562         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
17563         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
17564         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
17565         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
17566         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
17567         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
17568         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
17569         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
17570         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
17571         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
17572         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
17573         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
17574         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
17575         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
17576         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
17577         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
17578         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
17579         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
17580         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
17581         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
17582         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
17583         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
17584         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
17585         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
17586         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
17587         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
17588         $(gen-locales).
17589         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
17590         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
17591         $(gen-locales).
17592         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
17593         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
17594         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
17595         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
17596         $(gen-locales).
17597         * libio/tst_wprintf2.c (main): Use explicit locale.
17598         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
17600 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17602         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
17603         __msg_sig_post.
17604         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
17606 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
17608         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
17609         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17611         * sysdeps/arm/libm-test-ulps: Regenerated.
17613         [BZ #15470]
17614         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
17616         [BZ #16399]
17617         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
17618         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
17619         and <fix-fp-int-convert-overflow.h>.
17620         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
17621         FIX_DBL_LLONG_CONVERT_OVERFLOW.
17622         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
17623         and <fix-fp-int-convert-overflow.h>.
17624         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
17625         FIX_DBL_LLONG_CONVERT_OVERFLOW.
17626         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
17627         <fix-fp-int-convert-overflow.h>.
17628         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
17629         FIX_DBL_LLONG_CONVERT_OVERFLOW.
17630         * sysdeps/ieee754/dbl-64/s_lround.c: Include
17631         <fix-fp-int-convert-overflow.h>.
17632         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
17633         FIX_DBL_LLONG_CONVERT_OVERFLOW.
17634         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
17635         and <fix-fp-int-convert-overflow.h>.
17636         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
17637         FIX_DBL_LLONG_CONVERT_OVERFLOW.
17638         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
17639         <limits.h> and <fix-fp-int-convert-overflow.h>.
17640         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
17641         FIX_DBL_LLONG_CONVERT_OVERFLOW.
17642         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
17643         and <fix-fp-int-convert-overflow.h>.
17644         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
17645         FIX_DBL_LLONG_CONVERT_OVERFLOW.
17646         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
17647         and <fix-fp-int-convert-overflow.h>.
17648         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
17649         FIX_DBL_LLONG_CONVERT_OVERFLOW.
17650         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
17652 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
17654         [BZ #18589]
17655         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
17656         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
17657         $(gen-locales).
17659 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17660             Phil Blundell <pb@pbcl.net>
17662         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
17663         * nptl/tst-cancel26.c: New file.
17664         * nptl/tst-cancel27.c: Likewise.
17666 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
17668         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
17669         __ILP32__ isn't defined.
17670         (lrint): Likewise.
17671         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
17672         (lrintf): Likewise.
17673         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
17674         (lrintl): Likewise.
17675         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
17676         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
17677         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
17679 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17681         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
17682         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
17684         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
17685         file.
17686         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
17687         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
17689 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
17691         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
17692         configure test.
17693         * sysdeps/i386/configure: Regenerated.
17694         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
17695         configure test.
17696         * sysdeps/x86_64/configure: Regenerated.
17697         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
17698         Make code unconditional.
17700         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
17701         test.
17702         * sysdeps/i386/configure: Regenerated.
17703         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
17704         test.
17705         * sysdeps/x86_64/configure: Regenerated.
17706         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
17707         Make code unconditional.
17708         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
17709         Likewise.
17710         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
17711         Likewise.
17712         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
17713         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
17714         code unconditional.
17715         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
17716         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
17717         code unconditional.
17718         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
17719         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
17720         code unconditional.
17721         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
17722         code unconditional.
17723         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
17724         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
17725         code unconditional.
17726         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
17727         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
17728         code unconditional.
17729         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
17730         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
17731         code unconditional.
17732         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
17733         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
17734         code unconditional.
17735         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
17736         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
17738         [BZ #19095]
17739         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
17740         mantissa to long int before shifting left.
17742 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
17744         [BZ #19094]
17745         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
17746         <limits.h>.
17747         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
17748         when result overflows but exception would not result from cast.
17749         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
17750         <limits.h>.
17751         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
17752         when result overflows but exception would not result from cast.
17753         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
17754         <limits.h>.
17755         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
17756         when result overflows but exception would not result from cast.
17757         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
17758         <limits.h>.
17759         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
17760         when result overflows but exception would not result from cast.
17761         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
17762         <limits.h>.
17763         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
17764         when result overflows but exception would not result from cast.
17765         * math/libm-test.inc (lrint_test_data): Add more tests.
17766         (llrint_test_data): Likewise.
17768 2015-10-08  Roland McGrath  <roland@hack.frob.com>
17770         [BZ #18872]
17771         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
17772         Move out from under [$(run-built-tests) = yes] conditional.
17773         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
17774         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
17776 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
17778         [BZ #18589]
17779         * string/Makefile (tests): Add bug-strcoll2.
17780         (LOCALES): Add cs_CZ.UTF-8.
17781         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
17783         [BZ #18589]
17784         * string/bug-strcoll2.c: New file.
17785         * locale/categories.def: Revert commit
17786         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
17787         * locale/langinfo.h: Likewise.
17788         * locale/localeinfo.h: Likewise.
17789         * locale/C-collate.c: Likewise.
17790         * locale/programs/ld-collate.c (collate_output): Likewise.
17791         * string/strcoll_l.c (STRDIFF): Likewise.
17792         (STRCOLL): Likewise.
17793         * wcsmbs/wcscoll_l.c: Likewise.
17795 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
17797         * math/libm-test.inc (lround_test_data): Do not expect the absence
17798         of "inexact" for some tests with non-integer arguments.
17799         (llround_test_data): Likewise.
17801         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
17802         test.
17803         (libc_cv_cc_sse2avx): Likewise.
17804         * sysdeps/i386/configure: Regenerated.
17805         * sysdeps/i386/i686/multiarch/Makefile
17806         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
17807         [$(subdir) = math].
17808         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
17809         code unconditional.
17810         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
17811         Likewise.
17812         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
17813         Likewise.
17814         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
17815         Likewise.
17816         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
17817         test.
17818         (libc_cv_cc_sse2avx): Likewise.
17819         * sysdeps/x86_64/configure: Regenerated.
17820         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
17821         unconditional.
17822         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
17823         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
17824         unconditional.
17825         (_dl_runtime_profile)
17826         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
17827         conditional code.
17828         * sysdeps/x86_64/fpu/multiarch/Makefile
17829         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
17830         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
17831         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17832         * sysdeps/x86_64/fpu/multiarch/e_exp.c
17833         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17834         * sysdeps/x86_64/fpu/multiarch/e_log.c
17835         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17836         * sysdeps/x86_64/fpu/multiarch/s_atan.c
17837         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17838         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
17839         Likewise.
17840         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
17841         Likewise.
17842         * sysdeps/x86_64/fpu/multiarch/s_sin.c
17843         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17844         * sysdeps/x86_64/fpu/multiarch/s_tan.c
17845         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17846         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
17847         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
17848         (HAVE_SSE2AVX_SUPPORT): Likewise.
17850 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
17852         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
17853         instead of #pragma optimize.
17855 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
17857         [BZ #17195]
17858         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
17859         as is similarly done in systrim and _int_free already.
17861 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17863         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
17865 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
17867         [BZ #19088]
17868         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
17869         <limits.h>.
17870         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
17871         overflows but exception would not result from cast.
17872         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
17873         and <limits.h>.
17874         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
17875         overflows but exception would not result from cast.
17876         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
17877         <limits.h>.
17878         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
17879         overflows but exception would not result from cast.
17880         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
17881         <limits.h>.
17882         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
17883         overflows but exception would not result from cast.
17884         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
17885         <limits.h>.
17886         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
17887         overflows but exception would not result from cast.
17888         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
17889         <limits.h>.
17890         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
17891         overflows but exception would not result from cast.
17892         * math/libm-test.inc (lround_test_data): Add more tests.
17893         (llround_test_data): Likewise.
17895 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
17897         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
17898         (CFLAGS-ialloc.c): Ditto.
17899         (CFLAGS-scheck.c): Ditto.
17901 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
17903         [BZ #19086]
17904         * manual/filesys.texi (Storage Allocation): Fix argument order for
17905         posix_fallocate64.
17907 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
17909         [BZ #19085]
17910         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
17911         exponent below 48 inside case for non-overflowing exponent.
17912         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
17914 2015-10-07  Florian Weimer  <fweimer@redhat.com>
17916         * iconvdata/cp737.h (from_idx): Add const.
17917         * iconvdata/cp775.h (from_idx): Likewise.
17919 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
17921         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
17922         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
17923         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
17925         [BZ #19079]
17926         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
17927         file, conditioned on [!_LP64].
17928         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
17929         [!_LP64] (__lround): Do not define as function or alias.
17930         [!_LP64] (lround): Likewise.
17931         [!_LP64] (__lroundl): Likewise.
17932         [!_LP64] (lroundl): Likewise.
17933         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
17934         macro.
17935         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
17936         Likewise.
17938 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
17940         * math/libm-test.inc (lrint_test_data): Add more tests.
17941         (llrint_test_data): Likewise.
17942         (lround_test_data): Likewise.
17943         (llround_test_data): Likewise.
17945         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
17946         (llrint_test_data): Add tests used for lrint.
17948         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
17949         test.
17950         * sysdeps/i386/configure: Regenerated.
17951         * sysdeps/i386/i686/multiarch/Makefile
17952         [$(config-cflags-sse4) = yes]: Make code unconditional.
17953         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
17954         Likewise.
17955         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
17956         Likewise.
17957         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
17958         test.
17959         * sysdeps/x86_64/configure: Regenerated.
17960         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
17961         Make code unconditional.
17962         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
17963         Likewise.
17964         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
17965         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
17967         * scripts/rpm2dynsym.sh: Remove file.
17969 2015-10-06  Florian Weimer  <fweimer@redhat.com>
17971         * configure.ac (libc_cv_cxx_thread_local): Define.
17972         * configure: Regenerate.
17973         * config.make.in (have-cxx-thread_local): Define.
17974         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
17975         (LDLIBS-tst-thread_local1): Define.
17976         (tests): Add tst-thread_local1.
17977         [have-cxx-thread_local != yes] (tests-unsupported): Add
17978         tst-thread_local1.
17979         * nptl/tst-thread_local1.cc: New file.
17981 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
17983         [BZ #19078]
17984         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
17985         (u_thres): Likewise.
17986         (__expl): Determine whether to call __kernel_standard_l based on
17987         value of result, not argument.
17989         * math/libm-test.inc (scalb_test_data): Add more expectations for
17990         the "inexact" exception.
17992         [BZ #19077]
17993         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
17994         0.0L for argument 1.0L.
17996         [BZ #19076]
17997         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
17998         constant 0.0L when computing infinite result.
18000 2015-10-06  Florian Weimer  <fweimer@redhat.com>
18002         [BZ #10432]
18003         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
18004         malloc_usable_size.
18006 2015-10-06  Florian Weimer  <fweimer@redhat.com>
18008         [BZ #19018]
18009         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18010         Mangle function pointer before storing it.
18011         (__call_tls_dtors): Demangle function pointer before calling it.
18013 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
18015         [BZ #19012]
18016         * iconv/gconv_db.c (gen_steps): Check for additional errors.
18017         Clean up on failure.
18019 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
18021         [BZ #19071]
18022         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
18023         long int variable to store possibly incremented high part of
18024         mantissa.
18025         * math/libm-test.inc (lround_test_data): Add tests used for
18026         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
18027         for tests requiring 64-bit long.  Do not condition tests on
18028         [TEST_FLOAT] unnecessarily.
18029         (llround_test_data): Add tests used for lround.  Add another
18030         expectation for the "inexact" exception.  Do not condition tests
18031         on [TEST_FLOAT] unnecessarily.
18033         [BZ #887]
18034         [BZ #19049]
18035         [BZ #19050]
18036         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
18037         * sysdeps/ieee754/dbl-64/e_log10.c: Include
18038         <fix-int-fp-convert-zero.h>.
18039         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18040         * sysdeps/ieee754/dbl-64/e_log2.c: Include
18041         <fix-int-fp-convert-zero.h>.
18042         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18043         * sysdeps/ieee754/dbl-64/s_erf.c: Include
18044         <fix-int-fp-convert-zero.h>.
18045         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18046         * sysdeps/ieee754/dbl-64/s_logb.c: Include
18047         <fix-int-fp-convert-zero.h>.
18048         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18049         * sysdeps/ieee754/flt-32/e_log10f.c: Include
18050         <fix-int-fp-convert-zero.h>.
18051         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18052         * sysdeps/ieee754/flt-32/e_log2f.c: Include
18053         <fix-int-fp-convert-zero.h>.
18054         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18055         * sysdeps/ieee754/flt-32/s_erff.c: Include
18056         <fix-int-fp-convert-zero.h>.
18057         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18058         * sysdeps/ieee754/flt-32/s_logbf.c: Include
18059         <fix-int-fp-convert-zero.h>.
18060         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18061         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
18062         <fix-int-fp-convert-zero.h>.
18063         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18064         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
18065         <fix-int-fp-convert-zero.h>.
18066         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18067         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
18068         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
18069         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
18070         file.
18071         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
18073 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
18075         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18077 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
18079         [BZ #19059]
18080         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
18081         overflowing computation.
18082         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
18083         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
18084         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
18085         Likewise.
18086         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
18087         Likewise.
18088         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
18089         Likewise.
18090         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18091         Likewise.
18092         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
18093         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
18094         Likewise.
18095         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
18096         Likewise.
18097         * math/libm-test.inc (nexttoward_test_data): Add more tests.
18099         * nss/rewrite_field.c (__nss_rewrite_field): Use
18100         internal_function.
18101         * nss/valid_field.c (__nss_valid_field): Likewise.
18102         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
18104 2015-10-02  Florian Weimer  <fweimer@redhat.com>
18106         [BZ #18724]
18107         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
18108         (__nss_invalid_field_characters, __nss_valid_field)
18109         (__nss_valid_list_field, __nss_rewrite_field): Declare.
18110         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
18111         tst-field.c: New file.
18112         * nss/Makefile (routines): Add valid_field, rewrite_field.
18113         (tests-static): Define unconditionally.
18114         (tests): Include tests-static.
18115         [build-static-nss] (tests-static): Use append.
18116         [build-static-nss] (tests): Remove modification.
18117         * nss/getent.c (print_group): Call putgrent.  Report error.
18118         (print_gshadow): Call putsgent.  Report error.
18119         (print_passwd): Call putpwent.  Report error.
18120         (print_shadow): Call putspent.  Report error.
18121         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
18122         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
18123         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
18124         name, password, directory, shell fields for valid syntax.  Rewrite
18125         GECOS field to match syntax.
18126         * pwd/Makefile (tests): Add tst-putpwent.
18127         * pwd/tst-putpwent.c: New file.
18128         * grp/putgrent.c (putgrent): Convert to ISO function definition.
18129         Check grName, grpasswd, gr_mem fields for valid syntax.
18130         Change loop variable i to size_t.
18131         * grp/Makefile (tests): Add tst-putgrent.
18132         * grp/tst-putgrent.c: New file.
18133         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
18134         valid syntax.
18135         * shadow/Makefile (tests): Add tst-putspent.
18136         * shadow/tst-putspent.c: New file.
18137         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
18138         sg_mem fields for valid syntax.
18139         * gshadow/Makefile (tests): Add tst-putsgent.
18140         * gshadow/tst-putsgent.c: New file.
18142 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
18144         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
18145         assembly instructions.
18147 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
18149         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
18150         prefix from operands.
18152 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
18154         [BZ #16347]
18155         [BZ #19046]
18156         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
18157         <libc-internal.h>.
18158         (MAXLGM): Do not use diagnostic control macros.
18159         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
18160         threshold for ldbl-128ibm.
18161         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
18162         instead of multiplying by log then subtracting.
18163         * math/auto-libm-test-in: Add more tests of lgamma.
18164         * math/auto-libm-test-out: Regenerated.
18166         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
18167         (TYPE_HEX_DIG): Likewise.
18168         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
18169         precisions when printing floating-point numbers.
18170         (check_float_internal): Likewise.
18172 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
18174         [BZ #16620]
18175         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
18176         of log (10) rounded downward to 48 bits.
18177         (log10_low): Use corresponding low part of log (10).
18179         [BZ #19032]
18180         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
18181         compute result as (x - x) / (x - x) not as 0 / 0.
18182         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
18183         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
18185         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18186         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
18187         and expm1.
18188         * math/auto-libm-test-out: Regenerated.
18189         * math/libm-test.inc (acos_test_data): Add more tests.
18190         (asin_test_data): Likewise.
18191         (asinh_test_data): Likewise.
18192         (atan_test_data): Likewise.
18193         (atanh_test_data): Likewise.
18194         (atan2_test_data): Likewise.
18195         (cbrt_test_data): Likewise.
18196         (ceil_test_data): Likewise.
18197         (copysign_test_data): Likewise.
18198         (cos_test_data): Likewise.
18199         (cosh_test_data): Likewise.
18200         (erf_test_data): Likewise.
18201         (erfc_test_data): Likewise.
18202         (exp_test_data): Likewise.
18203         (exp10_test_data): Likewise.
18204         (exp2_test_data): Likewise.
18205         (expm1_test_data): Likewise.
18206         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18208 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
18210         [BZ #19006]
18211         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
18212         to ...
18213         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
18214         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
18215         to ...
18216         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
18217         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
18218         to ...
18219         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
18220         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
18221         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
18222         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
18223         to ...
18224         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
18225         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
18226         Moved to ...
18227         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
18228         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
18229         Moved to ...
18230         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
18231         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
18232         to ...
18233         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
18234         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
18235         Moved to ...
18236         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
18237         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
18238         to ...
18239         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
18240         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
18241         Removed.
18242         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
18243         Likewise.
18244         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
18245         Likewise.
18246         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
18247         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
18248         Likewise.
18249         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
18250         Likewise.
18251         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
18252         Likewise.
18253         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
18254         Likewise.
18255         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
18256         Likewise.
18257         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
18258         Likewise.
18259         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
18260         Likewise.
18261         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
18262         Likewise.
18263         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
18264         Likewise.
18265         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
18266         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
18267         Likewise.
18268         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
18269         Likewise.
18270         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
18271         Likewise.
18272         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
18273         Likewise.
18274         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
18275         Likewise.
18276         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
18277         Replace ../i486/pthread_cond_timedwait.S with
18278         ../pthread_cond_timedwait.S.
18280 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
18282         * math/libm-test.inc (acos_test_data): Refine expectations for
18283         errno and "inexact" exceptions.
18284         (acosh_test_data): Likewise.
18285         (asin_test_data): Likewise.
18286         (asinh_test_data): Likewise.
18287         (atan_test_data): Likewise.
18288         (atanh_test_data): Likewise.
18289         (atan2_test_data): Likewise.
18290         (cbrt_test_data): Likewise.
18291         (ceil_test_data): Likewise.
18292         (copysign_test_data): Likewise.
18293         (cosh_test_data): Likewise.
18294         (erf_test_data): Likewise.
18295         (erfc_test_data): Likewise.
18296         (exp_test_data): Likewise.
18297         (exp10_test_data): Likewise.
18298         (exp2_test_data): Likewise.
18299         (expm1_test_data): Likewise.
18300         (fabs_test_data): Likewise.
18301         (floor_test_data): Likewise.
18302         (fma_test_data): Likewise.
18303         (fmax_test_data): Likewise.
18304         (fmin_test_data): Likewise.
18305         (fmod_test_data): Likewise.
18306         (fpclassify_test_data): Likewise.
18307         (frexp_test_data): Likewise.
18308         (hypot_test_data): Likewise.
18309         (ilogb_test_data): Likewise.
18310         (isgreater_test_data): Likewise.
18311         (isgreaterequal_test_data): Likewise.
18312         (isinf_test_data): Likewise.
18313         (isless_test_data): Likewise.
18314         (islessequal_test_data): Likewise.
18315         (islessgreater_test_data): Likewise.
18316         (isnan_test_data): Likewise.
18317         (isnormal_test_data): Likewise.
18318         (issignaling_test_data): Likewise.
18319         (isunordered_test_data): Likewise.
18320         (j0_test_data): Likewise.
18321         (j1_test_data): Likewise.
18322         (jn_test_data): Likewise.
18323         (lgamma_test_data): Likewise.
18324         (lrint_test_data): Likewise.
18325         (llrint_test_data): Likewise.
18326         (log_test_data): Likewise.
18327         (log10_test_data): Likewise.
18328         (log1p_test_data): Likewise.
18329         (log2_test_data): Likewise.
18330         (logb_test_data): Likewise.
18331         (lround_test_data): Likewise.
18332         (llround_test_data): Likewise.
18333         (modf_test_data): Likewise.
18334         (nearbyint_test_data): Likewise.
18335         (nextafter_test_data): Likewise.
18336         (nexttoward_test_data): Likewise.
18337         (pow_test_data): Likewise.
18338         (remainder_test_data): Likewise.
18339         (remquo_test_data): Likewise.
18340         (rint_test_data): Likewise.
18341         (round_test_data): Likewise.
18342         (signbit_test_data): Likewise.
18343         (sinh_test_data): Likewise.
18344         (sqrt_test_data): Likewise.
18345         (tanh_test_data): Likewise.
18346         (tgamma_test_data): Likewise.
18347         (trunc_test_data): Likewise.
18348         (y0_test_data): Likewise.
18349         (y1_test_data): Likewise.
18350         (yn_test_data): Likewise.
18351         (significand_test_data): Likewise.
18353 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
18355         * manual/filesys.texi (Storage Allocation): Document that
18356         posix_fallocate emulation fails when fd is open with O_WRONLY.
18358 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
18360         [BZ #19016]
18361         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
18362         allow more cases with X^2 + Y^2 >= 0.5.
18363         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
18364         normal element in sum instead of special-casing based on values of
18365         arguments.
18366         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
18367         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
18368         -1 as normal element in sum instead of special-casing based on
18369         values of arguments.
18370         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
18371         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
18372         (__x2y2m1): Update comment.
18373         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
18374         as normal element in sum instead of special-casing based on values
18375         of arguments.
18376         * math/s_clog.c (__clog): Handle more cases using log1p without
18377         hypot.
18378         * math/s_clog10.c (__clog10): Likewise.
18379         * math/s_clog10f.c (__clog10f): Likewise.
18380         * math/s_clog10l.c (__clog10l): Likewise.
18381         * math/s_clogf.c (__clogf): Likewise.
18382         * math/s_clogl.c (__clogl): Likewise.
18383         * math/auto-libm-test-in: Add more tests of clog and clog10.
18384         * math/auto-libm-test-out: Regenerated.
18385         * sysdeps/i386/fpu/libm-test-ulps: Update.
18386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18388 2015-09-28  Martin Sebor  <msebor@redhat.com>
18390         [BZ #18969]
18391         * string/Makefile (LOCALES): Define.
18392         (gen-locales.mk): Include.
18393         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
18394         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
18395         * string/tst-strxfrm2.c (do_test): Print the name of the locale
18396         on setlocale failure.
18398 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
18400         [BZ #18985]
18401         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
18402         (__strftime_internal): Likewise.
18403         * time/tst-strftime.c (do_bz18985): New test.
18404         (do_test): Call it.
18406 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
18408         [BZ #18956]
18409         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
18410         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
18411         extracting high part.
18412         * math/auto-libm-test-in: Add another test of pow.
18413         * math/auto-libm-test-out: Regenerated.
18414         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18416 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
18418         [BZ #18825]
18419         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
18420         New macro.
18421         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
18422         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
18423         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
18424         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
18425         DBL_NARROW_EVAL, reloading the PIC register as needed.
18426         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
18427         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
18428         FLT_NARROW_EVAL.  Use separate return path for case when first
18429         argument is NaN.
18430         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
18431         DEFINE_LDBL_MIN.
18432         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
18433         PIC register.
18434         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
18435         math_check_force_underflow_nonneg.
18436         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
18437         underflow for subnormal result.
18438         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
18439         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
18440         math_check_force_underflow_nonneg.
18441         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
18442         math_check_force_underflow.
18443         * sysdeps/x86_64/fpu/x86_64-math-asm.h
18444         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
18445         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
18446         DEFINE_LDBL_MIN.
18447         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
18448         * math/auto-libm-test-in: Add more tests of pow.
18449         * math/auto-libm-test-out: Regenerated.
18451 2015-09-25  Florian Weimer  <fweimer@redhat.com>
18453         * nss/bug17079.c (init_test_items): Add diagnostic for
18454         inconsistent entries.
18455         (test_buffer_size): Skip inconsistent entries.
18457 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
18459         [BZ #13304]
18460         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
18461         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
18462         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
18464         [BZ #13304]
18465         * sysdeps/microblaze/s_fma.c: New file.
18466         * sysdeps/microblaze/s_fmaf.c: Likewise.
18467         * sysdeps/microblaze/sfp-machine.h: Likewise.
18469 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
18471         [BZ #17250]
18472         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
18473         member.
18475 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
18477         [BZ #18803]
18478         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
18479         (MO): New macro.
18480         (__ieee754_hypot) [PIC]: Load PIC register.
18481         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
18482         DBL_NARROW_EVAL.
18483         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
18484         math_check_force_underflow_nonneg in case where result might be
18485         tiny.
18486         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
18487         Likewise.
18488         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
18489         Likewise.
18490         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
18491         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
18492         * math/auto-libm-test-in: Add more tests of hypot.
18493         * math/auto-libm-test-out: Regenerated.
18495 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
18497         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
18499 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
18501         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
18502         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
18503         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
18504         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
18505         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
18506         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
18507         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
18509         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
18510         LOAD_PIC_REG.
18512         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
18513         (FLT_CHECK_FORCE_UFLOW): Likewise.
18514         (DBL_CHECK_FORCE_UFLOW): Likewise.
18515         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
18516         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
18517         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
18518         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
18519         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
18520         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
18521         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
18522         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
18523         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
18524         (dbl_min): Replace with use of DEFINE_DBL_MIN.
18525         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
18526         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
18527         (flt_min): Replace with use of DEFINE_FLT_MIN.
18528         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
18529         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
18530         (dbl_min): Replace with use of DEFINE_DBL_MIN.
18531         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
18532         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
18533         (flt_min): Replace with use of DEFINE_FLT_MIN.
18534         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
18535         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
18536         (dbl_min): Replace with use of DEFINE_DBL_MIN.
18537         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
18538         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
18539         (flt_min): Replace with use of DEFINE_FLT_MIN.
18540         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
18541         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
18542         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
18543         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
18544         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
18545         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
18546         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
18547         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
18548         (dbl_min): Replace with use of DEFINE_DBL_MIN.
18549         (__atan): Use DBL_CHECK_FORCE_UFLOW.
18550         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
18551         (flt_min): Replace with use of DEFINE_FLT_MIN.
18552         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
18553         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
18554         (dbl_min): Replace with use of DEFINE_DBL_MIN.
18555         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
18556         main computation.
18557         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
18558         (flt_min): Replace with use of DEFINE_FLT_MIN.
18559         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
18560         main computation.
18561         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
18562         (dbl_min): Replace with use of DEFINE_DBL_MIN.
18563         (MO): New macro.
18564         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
18565         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
18566         (flt_min): Replace with use of DEFINE_FLT_MIN.
18567         (MO): New macro.
18568         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
18569         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
18570         (__log1pl): Use MO.
18572         [BZ #19003]
18573         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
18574         $(config-cflags-nofma).
18576 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18578         * sysdeps/aarch64/libm-test-ulps: Regenerated.
18580 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
18582         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
18583         (TWO127): Likewise.
18585         * sysdeps/generic/math_private.h (fabs_tg): New macro.
18586         (min_of_type): Likewise.
18587         (math_check_force_underflow): Likewise.
18588         (math_check_force_underflow_nonneg): Likewise.
18589         (math_check_force_underflow_complex): Likewise.
18590         * math/e_exp2l.c (__ieee754_exp2l): Use
18591         math_check_force_underflow_nonneg.
18592         * math/k_casinh.c (__kernel_casinh): Likewise.
18593         * math/k_casinhf.c (__kernel_casinhf): Likewise.
18594         * math/k_casinhl.c (__kernel_casinhl): Likewise.
18595         * math/s_catan.c (__catan): Use
18596         math_check_force_underflow_complex.
18597         * math/s_catanf.c (__catanf): Likewise.
18598         * math/s_catanh.c (__catanh): Likewise.
18599         * math/s_catanhf.c (__catanhf): Likewise.
18600         * math/s_catanhl.c (__catanhl): Likewise.
18601         * math/s_catanl.c (__catanl): Likewise.
18602         * math/s_ccosh.c (__ccosh): Likewise.
18603         * math/s_ccoshf.c (__ccoshf): Likewise.
18604         * math/s_ccoshl.c (__ccoshl): Likewise.
18605         * math/s_cexp.c (__cexp): Likewise.
18606         * math/s_cexpf.c (__cexpf): Likewise.
18607         * math/s_cexpl.c (__cexpl): Likewise.
18608         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
18609         * math/s_clog10.c (__clog10): Likewise.
18610         * math/s_clog10f.c (__clog10f): Likewise.
18611         * math/s_clog10l.c (__clog10l): Likewise.
18612         * math/s_clogf.c (__clogf): Likewise.
18613         * math/s_clogl.c (__clogl): Likewise.
18614         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
18615         * math/s_csinf.c (__csinf): Likewise.
18616         * math/s_csinh.c (__csinh): Likewise.
18617         * math/s_csinhf.c (__csinhf): Likewise.
18618         * math/s_csinhl.c (__csinhl): Likewise.
18619         * math/s_csinl.c (__csinl): Likewise.
18620         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
18621         * math/s_csqrtf.c (__csqrtf): Likewise.
18622         * math/s_csqrtl.c (__csqrtl): Likewise.
18623         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
18624         * math/s_ctanf.c (__ctanf): Likewise.
18625         * math/s_ctanh.c (__ctanh): Likewise.
18626         * math/s_ctanhf.c (__ctanhf): Likewise.
18627         * math/s_ctanhl.c (__ctanhl): Likewise.
18628         * math/s_ctanl.c (__ctanl): Likewise.
18629         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
18630         instead of volatile.
18631         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
18632         math_check_force_underflow.
18633         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
18634         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
18635         volatile when forcing underflow.
18636         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
18637         math_check_force_underflow_nonneg.
18638         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
18639         Likewise.
18640         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
18641         math_check_force_underflow.
18642         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18643         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
18644         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
18645         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
18646         math_check_force_underflow_nonneg.
18647         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
18648         math_check_force_underflow.
18649         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
18650         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
18651         instead of volatile.
18652         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
18653         math_check_force_underflow.
18654         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
18655         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18656         math_check_force_underflow_nonneg.
18657         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
18658         math_check_force_underflow.
18659         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
18660         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
18661         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
18662         math_check_force_underflow_nonneg.
18663         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
18664         Likewise.
18665         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
18666         math_check_force_underflow.
18667         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18668         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
18669         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
18670         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
18671         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
18672         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
18673         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
18674         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
18675         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
18676         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
18677         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
18678         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
18679         Likewise.
18680         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
18681         math_check_force_underflow_nonneg.
18682         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
18683         Likewise.
18684         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
18685         math_check_force_underflow.
18686         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18687         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
18688         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
18689         Likewise.
18690         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
18691         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
18692         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
18693         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
18694         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
18695         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
18696         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
18697         instead of volatile.
18698         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
18699         math_check_force_underflow.
18700         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
18701         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
18702         math_check_force_underflow.
18703         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
18704         Likewise.
18705         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18706         Use math_check_force_underflow_nonneg.
18707         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
18708         math_check_force_underflow.
18709         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
18710         Likewise.
18711         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
18712         Likewise.
18713         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18714         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
18715         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
18716         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
18717         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
18718         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
18719         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
18720         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
18721         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
18722         math_check_force_underflow_nonneg.
18723         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
18724         math_check_force_underflow.
18725         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18726         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
18727         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
18728         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
18729         math_check_force_underflow_nonneg.
18730         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
18731         math_check_force_underflow.
18732         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
18733         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
18734         instead of volatile.
18735         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
18736         math_check_force_underflow.
18738         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
18739         * stdlib/strtod_l.c: Include <math_private.h>.
18740         (overflow_value): Use math_narrow_eval.
18741         (underflow_value): Likewise.
18742         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
18743         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
18744         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
18745         (__ieee754_gamma_r): Likewise.
18746         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
18747         Likewise.
18748         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
18749         Likewise.
18750         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
18751         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
18752         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
18753         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
18754         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
18755         (__ieee754_gammaf_r): Likewise.
18756         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
18757         Likewise.
18758         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
18759         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
18760         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
18761         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
18762         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
18763         volatile.
18764         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
18765         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
18766         math_narrow_eval.
18767         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
18768         Likewise.
18769         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18770         Likewise.
18771         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
18772         Likewise.
18773         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
18774         volatile.
18775         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
18776         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
18777         math_narrow_eval.
18778         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
18779         Likewise.
18780         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
18781         Likewise.
18783 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
18785         * nptl/Versions: Remove ignored symbols.
18787 2015-09-22  Florian Weimer  <fweimer@redhat.com>
18789         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
18790         * nss/Makefile (tests): Update.
18792 2015-09-22  Florian Weimer  <fweimer@redhat.com>
18794         * nss/bug18287.c: New file.
18795         * nss/Makefile (tests): Add bug18287.
18797 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18799         * mach/Versions (__mach_host_self_): Add symbol.
18801 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18803         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
18804         vm_page_size.
18806 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18808         Really fix sysdeps/i386/fpu/s_scalbn.S build
18810         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
18811         (libc: GLIBC_2_22): Remove unused version set.
18813 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
18815         * config.make.in (enable-timezone-tools): New variable.
18816         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
18817         (enable_timezone_tools): Export to generated files.
18818         * configure: Regenerate.
18819         * INSTALL: Regenerate.
18820         * manual/install.texi (--disable-timezone-tools): Document new flag.
18821         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
18822         ifeq ($(enable-timezone-tools),yes) check.
18824 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
18826         * timezone/Makefile: Revert previous change.
18828         [BZ #18980]
18829         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
18830         (DEFINE_DBL_MIN): Likewise.
18831         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
18832         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
18833         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
18834         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
18835         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
18836         (dbl_min): Replace with use of DEFINE_DBL_MIN.
18837         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
18838         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
18839         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
18840         (dbl_min): Replace with use of DEFINE_DBL_MIN.
18841         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
18842         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
18843         (flt_min): Replace with use of DEFINE_FLT_MIN.
18844         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
18845         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
18846         (dbl_min): Replace with use of DEFINE_DBL_MIN.
18847         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
18848         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
18849         (flt_min): Replace with use of DEFINE_FLT_MIN.
18850         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
18851         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
18852         (flt_min): Replace with use of DEFINE_FLT_MIN.
18853         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
18854         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
18855         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
18856         (__ieee754_hypot): Use DBL_NARROW_EVAL.
18857         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
18858         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
18859         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
18860         (__ieee754_pow): Use DBL_NARROW_EVAL.
18861         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
18862         (__ieee754_powf): Use FLT_NARROW_EVAL.
18863         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
18864         (__ieee754_expf_sse2): Convert double-precision result to single
18865         precision.
18866         * sysdeps/i386/fpu/libm-test-ulps: Update.
18868 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18870         * timezone/Makefile: Ignore unused variable errors due to private.h
18871         (time_t_min) and (time_t_max).
18872         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
18873         Likewise.
18875 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
18877         [BZ #18981]
18878         * sysdeps/i386/fpu/i386-math-asm.h: New file.
18879         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
18880         (__ieee754_scalb): Use DBL_NARROW_EVAL.
18881         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
18882         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
18883         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
18884         (__scalbn): Use DBL_NARROW_EVAL.
18885         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
18886         (__scalbnf): Use FLT_NARROW_EVAL.
18888 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18890         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
18891         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
18892         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
18893         * stdio-common/printf_fp.c (___printf_fp):
18894         Use signbit to get the sign. Use isinf macro to allow inlining.
18895         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
18896         * stdio-common/printf_size.c (__printf_size): Likewise.
18898 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
18900         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
18902 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
18904         [BZ #18980]
18905         * sysdeps/generic/math_private.h: Include <float.h>.
18906         (math_narrow_eval): New macro.
18907         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
18908         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
18909         math_narrow_eval on overflowing return value.
18910         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
18911         Likewise.
18912         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
18913         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
18914         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
18915         Likewise.
18916         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
18918 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18920         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
18921         * math/Makefile: Remove isinf_ns.c.
18922         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
18923         * math/multc3.c (__multc3): Likewise.
18924         * math/s_casin.c (__casin): Likewise.
18925         * math/s_casinf.c (__casinf): Likewise.
18926         * math/s_casinl.c (__casinl): Likewise.
18927         * math/s_cproj.c (__cproj): Likewise.
18928         * math/s_cprojf.c (__cprojf): Likewise.
18929         * math/s_cprojl.c (__cprofl): Likewise.
18930         * math/s_ctan.c (__ctan): Likewise.
18931         * math/s_ctanf.c (__ctanf): Likewise.
18932         * math/s_ctanh.c (__ctanh): Likewise.
18933         * math/s_ctanhf.c (__ctanhf): Likewise.
18934         * math/s_ctanhl.c (__ctanhl): Likewise.
18935         * math/s_ctanl.c (__ctanl): Likewise.
18936         * math/w_fmod.c (__fmod): Likewise.
18937         * math/w_fmodf.c (__fmodf): Likewise.
18938         * math/w_fmodl.c (_fmodl): Likewise.
18939         * math/w_remainder.c (__remainder): Likewise.
18940         * math/w_remainderf.c (__remainderf): Likewise.
18941         * math/w_remainderl.c (__remainderl): Likewise.
18942         * math/w_scalb.c (__scalb): Likewise.
18943         * math/w_scalbf.c (__scalbf): Likewise.
18944         * math/w_scalbl.c (__scalbl): Likewise.
18945         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
18946         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
18947         with isinf.
18948         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
18949         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
18950         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
18951         __isinf_nsf with isinf.
18952         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
18953         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
18954         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
18955         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
18956         with isinf.
18957         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
18958         __isinf_nsl with isinf.
18959         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
18960         with isinf.
18961         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
18962         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
18963         __isinf_nsl with isinf.
18964         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
18965         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
18966         with isinf.
18968 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18970         * resolv/base64.c (rcsid): Remove unused static.
18971         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
18972         static.  (tqpi1): Likewise.
18973         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
18974         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
18975         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
18976         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
18977         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
18978         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
18979         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
18980         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
18981         Likewise.
18983 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
18985         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
18986         <nptl/pthreadP.h>.
18987         (_longjmp_unwind): Use __libc_ptf_call.
18988         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
18990 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
18992         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
18993         * sysdeps/arm/__longjmp.S: Likewise.
18995 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18997         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
18998         Use __builtin_signbit.
18999         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
19000         Use __builtin_signbitf.
19001         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
19002         Use __builtin_signbitl.
19003         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
19004         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
19006 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
19008         [BZ #15367]
19009         [BZ #17441]
19011         * math/Makefile: Build test-snan.c with -fsignaling-nans.
19012         * math/math.h (fpclassify): Use __builtin_fpclassify when
19013         available.  (signbit): Use __builtin_signbit(f/l).
19014         (isfinite): Use__builtin_isfinite.  (isnormal): Use
19015         __builtin_isnormal.  (isnan): Use __builtin_isnan.
19016         (isinf): Use __builtin_isinf_sign.
19018 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
19020         * benchtests/Makefile: Add bench-math-inlines, link with libm.
19021         * benchtests/bench-math-inlines.c: New benchmark.
19022         * benchtests/bench-util.h: New file.
19023         * benchtests/bench-util.c: New file.
19024         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
19026 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
19028         * elf/tst-dlmopen1.c: Define TEST_SO.
19029         (do_test): Use TEST_SO.
19031         * elf/dl-load.c: Include libc-internal.h.
19032         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
19034 2015-09-18  Vincent Bernat  <vincent@bernat.im>
19036         [BZ #17887]
19037         * time/strptime_l.c (__strptime_internal): Make %z accept
19038         [+-]HH:MM time zones.
19040 2015-09-18  Vincent Bernat  <vincent@bernat.im>
19042         [BZ #17886]
19043         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
19044         valid time zone.
19046 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
19048         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
19049         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
19050         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19051         (__ASSUME_FDATASYNC): Delete.
19053 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
19055         * conform/linknamespace.pl: Require weak undefined symbols to be
19056         in the standard namespace.
19057         (%strong_syms): Rename to %seen_syms.
19058         (%strong_seen): Rename to %seen_where.
19060 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
19062         [BZ #18970]
19063         * misc/error.c (error): Replace pthread_setcancelstate with
19064         __pthread_setcancelstate.
19065         (error_at_line): Likewise.
19066         * posix/wordexp.c (parse_comm): Likewise.
19067         * stdlib/fmtmsg.c (fmtmsg): Likewise.
19068         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
19069         (__pthread_setcancelstate): This.
19070         (pthread_setcancelstate): Add an alias.
19071         * nptl/nptl-init.c (pthread_functions): Replace
19072         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
19073         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
19074         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
19075         hidden_proto.
19076         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
19077         it with hidden_def.
19078         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
19079         (pthread_setcancelstate): Renamed to ...
19080         (__pthread_setcancelstate): This.
19081         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
19082         __libc_ptf_call with __pthread_setcancelstate.
19084 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
19085             Andreas Schwab  <schwab@suse.de>
19087         [BZ #17118]
19088         * math/s_ctan.c (__ctan): Determine sign of zero real part of
19089         result when imaginary part of argument is infinite using sine and
19090         cosine.
19091         * math/s_ctanf.c (__ctanf): Likewise.
19092         * math/s_ctanl.c (__ctanl): Likewise.
19093         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
19094         of result when real part of argument is infinite using sine and
19095         cosine.
19096         * math/s_ctanhf.c (__ctanhf): Likewise.
19097         * math/s_ctanhl.c (__ctanhl): Likewise.
19098         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
19099         (ctanh_test_data): Add more tests of ctanh.
19101 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
19103         [BZ #15384]
19104         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
19105         bit-mask as in subtraction.
19106         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
19107         Likewise.
19108         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
19109         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
19110         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
19112         [BZ #18951]
19113         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
19114         underflow exception for small results.
19115         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
19116         Likewise.
19117         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
19118         Likewise.
19119         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19120         Likewise.
19121         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
19122         Likewise.
19123         * math/auto-libm-test-in: Add more tests of tgamma.
19124         * math/auto-libm-test-out: Regenerated.
19126 2015-09-17  Andreas Schwab  <schwab@suse.de>
19128         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
19130 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
19132         [BZ #18977]
19133         * math/bits/mathcalls.h
19134         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
19135         not declare.
19136         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
19137         Likewise.
19138         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
19139         Likewise.
19140         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
19141         Likewise.
19142         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
19143         Likewise.
19144         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
19145         Likewise.
19146         * conform/data/math.h-data
19147         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
19148         function.
19149         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
19150         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
19151         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
19152         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
19153         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
19154         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
19155         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
19156         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
19157         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
19158         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
19159         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
19161         [BZ #6803]
19162         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
19163         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
19164         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
19165         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
19166         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
19167         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
19168         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
19169         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
19170         [NO_LONG_DOUBLE] (scalbnl): Likewise.
19171         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
19172         Likewise.
19173         [NO_LONG_DOUBLE] (scalbnl): Likewise.
19174         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
19175         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
19176         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
19177         long_double_symbol calls.
19178         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
19179         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
19180         strong alias of __ldexpl.
19181         (scalbnl): Define using long_double_symbol.
19182         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
19183         Remove alias.
19184         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
19185         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
19186         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
19187         (scalbln_test_data): Add more errno expectations.
19189 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
19191         Cache the host port like we cache the task port.  This way we do not
19192         need to call the kernel just to get the port.  Furthermore, we no
19193         longer increase the reference count on every invocation of
19194         `mach_host_self'.
19196         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
19197         Protect declarations against the macro expansion.
19198         * mach/mach_init.c (__mach_host_self_): New variable.
19199         (mach_init): Initialize `__mach_host_self_'.
19200         * mach/mach_init.h (__mach_host_self_): New declaration.
19201         (__mach_host_self, mach_host_self): New macros.
19202         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
19203         Release reference.
19205 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
19207         [BZ #4404]
19208         * po/de.po: Update from Translation Project.
19210         [BZ #16415]
19211         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
19212         (__expm1l): Remove code to handle positive infinity and overflow.
19213         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
19214         variable.
19215         (__expm1l): Remove code to handle positive infinity and overflow.
19217 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
19218             Paul Pluzhnikov  <ppluzhnikov@google.com>
19220         [BZ #18872]
19221         * stdio-common/Makefile (tst-printf-bz18872): New test.
19222         (tst-printf-bz18872-mem.out): Likewise.
19223         * stdio-common/tst-printf-bz18872.sh: Generate new test.
19224         * stdio-common/vfprintf.c: Fix memory leaks.
19226 2015-09-16  Andreas Schwab  <schwab@suse.de>
19228         [BZ #17244]
19229         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
19230         Remove extra va_start/va_end calls.
19232         [BZ #17243]
19233         * posix/execl.c (execl): Add missing va_end.
19234         * posix/execle.c (execle): Likewise.
19235         * posix/execlp.c (execlp): Likewise.
19237 2015-09-15  Roland McGrath  <roland@hack.frob.com>
19239         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
19240         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
19242 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
19244         [BZ #18967]
19245         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
19246         undefine around includes of <bits/mathcalls.h>.
19247         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
19248         not declare function.
19249         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
19250         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
19251         (scalb): Likewise.
19252         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
19253         not define macro.
19254         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
19255         variable.
19256         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
19257         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
19258         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
19260         [BZ #18857]
19261         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
19262         return non-finite argument without doing ordered comparisons on
19263         it.
19265         [BZ #16296]
19266         * math/fenv.h (fegetround): Use __attribute_pure__.
19267         * include/fenv.h (__fegetround): Likewise.
19269         [BZ #18595]
19270         * math/s_ctan.c (__ctan): Force underflow exception for results
19271         whose real or imaginary part has small absolute value.
19272         * math/s_ctanf.c (__ctanf): Likewise.
19273         * math/s_ctanh.c (__ctanh): Likewise.
19274         * math/s_ctanhf.c (__ctanhf): Likewise.
19275         * math/s_ctanhl.c (__ctanhl): Likewise.
19276         * math/s_ctanl.c (__ctanl): Likewise.
19277         * math/auto-libm-test-in: Do not allow missing underflow for ctan
19278         and ctanh.  Add more tests of ctan and ctanh.
19280         [BZ #15918]
19281         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
19282         handling of cases where one argument is an infinity.
19284         [BZ #18875]
19285         [BZ #18966]
19286         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
19287         (MO): New macro.
19288         (__ieee754_exp10): For small results, force underflow exception
19289         and remove excess range and precision from return value.
19290         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
19291         (MO): New macro.
19292         (__ieee754_exp10f): For small results, force underflow exception
19293         and remove excess range and precision from return value.
19294         * math/auto-libm-test-in: Add more tests of exp10.
19295         * math/auto-libm-test-out: Regenerated.
19297 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
19299         [BZ #18875]
19300         [BZ #18961]
19301         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
19302         (MO): New macro.
19303         (__ieee754_exp): For small results, force underflow exception and
19304         remove excess range and precision from return value.
19305         (__exp_finite): Likewise.
19306         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
19307         (MO): New macro.
19308         (__ieee754_expf): For small results, force underflow exception and
19309         remove excess range and precision from return value.
19310         (__expf_finite): Likewise.
19311         * math/auto-libm-test-in: Add more tests of exp.
19312         * math/auto-libm-test-out: Regenerated.
19314         [BZ #16521]
19315         [BZ #18875]
19316         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
19317         small results.
19318         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
19319         (MO): New macro.
19320         (__ieee754_exp2): For small results, force underflow exception and
19321         remove excess range and precision from return value.
19322         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
19323         (MO): New macro.
19324         (__ieee754_exp2f): For small results, force underflow exception
19325         and remove excess range and precision from return value.
19326         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
19327         (MO): New macro.
19328         (__ieee754_exp2l): Force underflow exception for small results.
19329         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
19330         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
19331         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
19332         (MO): New macro.
19333         (__ieee754_exp2l): Force underflow exception for small results.
19334         * math/auto-libm-test-in: Add more tests or exp2.
19335         * math/auto-libm-test-out: Regenerated.
19337 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
19339         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
19341         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
19342         /dev/null.
19344 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19346         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
19347         io fs process)): Drop spurious backslash.
19349 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
19351         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
19352         Use sysinfo system call instead of parsing /proc/meminfo.
19353         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
19354         Likewise.
19356 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
19358         [BZ #16985]
19359         * programs/localedef.c (main): Display argv[remaining] when
19360         output_path is NULL.
19362 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
19364         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19365         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
19366         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
19367         tanh.
19368         * math/auto-libm-test-out: Regenerated.
19369         * sysdeps/i386/fpu/libm-test-ulps: Update.
19370         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
19371         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19374 2015-09-11  Roland McGrath  <roland@hack.frob.com>
19376         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
19377         Use 'override' keyword to freeze the value here, preventing
19378         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
19380 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
19382         [BZ #14912]
19383         * sysdeps/aarch64/bits/atomic.h: Move to ...
19384         * sysdeps/aarch64/atomic-machine.h: ...here.
19385         (_AARCH64_BITS_ATOMIC_H): Rename macro to
19386         _AARCH64_ATOMIC_MACHINE_H.
19387         * sysdeps/alpha/bits/atomic.h: Move to ...
19388         * sysdeps/alpha/atomic-machine.h: ...here.
19389         * sysdeps/arm/bits/atomic.h: Move to ...
19390         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
19391         * bits/atomic.h: Move to ...
19392         * sysdeps/generic/atomic-machine.h: ...here.
19393         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
19394         * sysdeps/i386/bits/atomic.h: Move to ...
19395         * sysdeps/i386/atomic-machine.h: ...here.
19396         * sysdeps/ia64/bits/atomic.h: Move to ...
19397         * sysdeps/ia64/atomic-machine.h: ...here.
19398         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
19399         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
19400         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
19401         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
19402         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
19403         * sysdeps/microblaze/bits/atomic.h: Move to ...
19404         * sysdeps/microblaze/atomic-machine.h: ...here.
19405         * sysdeps/mips/bits/atomic.h: Move to ...
19406         * sysdeps/mips/atomic-machine.h: ...here.
19407         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
19408         * sysdeps/powerpc/bits/atomic.h: Move to ...
19409         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
19410         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
19411         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
19412         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
19413         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
19414         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
19415         <atomic-machine.h> instead of <bits/atomic.h>.
19416         * sysdeps/s390/bits/atomic.h: Move to ...
19417         * sysdeps/s390/atomic-machine.h: ...here.
19418         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
19419         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
19420         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
19421         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
19422         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
19423         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
19424         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
19425         * sysdeps/tile/bits/atomic.h: Move to ...
19426         * sysdeps/tile/atomic-machine.h: ...here.
19427         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
19428         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
19429         <sysdeps/tile/atomic-machine.h> instead of
19430         <sysdeps/tile/bits/atomic.h>.
19431         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
19432         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
19433         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
19434         <sysdeps/tile/atomic-machine.h> instead of
19435         <sysdeps/tile/bits/atomic.h>.
19436         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
19437         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
19438         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
19439         <sysdeps/arm/atomic-machine.h> instead of
19440         <sysdeps/arm/bits/atomic.h>.
19441         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
19442         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
19443         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
19444         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
19445         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
19446         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
19447         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
19448         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
19449         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
19450         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
19451         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
19452         * sysdeps/x86_64/bits/atomic.h: Move to ...
19453         * sysdeps/x86_64/atomic-machine.h: ...here.
19454         * include/atomic.h: Include <atomic-machine.h> instead of
19455         <bits/atomic.h>.
19457         * sysdeps/mips/mips32/libm-test-ulps: Update.
19458         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19460         [BZ #18952]
19461         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
19462         not convert non-integer negative arguments to int to determine the
19463         value of signgam.
19464         * math/auto-libm-test-in: Add more tests of lgamma.
19465         * math/auto-libm-test-out: Regenerated.
19467         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
19468         cosh, csqrt, erfc, expm1 and lgamma.
19469         * math/auto-libm-test-out: Regenerated.
19470         * sysdeps/i386/fpu/libm-test-ulps: Update.
19471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19473 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
19475         [BZ #2542]
19476         [BZ #2543]
19477         [BZ #2558]
19478         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
19479         __lgamma_neg for arguments from -28.0 to -2.0.
19480         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
19481         __lgamma_negf for arguments from -15.0 to -2.0.
19482         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19483         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
19484         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
19485         Call __lgamma_negl for arguments from -33.0 to -2.0.
19486         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
19487         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
19488         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
19489         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
19490         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
19491         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
19492         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
19493         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
19494         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
19495         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
19496         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
19497         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
19498         (__lgamma_neg): Likewise.
19499         (__lgamma_negl): Likewise.
19500         (__lgamma_product): Likewise.
19501         (__lgamma_productl): Likewise.
19502         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
19503         * math/auto-libm-test-in: Add more tests of lgamma.
19504         * math/auto-libm-test-out: Regenerated.
19505         * sysdeps/i386/fpu/libm-test-ulps: Update.
19506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19508 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
19510         [BZ #18675]
19511         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
19513 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
19515         [BZ #14912]
19516         * bits/libc-lock.h: Move to ...
19517         * sysdeps/generic/libc-lock.h: ...here.
19518         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
19519         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
19520         * sysdeps/mach/hurd/libc-lock.h: ...here.
19521         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
19522         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
19523         * sysdeps/mach/bits/libc-lock.h: Move to ...
19524         * sysdeps/mach/libc-lock.h: ...here.
19525         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
19526         * sysdeps/nptl/bits/libc-lock.h: Move to ...
19527         * sysdeps/nptl/libc-lock.h: ...here.
19528         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
19529         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
19530         * sysdeps/nptl/libc-lockP.h: ...here.
19531         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
19532         * crypt/crypt_util.c: Include <libc-lock.h> instead of
19533         <bits/libc-lock.h>.
19534         * dirent/scandir-tail.c: Likewise.
19535         * dlfcn/dlerror.c: Likewise.
19536         * elf/dl-close.c: Likewise.
19537         * elf/dl-iteratephdr.c: Likewise.
19538         * elf/dl-lookup.c: Likewise.
19539         * elf/dl-open.c: Likewise.
19540         * elf/dl-support.c: Likewise.
19541         * elf/dl-writev.h: Likewise.
19542         * elf/rtld.c: Likewise.
19543         * grp/fgetgrent.c: Likewise.
19544         * gshadow/fgetsgent.c: Likewise.
19545         * gshadow/sgetsgent.c: Likewise.
19546         * iconv/gconv_conf.c: Likewise.
19547         * iconv/gconv_db.c: Likewise.
19548         * iconv/gconv_dl.c: Likewise.
19549         * iconv/gconv_int.h: Likewise.
19550         * iconv/gconv_trans.c: Likewise.
19551         * include/link.h: Likewise.
19552         * inet/getnameinfo.c: Likewise.
19553         * inet/getnetgrent.c: Likewise.
19554         * inet/getnetgrent_r.c: Likewise.
19555         * intl/bindtextdom.c: Likewise.
19556         * intl/dcigettext.c: Likewise.
19557         * intl/finddomain.c: Likewise.
19558         * intl/gettextP.h: Likewise.
19559         * intl/loadmsgcat.c: Likewise.
19560         * intl/localealias.c: Likewise.
19561         * intl/textdomain.c: Likewise.
19562         * libidn/idn-stub.c: Likewise.
19563         * libio/libioP.h: Likewise.
19564         * locale/duplocale.c: Likewise.
19565         * locale/freelocale.c: Likewise.
19566         * locale/newlocale.c: Likewise.
19567         * locale/setlocale.c: Likewise.
19568         * login/getutent_r.c: Likewise.
19569         * login/getutid_r.c: Likewise.
19570         * login/getutline_r.c: Likewise.
19571         * login/utmp-private.h: Likewise.
19572         * login/utmpname.c: Likewise.
19573         * malloc/mtrace.c: Likewise.
19574         * misc/efgcvt.c: Likewise.
19575         * misc/error.c: Likewise.
19576         * misc/fstab.c: Likewise.
19577         * misc/getpass.c: Likewise.
19578         * misc/mntent.c: Likewise.
19579         * misc/syslog.c: Likewise.
19580         * nis/nis_call.c: Likewise.
19581         * nis/nis_callback.c: Likewise.
19582         * nis/nss-default.c: Likewise.
19583         * nis/nss_compat/compat-grp.c: Likewise.
19584         * nis/nss_compat/compat-initgroups.c: Likewise.
19585         * nis/nss_compat/compat-pwd.c: Likewise.
19586         * nis/nss_compat/compat-spwd.c: Likewise.
19587         * nis/nss_nis/nis-alias.c: Likewise.
19588         * nis/nss_nis/nis-ethers.c: Likewise.
19589         * nis/nss_nis/nis-grp.c: Likewise.
19590         * nis/nss_nis/nis-hosts.c: Likewise.
19591         * nis/nss_nis/nis-network.c: Likewise.
19592         * nis/nss_nis/nis-proto.c: Likewise.
19593         * nis/nss_nis/nis-pwd.c: Likewise.
19594         * nis/nss_nis/nis-rpc.c: Likewise.
19595         * nis/nss_nis/nis-service.c: Likewise.
19596         * nis/nss_nis/nis-spwd.c: Likewise.
19597         * nis/nss_nisplus/nisplus-alias.c: Likewise.
19598         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
19599         * nis/nss_nisplus/nisplus-grp.c: Likewise.
19600         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
19601         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
19602         * nis/nss_nisplus/nisplus-network.c: Likewise.
19603         * nis/nss_nisplus/nisplus-proto.c: Likewise.
19604         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
19605         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
19606         * nis/nss_nisplus/nisplus-service.c: Likewise.
19607         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
19608         * nis/ypclnt.c: Likewise.
19609         * nptl/libc_pthread_init.c: Likewise.
19610         * nss/getXXbyYY.c: Likewise.
19611         * nss/getXXent.c: Likewise.
19612         * nss/getXXent_r.c: Likewise.
19613         * nss/nss_db/db-XXX.c: Likewise.
19614         * nss/nss_db/db-netgrp.c: Likewise.
19615         * nss/nss_db/nss_db.h: Likewise.
19616         * nss/nss_files/files-XXX.c: Likewise.
19617         * nss/nss_files/files-alias.c: Likewise.
19618         * nss/nsswitch.c: Likewise.
19619         * posix/regex_internal.h: Likewise.
19620         * posix/wordexp.c: Likewise.
19621         * pwd/fgetpwent.c: Likewise.
19622         * resolv/res_hconf.c: Likewise.
19623         * resolv/res_libc.c: Likewise.
19624         * shadow/fgetspent.c: Likewise.
19625         * shadow/lckpwdf.c: Likewise.
19626         * shadow/sgetspent.c: Likewise.
19627         * socket/opensock.c: Likewise.
19628         * stdio-common/reg-modifier.c: Likewise.
19629         * stdio-common/reg-printf.c: Likewise.
19630         * stdio-common/reg-type.c: Likewise.
19631         * stdio-common/vfprintf.c: Likewise.
19632         * stdio-common/vfscanf.c: Likewise.
19633         * stdlib/abort.c: Likewise.
19634         * stdlib/cxa_atexit.c: Likewise.
19635         * stdlib/fmtmsg.c: Likewise.
19636         * stdlib/random.c: Likewise.
19637         * stdlib/setenv.c: Likewise.
19638         * string/strsignal.c: Likewise.
19639         * sunrpc/auth_none.c: Likewise.
19640         * sunrpc/bindrsvprt.c: Likewise.
19641         * sunrpc/create_xid.c: Likewise.
19642         * sunrpc/key_call.c: Likewise.
19643         * sunrpc/rpc_thread.c: Likewise.
19644         * sysdeps/arm/backtrace.c: Likewise.
19645         * sysdeps/generic/ldsodefs.h: Likewise.
19646         * sysdeps/generic/stdio-lock.h: Likewise.
19647         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
19648         * sysdeps/i386/backtrace.c: Likewise.
19649         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
19650         * sysdeps/m68k/backtrace.c: Likewise.
19651         * sysdeps/mach/hurd/cthreads.c: Likewise.
19652         * sysdeps/mach/hurd/dirstream.h: Likewise.
19653         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
19654         * sysdeps/nptl/malloc-machine.h: Likewise.
19655         * sysdeps/nptl/stdio-lock.h: Likewise.
19656         * sysdeps/posix/dirstream.h: Likewise.
19657         * sysdeps/posix/getaddrinfo.c: Likewise.
19658         * sysdeps/posix/system.c: Likewise.
19659         * sysdeps/pthread/aio_suspend.c: Likewise.
19660         * sysdeps/s390/s390-32/backtrace.c: Likewise.
19661         * sysdeps/s390/s390-64/backtrace.c: Likewise.
19662         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19663         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
19664         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
19665         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
19666         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
19667         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
19668         * sysdeps/unix/sysv/linux/system.c: Likewise.
19669         * sysdeps/x86_64/backtrace.c: Likewise.
19670         * time/alt_digit.c: Likewise.
19671         * time/era.c: Likewise.
19672         * time/tzset.c: Likewise.
19673         * wcsmbs/wcsmbsload.c: Likewise.
19674         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
19675         instead of <bits/libc-lock.h> in comment.
19677 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
19679         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
19680         Only use .set mips2 if the current ISA is below mips2.
19681         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
19682         Likewise.
19683         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
19684         mips32r2 if the current ISA is below mips32r2.
19685         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
19686         (TLS_IE): Updated to use the TLD_RDHWR macro.
19687         (TLS_LE): Likewise.
19688         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
19689         __ASSEMBLER__ condition.
19691 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19693         Fix parallel build of before-compile targets.
19695         * sysdeps/mach/Makefile ($(patsubst
19696         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
19697         mach-before-compile target.
19698         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
19699         io fs process)): Move rule to dedicated hurd-before-compile target.
19701 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19703         Fix rules generating headers in hurd/ and mach/ when initial make call
19704         has subdir= explicitly set.
19706         * sysdeps/mach/Makefile ($(patsubst
19707         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
19708         calling $(MAKE).
19709         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
19710         io fs process)): Force subdir to hurd when calling $(MAKE).
19711         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
19712         subdir to mach when calling $(MAKE).
19714 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
19716         Check sysheaders when looking for Mach and Hurd headers
19718         * sysdeps/mach/configure.ac: Add sysheaders check.
19719         * sysdeps/mach/configure: Regenerate.
19720         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
19721         * sysdeps/mach/hurd/configure: Regenerate.
19723 2015-09-04  Roland McGrath  <roland@hack.frob.com>
19725         [BZ #18921]
19726         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
19727         Fix inverted sense of test of 'o_directory_works' value.
19728         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
19729         Bernhard Voelker <mail@bernhard-voelker.de>.
19731 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
19733         [BZ #14912]
19734         * bits/linkmap.h: Move to ...
19735         * sysdeps/generic/linkmap.h: ...here.
19736         * sysdeps/aarch64/bits/linkmap.h: Move to ...
19737         * sysdeps/aarch64/linkmap.h: ...here.
19738         * sysdeps/arm/bits/linkmap.h: Move to ...
19739         * sysdeps/arm/linkmap.h: ...here.
19740         * sysdeps/hppa/bits/linkmap.h: Move to ...
19741         * sysdeps/hppa/linkmap.h: ...here.
19742         * sysdeps/ia64/bits/linkmap.h: Move to ...
19743         * sysdeps/ia64/linkmap.h: ...here.
19744         * sysdeps/mips/bits/linkmap.h: Move to ...
19745         * sysdeps/mips/linkmap.h: ...here.
19746         * sysdeps/s390/bits/linkmap.h: Move to ...
19747         * sysdeps/s390/linkmap.h: ...here.
19748         * sysdeps/sh/bits/linkmap.h: Move to ...
19749         * sysdeps/sh/linkmap.h: ...here.
19750         * sysdeps/x86/bits/linkmap.h: Move to ...
19751         * sysdeps/x86/linkmap.h: ...here.
19752         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
19754 2015-09-04  Andreas Schwab  <schwab@suse.de>
19756         [BZ #18635]
19757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
19758         (__makecontext): Terminate FDE before return label.
19759         (__novec_makecontext): Likewise.
19761 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19763         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
19764         first member of struct sv in syscall macro.
19766 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
19768         [BZ #14912]
19769         * bits/stdio-lock.h: Move to ...
19770         * sysdeps/generic/stdio-lock.h: ...here.
19771         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
19772         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
19773         * sysdeps/nptl/stdio-lock.h: ...here.
19774         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
19775         * include/libio.h: Include <stdio-lock.h> instead of
19776         <bits/stdio-lock.h>.
19777         * sysdeps/nptl/fork.c: Likewise.
19778         * sysdeps/pthread/flockfile.c: Likewise.
19779         * sysdeps/pthread/ftrylockfile.c: Likewise.
19780         * sysdeps/pthread/funlockfile.c: Likewise.
19782         [BZ #14912]
19783         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
19784         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
19785         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
19786         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
19787         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
19788         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
19789         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
19791 2015-09-03  Roland McGrath  <roland@hack.frob.com>
19793         * elf/Makefile (test-xfail-tst-protected1a): New variable.
19794         (test-xfail-tst-protected1b): New variable.
19796 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
19798         [BZ #14912]
19799         * bits/libc-tsd.h: Move to ...
19800         * sysdeps/generic/libc-tsd.h: ...here.
19801         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
19802         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
19803         * sysdeps/mach/hurd/libc-tsd.h: ...here.
19804         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
19805         * include/ctype.h: Include <libc-tsd.h> instead of
19806         <bits/libc-tsd.h>.
19807         * include/rpc/rpc.h: Likewise.
19808         * locale/localeinfo.h: Likewise.
19809         * sunrpc/rpc_thread.c: Likewise.
19810         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
19811         * sysdeps/nptl/malloc-machine.h: Likewise.
19813         * Makefile (headers): Remove bits/libc-lock.h.
19814         * libio/Makefile (headers): Remove bits/stdio-lock.h.
19816         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
19817         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
19818         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
19819         <bits/stdio-lock.h>.
19820         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
19821         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
19823 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
19825         [BZ #18757]
19826         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
19827         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
19828         BZ #18757.
19830 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
19832         * malloc/mtrace.pl: Filter out NULL entries.
19834 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
19836         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
19837         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
19838         macro.
19840         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
19841         (TCP_CC_INFO): Likewise.
19842         (TCP_SAVE_SYN): Likewise.
19843         (TCP_SAVED_SYN): Likewise.
19845 2015-08-31  Brett Neumeier <brett@neumeier.us>
19847         [BZ #18870]
19848         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
19850 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
19852         [BZ #18873]
19853         Fix broken overflow check in posix_fallocate
19854         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
19855         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
19856         Fix parenthesization typo.
19858 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
19860         [BZ #18887]
19861         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
19862         tst-mntent-blank-passno.
19863         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
19864         * misc/tst-mntent-blank-corrupt.c: New test.
19865         * misc/tst-mntent-blank-passno.c: New test ripped from ...
19866         * misc/tst-mntent.c (do_test): ... here.
19868 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
19870         [BZ #4404]
19871         * po/de.po: Fix SIGALRM typo.
19873 2015-08-28  James Perkins  <james@loowit.net>
19875         * time/tst-strptime2.c (tests): Replace short list of test
19876         strings for strptime %z specifier with code which exhaustively
19877         tests every combination of sign and 0 to 5 digits. Tests for
19878         rejection of invalid strings.
19880 2015-08-28  James Perkins  <james@loowit.net>
19882         [BZ #16141]
19883         * time/strptime_l.c (__strptime_internal): Fix %z minutes
19884         calculation, removing incorrect decimal time rounding, so that
19885         all minute values result in a valid seconds value.
19886         * time/strptime_l.c (__strptime_internal): Extend %z time zone
19887         offset range limits to UTC-99:59 through UTC+99:59 to parse
19888         current and historical use cases.
19889         * time/tst-strptime2.c (tests): Modify and add tests for the
19890         strptime %z input field descriptor, specifically conversion of
19891         minutes to seconds and validating an offset range of -9959 to
19892         +9959.
19894 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19895             Dmitry V. Levin  <ldv@altlinux.org>
19897         [BZ #18877]
19898         * posix/Makefile (tests): Add tst-mmap-offset.
19899         * posix/tst-mmap.c: New file.
19900         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
19901         offset calculation for negative values.
19903 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19905         * sysdeps/i386/init-arch.h: New file.
19906         * sysdeps/i386/i586/init-arch.h: Likewise.
19907         * sysdeps/i386/i686/init-arch.h: Likewise.
19908         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
19909         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
19910         * sysdeps/x86/cpu-features.h (bit_I586): New.
19911         (bit_I686): Likewise.
19912         (bit_CX8): Likewise.
19913         (bit_CMOV): Likewise.
19914         (index_CX8): Likewise.
19915         (index_CMOV): Likewise.
19916         (index_I586): Likewise.
19917         (index_I686): Likewise.
19918         (reg_CX8): Likewise.
19919         (reg_CMOV): Likewise.
19920         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
19921         available at compile-time.
19922         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
19923         available at compile-time.
19924         * sysdeps/x86/init-arch.h (USE_I586): New macro.
19925         (USE_I686): Likewise.
19927 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19929         * sysdeps/i386/bcopy.S: New file.
19930         * sysdeps/i386/bzero.S: Likewise.
19931         * sysdeps/i386/memcpy.S: Likewise.
19932         * sysdeps/i386/memmove.S: Likewise.
19933         * sysdeps/i386/mempcpy.S: Likewise.
19934         * sysdeps/i386/memset.S: Likewise.
19935         * sysdeps/i386/bzero.c: Removed.
19936         * sysdeps/i386/memset.c: Likewise.
19937         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
19938         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
19939         * sysdeps/i386/i586/memset_chk.S: Likewise.
19940         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
19941         * sysdeps/i386/memcpy_chk.S: Here.
19942         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
19943         * sysdeps/i386/memmove_chk.S: Here.
19944         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
19945         * sysdeps/i386/mempcpy_chk.S: Likewise.
19946         * sysdeps/i386/i686/memset_chk.S: Moved to ...
19947         * sysdeps/i386/memset_chk.S: Likewise.
19949 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
19951         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
19952         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
19953         file, move DIAG_POP_NEEDS_COMMENT to end of file.
19954         * soft-fp/fmadf4.c: Ditto.
19955         * soft-fp/fmatf4.c: Ditto.
19957 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19959         * sysdeps/i386/i586/Implies: Removed.
19960         * sysdeps/i386/i686/Implies: Likewise.
19962 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19964         * sysdeps/i386/i486/strlen.S: Moved to ...
19965         * sysdeps/i386/strlen.S: Here.
19967 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19969         * sysdeps/i386/i486/strcat.S: Moved to ...
19970         * sysdeps/i386/strcat.S: Here.
19972 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19974         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
19975         * sysdeps/i386/pthread_spin_trylock.S: Here.
19976         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
19977         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
19979 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19981         * sysdeps/i386/i486/string-inlines.c: Moved to ...
19982         * sysdeps/i386/string-inlines.c: Here.
19984 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19986         * sysdeps/i386/i486/htonl.S: Moved ...
19987         * sysdeps/i386/htonl.S: here.
19989 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19991         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
19992         * sysdeps/i386/bits/atomic.h: Here.
19994 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19996         * sysdeps/i386/i486/Versions: Removed.
19998 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
20000         [BZ #2898]
20001         * misc/mktemp.c: Add mkdtemp to the link_warning message.
20002         Based on patch by Aurelien Jarno.
20004 2015-08-26  Stan Shebs  <stanshebs@google.com>
20006         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
20007         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20009 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20011         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
20012         * sysdeps/powerpc/dl-procinfo.c:
20013         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
20014         feature so it shows when LD_SHOW_AUXV=1.
20016 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20018         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
20019         (__arch_compare_and_exchange_val_32_acq): Remove and use common
20020         definition.  ISA 2.07B no longer requires full sync.
20022 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
20024         [BZ #18863]
20025         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
20026         (si_call_addr): Define.
20027         (si_syscall): Define.
20028         (si_arch): Define.
20030 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
20032         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
20033         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
20034         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
20035         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
20036         (__memset_zero_constant_len_parameter): New.
20037         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
20038         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
20039         (__memset_zero_constant_len_parameter): Don't define if
20040         __memset_chk or USE_AS_BZERO are defined.
20042         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
20043         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
20044         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
20046         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
20047         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
20048         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
20049         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
20050         comments.
20051         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
20052         -mno-mmx for $(all-rtld-routines).
20053         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
20054         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
20055         i386.
20057 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
20059         * sysdeps/generic/unwind.h
20060         (_Unwind_Word): Use __mode__(__unwind_word__)
20061         instead of __mode__(__word__).
20062         (_Unwind_Sword): Likewise.
20064         * sysdeps/s390/s390-64/utf8-utf16-z9.c
20065         (MAX_NEEDED_INPUT): New define.
20066         (MAX_NEEDED_OUTPUT): New define.
20068         * NEWS: New item for IBM z13 string optimizations.
20070         * sysdeps/s390/multiarch/memrchr-c.c: New File.
20071         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
20072         * sysdeps/s390/multiarch/memrchr.c: Likewise.
20073         * sysdeps/s390/multiarch/Makefile
20074         (sysdep_routines): Add memrchr functions.
20075         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20076         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
20078         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
20079         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
20080         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
20081         * sysdeps/s390/multiarch/Makefile
20082         (sysdep_routines): Add wmemcmp functions.
20083         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20084         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
20085         * benchtests/bench-wmemcmp.c: New File.
20086         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
20088         * sysdeps/s390/multiarch/wmemset-c.c: New File.
20089         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
20090         * sysdeps/s390/multiarch/wmemset.c: Likewise.
20091         * sysdeps/s390/multiarch/Makefile
20092         (sysdep_routines): Add wmemset functions.
20093         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20094         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
20095         * wcsmbs/wmemset.c: Use WMEMSET if defined.
20096         * string/test-memset.c: Add wmemset support.
20097         * wcsmbs/test-wmemset.c: New File.
20098         * wcsmbs/Makefile (strop-tests): Add wmemset.
20099         * benchtests/bench-memset.c: Add wmemset support.
20100         * benchtests/bench-wmemset.c: New File.
20101         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
20103         * sysdeps/s390/multiarch/memccpy-c.c: New File.
20104         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
20105         * sysdeps/s390/multiarch/memccpy.c: Likewise.
20106         * sysdeps/s390/multiarch/Makefile
20107         (sysdep_routines): Add memccpy functions.
20108         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20109         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
20110         * string/memccpy.c: Use MEMCCPY if defined.
20112         * sysdeps/s390/multiarch/memchr-vx.S: New File.
20113         * sysdeps/s390/multiarch/memchr.c: Likewise.
20114         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
20115         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
20116         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
20117         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
20118         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
20119         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
20120         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
20121         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
20122         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
20123         and rawmemchr functions.
20124         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20125         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
20126         and wmemchr.
20127         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
20128         * string/test-memchr.c: Add wmemchr support.
20129         * wcsmbs/test-wmemchr.c: New File.
20130         * wcsmbs/Makefile (strop-tests): Add wmemchr.
20131         * benchtests/bench-memchr.c: Add wmemchr support.
20132         * benchtests/bench-wmemchr.c: New File.
20133         * benchtests/Makefile (wcsmbs-bench): wmemchr.
20135         * sysdeps/s390/multiarch/strcspn-c.c: New File.
20136         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
20137         * sysdeps/s390/multiarch/strcspn.c: Likewise.
20138         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
20139         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
20140         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
20141         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
20142         wcscspn functions.
20143         * sysdeps/s390/multiarch/ifunc-impl-list.c
20144         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
20145         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
20146         * string/test-strcspn.c: Add wcscspn support.
20147         * wcsmbs/test-wcscspn.c: New File.
20148         * wcsmbs/Makefile (strop-tests): Add wcscspn.
20149         * benchtests/bench-strcspn.c: Add wcscspn support.
20150         * benchtests/bench-wcscspn.c: New File.
20151         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
20153         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
20154         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
20155         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
20156         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
20157         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
20158         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
20159         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
20160         wcspbrk functions.
20161         * sysdeps/s390/multiarch/ifunc-impl-list.c
20162         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
20163         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
20164         * string/test-strpbrk.c: Add wcspbrk support.
20165         * wcsmbs/test-wcspbrk.c: New File.
20166         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
20167         * benchtests/bench-strpbrk.c: Add wcspbrk support.
20168         * benchtests/bench-wcspbrk.c: New File.
20169         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
20171         * sysdeps/s390/multiarch/strspn-c.c: New File.
20172         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
20173         * sysdeps/s390/multiarch/strspn.c: Likewise.
20174         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
20175         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
20176         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
20177         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
20178         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
20179         wcsspn functions.
20180         * sysdeps/s390/multiarch/ifunc-impl-list.c
20181         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
20182         * string/test-strspn.c: Add wcsspn support.
20183         * wcsmbs/test-wcsspn.c: New File.
20184         * wcsmbs/Makefile (strop-tests): Add wcsspn.
20185         * benchtests/bench-strspn.c: Add wcsspn support.
20186         * benchtests/bench-wcsspn.c: New File.
20187         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
20189         * sysdeps/s390/multiarch/strrchr-c.c: New File.
20190         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
20191         * sysdeps/s390/multiarch/strrchr.c: Likewise.
20192         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
20193         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
20194         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
20195         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
20196         wcsrchr functions.
20197         * sysdeps/s390/multiarch/ifunc-impl-list.c
20198         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
20199         * benchtests/bench-wcsrchr.c: New File.
20200         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
20202         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
20203         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
20204         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
20205         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
20206         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
20207         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
20208         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
20209         wcschrnul functions.
20210         * sysdeps/s390/multiarch/ifunc-impl-list.c
20211         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
20212         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
20213         * string/test-strchr.c: Add wcschrnul support.
20214         * wcsmbs/test-wcschrnul.c: New File.
20215         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
20216         * benchtests/bench-strchr.c: Add wcschrnul support.
20217         * benchtests/bench-wcschrnul.c: New File.
20218         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
20220         * sysdeps/s390/multiarch/strchr-c.c: New File.
20221         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
20222         * sysdeps/s390/multiarch/strchr.c: Likewise.
20223         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
20224         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
20225         * sysdeps/s390/multiarch/wcschr.c: Likewise.
20226         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
20227         wcschr functions.
20228         * sysdeps/s390/multiarch/ifunc-impl-list.c
20229         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
20230         * string/strchr.c (STRCHR): Define and use macro.
20231         * benchtests/bench-wcschr.c: New File.
20232         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
20234         * sysdeps/s390/multiarch/strncmp-c.c: New File.
20235         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
20236         * sysdeps/s390/multiarch/strncmp.c: Likewise.
20237         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
20238         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
20239         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
20240         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
20241         wcsncmp functions.
20242         * sysdeps/s390/multiarch/ifunc-impl-list.c
20243         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
20244         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
20245         * benchtests/bench-strncmp.c: Add wcsncmp support.
20246         * benchtests/bench-wcsncmp.c: New File.
20247         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
20249         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
20250         * sysdeps/s390/multiarch/strcmp.c: Likewise.
20251         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
20252         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
20253         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
20254         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
20255         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
20256         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
20257         wcscmp functions.
20258         * sysdeps/s390/multiarch/ifunc-impl-list.c
20259         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
20260         * string/strcmp.c (STRCMP): Define and use macro.
20261         * benchtests/bench-wcscmp.c: New File.
20262         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
20263         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
20264         instead of _HAVE_STRING_ARCH_memchr.
20266         * sysdeps/s390/multiarch/strncat-c.c: New File.
20267         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
20268         * sysdeps/s390/multiarch/strncat.c: Likewise.
20269         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
20270         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
20271         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
20272         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
20273         wcsncat functions.
20274         * sysdeps/s390/multiarch/ifunc-impl-list.c
20275         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
20276         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
20277         * string/test-strncat.c: Add wcsncat support.
20278         * wcsmbs/test-wcsncat.c: New File.
20279         * wcsmbs/Makefile (strop-tests): Add wcsncat.
20280         * benchtests/bench-strncat.c: Add wcsncat support.
20281         * benchtests/bench-wcsncat.c: New File.
20282         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
20284         * sysdeps/s390/multiarch/strcat-c.c: New File.
20285         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
20286         * sysdeps/s390/multiarch/strcat.c: Likewise.
20287         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
20288         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
20289         * sysdeps/s390/multiarch/wcscat.c: Likewise.
20290         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
20291         wcscat functions.
20292         * sysdeps/s390/multiarch/ifunc-impl-list.c
20293         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
20294         * string/strcat.c (STRCAT): Define and use macro.
20295         * wcsmbs/wcscat.c: Use WCSCAT if defined.
20296         * string/test-strcat.c: Add wcscat support.
20297         * wcsmbs/test-wcscat.c: New File.
20298         * wcsmbs/Makefile (strop-tests): Add wcscat.
20299         * benchtests/bench-strcat.c: Add wcscat support.
20300         * benchtests/bench-wcscat.c: New File.
20301         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
20303         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
20304         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
20305         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
20306         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
20307         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
20308         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
20309         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
20310         wcpncpy functions.
20311         * sysdeps/s390/multiarch/ifunc-impl-list.c
20312         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
20313         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
20314         * string/test-stpncpy.c: Add wcpncpy support.
20315         * wcsmbs/test-wcpncpy.c: New File.
20316         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
20317         * benchtests/bench-stpncpy.c: Add wcpncpy support.
20318         * benchtests/bench-wcpncpy.c: New File.
20319         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
20321         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
20322         * sysdeps/s390/multiarch/strncpy.c: Likewise.
20323         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
20324         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
20325         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
20326         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
20327         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
20328         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
20329         wcsncpy functions.
20330         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
20331         * sysdeps/s390/multiarch/ifunc-impl-list.c
20332         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
20333         * string/test-strncpy.c: Add wcsncpy support.
20334         * wcsmbs/test-wcsncpy.c: New File.
20335         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
20336         * benchtests/bench-strncpy.c: Add wcsncpy support.
20337         * benchtests/bench-wcsncpy.c: New File.
20338         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
20340         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
20341         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
20342         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
20343         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
20344         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
20345         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
20346         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
20347         wcpcpy functions.
20348         * string/stpcpy.c: Use STPCPY if defined.
20349         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
20350         * sysdeps/s390/multiarch/ifunc-impl-list.c
20351         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
20352         * string/test-stpcpy.c: Add wcpcpy support.
20353         * wcsmbs/test-wcpcpy.c: New File.
20354         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
20355         * benchtests/bench-stpcpy.c: Add wcpcpy support.
20356         * benchtests/bench-wcpcpy.c: New File.
20357         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
20359         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
20360         * sysdeps/s390/multiarch/strcpy.c: Likewise.
20361         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
20362         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
20363         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
20364         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
20365         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
20366         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
20367         wcscpy functions.
20368         * sysdeps/s390/multiarch/ifunc-impl-list.c
20369         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
20370         * benchtests/bench-wcscpy.c: New File.
20371         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
20373         * sysdeps/s390/multiarch/strnlen-c.c: New File.
20374         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
20375         * sysdeps/s390/multiarch/strnlen.c: Likewise.
20376         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
20377         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
20378         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
20379         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
20380         wcsnlen functions.
20381         * sysdeps/s390/multiarch/ifunc-impl-list.c
20382         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
20383         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
20384         * string/test-strnlen.c: Add wcsnlen support.
20385         * wcsmbs/test-wcsnlen.c: New File.
20386         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
20387         * benchtests/bench-strnlen.c: Add wcsnlen support.
20388         * benchtests/bench-wcsnlen.c: New File.
20389         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
20391         * sysdeps/s390/multiarch/Makefile: New File.
20392         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
20393         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
20394         * sysdeps/s390/multiarch/strlen.c: Likewise.
20395         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
20396         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
20397         * sysdeps/s390/multiarch/wcslen.c: Likewise.
20398         * string/strlen.c (STRLEN): Define and use macro.
20399         * sysdeps/s390/multiarch/ifunc-impl-list.c
20400         (IFUNC_VX_IMPL): New macro function.
20401         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
20402         * benchtests/Makefile (wcsmbs-bench): New variable.
20403         (string-bench-all): Added wcsmbs-bench.
20404         * benchtests/bench-wcslen.c: New File.
20406         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
20407         s390_vx_libc_ifunc2): New macro function.
20409         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
20410         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
20411         assembler support.
20412         * sysdeps/s390/configure: Regenerated.
20414         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
20415         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
20417         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
20418         * sysdeps/s390/dl-procinfo.h: Add vector capability.
20419         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
20421         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
20422         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
20423         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
20424         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
20425         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
20426         (memcmp, bcmp): Use __memcmp_default as alias source.
20427         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
20428         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
20429         Rename to __memcmp_default.
20430         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
20431         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
20432         (memcpy): Use __memcpy_default as alias source.
20433         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
20434         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
20435         Rename to __memcpy_default.
20436         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
20437         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
20438         (memset): Use __memset_default as alias source.
20439         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
20440         * sysdeps/s390/s390-32/memset.S (__memset_g5):
20441         Rename to __memset_default.
20442         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
20443         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
20444         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
20445         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
20446         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
20447         (memcmp, bcmp): Use __memcmp_default as alias source.
20448         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
20449         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
20450         Rename to __memcmp_default.
20451         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
20452         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
20453         (memcpy): Use __memcpy_default as alias source.
20454         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
20455         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
20456         Rename to __memcpy_default.
20457         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
20458         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
20459         (memset): Use __memset_default as alias source.
20460         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
20461         * sysdeps/s390/s390-64/memset.S (__memset_z900):
20462         Rename to __memset_default.
20463         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
20464         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
20466         [BZ #18610]
20467         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
20468         __ieee_instruction_pointer to __unused.
20469         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
20470         __ieee_instruction_pointer.
20471         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
20472         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
20473         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
20474         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
20475         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
20476         Mark dxc-field as reserved.
20478 2015-08-25  Roland McGrath  <roland@hack.frob.com>
20480         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
20481         if the weak reference is not null.
20483 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
20485         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
20487         [BZ #11214]
20488         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
20490 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20492         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
20493         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
20494         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
20495         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
20496         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
20497         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
20498         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
20499         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
20500         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
20501         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
20502         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
20503         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
20504         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
20505         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
20506         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
20507         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
20508         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
20509         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
20511 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20513         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
20514         register other than r0 for tabort, it has special meaning.
20515         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
20516         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
20517         transaction before starting syscall.
20519 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20521         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
20523 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
20525         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
20527         * sysdeps/x86_64/rtld-memcmp.c: Removed.
20528         * sysdeps/x86_64/rtld-memset.S: Likewise.
20529         * sysdeps/x86_64/rtld-strchr.S: Likewise.
20530         * sysdeps/x86_64/rtld-strlen.S: Likewise.
20531         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
20532         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
20534         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
20536 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
20538         * debug/strcpy_chk.c: Improve performance.
20539         * debug/stpcpy_chk.c: Likewise.
20540         * sysdeps/x86_64/strcpy_chk.S: Remove.
20541         * sysdeps/x86_64/stpcpy_chk.S: Remove.
20543         [BZ #18240]
20544         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
20546 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
20548         [BZ #15128]
20549         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
20550         ifuncmain8.
20551         (modules-names): Add ifuncmod8.
20552         ($(objpfx)ifuncmain8): New rule.
20553         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
20554         <cpuid.h>.
20555         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
20556         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
20557         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
20558         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
20559         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
20560         * sysdeps/x86_64/dl-trampoline.h: Likewise.
20561         * sysdeps/x86_64/ifuncmain8.c: New file.
20562         * sysdeps/x86_64/ifuncmod8.c: Likewise.
20563         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
20564         Removed.
20565         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
20566         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
20567         Change rtld_savespace_sse to __glibc_unused2.
20568         (RTLD_CHECK_FOREIGN_CALL): Removed.
20569         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
20570         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
20571         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
20573 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
20575         * sysdeps/aarch64/bzero.S (__bzero): Remove.
20577 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
20579         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
20580         Unconditionally set __fpcr to avoid uninialized warning.
20581         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
20583 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20585         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
20586         is corrupt.
20588         * malloc/arena.c (arena_get2): Drop unused argument.
20589         (arena_lock): Adjust.
20590         (arena_get_retry): Likewise.
20592 2015-08-24  Andreas Schwab  <schwab@suse.de>
20594         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
20595         Don't define.
20596         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20597         (__ASSUME_IPC64): Don't undef.
20598         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
20599         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
20600         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
20601         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
20602         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
20603         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
20604         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
20605         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
20606         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
20607         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
20608         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
20609         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
20610         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
20611         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
20612         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
20613         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
20614         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
20615         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
20616         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
20617         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
20618         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
20620 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
20622         * manual/Makefile (install): Only build manual when perl is available.
20624 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20626         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
20627         '#undef memcpy' by '#undef memchr'.
20629 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20631         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
20632         memchr not point to the internal __GI_memchr implementation.
20634 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
20636         * timezone/Makefile (CFLAGS-zdump.c): Remove
20637         -Wno-strict-prototypes.
20638         (CFLAGS-zic.c): Likewise.
20639         (CFLAGS-ialloc.c): Likewise.
20640         (CFLAGS-scheck.c): Likewise.
20642         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
20643         -Wno-error=undef.
20645 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
20647         * i386/i686/multiarch/strcasestr-c.c: Removed.
20648         * x86_64/multiarch/strcasestr.c: Likewise.
20649         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20650         Remove strcasestr.
20652 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
20654         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
20656         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
20657         variables for high and low parts before possibly modifying them.
20659 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
20661         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
20662         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
20663         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
20664         of "multiarch/init-arch.h".
20665         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
20666         * sysdeps/x86/init-arch.h: This.
20668 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
20670         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
20671         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
20673 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
20675         [BZ #17787]
20676         * manual/macros.texi: Add twoexp macro.
20677         * manual/filesys.texi: Fix exponents.
20678         * manual/llio.texi: Likewise.
20679         * manual/stdio.texi: Likewise.
20681 2015-08-20  Florian Weimer  <fweimer@redhat.com>
20683         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
20684         incorrect use.
20686 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
20688         [BZ #18370]
20689         * math/s_csqrt.c (__csqrt): Force underflow exception for results
20690         whose real or imaginary part has small absolute value.
20691         * math/s_csqrtf.c (__csqrtf): Likewise.
20692         * math/s_csqrtl.c (__csqrtl): Likewise.
20693         * math/auto-libm-test-in: Add more tests of csqrt.
20694         * math/auto-libm-test-out: Regenerated.
20695         * sysdeps/i386/fpu/libm-test-ulps: Update.
20697 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
20699         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
20700         __ppc_set_ppr_very_low): New functions.
20701         * manual/platform.texi: Add documentation about
20702         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
20704 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
20706         * string/stpncpy.c (stpncpy): Improve performance using
20707         __strnlen/memcpy/memset.
20709 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
20711         [BZ #18796]
20712         * scripts/test-installation.pl: Don't add -lmvec to build options if
20713         libmvec wasn't built.
20715 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
20717         [BZ #14341]
20718         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
20719         case when there is a gap between DT_REL and DT_JMPREL sections.
20720         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
20721         (LDFLAGS-tst-split-dynreloc): New.
20722         (tst-split-dynreloc-ENV): Likewise.
20723         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
20724         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
20726 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
20728         [BZ #18822]
20729         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
20730         attribute_hidden.
20731         (__xstat64_conv): Likewise.
20732         (__xstat32_conv): Likewise.
20734 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
20736         [BZ #18822]
20737         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
20738         Don't load %ebx when calling __setcontext.  Call __setcontext
20739         with HIDDEN_JUMPTARGET.
20740         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
20741         libc_hidden_def.
20743 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
20745         * sysdeps/i386/i686/Makefile
20746         [$(subdir) == string] (sysdep_routines): Moved to ...
20747         * sysdeps/i386/Makefile: Here.
20748         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
20749         * sysdeps/i386/cacheinfo.c: Here.
20750         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
20751         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
20752         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
20753         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
20755 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
20757         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
20758         __i586__ is defined.
20759         (HAS_I686): Defined to 1 if __i686__ is defined.
20761 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
20763         * elf/Makefile [$(have-z-execstack) = yes]
20764         (CPPFLAGS-tst-execstack.c): New variable.
20766         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
20767         conditional to [defined UTMPX || _HAVE_UT_TYPE].
20768         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
20769         UTMPX || _HAVE_UT_TV].
20770         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
20771         UTMPX || _HAVE_UT_TV - 0].
20773 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
20775         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
20776         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
20777         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
20779 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20781         * sysdeps/powerpc/dl-procinfo.c:
20782         (_dl_powerpc_cap_flags): Added missing strings for some
20783         hwcap features.
20784         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
20786 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
20788         Port the 0x7efe...feff pattern to GCC 6.
20789         See Steve Ellcey's bug report in:
20790         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
20791         * string/memrchr.c (MEMRCHR):
20792         * string/rawmemchr.c (RAWMEMCHR):
20793         * string/strchr.c (strchr):
20794         * string/strchrnul.c (STRCHRNUL):
20795         Rewrite code to avoid issues with signed shift overflow.
20797 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
20799         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
20800         whether cpuid is available only if HAS_CPUID is 0.
20801         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
20802         (HAS_I586): Likewise.
20803         (HAS_I686): Likewise.
20805 2015-08-18  Zack Weinberg  <zackw@panix.com>
20807         * misc/Versions (libc): Add GLIBC_2.23.
20809 2015-08-18  Alan Modra  <amodra@gmail.com>
20811         [BZ #18421]
20812         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
20813         .Lp__global.
20814         (_start): Load %dp via .Lp__global.
20815         [!SHARED]: Use .section .rodata.
20817 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
20819         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
20820         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
20822 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
20824         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
20825         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
20827 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
20829         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
20830         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
20832 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
20834         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
20835         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
20837 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
20839         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
20840         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
20842 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
20844         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
20845         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
20847 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
20849         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
20851 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
20853         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
20854         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
20855         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20856         (__ASSUME_LWS_CAS): Delete.
20858 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
20860         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
20861         * sysdeps/hppa/configure: Regenerated.
20862         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
20863         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
20864         * sysdeps/hppa/nptl/tls.h: Likewise.
20866 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
20868         [BZ #18823]
20869         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
20870         for scaling up small arguments.
20871         * math/s_csqrtf.c (__csqrtf): Likewise.
20872         * math/s_csqrtl.c (__csqrtl): Likewise.
20873         * math/auto-libm-test-in: Add more tests of csqrt.
20874         * math/auto-libm-test-out: Regenerated.
20876 2015-08-17  Andreas Schwab  <schwab@suse.de>
20878         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
20879         version set GLIBC_2.19.
20881 2015-08-16  Zack Weinberg  <zackw@panix.com>
20883         [BZ #18681]
20884         * misc/regexp.h: This interface is no longer supported.
20885         Remove all contents, leaving only an #error directive.
20886         * misc/regexp.c (loc1, loc2, locs, step, advance):
20887         Demote to compatibility symbols.
20889 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
20891         [BZ #18084]
20892         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
20893         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
20894         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
20895         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
20896         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
20897         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
20898         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
20899         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
20900         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
20902 2015-08-15  Zack Weinberg  <zackw@panix.com>
20904         [BZ #18795]
20905         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
20906         buffer length is known to be too large, not if it's known to be
20907         small enough.
20908         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
20909         overflow at runtime, involving a length parameter, twice: once
20910         with a compile-time constant length parameter, once without.
20912 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
20914         [BZ #18824]
20915         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
20916         scaling x * y up instead of down.
20917         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20918         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20919         * math/auto-libm-test-in: Add more tests of fma.
20920         * math/auto-libm-test-out: Regenerated.
20922 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
20924         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20926 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20928         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
20929         unnecessary movq.
20930         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
20931         Likewise.
20933 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
20935         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20936         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
20937         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
20938         and tgamma.
20939         * math/auto-libm-test-out: Regenerated.
20940         * sysdeps/i386/fpu/libm-test-ulps: Update.
20941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20943         [BZ #16520]
20944         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
20945         (__tanh): Force underflow exception for arguments with small
20946         absolute value.
20947         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
20948         (__tanhf): Force underflow exception for arguments with small
20949         absolute value.
20950         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
20951         (__tanhl): Force underflow exception for arguments with small
20952         absolute value.
20953         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
20954         (__tanhl): Force underflow exception for arguments with small
20955         absolute value.
20956         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
20957         (__tanhl): Force underflow exception for arguments with small
20958         absolute value.
20959         * math/auto-libm-test-in: Add more tests of tanh.
20960         * math/auto-libm-test-out: Regenerated.
20961         * sysdeps/i386/fpu/libm-test-ulps: Update.
20963 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20965         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
20966         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
20968 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20970         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
20971         <cpuid.h>.
20973 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20975         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
20976         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
20978 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20980         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
20981         Remove $(objpfx)init-arch.o.
20982         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
20983         init-arch.
20984         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
20985         (INIT_ARCH_EXT): Defined as empty.
20986         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
20987         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
20988         __init_cpu_features call.  Replace HAS_XXX with
20989         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20990         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
20991         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
20992         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
20993         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
20994         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
20995         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
20996         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
20997         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
20998         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
20999         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
21000         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
21001         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
21002         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
21003         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
21004         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
21005         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
21006         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
21007         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
21008         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
21009         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
21010         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
21011         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
21012         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
21013         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
21014         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
21015         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
21016         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
21017         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
21018         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
21019         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
21020         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
21021         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
21022         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
21023         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
21024         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
21026 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
21028         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
21029         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21030         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
21031         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
21032         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
21033         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
21034         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
21035         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
21036         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
21037         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
21038         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
21039         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
21040         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21041         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21042         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21043         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21044         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21045         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21046         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21047         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21048         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21049         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21050         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21051         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21052         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21053         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21054         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21055         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21056         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21057         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21058         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21059         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21060         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21061         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21062         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21063         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21064         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21065         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21066         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21067         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21068         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21069         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21070         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21072 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
21074         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
21075         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21076         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21077         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21078         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21079         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
21080         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21081         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
21082         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
21083         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21084         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21085         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
21086         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
21087         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
21088         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
21089         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
21090         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
21091         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
21092         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
21093         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
21094         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
21095         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
21096         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
21097         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
21098         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21099         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
21100         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
21101         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
21102         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21103         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
21104         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
21105         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
21106         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
21107         * sysdeps/x86_64/multiarch/memset.S: Likewise.
21108         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21109         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
21110         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
21111         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21112         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
21113         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
21114         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21115         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
21116         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
21118 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
21120         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
21121         (dl_platform_init): Call init_cpu_features.
21122         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
21123         * sysdeps/i386/i686/cacheinfo.c
21124         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
21125         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
21126         * sysdeps/i386/i686/multiarch/Versions: Removed.
21127         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
21128         Removed.
21129         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
21130         * sysdeps/unix/sysv/linux/x86/Makefile
21131         (libpthread-sysdep_routines): Remove init-arch.
21132         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
21133         <sysdeps/x86_64/dl-procinfo.c> instead of
21134         sysdeps/generic/dl-procinfo.c>.
21135         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
21136         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
21137         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
21138         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
21139         [$(subdir) == elf] (tests-static): Add
21140         tst-get-cpu-features-static.
21141         * sysdeps/x86/Versions: New file.
21142         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
21143         * sysdeps/x86/cpu-features.c: Likewise.
21144         * sysdeps/x86/cpu-features.h: Likewise.
21145         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
21146         * sysdeps/x86/libc-start.c: Likewise.
21147         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
21148         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
21149         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
21150         * sysdeps/x86_64/dl-procinfo.c: Likewise.
21151         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
21152         Assume USE_MULTIARCH is defined and don't check it.
21153         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
21154         (is_amd): Likewise.
21155         (max_cpuid): Likewise.
21156         (intel_check_word): Likewise.
21157         (__cache_sysconf): Don't call __init_cpu_features.
21158         (__x86_preferred_memory_instruction): Removed.
21159         (init_cacheinfo): Don't call __init_cpu_features. Replace
21160         __cpu_features with GLRO(dl_x86_cpu_features).
21161         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
21162         (dl_platform_init): Call init_cpu_features.
21163         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
21164         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
21165         * sysdeps/x86_64/multiarch/Versions: Removed.
21166         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
21167         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
21168         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
21169         Removed.
21170         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
21172 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
21174         [BZ #18820]
21175         * libio/Makefile (test-fmemopen-mem): New test.
21176         * libio/test-fmemopen.c (do_bz18820): New test.
21177         * libio/fmemopen.c (__fmemopen): Fix memory leak.
21178         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
21180 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
21182         [BZ #16734]
21183         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
21184         (FREE_BUF): Delete.
21185         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
21186         * libio/genops.c (_IO_setb): Use malloc and free directly.
21187         (_IO_default_doallocate, _IO_default_finish): Likewise.
21188         ( _IO_unbuffer_all): Likewise.
21189         ( libc_freeres_fn): Likewise.
21190         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
21191         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
21192         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
21193         (_IO_wdefault_doallocate): Likewise.
21195 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
21197         [BZ #18086]
21198         * sysdeps/posix/nice.c (nice): Restore old errno.
21199         * posix/tst-nice.c (do_test): Add test for BZ #18086.
21201 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
21203         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
21205 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21207         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
21208         __bcopy and add a weak_alias to bcopy.
21209         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
21210         for static build.
21212         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
21213         cleanup macro usage.
21214         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
21215         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
21216         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
21217         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
21218         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
21219         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
21220         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
21221         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
21222         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
21223         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
21224         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
21225         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
21226         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
21227         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
21228         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
21229         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
21230         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
21231         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
21232         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
21234         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
21235         libc_hidden_def.
21236         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
21238         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
21239         (sysdep_routines): Add strstr-ppc64.
21240         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
21242 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
21244         [BZ #18778]
21245         * elf/Makefile (tests): Add Add tst-nodelete2.
21246         (modules-names): Add tst-nodelete2mod.
21247         (tst-nodelete2mod.so-no-z-defs): New.
21248         ($(objpfx)tst-nodelete2): Likewise.
21249         ($(objpfx)tst-nodelete2.out): Likewise.
21250         (LDFLAGS-tst-nodelete2): Likewise.
21251         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
21252         out of loop through all loaded libraries.
21253         * elf/tst-nodelete2.c: New file.
21254         * elf/tst-nodelete2mod.c: Likewise.
21255         * elf/tst-znodelete-zlib.cc: Delete.
21257 2015-08-11  Andreas Schwab  <schwab@suse.de>
21259         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
21260         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
21261         (__openat64_nocancel): Likewise.
21263 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
21265         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
21266         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
21267         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
21268         * math/auto-libm-test-out: Regenerated.
21269         * sysdeps/i386/fpu/libm-test-ulps: Update.
21270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21272 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
21274         [BZ #18790]
21275         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
21276         threshold for returning +/- 1.
21277         * math/auto-libm-test-in: Add more tests of tanh.
21278         * math/auto-libm-test-out: Regenerated.
21279         * sysdeps/i386/fpu/libm-test-ulps: Update.
21281 2015-08-10  Andreas Schwab  <schwab@suse.de>
21283         [BZ #18781]
21284         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
21285         MORE_OFLAGS to oflag.
21286         * io/test-lfs.c (do_test): Test openat64.
21288 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
21290         [BZ #18789]
21291         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
21292         smaller threshold for returning the argument.
21293         * math/auto-libm-test-in: Add more tests of sinh.
21294         * math/auto-libm-test-out: Regenerated.
21295         * sysdeps/i386/fpu/libm-test-ulps: Update.
21297 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
21299         [BZ #18674]
21300         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
21301         break.
21303 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
21305         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
21306         (generated): Don't add $(addprefix z.,$(tzfiles)).
21308 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
21310         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
21311         * scripts/sysd-rules.awk: Likewise.
21313 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
21315         * iconvdata/tst-tables.sh: Change echo -n to printf.
21316         * nss/db-Makefile: Likewise.
21317         * posix/tst-getconf.sh: Likewise.
21318         * stdio-common/tst-unbputc.sh: Likewise.
21320 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
21322         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
21323         MADV_*_PAGES defines behind this feature check.
21325 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
21327         [BZ #18480]
21328         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
21329         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
21330         Define.
21331         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
21332         LOAD_REGS_5, LOAD_REGS_6): Update.
21333         (INTERNAL_SYSCALL): Update using new LOAD defines.
21334         (INTERNAL_SYSCALL_NCS): Likewise.
21335         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
21337 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
21339         [BZ #16734]
21340         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
21342 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
21344         [BZ #17905]
21345         * catgets/Makefile (tst-catgets-mem): New test.
21346         * catgets/catgets.c (catopen): Don't use unbounded alloca.
21347         * catgets/open_catalog.c (__open_catalog): Likewise.
21348         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
21350 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
21352         [BZ #18787]
21353         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
21354         clobber registers.
21355         (atomic_compare_and_exchange_val_acq): Use register asms to assign
21356         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
21357         Cast return to __typeof (oldval).
21359 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
21361         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
21362         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
21363         and delete sys/syscall.h include.
21365 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
21367         [BZ #16517]
21368         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
21369         (tan): Force underflow exception for arguments with small absolute
21370         value.
21371         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
21372         (__kernel_tanf): Force underflow exception for arguments with
21373         small absolute value.
21374         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
21375         (__kernel_tanl): Force underflow exception for arguments with
21376         small absolute value.
21377         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
21378         (__kernel_tanl): Force underflow exception for arguments with
21379         small absolute value.
21380         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
21381         (__kernel_tanl): Force underflow exception for arguments with
21382         small absolute value.
21383         * math/auto-libm-test-in: Add more tests of tan.
21384         * math/auto-libm-test-out: Regenerated.
21386 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21388         Fix sysdeps/i386/fpu/s_scalbn.S build
21390         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
21392 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
21394         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
21396 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21398         Fix gcrt0.o compilation
21400         When static-start-installed-name is different from
21401         start-installed-name, we must not use the shared objects.
21403         * csu/Makefile
21404         (extra-objs): Add gmon-start.o when building shared library and
21405         $(static-start-installed-name) is different from
21406         $(start-installed-name).
21407         $(objpfx)g$(static-start-installed-name): When building shared
21408         library and $(static-start-installed-name) is different from
21409         $(static-start-installed-name), revert to non-shared rule,
21410         i.e. using $(objpfx)% and gmon-start.o.
21412 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
21414         [BZ #16519]
21415         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
21416         (__ieee754_sinh): Force underflow exception for arguments with
21417         small absolute value.
21418         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
21419         (__ieee754_sinhf): Force underflow exception for arguments with
21420         small absolute value.
21421         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
21422         (__ieee754_sinhl): Force underflow exception for arguments with
21423         small absolute value.
21424         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
21425         (__ieee754_sinhl): Force underflow exception for arguments with
21426         small absolute value.
21427         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
21428         (__ieee754_sinhl): Force underflow exception for arguments with
21429         small absolute value.
21430         * math/auto-libm-test-in: Add more tests of sinh.
21431         * math/auto-libm-test-out: Regenerated.
21432         * sysdeps/i386/fpu/libm-test-ulps: Update.
21434 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
21436         * libio/oldfileops.c: Include unistd.h.
21438 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
21440         * stdlib/isomac.c: Include ctype.h.
21442 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
21444         * dirent/tst-seekdir.c (main): Converted to ...
21445         (do_test): ... this.
21446         (TEST_FUNCTION): New macro.
21447         Include test-skeleton.c.
21448         * elf/tst-dlmodcount.c (main): Converted to ...
21449         (do_test): ... this.
21450         (TEST_FUNCTION): New macro.
21451         Include test-skeleton.c.
21452         * elf/tst-order-main.c (main): Converted to ...
21453         (do_test): ... this.
21454         (TEST_FUNCTION): New macro.
21455         Include test-skeleton.c.
21456         * elf/tst-pie2.c (main): Converted to ...
21457         (do_test): ... this.
21458         (TEST_FUNCTION): New macro.
21459         Include test-skeleton.c.
21460         * inet/tst-ether_aton.c (main): Converted to ...
21461         (do_test): ... this.
21462         (TEST_FUNCTION): New macro.
21463         Include test-skeleton.c.
21464         * misc/tst-mntent.c (main): Converted to ...
21465         (do_test): ... this.
21466         (TEST_FUNCTION): New macro.
21467         Include test-skeleton.c.
21468         * misc/tst-tsearch.c (main): Converted to ...
21469         (do_test): ... this.
21470         (TEST_FUNCTION): New macro.
21471         Include test-skeleton.c.
21472         * posix/tst-regexloc.c (main): Converted to ...
21473         (do_test): ... this.
21474         (TEST_FUNCTION): New macro.
21475         Include test-skeleton.c.
21476         * resolv/tst-aton.c (main): Converted to ...
21477         (do_test): ... this.
21478         (TEST_FUNCTION): New macro.
21479         Include test-skeleton.c.
21480         * stdio-common/test-fwrite.c (main): Converted to ...
21481         (do_test): ... this.
21482         (TEST_FUNCTION): New macro.
21483         Include test-skeleton.c.
21484         * stdio-common/tst-ferror.c (main): Converted to ...
21485         (do_test): ... this.
21486         (TEST_FUNCTION): New macro.
21487         Include test-skeleton.c.
21488         * stdio-common/tst-printf.c (main): Converted to ...
21489         (do_test): ... this.
21490         (TEST_FUNCTION): New macro.
21491         Include test-skeleton.c.
21492         * stdio-common/tst-printfsz.c (main): Converted to ...
21493         (do_test): ... this.
21494         (TEST_FUNCTION): New macro.
21495         Include test-skeleton.c.
21496         * stdlib/tst-strtod.c (main): Converted to ...
21497         (do_test): ... this.
21498         (TEST_FUNCTION): New macro.
21499         Include test-skeleton.c.
21500         * string/tst-strlen.c (main): Converted to ...
21501         (do_test): ... this.
21502         (TEST_FUNCTION): New macro.
21503         Include test-skeleton.c.
21504         * string/tst-svc.c (main): Converted to ...
21505         (do_test): ... this.
21506         (TEST_FUNCTION): New macro.
21507         Include test-skeleton.c.
21508         * time/tst-strptime.c (main): Converted to ...
21509         (do_test): ... this.
21510         (TEST_FUNCTION): New macro.
21511         Include test-skeleton.c.
21512         * timezone/tst-timezone.c (main): Converted to ...
21513         (do_test): ... this.
21514         (TEST_FUNCTION): New macro.
21515         Include test-skeleton.c.
21517 2015-08-05  Zack Weinberg  <zackw@panix.com>
21519         * misc/regexp.h: Update comments.
21521 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
21523         [BZ #18635]
21524         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
21525         before return label.
21527 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
21529         [BZ #18661]
21530         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
21531         when calling __errno_location.
21532         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
21533         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
21535 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
21537         [BZ #18661]
21538         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
21539         (__lll_timedwait_tid): Align stack to 16 bytes when calling
21540         __gettimeofday.
21542 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
21544         [BZ #18661]
21545         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21546         (__start_context): Don't use pop to restore %rdi so that stack
21547         is aligned to 16 bytes when calling __setcontext.
21549 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
21551         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
21552         only for libc.
21553         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
21555 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
21557         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
21558         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
21559         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
21561 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
21563         * string/memccpy.c (memccpy):
21564         Improve performance by using memchr/memcpy/__mempcpy.
21566 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
21568         * string/strncpy.c (strncpy):
21569         Improve performance by using __strnlen/memcpy.
21571 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
21573         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
21574         Optimize to avoid an unnecessary FPCR read.
21576 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
21578         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
21579         Optimize to reduce FPCR/FPSR accesses.
21581 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
21583         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
21584         dead->data[category] != NULL.
21586 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
21588         [BZ #18647]
21589         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
21590         and |x| close to 1, use absolute value of x when computing log.
21591         * math/auto-libm-test-in: Add more tests of pow.
21592         * math/auto-libm-test-out: Regenerated.
21594 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21596         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
21597         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
21598         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
21600 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
21602         [BZ #18525]
21603         * locales/km_KH: Remove timezone definition.
21604         * locales/lo_LA: Likewise.
21605         * locales/my_MM: Likewise.
21606         * locales/nan_TW@latin: Likewise.
21607         * locales/th_TH: Likewise.
21608         * locales/uk_UA: Likewise.
21610 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
21612         [BZ #18265]
21613         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
21614         (wcsncat): Likewise.
21615         (wcscmp): Likewise.
21616         (wcsncmp): Likewise.
21618 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
21620         * test-skeleton.c (usage): New function.
21621         (main): Call usage when opt is '?'.
21623 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
21625         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
21626         before first use.
21628 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
21630         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
21631         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
21632         in there too.
21634 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
21636         * version.h (RELEASE): Set to "development".
21637         (VERSION): Set to "2.22.90"
21639         * version.h (RELEASE): Set to "stable".
21640         (VERSION): Set to "2.22"
21641         * include/features.h (__GLIBC_MINOR__): Set to 22.
21643 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
21645         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
21646         Restructure macro to avoid "value computed is not used" warning.
21647         (atomic_compare_and_exchange_val_acq): Likewise.
21649 2015-08-04  Andreas Schwab  <schwab@suse.de>
21651         [BZ #18635]
21652         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
21653         ret.
21654         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
21656 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
21658         * po/pl.po: Updated translation.
21659         * po/uk.po: Likewise.
21660         * po/fi.po: Likewise.
21661         * po/ko.po: Likewise.
21662         * po/ru.po: Likewise.
21663         * po/vi.po: Likewise.
21665 2015-07-31  Zack Weinberg  <zackw@panix.com>
21667         [BZ #18681]
21668         * regexp.h: Add unconditional #warning stating that this header
21669         will be removed soon.  Revise banner comment to match.
21670         (compile): Consistently use ERROR instead of RETURN to report
21671         errors (partial fix for bz#18681).
21672         * regexp.c: Don't include regexp.h. Remove some unnecessary
21673         declarations.
21675 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
21677         * po/libc.pot: Regenerated.
21679 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
21681         [BZ #18740]
21682         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
21683         float-vlen4-arch-ext-cflags): Removed.
21684         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
21685         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
21687 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
21689         [BZ #14113]
21690         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
21691         aligned to __aligned__.
21692         (pthread_cond_t, pthread_rwlock_t): Likewise.
21694 2015-07-30  Torvald Riegel  <triegel@redhat.com>
21696         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
21698 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
21700         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
21701         (struct sigaction): Change sa_flags from a long to an int, and add
21702         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
21704 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
21706         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
21707         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
21708         sysdeps/generic/sysdep.h include.
21709         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
21710         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
21711         sysdeps/hppa/sysdep.h.
21712         (ENTRY, PSEUDO): Undefine before defining.
21714 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
21716         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
21717         from scratch to use INTERNAL_SYSCALL.
21719 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
21721         [BZ #18078]
21722         * scripts/check-localplt.awk: Support alternate relocations.
21723         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
21724         sections.
21725         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
21726         malloc entries with + REL R_386_GLOB_DAT.
21727         * sysdeps/x86_64/localplt.data: New file.
21729 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
21731         [BZ #18731]
21732         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
21733         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
21734         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
21736 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
21738         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
21740 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
21742         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
21743         directly in terms of __sync_fetch_and_add and delete (int) cast.
21745 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
21747         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
21748         the -D_ASM_IA64_CURRENT_H flag.
21750 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
21752         [BZ #18641]
21753         * pwd/pwd.h (putpwent): Delete __nonnull markings.
21755 2015-07-27  Andreas Schwab  <schwab@suse.de>
21757         * conform/conformtest.pl (checknamespace): Filter out string
21758         literals while tokenizing.
21760 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
21762         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
21763         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
21764         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
21766 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
21768         * nptl/tst-join7mod.c: Add #include <string.h>.
21770 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
21772         * sysdeps/nios2/libm-test-ulps: Update.
21774 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
21776         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
21777         Fix order of arguments to the rt_sigprocmask syscall.
21778         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
21779         Likewise.
21781 2015-07-24  Roland McGrath  <roland@hack.frob.com>
21783         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
21785 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21787         [BZ #18457]
21788         * nptl/Makefile (tests): New test case tst-join7.
21789         (modules-names): New test case module tst-join7mod.
21790         * nptl/tst-join7.c: New file.
21791         * nptl/tst-join7mod.c: New file.
21792         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
21793         all translation units in libc.so, libpthread.so and rtld.
21795 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21797         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21799 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
21801         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
21802         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
21803         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
21804         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
21805         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
21806         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
21807         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
21808         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
21809         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
21810         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
21811         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
21812         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
21813         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
21814         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
21815         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
21816         implementation.
21818 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21820         [BZ #17711]
21821         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
21822         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
21823         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
21824         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
21825         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
21826         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
21828 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21830         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
21831         instead of just saying load lock in the comments.
21833 2015-07-23  Roland McGrath  <roland@hack.frob.com>
21835         * sysdeps/unix/Subdirs: Moved ...
21836         * sysdeps/posix/Subdirs: ... here.
21837         * login/pty.h (struct termios, struct winsize): Add forward decls.
21838         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
21839         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
21840         * sysdeps/arm/nacl/libc.abilist: Updated.
21841         * sysdeps/nacl/libutil.abilist: New file.
21843         * bits/signum.h: Update comments to mention 1003.1-2013 too.
21844         (SIGWINCH): New macro.
21846         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
21847         * sysdeps/arm/nacl/libc.abilist: Add it.
21849 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
21851         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
21853 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
21855         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
21856         Swap __glibc_reserved0 and sa_flags order.
21858 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21860         [BZ #18657]
21861         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
21862         are pending TLS destructor calls.
21863         * include/link.h (struct link_map): Add concurrency note for
21864         L_TLS_DTOR_COUNT.
21865         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
21866         Don't touch the link map flag.  Atomically increment
21867         l_tls_dtor_count.
21868         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
21869         Avoid taking the load lock and don't touch the link map flag.
21870         * stdlib/tst-tls-atexit-nodelete.c: New test case.
21871         * stdlib/Makefile (tests): Use it.
21872         * stdlib/tst-tls-atexit.c (do_test): dlopen
21873         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
21874         to allow tst-tls-atexit-nodelete test case to use it.
21876 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
21878         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
21879         to bits/types.h.
21880         (msgqnum_t): New typedef.
21881         (msglen_t): Likewise.
21882         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
21883         and msg_qbytes type to msglen_t.
21885 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
21887         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
21888         pad0 to __glibc_reserved0.
21889         (struct stat64): Likewise.
21891 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
21893         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
21894         Change sa_flags from a long to an int and add __glibc_reserved0 before
21895         it for padding.
21897 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
21899         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
21900         anonymous by deleting "siginfo" name.
21902 2015-07-21  Roland McGrath  <roland@hack.frob.com>
21904         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
21905         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
21906         rather than __nacl_irt_filename.
21907         * sysdeps/nacl/xstat.c (__xstat): Likewise.
21909         * NEWS: New item for arm-nacl port.
21910         * sysdeps/arm/nacl/libc.abilist: New file.
21911         * sysdeps/nacl/ld.abilist: New file.
21912         * sysdeps/nacl/libBrokenLocale.abilist: New file.
21913         * sysdeps/nacl/libanl.abilist: New file.
21914         * sysdeps/nacl/libcrypt.abilist: New file.
21915         * sysdeps/nacl/libdl.abilist: New file.
21916         * sysdeps/nacl/libm.abilist: New file.
21917         * sysdeps/nacl/libpthread.abilist: New file.
21918         * sysdeps/nacl/libresolv.abilist: New file.
21919         * sysdeps/nacl/librt.abilist: New file.
21921 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
21923         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
21924         __startcontext to initialize the new context.
21925         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
21926         up CFI directive to forbid further backtracing.
21928 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
21930         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
21931         reference.
21932         * charmaps/ANSI_X3.4-1968: Likewise.
21933         * charmaps/BS_4730: Likewise.
21934         * charmaps/BS_VIEWDATA: Likewise.
21935         * charmaps/CP1250: Likewise.
21936         * charmaps/CP1251: Likewise.
21937         * charmaps/CP1252: Likewise.
21938         * charmaps/CP1253: Likewise.
21939         * charmaps/CP1254: Likewise.
21940         * charmaps/CP1255: Likewise.
21941         * charmaps/CP1256: Likewise.
21942         * charmaps/CSN_369103: Likewise.
21943         * charmaps/EBCDIC-DK-NO: Likewise.
21944         * charmaps/GB_1988-80: Likewise.
21945         * charmaps/GREEK-CCITT: Likewise.
21946         * charmaps/GREEK7: Likewise.
21947         * charmaps/INIS-8: Likewise.
21948         * charmaps/ISIRI-3342: Likewise.
21949         * charmaps/ISO_2033-1983: Likewise.
21950         * charmaps/ISO_5427-EXT: Likewise.
21951         * locales/POSIX: Likewise.
21952         * locales/ar_SA: Likewise.
21953         * locales/be_BY: Likewise.
21954         * locales/be_BY@latin: Likewise.
21955         * locales/ca_ES: Likewise.
21956         * locales/cs_CZ: Likewise.
21957         * locales/da_DK: Likewise.
21958         * locales/de_BE: Likewise.
21959         * locales/de_CH: Likewise.
21960         * locales/de_LU: Likewise.
21961         * locales/en_AU: Likewise.
21962         * locales/en_BW: Likewise.
21963         * locales/en_CA: Likewise.
21964         * locales/en_DK: Likewise.
21965         * locales/en_GB: Likewise.
21966         * locales/en_IE: Likewise.
21967         * locales/en_NZ: Likewise.
21968         * locales/en_ZA: Likewise.
21969         * locales/en_ZW: Likewise.
21970         * locales/es_AR: Likewise.
21971         * locales/es_BO: Likewise.
21972         * locales/es_CL: Likewise.
21973         * locales/es_CO: Likewise.
21974         * locales/es_DO: Likewise.
21975         * locales/es_EC: Likewise.
21976         * locales/es_ES: Likewise.
21977         * locales/es_HN: Likewise.
21978         * locales/es_MX: Likewise.
21979         * locales/es_PA: Likewise.
21980         * locales/es_PE: Likewise.
21981         * locales/es_PY: Likewise.
21982         * locales/es_SV: Likewise.
21983         * locales/es_US: Likewise.
21984         * locales/es_UY: Likewise.
21985         * locales/es_VE: Likewise.
21986         * locales/et_EE: Likewise.
21987         * locales/fa_IR: Likewise.
21988         * locales/fo_FO: Likewise.
21989         * locales/fr_CA: Likewise.
21990         * locales/fr_CH: Likewise.
21991         * locales/gv_GB: Likewise.
21992         * locales/he_IL: Likewise.
21993         * locales/hr_HR: Likewise.
21994         * locales/id_ID: Likewise.
21995         * locales/is_IS: Likewise.
21996         * locales/it_CH: Likewise.
21997         * locales/iw_IL: Likewise.
21998         * locales/kl_GL: Likewise.
21999         * locales/ko_KR: Likewise.
22000         * locales/kw_GB: Likewise.
22001         * locales/lg_UG: Likewise.
22002         * locales/lt_LT: Likewise.
22003         * locales/lv_LV: Likewise.
22004         * locales/mi_NZ: Likewise.
22005         * locales/nhn_MX: Likewise.
22006         * locales/nl_BE: Likewise.
22007         * locales/pl_PL: Likewise.
22008         * locales/sk_SK: Likewise.
22009         * locales/sl_SI: Likewise.
22010         * locales/sv_FI: Likewise.
22011         * locales/tl_PH: Likewise.
22012         * locales/tr_TR: Likewise.
22013         * locales/vi_VN: Likewise.
22015 2015-07-21  Khem Raj  <raj.khem@gmail.com>
22017         [BZ #17475]
22018         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
22019         of tu_IN and bh_IN.
22021 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
22023         [BZ #18694]
22024         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
22025         bits/wordsize.h.
22026         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
22028 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22030         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
22031         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
22032         (spawn_thread): New function.
22033         (load): Rename to reg_dtor_and_close.  Move dlopen to...
22034         (do_test): ... here.  Use IS_LOADED to test for its
22035         availability.
22037 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
22039         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
22041 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
22043         [BZ #18696]
22044         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
22045         si_addr_bnd.
22046         (si_lower): New.
22047         (si_upper): Likewise.
22049 2015-07-16  David S. Miller  <davem@davemloft.net>
22051         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
22053 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22055         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
22056         buffer.
22057         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
22058         fail output information.
22060 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22062         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
22063         and strstr-ppc64..
22064         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
22065         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
22066         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
22067         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
22068         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
22070 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
22072         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
22073         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
22074         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
22075         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
22077 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
22079         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
22080         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
22081         rtld_hidden_proto.
22082         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
22084 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22086         * tst-nodelete-opened.c (do_test): Add comment to clarify how
22087         the test can fail.
22089         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
22091         [BZ #18676]
22092         * elf/tst-nodelete-opened.c: New test case.
22093         * elf/tst-nodelete-opened-lib.c: New test case module.
22094         * elf/Makefile (tests, modules-names): Use them.
22095         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
22096         early.
22098 2015-07-15  David S. Miller  <davem@davemloft.net>
22100         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
22101         futex-intenal.h
22102         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
22103         * sysdeps/sparc/sparc64/Makefile: Likewise.
22104         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
22105         Remove space from macro define.
22106         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
22108 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
22110         [BZ #17475]
22111         * locale/iso-639.def: Update Bhili and Tulu language codes as
22112         per iso639-3.
22114 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
22116         * elf/tst-leaks1.c (main): Converted to ...
22117         (do_test): ... this.
22118         (TEST_FUNCTION): New macro.
22119         Include test-skeleton.c.
22120         * localedata/tst-langinfo.c (main): Converted to ...
22121         (do_test): ... this.
22122         (TEST_FUNCTION): New macro.
22123         Include test-skeleton.c.
22124         * math/test-fpucw.c (main): Converted to ...
22125         (do_test): ... this.
22126         (TEST_FUNCTION): New macro.
22127         Include test-skeleton.c.
22128         * math/test-tgmath.c (main): Converted to ...
22129         (do_test): ... this.
22130         (TEST_FUNCTION): New macro.
22131         Include test-skeleton.c.
22132         * math/test-tgmath2.c (main): Converted to ...
22133         (do_test): ... this.
22134         (TEST_FUNCTION): New macro.
22135         Include test-skeleton.c.
22136         * setjmp/tst-setjmp.c (main): Converted to ...
22137         (do_test): ... this.
22138         (TEST_FUNCTION): New macro.
22139         Include test-skeleton.c.
22140         * stdio-common/tst-sscanf.c (main): Converted to ...
22141         (do_test): ... this.
22142         (TEST_FUNCTION): New macro.
22143         Include test-skeleton.c.
22144         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
22145         (do_test): ... this.
22146         (TEST_FUNCTION): New macro.
22147         Include test-skeleton.c.
22149         * elf/tst-audit9.c (main): Converted to ...
22150         (do_test): ... this.
22151         (TEST_FUNCTION): New macro.
22152         Include test-skeleton.c.
22154 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
22156         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
22158 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
22160         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
22161         New variable.
22163 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
22165         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
22167 2015-07-14  Roland McGrath  <roland@hack.frob.com>
22169         * sysdeps/generic/dl-fileid.h: New file.
22170         * sysdeps/posix/dl-fileid.h: New file.
22171         * sysdeps/nacl/dl-fileid.h: New file.
22172         * include/link.h: Include <dl-fileid.h>.
22173         (struct link_map): Replace l_dev and l_ino with l_file_id.
22174         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
22175         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
22176         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
22178 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22180         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
22182 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22184         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
22185         Add iff $CXX is set.
22186         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
22187         Likewise.
22188         (tst-nodelete-zmodiff): Likewise.
22189         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
22191 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22193         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
22195 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
22197         * sysdeps/aarch64/fpu/math_private.h
22198         (define math_opt_barrier): Add AArch64 version.
22199         (math_force_eval): Likewise.
22201 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
22203         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
22205 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
22207         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
22208         %ld with %jd and cast to intmax_t.
22209         (do_test_length_zero): Likewise.
22211 2015-07-10  Roland McGrath  <roland@hack.frob.com>
22213         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
22215 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
22217         * sysdeps/tile/libm-test-ulps: Regenerated.
22219         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
22220         Comment out the whole function, not just its body.
22222 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22224         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
22225         locks.
22227         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
22229 2015-07-10  Torvald Riegel  <triegel@redhat.com>
22231         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
22232         (sem_assume_only_signals_cause_futex_EINTR): Remove.
22234 2015-07-10  Torvald Riegel  <triegel@redhat.com>
22236         * sysdeps/nptl/futex-internal.h: New file.
22237         * sysdeps/nacl/futex-internal.h: New file.
22238         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
22239         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
22240         error checking.
22241         (setxid_unmark_thread): Likewise.
22242         (__nptl_setxid): Likewise.
22243         (__wait_lookup_done): Likewise.
22244         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
22245         * nptl/nptl-init.c (sighandler_setxid): Likewise.
22246         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
22247         * nptl/pthread_once.c (clear_once_control): Likewise.
22248         (__pthread_once_slow): Likewise.
22249         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
22250         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
22251         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
22252         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
22253         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
22254         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
22255         Likewise.
22256         (__pthread_rwlock_rdlock): Likewise.
22257         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
22258         Likewise.
22259         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
22260         Likewise.
22261         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
22262         Likewise.
22263         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
22264         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
22265         Likewise.
22266         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
22267         __ASSUME_PRIVATE_FUTEX check.
22268         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
22269         Check that shared futexes are supported.
22270         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
22271         wrappers with error checking.
22272         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
22273         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
22274         * nptl/pthread_barrierattr_setpshared.c
22275         (pthread_barrierattr_setpshared): Check that shared futexes are
22276         supported.
22277         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
22278         Likewise.
22279         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
22280         Likewise.
22281         * nptl/sem_init.c (futex_private_if_supported): Remove.
22282         (__new_sem_init): Adapt and check that shared futexes are supported.
22283         * nptl/sem_open.c (sem_open): Likewise.
22284         * nptl/sem_post.c (futex_wake): Remove.
22285         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
22286         (do_futex_wait): Use futex wrappers with error checking.
22287         * nptl/sem_wait.c: Include lowlevellock.h.
22288         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
22289         Use futex_supports_pshared.
22290         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
22291         Use futex wrappers with error checking.
22292         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
22293         Likewise.
22294         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
22295         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
22296         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
22297         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
22298         (futex_wake): Likewise.
22299         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
22300         (do_futex_wait): Use futex wrappers with error checking.
22301         (__new_sem_wait_slow): Update EINTR handling.
22302         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
22304 2015-07-09  Martin Sebor  <msebor@redhat.com>
22306         [BZ #18435]
22307         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
22308         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
22309         * nptl/Makefile (test-xfail-tst-once5): Define.
22311 2015-07-09  Roland McGrath  <roland@hack.frob.com>
22313         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
22314         * elf/dl-minimal.c: For readability, reorder some definitions and
22315         introduce more page breaks.  Include <stdio.h>.
22316         (__libc_fatal): New function.
22318         * include/unistd.h: Add rtld_hidden_proto for _exit.
22319         * posix/_exit.c: Add rtld_hidden_def.
22320         * sysdeps/mach/hurd/_exit.c: Likewise.
22321         * sysdeps/nacl/_exit.c: Likewise.
22322         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
22323         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
22325 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
22327         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
22328         bndmov encoding with zero displacement.
22330 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
22331             H.J. Lu  <hongjiu.lu@intel.com>
22333         [BZ #18134]
22334         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
22335         * sysdeps/i386/configure: Regenerated.
22336         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
22337         (_dl_runtime_profile): Save and restore Intel MPX return bound
22338         registers when calling _dl_call_pltexit.  Add
22339         PRESERVE_BND_REGS_PREFIX before return.
22340         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
22341         (LRV_BND1_OFFSET): Likewise.
22342         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
22343         lrv_bnd1.
22344         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
22345         typo in bndmov encoding.
22346         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
22347         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
22348         branch instructions to preserve bounds.
22350 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
22353         [GLIBC_2.22]: Add fmemopen.
22355 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22357         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
22358         returns an error, also try to use host port from __mach_host_self for
22359         the __vm_wire call.
22360         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
22362 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22364         [BZ #18400]
22365         [BZ #18648]
22366         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
22367         Fix pr_uid and pr_gid members.
22368         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
22369         definition to elf_greg_t.
22371 2015-07-08  Roland McGrath  <roland@hack.frob.com>
22373         [BZ #18383]
22374         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
22375         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
22376         * sysdeps/arm/configure: Regenerated.
22377         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
22378         (test-xfail-tst-tlsalign-static): Variable removed.
22380         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
22381         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
22382         rather than explicit 'ln -s'.
22384         * resolv/rpc/netdb.h: New file.
22385         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
22387 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22389         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
22390         length buffers.
22391         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
22392         test-skeleton.c.
22394         [BZ #6544]
22395         [BZ #11216]
22396         [BZ #12836]
22397         [BZ #13151]
22398         [BZ #13152]
22399         [BZ #14292]
22400         * include/stdio.h (fmemopen): Remove hidden prototype.
22401         (__fmemopen): Add new hidden prototype.
22402         * libio/Makefile: Add oldfmemopen object.
22403         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
22404         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
22405         compliance.
22406         * libio/oldfmemopen.c: New file: old fmemopen implementation for
22407         symbol compatibility.
22408         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
22409         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
22410         fmemopen.
22411         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
22412         on append and read mode.
22413         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
22414         fmemopen.
22415         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
22416         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
22417         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
22418         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
22419         Likewise.
22420         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
22421         [GLIBC_2.22]: Likewise.
22422         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
22423         Likewise.
22424         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
22425         Likewise.
22426         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
22427         [GLIBC_2.22]: Likewise.
22428         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
22429         [GLIBC_2.22]: Likewise.
22430         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
22431         [GLIBC_2.22]: Likewise.
22432         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
22433         [GLIBC_2.22]: Likewise.
22434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
22435         [GLIBC_2.22]: Likewise.
22436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
22437         [GLIBC_2.22]: Likewise.
22438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
22439         [GLIBC_2.22]: Likewise.
22440         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
22441         Likewise.
22442         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
22443         Likewise.
22444         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
22445         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
22446         [GLIBC_2.22]: Likewise.
22447         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
22448         [GLIBC_2.22]: Likewise.
22449         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
22450         [GLIBC_2.22]: Likewise.
22451         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
22452         [GLIBC_2.22]: Likewise.
22453         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
22454         Likewise.
22455         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
22456         Likewise.
22457         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
22458         Likewise.
22459         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
22460         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
22462 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
22464         [BZ #18643]
22465         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
22466         IPV6_PATHMTU, and IPV6_DONTFRAG.
22468 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
22470         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
22471         and _IO_UNBUFFERED.
22472         * libio/oldfileops.c: Likewise.
22473         * libio/wfileops.c: Likewise.
22475 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
22477         * nscd/selinux.c: Delete selinux/flask.h include.
22479 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
22481         [BZ #18641]
22482         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
22483         (putpwent): Likewise.
22484         (getpwnam): Likewise.
22485         (getpwent_r): Likewise.
22486         (getpwuid_r): Likewise.
22487         (getpwnam_r): Likewise.
22488         (fgetpwent_r): Likewise.
22490 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
22492         [BZ #18557]
22493         * inet/rcmd.c (__validuser2_sa): Check user first to
22494         short-circuit host check.
22496 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
22497             Mikhail Ilin  <m.ilin@samsung.com>
22499         [BZ #17833]
22500         * elf/Makefile (tests): Add tst-nodelete.
22501         (modules-names): Add tst-nodelete-uniquemod.
22502         (tst-nodelete-uniquemod.so-no-z-defs): New.
22503         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
22504         (tst-nodelete-zmod.so-no-z-defs): Likewise.
22505         ($(objpfx)tst-nodelete): Likewise.
22506         ($(objpfx)tst-nodelete.out): Likewise.
22507         (LDFLAGS-tst-nodelete): Likewise.
22508         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
22509         * elf/dl-close.c (_dl_close_worker): Add a parameter to
22510         implement forced object deletion.
22511         (_dl_close): Pass false to _dl_close_worker.
22512         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
22513         * elf/tst-nodelete.cc: New file.
22514         * elf/tst-nodeletelib.cc: Likewise.
22515         * elf/tst-znodeletelib.cc: Likewise.
22516         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
22518 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
22520         [BZ #18508]
22521         * stdlib/Makefile ($(objpfx)tst-makecontext3):
22522         Depend on $(libdl).
22523         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
22524         is not called infinitely times.
22525         (backtrace_helper): New function.
22526         (trace_arg): New struct.
22527         (st1): Enlarge stack size.
22528         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
22529         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
22530         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
22531         Likewise.
22533 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
22535         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
22537 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
22539         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
22540         Include sys/types.h instead of bits/types.h.
22541         Remove inclusion of bits/wordsize.h.
22543 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
22545         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
22546         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
22547         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
22548         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
22549         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
22550         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
22552 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
22554         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
22555         link-defines.sym.
22556         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
22557         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
22558         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
22559         and LR_SIZE.
22560         * sysdeps/i386/link-defines.sym: New file.
22562 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
22564         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
22565         (modules-names): Add tst-auditmod3a tst-auditmod3b.
22566         ($(objpfx)tst-audit3): New rule.
22567         ($(objpfx)tst-audit3.out): Likewise.
22568         * sysdeps/i386/tst-audit3.c: New file.
22569         * sysdeps/i386/tst-audit3.h: Likewise.
22570         * sysdeps/i386/tst-auditmod3a.c: Likewise.
22571         * sysdeps/i386/tst-auditmod3b.c: Likewise.
22573 2015-07-07  Torvald Riegel  <triegel@redhat.com>
22575         [BZ #18633]
22576         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
22577         pointer in C code.
22578         (__strcat_c): Likewise.
22579         (__strcat_g): Likewise.
22581 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
22583         [BZ #18592]
22584         * misc/sbrk.c: Set errno to ENOMEM on overflow.
22586 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
22588         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
22589         New function.  (__ieee754_sqrtf): New function.
22590         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
22591         New function.
22592         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
22593         New function.
22595 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
22597         * sysdeps/ieee754/support.c: Remove unused file.
22599 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22601         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
22602         registers instead of d ones so the layout is kernel abi compatible.
22603         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
22604         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
22605         Likewise.
22607 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22609         * sysdeps/aarch64/libm-test-ulps: Regenerated.
22611 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
22613         [BZ #18619]
22614         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
22615         and return argument in case of subnormal argument.
22617 2015-07-01  Martin Sebor  <msebor@redhat.com>
22619         [BZ #18435]
22620         * nptl/Makefile: Add tst-once5.cc.
22621         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
22622         Remove macro redefinitions.
22623         * nptl/tst-once5.cc: New test.
22625 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
22627         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22629         * sysdeps/arm/libm-test-ulps: Regenerated.
22631         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
22632         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22634 2015-06-30  Torvald Riegel  <triegel@redhat.com>
22636         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
22637         lll_lock_wait_private and lll_futex_wake probes.
22639         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
22640         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
22641         Likewise.
22642         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
22643         atomic_spin_nop.
22644         * sysdeps/x86_64/bits/atomic.h: Likewise.
22645         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
22646         to atomic_spin_nop and move ...
22647         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
22648         ... here and ...
22649         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
22650         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
22651         atomic_spin_nop instead of BUSY_WAIT_NOP.
22652         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
22653         Likewise.
22654         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
22655         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
22656         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
22657         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
22658         instead of atomic_delay.
22660 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
22662         [BZ #18613]
22663         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
22664         X_ADJ not X when adjusting exponent.
22665         (__ieee754_gamma_r): Do intermediate computations in
22666         round-to-nearest then adjust overflowing and underflowing results
22667         as needed.
22668         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
22669         of X_ADJ not X when adjusting exponent.
22670         (__ieee754_gammaf_r): Do intermediate computations in
22671         round-to-nearest then adjust overflowing and underflowing results
22672         as needed.
22673         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
22674         log of X_ADJ not X when adjusting exponent.
22675         (__ieee754_gammal_r): Do intermediate computations in
22676         round-to-nearest then adjust overflowing and underflowing results
22677         as needed.  Use 1.0L not 1.0f as numerator of division.
22678         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
22679         log of X_ADJ not X when adjusting exponent.
22680         (__ieee754_gammal_r): Do intermediate computations in
22681         round-to-nearest then adjust overflowing and underflowing results
22682         as needed.  Use 1.0L not 1.0f as numerator of division.
22683         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
22684         of X_ADJ not X when adjusting exponent.
22685         (__ieee754_gammal_r): Do intermediate computations in
22686         round-to-nearest then adjust overflowing and underflowing results
22687         as needed.  Use 1.0L not 1.0f as numerator of division.
22688         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
22689         to auto-libm-test-in.
22690         (tgamma_test): Use ALL_RM_TEST.
22691         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
22692         tests of tgamma with spurious-overflow.
22693         * math/auto-libm-test-out: Regenerated.
22694         * math/gen-libm-have-vector-test.sh: Do not check for START.
22695         * sysdeps/i386/fpu/libm-test-ulps: Update.
22696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22698         [BZ #18612]
22699         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
22700         arguments, just return 0.5 times the argument, with underflow
22701         forced as needed.
22702         * math/auto-libm-test-in: Add more tests of j1.
22703         * math/auto-libm-test-out: Regenerated.
22705         [BZ #16559]
22706         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
22707         (__ieee754_j1): Force underflow exception for small results.
22708         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
22709         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
22710         (__ieee754_j1f): Force underflow exception for small results.
22711         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
22712         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
22713         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
22714         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
22715         (__ieee754_j1l): Force underflow exception for small results.
22716         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
22717         * math/auto-libm-test-in: Add more tests of j1 and jn.
22718         * math/auto-libm-test-out: Regenerated.
22720         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
22721         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
22722         (PF_MPLS): Likewise.
22723         (AF_IB): Likewise.
22724         (AF_MPLS): Likewise.
22725         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
22726         value and macro.
22727         (MS_RMT_MASK): Include MS_LAZYTIME.
22729 2015-06-26  Mel Gorman  <mgorman@suse.de>
22731         [BZ #18502]
22732         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
22733         already minimal.
22735 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
22737         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
22738         (DT_MIPS_NUM): Update.
22739         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
22740         DT_MIPS_RLD_MAP_REL.
22742 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
22744         [BZ #16559]
22745         [BZ #18602]
22746         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
22747         round-to-nearest internally then recompute results that
22748         underflowed to zero in the original rounding mode.
22749         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
22750         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
22751         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
22752         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
22753         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
22754         * sysdeps/i386/fpu/libm-test-ulps: Update.
22755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22757 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
22759         * NEWS: Fixed description of link with vector math library.
22761 2015-06-25  Andreas Schwab  <schwab@suse.de>
22763         [BZ #18549]
22764         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
22765         * libio/test-fmemopen.c (do_test): Add test for it.
22767 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
22769         [BZ #17841]
22770         * Makeconfig (no-pie-ldflag): New.
22771         (+link): Set to $(+link-pie) if default to PIE.
22772         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
22773         * config.make.in (build-pie-default): New.
22774         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
22775         is default.  AC_SUBST.
22776         * configure: Regenerated.
22777         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
22779 2015-06-24  Roland McGrath  <roland@hack.frob.com>
22781         * nptl/descr.h (struct pthread): Change type of field setxid_futex
22782         to 'unsigned int'.
22784         * resolv/gai_misc.h (struct waitlist): Change type of field
22785         counterp to 'volatile unsigned int *'.
22786         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
22787         FUTEXADDR and OLDVAL.
22788         * resolv/getaddrinfo_a.c (getaddrinfo_a):
22789         Give local variable TOTAL type 'volatile unsigned int'.
22790         (struct async_waitlist): Change type of field counter to 'unsigned int'.
22791         * resolv/gai_suspend.c (gai_suspend):
22792         Give local variable CNTR type 'unsigned int'.
22794         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
22795         counterp to 'volatile unsigned int *'.
22796         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
22797         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
22798         (aio_suspend): Give local variable CNTR type 'unsigned int'.
22799         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
22800         Give local variable TOTAL type 'volatile unsigned int'.
22801         (struct async_waitlist): Change type of field counter to 'unsigned int'.
22803 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
22805         [BZ #18383]
22806         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
22807         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
22808         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
22809         comment for i386/x86-64.
22810         (test-xfail-tst-tlsalign-extern-static): Removed.
22812 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
22814         * math/test-double.h: New file.
22815         * math/test-float.h: Likewise.
22816         * math/test-ldouble.h: Likewise.
22817         * math/test-math-inline.h: Likewise.
22818         * math/test-math-no-inline.h: Likewise.
22819         * math/test-math-scalar.h: Likewise.
22820         * math/test-math-vector.h: Likewise.
22821         * math/test-vec-loop.h: Remove file.  Contents moved into
22822         test-math-vector.h.
22823         * math/libm-test.inc (MATHCONST): Do not document macro.
22824         * math/test-double.c: Include test-double.h, test-math-no-inline.h
22825         and test-math-scalar.h.
22826         (FUNC): Remove macro.
22827         (FUNC_TEST): Likewise.
22828         (FLOAT): Likewise.
22829         (MATHCONST): Likewise.
22830         (PRINTF_EXPR): Likewise.
22831         (PRINTF_XEXPR): Likewise.
22832         (PRINTF_NEXPR): Likewise.
22833         (TEST_DOUBLE): Likewise.
22834         (TEST_MATHVEC): Likewise.
22835         (__NO_MATH_INLINES): Likewise.
22836         * math/test-float.c: Include test-float.h, test-math-no-inline.h
22837         and test-math-scalar.h.
22838         (FUNC): Remove macro.
22839         (FUNC_TEST): Likewise.
22840         (FLOAT): Likewise.
22841         (MATHCONST): Likewise.
22842         (PRINTF_EXPR): Likewise.
22843         (PRINTF_XEXPR): Likewise.
22844         (PRINTF_NEXPR): Likewise.
22845         (TEST_FLOAT): Likewise.
22846         (TEST_MATHVEC): Likewise.
22847         (__NO_MATH_INLINES): Likewise.
22848         * math/test-idouble.c: Include test-double.h, test-math-inline.h
22849         and test-math-scalar.h.
22850         (FUNC): Remove macro.
22851         (FUNC_TEST): Likewise.
22852         (FLOAT): Likewise.
22853         (MATHCONST): Likewise.
22854         (PRINTF_EXPR): Likewise.
22855         (PRINTF_XEXPR): Likewise.
22856         (PRINTF_NEXPR): Likewise.
22857         (TEST_DOUBLE): Likewise.
22858         (TEST_MATHVEC): Likewise.
22859         (TEST_INLINE): Likewise.
22860         (__NO_MATH_INLINES): Likewise.
22861         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
22862         test-math-scalar.h.
22863         (FUNC): Remove macro.
22864         (FUNC_TEST): Likewise.
22865         (FLOAT): Likewise.
22866         (MATHCONST): Likewise.
22867         (PRINTF_EXPR): Likewise.
22868         (PRINTF_XEXPR): Likewise.
22869         (PRINTF_NEXPR): Likewise.
22870         (TEST_FLOAT): Likewise.
22871         (TEST_MATHVEC): Likewise.
22872         (TEST_INLINE): Likewise.
22873         (__NO_MATH_INLINES): Likewise.
22874         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
22875         and test-math-scalar.h.
22876         (FUNC): Remove macro.
22877         (FUNC_TEST): Likewise.
22878         (FLOAT): Likewise.
22879         (MATHCONST): Likewise.
22880         (PRINTF_EXPR): Likewise.
22881         (PRINTF_XEXPR): Likewise.
22882         (PRINTF_NEXPR): Likewise.
22883         (TEST_LDOUBLE): Likewise.
22884         (TEST_MATHVEC): Likewise.
22885         (TEST_INLINE): Likewise.
22886         (__NO_MATH_INLINES): Likewise.
22887         * math/test-ldouble.c: Include test-ldouble.h,
22888         test-math-no-inline.h and test-math-scalar.h.
22889         (FUNC): Remove macro.
22890         (FUNC_TEST): Likewise.
22891         (FLOAT): Likewise.
22892         (MATHCONST): Likewise.
22893         (PRINTF_EXPR): Likewise.
22894         (PRINTF_XEXPR): Likewise.
22895         (PRINTF_NEXPR): Likewise.
22896         (TEST_LDOUBLE): Likewise.
22897         (TEST_MATHVEC): Likewise.
22898         (__NO_MATH_INLINES): Likewise.
22899         * math/test-double-vlen2.h: Include test-double.h,
22900         test-math-no-inline.h and test-math-vector.h.
22901         (FLOAT): Remove macro.
22902         (FUNC): Likewise.
22903         (MATHCONST): Likewise.
22904         (PRINTF_EXPR): Likewise.
22905         (PRINTF_XEXPR): Likewise.
22906         (PRINTF_NEXPR): Likewise.
22907         (TEST_DOUBLE): Likewise.
22908         (TEST_MATHVEC): Likewise.
22909         (__NO_MATH_INLINES): Likewise.
22910         (CNCT): Likewise.
22911         (CONCAT): Likewise.
22912         (WRAPPER_NAME): Likewise.
22913         (WRAPPER_DECL): Likewise.
22914         (WRAPPER_DECL_ff): Likewise.
22915         (WRAPPER_DECL_fFF): Likewise.
22916         (VECTOR_WRAPPER): Likewise.
22917         (VECTOR_WRAPPER_ff): Likewise.
22918         (VECTOR_WRAPPER_fFF): Likewise.
22919         (VEC_LEN): New macro.
22920         * math/test-double-vlen4.h: Include test-double.h,
22921         test-math-no-inline.h and test-math-vector.h.
22922         (FLOAT): Remove macro.
22923         (FUNC): Likewise.
22924         (MATHCONST): Likewise.
22925         (PRINTF_EXPR): Likewise.
22926         (PRINTF_XEXPR): Likewise.
22927         (PRINTF_NEXPR): Likewise.
22928         (TEST_DOUBLE): Likewise.
22929         (TEST_MATHVEC): Likewise.
22930         (__NO_MATH_INLINES): Likewise.
22931         (CNCT): Likewise.
22932         (CONCAT): Likewise.
22933         (WRAPPER_NAME): Likewise.
22934         (WRAPPER_DECL): Likewise.
22935         (WRAPPER_DECL_ff): Likewise.
22936         (WRAPPER_DECL_fFF): Likewise.
22937         (VECTOR_WRAPPER): Likewise.
22938         (VECTOR_WRAPPER_ff): Likewise.
22939         (VECTOR_WRAPPER_fFF): Likewise.
22940         (VEC_LEN): New macro.
22941         * math/test-double-vlen8.h: Include test-double.h,
22942         test-math-no-inline.h and test-math-vector.h.
22943         (FLOAT): Remove macro.
22944         (FUNC): Likewise.
22945         (MATHCONST): Likewise.
22946         (PRINTF_EXPR): Likewise.
22947         (PRINTF_XEXPR): Likewise.
22948         (PRINTF_NEXPR): Likewise.
22949         (TEST_DOUBLE): Likewise.
22950         (TEST_MATHVEC): Likewise.
22951         (__NO_MATH_INLINES): Likewise.
22952         (CNCT): Likewise.
22953         (CONCAT): Likewise.
22954         (WRAPPER_NAME): Likewise.
22955         (WRAPPER_DECL): Likewise.
22956         (WRAPPER_DECL_ff): Likewise.
22957         (WRAPPER_DECL_fFF): Likewise.
22958         (VECTOR_WRAPPER): Likewise.
22959         (VECTOR_WRAPPER_ff): Likewise.
22960         (VECTOR_WRAPPER_fFF): Likewise.
22961         (VEC_LEN): New macro.
22962         * math/test-float-vlen4.h: Include test-float.h,
22963         test-math-no-inline.h and test-math-vector.h.
22964         (FLOAT): Remove macro.
22965         (FUNC): Likewise.
22966         (MATHCONST): Likewise.
22967         (PRINTF_EXPR): Likewise.
22968         (PRINTF_XEXPR): Likewise.
22969         (PRINTF_NEXPR): Likewise.
22970         (TEST_FLOAT): Likewise.
22971         (TEST_MATHVEC): Likewise.
22972         (__NO_MATH_INLINES): Likewise.
22973         (CNCT): Likewise.
22974         (CONCAT): Likewise.
22975         (WRAPPER_NAME): Likewise.
22976         (WRAPPER_DECL): Likewise.
22977         (WRAPPER_DECL_ff): Likewise.
22978         (WRAPPER_DECL_fFF): Likewise.
22979         (VECTOR_WRAPPER): Likewise.
22980         (VECTOR_WRAPPER_ff): Likewise.
22981         (VECTOR_WRAPPER_fFF): Likewise.
22982         (VEC_LEN): New macro.
22983         * math/test-float-vlen8.h: Include test-float.h,
22984         test-math-no-inline.h and test-math-vector.h.
22985         (FLOAT): Remove macro.
22986         (FUNC): Likewise.
22987         (MATHCONST): Likewise.
22988         (PRINTF_EXPR): Likewise.
22989         (PRINTF_XEXPR): Likewise.
22990         (PRINTF_NEXPR): Likewise.
22991         (TEST_FLOAT): Likewise.
22992         (TEST_MATHVEC): Likewise.
22993         (__NO_MATH_INLINES): Likewise.
22994         (CNCT): Likewise.
22995         (CONCAT): Likewise.
22996         (WRAPPER_NAME): Likewise.
22997         (WRAPPER_DECL): Likewise.
22998         (WRAPPER_DECL_ff): Likewise.
22999         (WRAPPER_DECL_fFF): Likewise.
23000         (VECTOR_WRAPPER): Likewise.
23001         (VECTOR_WRAPPER_ff): Likewise.
23002         (VECTOR_WRAPPER_fFF): Likewise.
23003         (VEC_LEN): New macro.
23004         * math/test-float-vlen16.h: Include test-float.h,
23005         test-math-no-inline.h and test-math-vector.h.
23006         (FLOAT): Remove macro.
23007         (FUNC): Likewise.
23008         (MATHCONST): Likewise.
23009         (PRINTF_EXPR): Likewise.
23010         (PRINTF_XEXPR): Likewise.
23011         (PRINTF_NEXPR): Likewise.
23012         (TEST_FLOAT): Likewise.
23013         (TEST_MATHVEC): Likewise.
23014         (__NO_MATH_INLINES): Likewise.
23015         (CNCT): Likewise.
23016         (CONCAT): Likewise.
23017         (WRAPPER_NAME): Likewise.
23018         (WRAPPER_DECL): Likewise.
23019         (WRAPPER_DECL_ff): Likewise.
23020         (WRAPPER_DECL_fFF): Likewise.
23021         (VECTOR_WRAPPER): Likewise.
23022         (VECTOR_WRAPPER_ff): Likewise.
23023         (VECTOR_WRAPPER_fFF): Likewise.
23024         (VEC_LEN): New macro.
23025         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
23026         test-vec-loop.h.
23027         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
23028         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
23029         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
23030         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
23031         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
23032         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
23033         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
23035 2015-06-24  Roland McGrath  <roland@hack.frob.com>
23037         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
23038         (__getlogin_r): ... this.
23040 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
23042         [BZ #18594]
23043         * math/s_ccosh.c (__ccosh): Compare with least normal value
23044         instead of comparing class with FP_SUBNORMAL.
23045         * math/s_ccoshf.c (__ccoshf): Likewise.
23046         * math/s_ccoshl.c (__ccoshl): Likewise.
23047         * math/s_cexp.c (__cexp): Likewise.
23048         * math/s_cexpf.c (__cexpf): Likewise.
23049         * math/s_cexpl.c (__cexpl): Likewise.
23050         * math/s_csin.c (__csin): Likewise.
23051         * math/s_csinf.c (__csinf): Likewise.
23052         * math/s_csinh.c (__csinh): Likewise.
23053         * math/s_csinhf.c (__csinhf): Likewise.
23054         * math/s_csinhl.c (__csinhl): Likewise.
23055         * math/s_csinl.c (__csinl): Likewise.
23056         * math/s_ctan.c (__ctan): Likewise.
23057         * math/s_ctanf.c (__ctanf): Likewise.
23058         * math/s_ctanh.c (__ctanh): Likewise.
23059         * math/s_ctanhf.c (__ctanhf): Likewise.
23060         * math/s_ctanhl.c (__ctanhl): Likewise.
23061         * math/s_ctanl.c (__ctanl): Likewise.
23062         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
23063         csin, csinh, ctan and ctanh.
23064         * math/auto-libm-test-out: Regenerated.
23065         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
23066         * sysdeps/i386/fpu/libm-test-ulps: Update.
23067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23069 2015-06-24  Roland McGrath  <roland@hack.frob.com>
23071         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
23072         return value is wrong, print the expected value too.
23074 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
23076         [BZ #18585]
23077         * elf/readlib.c (is_gdb_python_file): New.
23078         (process_file): Don't issue errors on filenames with -gdb.py
23079         suffix.
23081 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
23083         * math/auto-libm-test-in: Add more tests of csin and csinh.
23084         * math/auto-libm-test-out: Regenerated.
23085         * math/libm-test.inc (csin_test_data): Remove tests moved to
23086         auto-libm-test-in.
23087         (csinh_test_data): Likewise.
23089         [BZ #18593]
23090         * math/s_csin.c (__csin): Negate before rather than after possibly
23091         overflowing multiplication.
23092         * math/s_csinf.c (__csinf): Likewise.
23093         * math/s_csinh.c (__csinh): Likewise.
23094         * math/s_csinhf.c (__csinhf): Likewise.
23095         * math/s_csinhl.c (__csinhl): Likewise.
23096         * math/s_csinl.c (__csinl): Likewise.
23097         * math/auto-libm-test-in: Add some tests of csin and csinh.
23098         * math/auto-libm-test-out: Regenerated.
23099         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
23100         (csinh_test_data): Likewise.
23101         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23103         [BZ #18586]
23104         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
23105         underflow exception for small results.
23107 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
23109         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
23110         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
23111         variable and included header.
23112         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
23113         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
23114         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
23115         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
23116         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
23117         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
23118         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
23119         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
23120         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
23121         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
23122         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
23123         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
23124         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
23125         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
23126         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
23127         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
23129 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
23131         [BZ #16526]
23132         [BZ #16538]
23133         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
23134         (__sin): Force underflow exception for arguments with small
23135         absolute value.
23136         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
23137         (__kernel_sinf): Force underflow exception for arguments with
23138         small absolute value.
23139         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
23140         (__kernel_sincosl): Force underflow exception for arguments with
23141         small absolute value.
23142         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
23143         (__kernel_sinl): Force underflow exception for arguments with
23144         small absolute value.
23145         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
23146         (__kernel_sincosl): Force underflow exception for arguments with
23147         small absolute value.
23148         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
23149         (__kernel_sinl): Force underflow exception for arguments with
23150         small absolute value.
23151         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
23152         (__kernel_sinl): Force underflow exception for arguments with
23153         small absolute value.
23154         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
23155         (__kernel_sinf): Force underflow exception for arguments with
23156         small absolute value.
23157         * math/auto-libm-test-in: Add more tests of sin and sincos.
23158         * math/auto-libm-test-out: Regenerated.
23160         [BZ #18245]
23161         [BZ #18583]
23162         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
23163         (__kernel_standard_l): Use feholdexcept and fesetenv around
23164         conversion to double instead of special-casing overflow and
23165         underflow.
23166         * math/libm-test.inc (fmod_test_data): Add more tests.
23167         (remainder_test_data): Likewise.
23168         (sqrt_test_data): Likewise.
23170 2015-06-23  Torvald Riegel  <triegel@redhat.com>
23172         [BZ #17403]
23173         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
23174         atomic_read_barrier, atomic_write_barrier): Define.
23175         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
23176         atomic_read_barrier, atomic_write_barrier): Define.
23178 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
23180         * math/Makefile [$(PERL) != no]
23181         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
23182         dependency on libm-test.stmp below the inclusion of Rules.
23184 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
23186         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
23187         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
23188         and included header.
23189         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
23190         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
23191         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
23192         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
23193         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
23194         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
23195         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
23196         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
23197         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
23198         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
23199         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
23200         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
23201         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
23202         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
23203         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
23204         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
23205         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
23206         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
23207         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
23209 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
23211         [BZ #18371]
23212         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
23213         intermediate but not final result might underflow.
23214         * math/s_csqrtf.c (__csqrtf): Likewise.
23215         * math/s_csqrtl.c (__csqrtl): Likewise.
23216         * math/auto-libm-test-in: Add more tests of csqrt.
23217         * math/auto-libm-test-out: Regenerated.
23218         * sysdeps/i386/fpu/libm-test-ulps: Update.
23220         [BZ #18219]
23221         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
23222         threshold on absolute value of exponent for which scaling is used.
23223         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
23224         * math/auto-libm-test-in: Add more tests of exp2.
23225         * math/auto-libm-test-out: Regenerated.
23227 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
23229         [BZ #17977]
23230         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
23231         when initializing interface list, based on the bug analysis
23232         and the patch proposed by Eric Newton.
23233         * resolv/tst-res_hconf_reorder.c: New test.
23234         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
23235         tst-res_hconf_reorder.
23236         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
23237         and $(shared-thread-library).
23238         (tst-res_hconf_reorder-ENV): New variable.
23240         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
23241         in comment.
23243 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
23245         [BZ #16353]
23246         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
23247         (__expm1): Force underflow exception for arguments with small
23248         absolute value.
23249         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
23250         (__expm1f): Force underflow exception for arguments with small
23251         absolute value.
23252         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
23253         (__expm1): Force underflow exception for arguments with small
23254         absolute value.
23255         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
23256         (__expm1f): Force underflow exception for arguments with small
23257         absolute value.
23258         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
23259         Check for small arguments before calling __expm1.
23260         * math/auto-libm-test-in: Do not mark underflow exceptions as
23261         possibly missing for bug 16353.
23262         * math/auto-libm-test-out: Regenerated.
23264 2015-06-22  Andreas Schwab  <schwab@suse.de>
23266         [BZ #18513]
23267         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
23268         PTR queries.
23270 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
23272         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
23274         * string/strcoll_l.c: Remove unused struct element idxnow.
23276 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
23278         [BZ #18569]
23279         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
23280         underflow and return argument in case of subnormal argument.
23281         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
23282         Likewise.
23283         * math/auto-libm-test-in: Add more tests of expm1.
23284         * math/auto-libm-test-out: Regenerated.
23286         [BZ #16361]
23287         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
23288         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
23289         tiny results.
23290         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
23291         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
23292         tiny results.
23293         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
23294         mark underflow exceptions as possibly missing for bug 16361.
23295         * math/auto-libm-test-out: Regenerated.
23297 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
23299         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
23300         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
23301         Remove variable.
23302         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
23303         (test-xfail-XOPEN2K8/utmpx.h/conform).
23305         * conform/conformtest.pl ($xerrors): New variable.
23306         (note_error): New function.
23307         (compiletest): New argument $xfail.  Use not_error.
23308         (runtest): Likewise.
23309         (top level): Handle xfail- lines.  Update calls to compiletest and
23310         runtest.  Handle xfail- and optional- in headers listed with
23311         allow-header.
23312         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
23313         (O_EXEC): Likewise.
23314         (O_SEARCH): Likewise.
23315         * conform/data/stropts.h-data (ioctl): Likewise.
23316         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
23317         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
23318         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
23319         (msghdr.msg_controllen): Likewise.
23320         (cmsghdr.cmsg_len): Likewise.
23321         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
23322         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
23323         variable.
23324         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
23325         (test-xfail-XPG4/stropts.h/conform): Likewise.
23326         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
23327         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
23328         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
23329         (test-xfail-UNIX98/stropts.h/conform): Likewise.
23330         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
23331         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
23332         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
23333         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
23334         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
23335         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
23336         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
23337         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
23338         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
23339         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
23340         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
23341         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
23342         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
23343         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
23344         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
23346 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
23348         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
23349         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
23350         definitions for proper unfolding of __MATHDECL_VEC.
23352 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
23354         * benchtests/bench-strcoll.c:
23355         Include string.h.
23356         (main): Remove unused variable res.
23358 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
23360         * timezone/Makefile (%/UTC %/Universal):
23361         Generate test-result files for UTC and Universal.
23363 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
23365         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
23367 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
23369         [BZ #16350]
23370         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
23371         for arguments with small absolute value.
23372         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
23373         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
23374         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
23375         (__asinh): Force underflow exception for arguments with small
23376         absolute value.
23377         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
23378         (__asinhf): Force underflow exception for arguments with small
23379         absolute value.
23380         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
23381         (__asinhl): Force underflow exception for arguments with small
23382         absolute value.
23383         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
23384         (__asinhl): Force underflow exception for arguments with small
23385         absolute value.
23386         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
23387         (__asinhl): Force underflow exception for arguments with small
23388         absolute value.
23389         * math/auto-libm-test-in: Do not mark underflow exceptions as
23390         possibly missing for bug 16350.
23391         * math/auto-libm-test-out: Regenerated.
23393         * include/bits/ipc.h: Remove file.
23394         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
23395         variable.
23396         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
23397         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
23398         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
23399         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
23400         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
23401         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
23402         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
23403         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
23404         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
23406         * math/auto-libm-test-in: Remove spurious underflow allowance for
23407         tests of cexp.
23408         * math/auto-libm-test-out: Regenerated.
23410         [BZ #18558]
23411         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
23412         unconditional definition.
23413         (MCAST_BLOCK_SOURCE): Likewise.
23414         (MCAST_UNBLOCK_SOURCE): Likewise.
23415         (MCAST_LEAVE_GROUP): Likewise.
23416         (MCAST_JOIN_SOURCE_GROUP): Likewise.
23417         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
23418         (MCAST_MSFILTER): Likewise.
23419         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
23420         Remove variable.
23421         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
23422         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
23423         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
23424         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
23425         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
23427 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
23429         * NEWS: Mention addition of x86_64 vector sincosf.
23430         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
23431         * math/test-float-vlen4.h: Likewise.
23432         * math/test-float-vlen8.h: Likewise.
23433         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
23434         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
23435         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23436         * sysdeps/x86_64/fpu/Versions: New versions added.
23437         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23438         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
23439         Added build of SSE, AVX2 and AVX512 IFUNC versions.
23440         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
23441         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
23442         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
23443         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
23444         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
23445         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
23446         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
23447         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
23448         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
23449         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
23450         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
23451         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
23452         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
23453         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
23454         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
23455         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
23456         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
23457         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
23458         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
23459         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
23460         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
23462         * NEWS: Mention addition of x86_64 vector sincos.
23463         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
23464         * math/math.h (__MATHDECL_VEC): New macro.
23465         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
23466         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
23467         declaration under condition.
23468         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
23469         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
23470         TEST_VEC_LOOP change.
23471         * math/test-double-vlen4.h: Likewise.
23472         * math/test-double-vlen8.h: Likewise.
23473         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
23474         * math/test-float-vlen4.h: Likewise.
23475         * math/test-float-vlen8.h: Likewise.
23476         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
23477         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
23478         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23479         * sysdeps/x86_64/fpu/Versions: New versions added.
23480         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23481         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
23482         Added build of SSE, AVX2 and AVX512 IFUNC versions.
23483         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
23484         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
23485         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
23486         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
23487         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
23488         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
23489         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
23490         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
23491         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
23492         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
23493         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
23494         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
23495         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
23496         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
23497         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
23498         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
23499         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
23500         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
23501         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
23502         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
23503         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
23505         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
23506         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
23507         redirections for powf.
23508         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23509         * sysdeps/x86_64/fpu/Versions: New versions added.
23510         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23511         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
23512         Added build of SSE, AVX2 and AVX512 IFUNC versions.
23513         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
23514         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
23515         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
23516         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
23517         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
23518         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
23519         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
23520         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
23521         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
23522         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
23523         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
23524         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
23525         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
23526         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
23527         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
23528         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
23529         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
23530         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
23531         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
23532         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
23533         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
23534         * math/test-float-vlen16.h: Fixed 2 argument macro.
23535         * math/test-float-vlen4.h: Likewise.
23536         * math/test-float-vlen8.h: Likewise.
23537         * NEWS: Mention addition of x86_64 vector powf.
23539 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
23541         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23542         and redefine.
23543         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23544         and redefine.
23545         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
23546         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23547         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23549         [BZ #18553]
23550         * resource/getpriority.c (getpriority): Rename to __getpriority
23551         and define as weak alias of __getpriority.
23552         * resource/setpriority.c (setpriority): Rename to __setpriority
23553         and define as weak alias of __setpriority.
23554         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
23555         __getpriority and define as weak alias of __getpriority.
23556         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
23557         __setpriority and define as weak alias of __setpriority.
23558         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
23559         strong name.
23560         (setpriority): Use __setpriority as strong name.
23561         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
23562         __getpriority and define as weak alias of __getpriority.
23563         * include/sys/resource.h (__getpriority): Declare.  Use
23564         libc_hidden_proto.
23565         (__setpriority): Likewise.
23566         (getpriority): Don't use libc_hidden_proto.
23567         (setpriority): Likewise.
23568         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
23569         getpriority.  Call __setpriority instead of setpriority.
23570         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
23571         Remove variable.
23573         [BZ #18547]
23574         * misc/getttyent.c (getttynam): Rename to __getttynam and define
23575         as weak alias of __getttynam.  Use prototype function definition.
23576         Call __setttyent, __getttyent and __endttyent instead of
23577         setttyent, getttyent and endttyent.
23578         (getttyent): Rename to __getttyent and define as weak alias of
23579         __getttyent.  Call __setttyent instead of setttyent.  Call
23580         __fgets_unlocked instead of fgets_unlocked.
23581         (setttyent): Rename to __setttyent and define as weak alias of
23582         __setttyent.
23583         (endttyent): Rename to __endttyent and define as weak alias of
23584         __endttyent.
23585         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
23586         (__setttyent): Likewise.
23587         (__endttyent): Likewise.
23588         (getttyent): Don't use libc_hidden_proto.
23589         (setttyent): Likewise.
23590         (endttyent): Likewise.
23591         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
23592         __endttyent instead of setttyent, getttyent and endttyent.
23593         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
23594         Remove variable.
23596         [BZ #18546]
23597         * socket/recv.c (__recv): Use libc_hidden_def.
23598         * socket/socket.c (__socket): Likewise.
23599         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
23600         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
23601         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
23602         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
23603         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
23604         libc_hidden_def.
23605         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
23606         libc_hidden_weak.
23607         * include/sys/socket.h (__socket): Do not use attribute_hidden.
23608         Use libc_hidden_proto.
23609         (__recv): Likewise.
23610         * socket/Versions (libc): Export __recv and __socket at version
23611         GLIBC_PRIVATE.
23612         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
23613         instead of recv.
23614         (init_mq_netlink): Call __socket instead of socket.
23615         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
23616         Remove variable.
23618         [BZ #18545]
23619         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
23620         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
23621         hidden_weak.
23622         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
23623         define as alias of __mq_timedsend.  Use hidden_weak.
23624         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
23625         __mq_timedsend as strong name.
23626         (mq_timedreceive): Use __mq_timedreceive as strong name.
23627         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
23628         (__mq_timedreceive): Likewise.
23629         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
23630         __mq_timedreceive instead of mq_timedreceive.
23631         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
23632         instead of mq_timedsend.
23633         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
23634         Remove variable.
23636         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
23637         hidden_def and hidden_weak instead of libc_hidden_def and
23638         libc_hidden_weak.
23639         (top level): Refer to hidden_def in comment.
23640         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
23641         macro.  Use it instead of libc_hidden_def.
23642         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
23643         specify __GI_* name explicitly.
23644         (mq_timedreceive): Likewise.
23645         (mq_setattr): Likewise.
23647         [BZ #18544]
23648         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
23649         __pthread_barrier_init and define as weak alias of
23650         __pthread_barrier_init.
23651         * sysdeps/sparc/nptl/pthread_barrier_init.c
23652         (pthread_barrier_init): Likewise.
23653         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
23654         __pthread_barrier_wait and define as weak alias of
23655         __pthread_barrier_wait.
23656         * sysdeps/sparc/nptl/pthread_barrier_wait.c
23657         (pthread_barrier_wait): Likewise.
23658         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
23659         (pthread_barrier_wait): Likewise.
23660         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
23661         (pthread_barrier_wait): Likewise.
23662         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
23663         (pthread_barrier_wait): Likewise.
23664         * nptl/Versions (libpthread): Export __pthread_barrier_init and
23665         __pthread_barrier_wait at version GLIBC_PRIVATE.
23666         * include/pthread.h (__pthread_barrier_init): Declare.
23667         (__pthread_barrier_wait): Likewise.
23668         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
23669         Call __pthread_barrier_wait instead of pthread_barrier_wait.
23670         (helper_thread): Likewise.
23671         (init_mq_netlink): Call __pthread_barrier_init instead of
23672         pthread_barrier_init.
23674         [BZ #18542]
23675         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
23676         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
23677         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
23678         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
23679         vswscanf.
23680         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
23681         Remove variable.
23683         [BZ #18540]
23684         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
23685         strong alias of _IO_fflush.  Use libc_hidden_def.
23686         * libio/iofflush_u.c (fflush_unlocked): Rename to
23687         __fflush_unlocked and define as weak alias of __fflush_unlocked.
23688         Use libc_hidden_weak.
23689         * include/stdio.h (__fflush_unlocked): Declare.  Use
23690         libc_hidden_proto.
23691         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
23692         fflush_unlocked.
23693         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
23694         Remove variable.
23696         [BZ #18539]
23697         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
23698         define as weak alias of __addseverity.
23699         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
23700         Remove variable.
23701         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
23702         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
23703         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
23705         [BZ #18536]
23706         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
23707         (__tfind): Likewise.
23708         (__tdelete): Likewise.
23709         (__twalk): Likewise.
23710         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
23711         __twalk to GLIBC_PRIVATE.
23712         * include/search.h (__tsearch): Use libc_hidden_proto.
23713         (__tfind): Likewise.
23714         (__tdelete): Likewise.
23715         (__twalk): Likewise.
23716         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
23717         Call __tdelete instead of tdelete.
23718         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
23719         tfind.  Call __tsearch instead of tsearch.
23720         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
23721         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
23722         Remove variable.
23723         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
23725         [BZ #18534]
23726         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
23727         (dprintf): Define as a weak alias of __dprintf, not a strong
23728         alias.
23729         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
23730         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
23731         dprintf.
23732         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
23733         Remove variable.
23734         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
23735         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
23737         [BZ #18533]
23738         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
23739         not a strong alias.
23740         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
23741         Remove variable.
23743         [BZ #18532]
23744         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
23745         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
23746         (in6addr_loopback): Rename to __in6addr_loopback and define as
23747         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
23748         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
23749         libc_hidden_proto.
23750         (__in6addr_any): Likewise.
23751         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
23752         in6addr_any.
23753         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
23754         variable.
23755         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
23757 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
23759         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
23760         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
23761         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
23762         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
23763         redirections for pow.
23764         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23765         * sysdeps/x86_64/fpu/Versions: New versions added.
23766         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23767         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
23768         build of SSE, AVX2 and AVX512 IFUNC versions.
23769         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
23770         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
23771         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
23772         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
23773         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
23774         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
23775         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
23776         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
23777         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
23778         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
23779         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
23780         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
23781         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
23782         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
23783         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
23784         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
23785         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
23786         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
23787         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
23788         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
23789         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
23790         * NEWS: Mention addition of x86_64 vector pow.
23792         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
23793         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
23794         redirections for expf.
23795         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23796         * sysdeps/x86_64/fpu/Versions: New versions added.
23797         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23798         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
23799         build of SSE, AVX2 and AVX512 IFUNC versions.
23800         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
23801         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
23802         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
23803         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
23804         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
23805         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
23806         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
23807         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
23808         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
23809         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
23810         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
23811         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
23812         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
23813         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
23814         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
23815         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
23816         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
23817         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
23818         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
23819         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
23820         * NEWS: Mention addition of x86_64 vector expf.
23822         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
23823         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
23824         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
23825         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
23826         redirections for exp.
23827         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23828         * sysdeps/x86_64/fpu/Versions: New versions added.
23829         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23830         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
23831         build of SSE, AVX2 and AVX512 IFUNC versions.
23832         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
23833         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
23834         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
23835         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
23836         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
23837         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
23838         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
23839         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
23840         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
23841         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
23842         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
23843         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
23844         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
23845         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
23846         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
23847         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
23848         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
23849         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
23850         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
23851         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
23852         * NEWS: Mention addition of x86_64 vector exp.
23854         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
23855         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
23856         redirections for logf.
23857         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23858         * sysdeps/x86_64/fpu/Versions: New versions added.
23859         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23860         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
23861         build of SSE, AVX2 and AVX512 IFUNC versions.
23862         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
23863         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
23864         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
23865         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
23866         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
23867         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
23868         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
23869         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
23870         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
23871         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
23872         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
23873         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
23874         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
23875         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
23876         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
23877         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
23878         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
23879         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
23880         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
23881         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
23882         * NEWS: Mention addition of x86_64 vector logf.
23884         * bits/libm-simd-decl-stubs.h: Added stubs for log.
23885         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
23886         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
23887         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
23888         redirections for log.
23889         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23890         * sysdeps/x86_64/fpu/Versions: New versions added.
23891         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23892         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
23893         build of SSE, AVX2 and AVX512 IFUNC versions.
23894         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
23895         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
23896         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
23897         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
23898         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
23899         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
23900         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
23901         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
23902         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
23903         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
23904         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
23905         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
23906         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
23907         test.
23908         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
23909         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
23910         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
23911         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
23912         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
23913         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
23914         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
23915         * NEWS: Mention addition of x86_64 vector log.
23917 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23919         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
23920         cfi_adjust_cfa_offset argument.
23921         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
23922         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
23924         [BZ #18034]
23925         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
23926         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
23927         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
23928         ordering using ldar.
23929         (_dl_tlsdesc_dynamic): Likewise.
23930         (_dl_tlsdesc_return_lazy): Likewise.
23931         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
23932         relaxed atomics instead of volatile and synchronize with release store.
23933         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
23934         volatile.
23935         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23937 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
23939         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
23940         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
23941         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23942         * sysdeps/x86_64/fpu/Versions: New versions added.
23943         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23944         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
23945         build of SSE, AVX2 and AVX512 IFUNC versions.
23946         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
23947         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
23948         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
23949         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
23950         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
23951         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
23952         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
23953         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
23954         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
23955         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
23956         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
23957         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
23958         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
23959         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
23960         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
23961         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
23962         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
23963         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
23964         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
23965         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
23966         * NEWS: Mention addition of x86_64 vector sinf.
23968 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
23970         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
23971         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
23972         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
23973         Remove variable.
23974         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
23975         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
23977 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
23979         [BZ #18530]
23980         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
23981         strong alias of _IO_fputs.  Use libc_hidden_def.
23982         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
23983         and define as weak alias of __fputs_unlocked.  Use
23984         libc_hidden_weak.
23985         * include/stdio.h (__fputs_unlocked): Declare.  Use
23986         libc_hidden_proto.
23987         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
23988         fputs_unlocked.
23990         [BZ #18529]
23991         * resolv/netdb.h [__USE_POSIX]: Change condition to
23992         [__USE_XOPEN2K].
23993         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
23994         not expect.
23995         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
23996         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
23997         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
23998         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
23999         [XPG4 || UNIX98] (AI_ALL): Likewise.
24000         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
24001         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
24002         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
24003         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
24004         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
24005         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
24006         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
24007         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
24008         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
24009         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
24010         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
24011         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
24012         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
24013         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
24014         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
24015         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
24016         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
24017         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
24018         [XPG4 || UNIX98] (gai_strerror): Likewise.
24019         [XPG4 || UNIX98] (getaddrinfo): Likewise.
24020         [XPG4 || UNIX98] (getnameinfo): Likewise.
24022         [BZ #18528]
24023         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
24024         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
24025         __USE_XOPEN2K8].
24026         (getgrent): Likewise.
24027         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
24028         expect.
24029         [XPG3 || POSIX2008] (endgrent): Likewise.
24030         [XPG3] (setgrent): Likewise.
24031         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
24032         variable.
24033         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
24035         [BZ #18527]
24036         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
24037         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
24038         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
24039         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
24040         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
24041         * include/unistd.h (__getlogin_r): Declare.  Use
24042         libc_hidden_proto.
24043         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
24044         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
24045         variable.
24046         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
24047         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
24048         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
24050 2015-06-12  Martin Sebor  <msebor@redhat.com>
24052         [BZ #18512]
24053         * Makerules (check-install-supported): New target.
24054         (install): Add check-install-supported as a dependency.
24055         * manual/install.texi (Installing the C Library): Document
24056         that overriding prefix and exec_prefix is not supported.
24057         Mention DESTDIR.
24058         * INSTALL: Regenerate from the above.
24060 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
24062         [BZ #18519]
24063         * posix/Versions (libc): Export __libc_pread at version
24064         GLIBC_PRIVATE.
24065         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
24066         instead of pread.
24067         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
24068         variable.
24070         [BZ #18522]
24071         * misc/efgcvt_r.c
24072         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
24073         (cvt_symbol): Use weak_alias instead of strong_alias.
24074         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
24075         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
24076         Remove variable.
24077         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
24078         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
24080         [BZ #18520]
24081         * inet/herrno.c (h_errno): Rename to __h_errno.
24082         (__libc_h_errno): Define as alias of __h_errno not h_errno.
24083         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
24084         to __h_errno instead of h_errno.
24085         * nptl/herrno.c (h_errno): Rename to __h_errno.
24086         (__h_errno_location): Refer to __h_errno not h_errno.
24087         * resolv/Versions (h_errno): Rename to __h_errno.
24088         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
24089         Remove variable.
24090         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
24092 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
24094         * configure.ac: More strict check for AVX512 assembler support.
24095         * configure: Regenerated.
24097         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
24098         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
24099         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
24100         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
24101         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24102         * sysdeps/x86_64/fpu/Versions: New versions added.
24103         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24104         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24105         Added build of SSE, AVX2 and AVX512 IFUNC versions.
24106         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
24107         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
24108         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
24109         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
24110         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
24111         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
24112         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
24113         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
24114         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
24115         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
24116         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
24117         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
24118         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
24119         test.
24120         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24121         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24122         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24123         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24124         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24125         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24126         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24127         * NEWS: Mention addition of x86_64 vector sin.
24129 2015-06-11  Florian Weimer  <fweimer@redhat.com>
24131         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
24132         comment.
24134 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
24136         [BZ #18479]
24137         * nptl/pt-interp.c: New file.
24138         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
24139         Add pt-interp.
24140         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
24141         $(common-objpfx)runtime-linker.h.
24143 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
24145         * Makeconfig (+interp): Remove unused variable.
24146         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
24147         only.  Depend on $(common-objpfx)runtime-linker.h instead of
24148         $(elf-objpfx)runtime-linker.h.
24149         ($(elf-objpfx)runtime-linker.h): Rename to
24150         $(common-objpfx)runtime-linker.h and move ...
24151         * Makerules [$(build-shared) = yes]: ... here.
24152         * elf/interp.c: Include <runtime-linker.h> instead of
24153         <elf/runtime-linker.h>.
24155 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24157         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
24158         (__gettimeofday_syscall): Remove vsyscall fallback.
24159         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
24160         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
24161         Add syscall fallback function.
24162         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
24163         if vDSO is not present.
24164         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
24165         fallback function.
24166         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
24167         present.
24168         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
24169         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24171 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
24173         [BZ #18497]
24174         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
24175         of wcscmp.
24176         (wcscmp): Define as weak alias of WCSCMP.
24177         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
24178         wcscoll.
24179         (USE_HIDDEN_DEF): Define.
24180         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
24181         __wcscoll.  Don't use libc_hidden_weak.
24182         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
24183         wcscmp.
24184         * sysdeps/i386/i686/multiarch/wcscmp-c.c
24185         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
24186         __GI_wcscmp.
24187         (weak_alias): Undefine and redefine.
24188         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
24189         __wcscmp and define as weak alias of __wcscmp.
24190         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
24191         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
24192         (__wcscoll): Likewise.
24193         (wcscmp): Don't use libc_hidden_proto.
24194         (wcscoll): Likewise.
24195         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
24196         wcscoll.
24197         * posix/regexec.c (check_node_accept_bytes): Likewise.
24198         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
24199         variable.
24200         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
24201         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
24203         [BZ #18507]
24204         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
24205         __fstatvfs and define as weak alias of __fstatvfs.  Use
24206         libc_hidden_weak.
24207         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
24208         and define as weak alias of __statvfs.  Use libc_hidden_weak.
24209         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
24210         Define as alias of __fstatvfs, not fstatvfs.
24211         (fstatvfs64): Likewise.
24212         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
24213         Define as alias of __statvfs, not statvfs.
24214         (statvfs64): Likewise.
24215         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
24216         Remove variable.
24218 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24221         (HAVE_GETCPU_VSYSCALL): Define.
24222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24223         (HAVE_GETCPU_VSYSCALL): Likewise.
24224         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
24225         * sysdeps/unix/sysv/linux/sched_getcpu.c
24226         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
24227         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
24228         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
24229         prototype.
24230         * sysdeps/unix/sysv/linux/x86_64/init-first.c
24231         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
24232         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
24233         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
24234         Define.
24235         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
24236         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24237         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
24238         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24240 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
24242         * sysdeps/x86_64/fpu/Makefile: New file.
24243         * sysdeps/x86_64/fpu/Versions: New file.
24244         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
24245         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
24246         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
24247         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
24248         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
24249         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
24250         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
24251         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
24252         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
24253         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
24254         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
24255         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
24256         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
24257         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24258         Added build of SSE, AVX2 and AVX512 IFUNC versions.
24259         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
24260         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
24261         * sysdeps/x86_64/configure.ac: Options for libmvec build.
24262         * sysdeps/x86_64/configure: Regenerated.
24263         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
24264         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
24265         * manual/install.texi (Configuring and compiling): Document
24266         --disable-mathvec.
24267         * INSTALL: Regenerated.
24268         * NEWS: Mention addition of libmvec and x86_64 vector cos.
24270         * math/Makefile: Added rules for vector tests.
24271         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
24272         declaration under condition.
24273         * math/test-double-vlen2.h: New file.
24274         * math/test-double-vlen4.h: New file.
24275         * math/test-double-vlen8.h: New file.
24276         * math/test-vec-loop.h: Added initialization macro.
24277         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
24278         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
24279         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
24280         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
24281         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
24282         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
24283         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
24284         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
24285         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
24286         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
24287         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
24289         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24290         * sysdeps/x86_64/fpu/Versions: New versions added.
24291         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
24292         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
24293         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
24294         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
24295         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
24296         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
24297         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
24298         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
24299         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
24300         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
24301         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
24302         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
24303         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
24304         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24305         Added build of SSE, AVX2 and AVX512 IFUNC versions.
24306         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
24307         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
24308         * NEWS: Mention addition of x86_64 vector cosf.
24310         * math/Makefile: Added CFLAGS for new tests.
24311         * math/test-float-vlen16.h: New file.
24312         * math/test-float-vlen4.h: New file.
24313         * math/test-float-vlen8.h: New file.
24314         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
24315         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
24316         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24317         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
24318         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
24319         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
24320         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
24321         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
24322         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
24323         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
24324         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
24326 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
24328         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
24329         * locale/programs/ld-ctype.c: Likewise.
24331 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
24333         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
24334         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
24335         bit_ZMM16_31_state): New macro.
24336         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24337         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
24339 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
24341         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
24343 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
24345         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
24347 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
24349         [BZ #18498]
24350         * libio/memstream.c (open_memstream): Rename to __open_memstream
24351         and define as weak alias of __open_memstream.
24352         * include/stdio.h (__open_memstream): Declare.  Use
24353         libc_hidden_proto.
24354         (open_memstream): Don't use libc_hidden_proto.
24355         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
24356         open_memstream.
24357         * posix/getopt.c (_getopt_internal_r): Likewise.
24358         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
24359         variable.
24360         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
24361         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
24362         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
24364         [BZ #18496]
24365         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
24366         instead of wcrtomb.
24368         [BZ #18483]
24369         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
24370         [__USE_XOPEN2K8].  Remove redundant #endif.
24371         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
24372         Remove redundant #if.
24373         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
24374         Remove variable.
24375         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
24376         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
24378         [BZ #18495]
24379         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
24380         (__iswlower): Likewise.
24381         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
24382         (__iswlower): Likewise.
24383         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
24384         instead of towlower.
24385         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
24386         instead of iswlower.  Call __towupper instead of towupper.
24387         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
24388         instead of iswalnum.
24390 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24392         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
24393         errors to stderr.
24395 2015-06-05  Florian Weimer  <fweimer@redhat.com>
24397         [BZ #15661]
24398         [BZ #17322]
24399         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
24400         Check for overflow properly.  Check for O_APPEND.  Ignore large
24401         file system block sizes.  Add comments about problems.
24402         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
24403         * manual/filesys.texi (Storage Allocation): New node.
24405 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24407         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
24408         cancellable syscalls.
24409         (SYS_ify): Add guard to no redefine it.
24410         (INLINE_SYSCALL): Likewise.
24411         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
24412         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
24413         SYSCALL_CANCEL instead.
24414         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
24415         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
24416         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
24417         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
24418         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
24419         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
24420         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
24421         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
24422         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
24423         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
24424         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
24425         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
24426         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
24427         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
24428         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
24429         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
24430         Likewise.
24431         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
24432         (__libc_pread64): Likewise.
24433         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
24434         (__libc_preadv): Likewise.
24435         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
24436         (__libc_readv64): Likewise.
24437         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
24438         (__libc_pwrite): Likewise.
24439         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
24440         (__libc_pwrite64): Likewise.
24441         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
24442         (__libc_pwritev): Likewise.
24443         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
24444         (__libc_pwritev64): Likewise.
24445         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
24446         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
24447         (sync_file_range): Likewise.
24448         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
24449         Likewise.
24450         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
24451         Likewise.
24452         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
24453         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
24454         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
24455         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
24456         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
24457         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
24458         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
24459         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
24460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
24461         Likewise.
24462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24463         (__libc_read64): Likewise.
24464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
24465         Likewise.
24466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
24467         Likewise.
24468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
24469         Likewise.
24470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
24471         Likewise.
24472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24473         (__libc_pread64): Likewise.
24474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
24475         Likewise.
24476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24477         (__libc_pwrite64): Likewise.
24478         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
24479         (sync_file_range): Likewise.
24480         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
24481         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
24482         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
24483         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
24484         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
24485         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
24486         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
24487         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
24488         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
24489         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
24490         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
24491         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
24492         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
24493         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
24494         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
24495         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
24496         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
24497         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
24498         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
24499         Likewise.
24500         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
24501         Likewise.
24502         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
24503         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
24504         Likewise.
24505         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
24506         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
24507         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
24508         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
24509         Likewise.
24510         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
24511         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
24512         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
24513         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
24514         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
24516 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
24518         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
24519         Include dl-vdso.
24520         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
24521         Use VDSO routines for gettimeofday, clock_gettime if
24522         available.
24523         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
24524         Declare VDSO symbols.
24525         * sysdeps/unix/sysv/linux/arm/sysdep.h:
24526         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
24527         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
24528         * sysdeps/unix/sysv/linux/arm/Versions: Add
24529         __vdso_clock_gettime.
24531 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24533         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
24534         be an inline implementation regardless of library is built within.
24535         (open_not_cancel_2): Likewise.
24536         (__read_nocancel): Likewise.
24537         (__write_nocancel): Likewise.
24538         (openat_not_cancel): Likewise.
24539         (openat_not_cancel_3): Likewise.
24540         (openat64_not_cancel): Likewise.
24541         (openat64_not_cancel_3): Likewise.
24542         (__close_nocancel): Likewise.
24543         (pause_not_cancel): Likewise.
24544         (nanosleep_not_cancel): Likewise.
24545         (sigsuspend_not_cancel): Likewise.
24547 2015-06-04  Torvald Riegel  <triegel@redhat.com>
24549         [BZ #14958]
24550         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
24551         wake-up.
24552         (__pthread_rwlock_rdlock_slow): Likewise.
24553         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
24554         Likewise.
24555         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
24556         Likewise.
24557         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
24558         * nptl/tst-rwlock16.c: New file.
24559         * nptl/Makefile (tests): Add new test.
24561 2015-06-04  Torvald Riegel  <triegel@redhat.com>
24563         [BZ #18324]
24564         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
24565         missing wake-up of readers.
24566         * nptl/tst-rwlock15.c: New file.
24567         * nptl/Makefile (tests): Add new test.
24569 2015-06-03  Roland McGrath  <roland@hack.frob.com>
24571         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
24572         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
24573         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
24574         and __nacl_supply_interface_rtld.
24575         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
24576         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
24577         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
24578         Add __nacl_supply_interface_rtld.
24579         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
24581 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
24583         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
24584         isfinite.
24585         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24586         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
24588 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
24590         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
24591         __signbit* with standard C99 macros.
24592         * math/e_exp10l.c: Likewise.
24593         * math/e_exp2l.c: Likewise.
24594         * math/e_scalb.c: Likewise.
24595         * math/e_scalbf.c: Likewise.
24596         * math/e_scalbl.c: Likewise.
24597         * math/s_ldexp.c: Likewise.
24598         * math/s_ldexpf.c: Likewise.
24599         * math/s_ldexpl.c: Likewise.
24600         * math/w_atan2.c: Likewise.
24601         * math/w_atan2f.c: Likewise.
24602         * math/w_atan2l.c: Likewise.
24603         * math/w_cosh.c: Likewise.
24604         * math/w_coshf.c: Likewise.
24605         * math/w_coshl.c: Likewise.
24606         * math/w_exp10.c: Likewise.
24607         * math/w_exp10f.c: Likewise.
24608         * math/w_exp10l.c: Likewise.
24609         * math/w_exp2.c: Likewise.
24610         * math/w_exp2f.c: Likewise.
24611         * math/w_exp2l.c: Likewise.
24612         * math/w_fmod.c: Likewise.
24613         * math/w_fmodf.c: Likewise.
24614         * math/w_fmodl.c: Likewise.
24615         * math/w_hypot.c: Likewise.
24616         * math/w_hypotf.c: Likewise.
24617         * math/w_hypotl.c: Likewise.
24618         * math/w_jnl.c: Likewise.
24619         * math/w_lgamma.c: Likewise.
24620         * math/w_lgamma_r.c: Likewise.
24621         * math/w_lgammaf.c: Likewise.
24622         * math/w_lgammaf_r.c: Likewise.
24623         * math/w_lgammal.c: Likewise.
24624         * math/w_lgammal_r.c: Likewise.
24625         * math/w_pow.c: Likewise.
24626         * math/w_powf.c: Likewise.
24627         * math/w_powl.c: Likewise.
24628         * math/w_remainder.c: Likewise.
24629         * math/w_remainderf.c: Likewise.
24630         * math/w_remainderl.c: Likewise.
24631         * math/w_scalb.c: Likewise.
24632         * math/w_scalbf.c: Likewise.
24633         * math/w_scalbl.c: Likewise.
24634         * math/w_scalbln.c: Likewise.
24635         * math/w_scalblnf.c: Likewise.
24636         * math/w_scalblnl.c: Likewise.
24637         * math/w_sinh.c: Likewise.
24638         * math/w_sinhf.c: Likewise.
24639         * math/w_sinhl.c: Likewise.
24640         * math/w_tgamma.c: Likewise.
24641         * math/w_tgammaf.c: Likewise.
24642         * math/w_tgammal.c: Likewise.
24643         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24644         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
24645         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
24646         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24647         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24648         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24649         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24650         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
24651         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24652         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24653         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24654         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
24655         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24656         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24657         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24658         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24659         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24660         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
24661         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24662         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24663         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24664         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24665         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24666         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24667         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24668         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24669         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
24670         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24671         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24672         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24673         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
24674         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
24675         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
24676         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
24677         * stdio-common/printf_fp.c: Likewise.
24678         * stdio-common/printf_fphex.c: Likewise.
24679         * stdio-common/printf_size.c: Likewise.
24681 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
24683         [BZ #18470]
24684         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
24685         strnlen.
24686         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
24687         Remove variable.
24688         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
24689         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
24690         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
24691         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
24692         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
24693         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
24694         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
24695         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
24696         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
24697         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
24699         [BZ #18468]
24700         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
24701         weak alias of __wmemchr.  Use libc_hidden_weak.
24702         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
24703         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
24704         instead of wmemchr.
24706 2015-06-02  Roland McGrath  <roland@hack.frob.com>
24708         [BZ #18383]
24709         * elf/tst-tlsalign-extern.c: New file.
24710         * elf/tst-tlsalign-extern-static.c: New file.
24711         * elf/tst-tlsalign-vars.c: New file.
24712         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
24713         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
24714         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
24715         ($(objpfx)tst-tlsalign-extern-static): Likewise.
24716         (test-xfail-tst-tlsalign-extern-static): New variable.
24718 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
24720         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
24721         Use variable name _sc_err instead of err.
24722         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
24723         instead of ret.
24724         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
24725         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
24726         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
24727         (INLINE_SYSCALL): Likewise.
24729         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
24730         * include/string.h (__strnlen): Use libc_hidden_proto.
24731         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
24732         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
24733         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
24734         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
24735         (libc_hidden_def): Undefine and redefine.
24736         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
24737         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
24738         __GI_strnlen.
24739         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
24740         libc_hidden_def.
24741         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
24743         [BZ #18469]
24744         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
24745         weak alias of __towlower.  Use libc_hidden_weak.
24746         (towupper): Rename to __towupper and define as weak alias of
24747         __towupper.  Use libc_hidden_weak.
24748         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
24749         (__towupper): Likewise.
24750         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
24751         __towlower instead of towlower.
24753 2015-06-02  Roland McGrath  <roland@hack.frob.com>
24755         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
24756         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
24758 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24760         * sysdeps/aarch64/libm-test-ulps: Update.
24762 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24764         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
24765         Define.
24766         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
24767         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
24768         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
24769         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
24770         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
24771         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
24772         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
24774 2015-06-01  Martin Sebor  <msebor@redhat.com>
24776         [BZ #18116]
24777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
24778         (__setcontext): Use extended four-operand version of mtsf whenever
24779         possible.
24780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
24781         (__novec_swapcontext): Likewise.
24783 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
24785         * benchtests/scripts/compare_bench.py: New file.
24786         * benchtests/scripts/import_bench.py (mean): New function.
24787         (split_list): Likewise.
24788         (do_for_all_timings): Likewise.
24789         (compress_timings): Likewise.
24791         * benchtests/scripts/import_bench.py: New file.
24792         * benchtests/scripts/validate_benchout.py: Import import_bench
24793         instead of jsonschema.
24794         (validate_bench): Remove function.
24795         (main): Use import_bench.
24797 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
24799         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
24800         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
24802 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24804         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24806 2015-05-28  Roland McGrath  <roland@hack.frob.com>
24808         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
24809         set THREAD_SELF->tid to a magic value and futex-wake it.
24810         Pass its address to the thread_exit system call.
24811         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
24812         bit is clear.
24813         * sysdeps/nacl/lowlevellock.h: New file.
24814         * sysdeps/nacl/lll_timedwait_tid.c: New file.
24816         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
24817         Add TIMEOUT to current time, don't subtract it.
24819 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
24821         [BZ #2981]
24822         [BZ #18422]
24823         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
24824         ($(objpfx)tst-audit2.out): Also depend on
24825         $(objpfx)tst-auditmod9b.so.
24826         * elf/tst-audit2.c: Include <dlfcn.h>.
24827         (calloc_called): New.
24828         (calloc): Allow to be called more than once.
24829         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
24831 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
24833         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
24834         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
24836 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
24838         * stdlib/monetary.h: Fix comment.
24840 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
24842         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
24843         Avoid using variables in #defines that might cause shadowing.
24844         (INTERNAL_VSYSCALL_CALL): Likewise.
24846 2015-05-26  Roland McGrath  <roland@hack.frob.com>
24848         * sysdeps/nacl/lll_timedlock_wait.c: New file.
24850         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
24851         * nptl/lll_timedlock_wait.c: ... to this new file.
24852         * nptl/Makefile (libpthread-routines): Add it.
24853         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
24854         * nptl/lll_timedwait_tid.c: ... to this new file.
24855         * nptl/Makefile (libpthread-routines): Add it.
24856         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
24857         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
24858         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
24859         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
24860         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
24861         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
24862         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
24863         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
24864         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
24865         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
24867 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24869         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
24870         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
24871         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
24872         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
24873         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
24874         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24875         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
24876         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24877         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
24878         * sysdeps/unix/sysv/linux/tile/sysdep.h
24879         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
24880         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
24881         using vDSO syscall macro.
24883 2015-05-26  Andriy Rysin  <arysin@gmail.com>
24885         [BZ #17293]
24886         * uk_UA: Fix sorting order for Ukrainian locale
24888 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
24890         * stdlib/monetary.h: Fix comment.
24892 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24894         [BZ #18234]
24895         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
24896         st_mtim and st_ctim members.
24897         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
24898         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
24899         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
24900         (struct stat64): Likewise.
24901         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
24902         (struct stat64): Likewise.
24903         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
24904         (struct stat64): Likewise.
24906 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24908         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
24909         Define and include sysdep-vdso.h.
24910         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
24911         Likewise.
24912         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
24913         Likewise.
24914         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
24915         Define with VDSO_SYMBOL and use PTR_MANGLE.
24916         (__vdso_clock_gettime): Likewise.
24917         (__vdso_clock_getres): Likewise.
24918         (_libc_vdso_platform_setup): Likewise.
24919         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
24920         Likewise.
24921         (_libc_vdso_platform_setup): Likewise.
24922         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
24923         Likewise.
24924         (__vdso_clock_gettime): Likewise.
24925         (__vdso_clock_getres): Likewise.
24926         (__vdso_get_tbfreq): Likewise.
24927         (__vdso_getcpu): Likewise.
24928         (__vdso_time): Likewise.
24929         (__vdso_sigtramp_rt64): Likewise.
24930         (__vdso_signtramp32): Likewise.
24931         (__vdso_sigtramp_rt32): Likewise.
24932         (_libc_vdso_platform_setup): Likewise.
24933         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
24934         Likewise.
24935         (__vdso_clock_gettime): Likewise.
24936         (__vdso_clock_getres): Likewise.
24937         (_libc_vdso_platform_setup): Likewise.
24938         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
24939         Likewise.
24940         (__vdso_clock_gettime): Likewise.
24941         (_libc_vdso_platform_setup): Likewise.
24942         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
24943         Likewise.
24944         (__vdso_getcpu): Likewise.
24945         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
24946         Use VDSO_SYMBOL macro to define.
24947         (__vdso_clock_gettime): Likewise.
24948         (__vdso_clock_getres): Likewise.
24949         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
24950         Likewise.
24951         (__vdso_clock_gettime): Likewise.
24952         (__vdso_clock_getres): Likewise.
24953         (__vdso_get_tbfreq): Likewise.
24954         (__vdso_getcpu): Likewise.
24955         (__vdso_time): Likewise.
24956         (__vdso_sigtramp_rt64): Likewise.
24957         (__vdso_signtramp32): Likewise.
24958         (__vdso_sigtramp_rt32): Likewise.
24959         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
24960         Likewise.
24961         (__vdso_clock_gettime): Likewise.
24962         (__vdso_clock_getres): Likewise.
24963         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
24964         Likewise.
24965         (__vdso_clock_gettime): Likewise.
24966         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
24967         Likewise.
24968         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
24969         macro.
24970         (INTERNAL_VSYSCALL): Likewise.
24971         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
24972         Remove macro.
24973         (INTERNAL_VSYSCALL): Likewise.
24974         (INTERNAL_VSYSCALL_NCS): Likewise.
24975         (INTERNAL_VSYSCALL_CALL): New macro.
24976         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
24977         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
24978         Likewise.
24979         (INTERNAL_VSYSCALL): Likewise.
24980         (INTERNAL_VSYSCALL_NCS): Likewise.
24981         (INTERNAL_VSYSCALL_CALL): New macro.
24982         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
24983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24984         (INLINE_VSYSCALL): Remove macro.
24985         (INTERNAL_VSYSCALL): Remove macro.
24986         (INTERNAL_VSYSCALL_NCS): Remove macro.
24987         (INTERNAL_VSYSCALL_CALL): New macro.
24988         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
24989         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
24990         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
24991         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
24992         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
24993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24994         (INLINE_VSYSCALL): Remove macro.
24995         (INTERNAL_VSYSCALL): Likewise.
24996         (INTERNAL_VSYSCALL_NCS): Likewise.
24997         (INTERNAL_VSYSCALL_CALL): New macro.
24998         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
24999         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
25000         PTR_DEMANGLE on vDSO pointer.
25001         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
25002         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
25003         macro.
25004         (INTERNAL_SYSCALL): Likewise.
25005         (INTERNAL_VSYSCALL_NCS): Remove macro.
25006         (INTERNAL_VSYSCALL_CALL): New macro.
25007         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
25008         Remove macro.
25009         (INTERNAL_VSYSCALL): Likewise.
25010         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
25011         sysdep-vdso.h instead of libc-vdso.h.
25012         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
25013         definition.
25014         (INLINE_VSYSCALL): Likewise.
25015         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
25016         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
25017         definition.
25018         (INLINE_VSYSCALL): Likewise.
25019         (INTERNAL_VSYSCALL): Likewise.
25020         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
25021         * sysdeps/unix/sysv/linux/timespec_get.c
25022         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
25023         (timespec_get): Use ANSI prototype.
25024         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
25025         and definition for Linux.
25027 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
25029         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
25030         * include/libc-symbols.h: libmvec_hidden_* macro series added.
25032 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
25034         [BZ #2981]
25035         [BZ #18410]
25036         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
25037         for missing DT_PLTRELSZ.
25039 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
25041         Remove obsolete aliases that broke 'locale -a'
25042         [BZ #18412]
25043         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
25044         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
25045         breaking some applications that use 'locale -a' output.
25046         Change the encoding of this file from Latin-1 to ASCII to avoid
25047         other potential problems with people grepping this file.
25049 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25051         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
25052         -fasynchronous-unwind-tables.
25053         (CFLAGS-sendto.c): Likewise.
25054         (CFLAGS-sendmsg.c): Likewise.
25055         (CFLAGS-connect.c): Likewise.
25056         (CFLAGS-recvmsg.c): Likewise.
25057         (CFLAGS-recvfrom.c): Likewise.
25058         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
25059         (SOCKETCALL): New macro: non-cancellable socketcall.
25060         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
25061         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
25062         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
25063         * sysdeps/unix/sysv/linux/accept.c: New file.
25064         * sysdeps/unix/sysv/linux/bind.c: Likewise.
25065         * sysdeps/unix/sysv/linux/connect.c: Likewise.
25066         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
25067         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
25068         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
25069         * sysdeps/unix/sysv/linux/listen.c: Likewise.
25070         * sysdeps/unix/sysv/linux/recv.c: Likewise.
25071         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
25072         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
25073         * sysdeps/unix/sysv/linux/send.c: Likewise.
25074         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
25075         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
25076         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
25077         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
25078         * sysdeps/unix/sysv/linux/socket.c: Likewise.
25079         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
25080         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
25081         prototype.
25082         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
25083         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
25084         instead of __internal_xxx function.
25085         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
25086         prototype.
25087         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
25088         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
25089         instead of __internal_xxx function.
25090         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
25091         prototype.
25092         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
25093         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
25094         instead of __internal_xxx function.
25095         * sysdeps/unix/sysv/linux/accept.S: Remove file.
25096         * sysdeps/unix/sysv/linux/bind.S: Likewise.
25097         * sysdeps/unix/sysv/linux/connect.S: Likewise.
25098         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
25099         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
25100         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
25101         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
25102         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
25103         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
25104         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
25105         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
25106         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25107         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
25108         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
25109         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
25110         * sysdeps/unix/sysv/linux/listen.S: Likewise.
25111         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
25112         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
25113         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
25114         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
25115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
25116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
25117         * sysdeps/unix/sysv/linux/recv.S: Likewise.
25118         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
25119         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
25120         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
25121         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
25122         * sysdeps/unix/sysv/linux/send.S: Likewise.
25123         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
25124         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
25125         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
25126         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
25127         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
25128         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
25129         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
25130         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
25131         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
25132         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
25133         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
25134         socketcall is implemented in GLIBC.
25136 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
25138         * soft-fp/fmadf4.c: Include <libc-internal.h>.
25139         (__fma): Ignore uninitialized warnings around packing.
25140         * soft-fp/fmasf4.c: Include <libc-internal.h>.
25141         (__fmaf): Ignore uninitialized warnings around packing.
25142         * soft-fp/fmatf4.c: Include <libc-internal.h>.
25143         (__fmal): Ignore uninitialized warnings around packing.
25145         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
25146         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
25147         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
25148         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
25150         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
25151         switch statement into default case.
25152         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
25154         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
25155         a conditional in forcing "inexact".
25156         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
25157         Likewise.
25159 2015-05-22  Roland McGrath  <roland@hack.frob.com>
25161         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
25162         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
25163         for each INTERNAL_SYSCALL use.
25165 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
25167         [BZ #438]
25168         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
25169         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
25170         variable.
25172         [BZ #18444]
25173         * string/basename.c (basename): Rename to __basename and define as
25174         weak alias of __basename.  Use libc_hidden_weak.
25175         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
25176         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
25177         __basename instead of basename.
25178         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
25179         Remove variable.
25180         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
25182 2015-05-18  Florian Weimer  <fweimer@redhat.com>
25184         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
25185         (_IO_JUMPS_FILE_plus): New.
25186         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
25187         _IO_CAST_FIELD_ACCESS.
25188         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
25189         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
25190         * libio/freopen.c (freopen): Likewise.
25191         * libio/freopen64.c (freopen64): Likewise.
25192         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
25193         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
25194         * libio/iofwide.c (_IO_fwide): Likewise.
25195         * libio/memstream.c (open_memstream): Likewise.
25196         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
25197         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
25198         * libio/oldiopopen.c (_IO_old_popen): Likewise.
25200 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
25202         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
25203         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
25204         NADJ.
25205         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
25206         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
25207         NADJ.
25208         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
25209         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
25210         NADJ.
25212         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
25213         (p == 4) case.
25215         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
25216         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
25217         Remove variable.
25218         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
25219         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
25220         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
25222 2015-05-21  Florian Weimer  <fweimer@redhat.com>
25224         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
25225         Adjust jump table label generation macros.
25227 2015-05-21  Florian Weimer  <fweimer@redhat.com>
25229         * stdio-common/vfprintf.c (vfprintf): Move local variables
25230         args_malloced, specs, specs_malloced, and the code after
25231         do_positional to the printf_positional function.
25232         (printf_positional): New function.
25234 2015-05-21  Florian Weimer  <fweimer@redhat.com>
25236         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
25237         function.
25238         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
25239         STEP4_TABLE, process_arg): Move macro definitions
25240         out of the vfprintf function.  (Cosmetic change only.)
25242 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
25244         * benchtests/Makefile (stdio-common-bench): Define.
25245         (benchset): Add stdio-common-bench.
25246         * sprintf-inputs: New file.
25247         * sprintf-source.c: New file.
25249 2015-05-21  Andreas Schwab  <schwab@suse.de>
25251         [BZ #13028]
25252         [BZ #17053]
25253         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
25254         of struct __res_state.
25255         * resolv/res_send.c (__libc_res_nsend): Likewise.
25256         (get_nsaddr): New function.
25257         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
25258         statp directly.
25260 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
25262         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
25263         -D_POSIX_C_SOURCE=199506L.
25265         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
25267         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
25268         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
25269         Do not mention otherwise.
25270         [POSIX] (_XOPEN_VERSION): Do not expect.
25271         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
25272         [POSIX] (_POSIX2_C_BIND): Likewise.
25273         [POSIX] (_POSIX2_VERSION): Likewise.
25274         [POSIX] (_XOPEN_XPG2): Likewise.
25275         [POSIX] (_XOPEN_XPG3): Likewise.
25276         [POSIX] (_XOPEN_XPG4): Likewise.
25277         [POSIX] (_XOPEN_UNIX): Likewise.
25278         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
25279         [POSIX] (_POSIX_BARRIERS): Likewise.
25280         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
25281         [POSIX] (_POSIX_CPUTIME): Likewise.
25282         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
25283         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
25284         [POSIX] (_POSIX_SHELL): Likewise.
25285         [POSIX] (_POSIX_SPAWN): Likewise.
25286         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
25287         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
25288         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
25289         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
25290         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
25291         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
25292         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
25293         [POSIX] (_XBS5_LP64_OFF64): Likewise.
25294         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
25295         [POSIX] (_POSIX_TIMEOUTS): Likewise.
25296         [POSIX] (_POSIX2_PBS): Likewise.
25297         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
25298         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
25299         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
25300         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
25301         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
25302         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
25303         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
25304         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
25305         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
25306         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
25307         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
25308         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
25309         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
25310         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
25311         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
25312         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
25313         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
25314         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
25315         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
25316         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
25317         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
25318         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
25319         [POSIX] (_SC_2_C_BIND): Likewise.
25320         [POSIX] (_SC_2_C_VERSION): Likewise.
25321         [POSIX] (_SC_2_PBS): Likewise.
25322         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
25323         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
25324         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
25325         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
25326         [POSIX] (_SC_2_PBS_TRACK): Likewise.
25327         [POSIX] (_SC_ATEXIT_MAX): Likewise.
25328         [POSIX] (_SC_BARRIERS): Likewise.
25329         [POSIX] (_SC_BASE): Likewise.
25330         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
25331         [POSIX] (_SC_DEVICE_IO): Likewise.
25332         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
25333         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
25334         [POSIX] (_SC_FD_MGMT): Likewise.
25335         [POSIX] (_SC_FIFO): Likewise.
25336         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
25337         [POSIX] (_SC_FILE_LOCKING): Likewise.
25338         [POSIX] (_SC_FILE_SYSTEM): Likewise.
25339         [POSIX] (_SC_IOV_MAX): Likewise.
25340         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
25341         [POSIX] (_SC_NETWORKING): Likewise.
25342         [POSIX] (_SC_PAGE_SIZE): Likewise.
25343         [POSIX] (_SC_PASS_MAX): Likewise.
25344         [POSIX] (_SC_PIPE): Likewise.
25345         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
25346         [POSIX] (_SC_REGEXP): Likewise.
25347         [POSIX] (_SC_SHELL): Likewise.
25348         [POSIX] (_SC_SIGNALS): Likewise.
25349         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
25350         [POSIX] (_SC_SPIN_LOCKS): Likewise.
25351         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
25352         [POSIX] (_SC_USER_GROUPS): Likewise.
25353         [POSIX] (_SC_USER_GROUPS_R): Likewise.
25354         [POSIX] (_SC_STREAMS): Likewise.
25355         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
25356         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
25357         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
25358         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
25359         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
25360         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
25361         [POSIX] (_PC_FILESIZEBITS): Likewise.
25362         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
25363         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
25364         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
25365         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
25366         [POSIX] (uid_t): Likewise.
25367         [POSIX] (gid_t): Likewise.
25368         [POSIX] (off_t): Likewise.
25369         [POSIX] (pid_t): Likewise.
25370         [POSIX] (cuserid): Allow.
25371         (_SC_2_CHAR_TERM): Require constant.
25372         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
25373         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
25374         variable.
25376 2015-05-20  Roland McGrath  <roland@hack.frob.com>
25378         * sysdeps/nacl/pthread-pids.h: New file.
25379         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
25380         (create_thread): Use __nacl_get_tid to initialize PD->tid.
25382         * nptl/pthread-pids.h: New file.
25383         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
25384         * nptl/nptl-init.c: Include <pthread-pids.h>.
25385         (__pthread_initialize_minimal_internal):
25386         Call __pthread_initialize_pids instead of set_tid_address syscall.
25388         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
25389         * sysdeps/posix/usleep.c: ... here.
25391 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25393         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
25394         call_pselect6 object.
25395         [$(subdir) = io]: Remove call_sync_file_range object.
25396         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
25397         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
25398         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
25399         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
25401 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
25403         * math/s_cproj.c: Add include "math_private.h".
25404         * math/s_cprojf.c: Likewise.
25405         * math/s_cprojl.c: Likewise.
25407 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
25409         [BZ #18244]
25410         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
25411         high mantissa bit when testing whether P is a NaN.
25412         * math/libm-test.inc (remainder_test_data): Add more tests.
25413         (remquo_test_data): Likewise.
25415         [BZ #18049]
25416         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
25417         below -32, return the argument, with underflow if subnormal.
25418         * math/auto-libm-test-in: Add more tests of atanh.
25419         * math/auto-libm-test-out: Regenerated.
25421 2015-05-19  Roland McGrath  <roland@hack.frob.com>
25423         [BZ #18434]
25424         * nptl/tst-sem15.c: New file.
25425         * nptl/Makefile (tests): Add it.
25426         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
25427         s/<</>>/ to fix typo in EOVERFLOW check.
25428         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
25430 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25432         * manual/strings.texi (envz_remove): Fix typo in safety
25433         annotations.
25435 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
25436             Steve Ellcey  <sellcey@imgtec.com>
25438         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
25439         in order to avoid strict alias warnings.
25440         (iruserok_af): Ditto for ra.
25442 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
25444         [BZ #17581]
25445         * malloc/hooks.c
25446         (magicbyte): Convert to a function and avoid returning 0x01.
25447         (mem2mem_check): Avoid using a length byte equal to the magic byte.
25448         (mem2chunk_check): Fix unsigned comparisons to zero.
25449         Hoist defs of sz and magic.
25451 2015-05-19  Richard Henderson  <rth@redhat.com>
25453         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
25455         * sysdeps/alpha/fpu/libm-test-ulps: Update.
25457 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25459         [BZ #16159]
25460         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
25461         * malloc/arena.c (arena_lock): Check if arena is corrupt.
25462         (reused_arena): Find a non-corrupt arena.
25463         (heap_trim): Pass arena to unlink.
25464         * malloc/hooks.c (malloc_check_get_size): Pass arena to
25465         malloc_printerr.
25466         (top_check): Likewise.
25467         (free_check): Likewise.
25468         (realloc_check): Likewise.
25469         * malloc/malloc.c (malloc_printerr): Add arena argument.
25470         (unlink): Likewise.
25471         (munmap_chunk): Adjust.
25472         (ARENA_CORRUPTION_BIT): New macro.
25473         (arena_is_corrupt): Likewise.
25474         (set_arena_corrupt): Likewise.
25475         (sysmalloc): Use mmap if there are no usable arenas.
25476         (_int_malloc): Likewise.
25477         (__libc_malloc): Don't fail if arena_get returns NULL.
25478         (_mid_memalign): Likewise.
25479         (__libc_calloc): Likewise.
25480         (__libc_realloc): Adjust for additional argument to
25481         malloc_printerr.
25482         (_int_free): Likewise.
25483         (malloc_consolidate): Likewise.
25484         (_int_realloc): Likewise.
25485         (_int_memalign): Don't touch corrupt arenas.
25486         * malloc/tst-malloc-backtrace.c: New test case.
25488         * Makefile (summarize-tests): Fix return value on success.
25490         * manual/string.texi (Envz Functions): Add envz_remove.
25492 2015-05-18  Roland McGrath  <roland@hack.frob.com>
25494         * sysdeps/posix/opendir.c: Include <stdbool.h>.
25495         (invalid_name): New function, broken out of ...
25496         (__opendirat): ... here.  Call it.
25497         (need_isdir_precheck): New function, broken out of ...
25498         (__opendirat): ... here.  Call it.
25499         Use __fxstatat64, not __xstatat64.
25500         (opendir_oflags): New function, broken out of ...
25501         (__opendirat): ... here.  Call it.
25502         (opendir_tail): New function, broken out of ...
25503         (__opendirat): ... here.  Call it.
25504         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
25505         opendir_tail, rather than punting to __opendirat.
25506         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
25508 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25510         * .gitignore: Ignore generated *.pyc.
25512 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
25514         * include/stdio.h: Define __need_wint_t.
25515         * test-skeleton.c: Avoid `for' loop initial declaration.
25516         * nptl/tst-initializers1.c: Use test-skeleton.c.
25518 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25520         [BZ #18418]
25521         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
25523 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
25525         [BZ #16352]
25526         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
25527         (__ieee754_atanh): Force underflow exception for results with
25528         small absolute value.
25529         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
25530         (__ieee754_atanhf): Force underflow exception for results with
25531         small absolute value.
25532         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
25533         (__ieee754_atanh): Force underflow exception for results with
25534         small absolute value.
25535         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
25536         (__ieee754_atanhf): Force underflow exception for results with
25537         small absolute value.
25538         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
25539         (__ieee754_atanhl): Force underflow exception for results with
25540         small absolute value.
25541         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
25542         (__ieee754_atanhl): Force underflow exception for results with
25543         small absolute value.
25544         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
25545         (__ieee754_atanhl): Force underflow exception for results with
25546         small absolute value.
25547         * math/auto-libm-test-in: Do not allow missing underflow
25548         exceptions from atanh.
25549         * math/auto-libm-test-out: Regenerated.
25551         [BZ #18221]
25552         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
25553         2**-28 as threshold for returning x or +/- 1/x.
25554         * math/auto-libm-test-in: Add more tests of tan.
25555         * math/auto-libm-test-out: Regenerated.
25557         [BZ #18220]
25558         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
25559         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
25560         * math/auto-libm-test-in: Add another test of lgamma.
25561         * math/auto-libm-test-out: Regenerated.
25563 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
25565         * stdio-common/printf_fp.c (___printf_fp): Use abs.
25566         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
25567         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
25568         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
25569         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
25570         (ADD2A): Use fabs.  (SUB2A): Use fabs.
25571         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
25572         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
25573         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
25574         (log1): Use fabs.  (my_log2): Use fabs.
25575         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
25576         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
25577         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
25578         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
25579         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
25580         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
25581         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
25582         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
25583         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
25584         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
25585         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
25587 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
25589         [BZ #18217]
25590         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
25591         as threshold for returning 1 - x.
25592         * math/auto-libm-test-in: Add more tests of erfc.
25593         * math/auto-libm-test-out: Regenerated.
25595 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
25597         [BZ #18196]
25598         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
25599         threshold for large arguments.
25600         * math/auto-libm-test-in: Add another test of atan.
25601         * math/auto-libm-test-out: Regenerated.
25603         [BZ #16339]
25604         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
25605         (__log1p): Force underflow exception for results with small
25606         absolute value.
25607         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
25608         (__log1pf): Force underflow exception for results with small
25609         absolute value.
25610         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
25611         (__log1p): Force underflow exception for results with small
25612         absolute value.
25613         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
25614         (__log1pf): Force underflow exception for results with small
25615         absolute value.
25616         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
25617         (__log1pl): Force underflow exception for results with small
25618         absolute value.
25619         * math/auto-libm-test-in: Do not allow missing underflow
25620         exceptions from log1p.
25621         * math/auto-libm-test-out: Regenerated.
25623 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
25624             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25626         [BZ #16704]
25627         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
25629 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
25631         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
25632         (libmvec): New variable.
25633         * configure.ac: Added option for mathvec build.
25634         * configure: Regenerated.
25635         * mathvec/Depend: New file.
25636         * mathvec/Makefile: New file.
25637         * shlib-versions: Added libmvec.
25638         * math/Makefile: Added rule for libm.so installation.
25640         * bits/math-vector.h: New file.
25641         * bits/libm-simd-decl-stubs.h: New header.
25642         * math/Makefile (headers): Added new header
25643         libm-simd-decl-stubs.h.
25644         * math/math.h (__MATHCALL_VEC): New macro.
25646         * math/gen-libm-have-vector-test.sh: Script generates series of macros
25647         for conditions in testing functions.
25648         * math/Makefile: Added call of libm-have-vector-test.sh.
25649         * math/libm-test.inc (HAVE_VECTOR): New macros.
25651         * math/libm-test.inc: START refactored.
25652         * math/test-double.c (TEST_MATHVEC): Add define.
25653         * math/test-float.c: Likewise.
25654         * math/test-idouble.c: Likewise.
25655         * math/test-ifloat.c: Likewise.
25656         * math/test-ildoubl.c: Likewise.
25657         * math/test-ldouble.c: Likewise.
25658         * sysdeps/generic/math-tests-arch.h
25659         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
25660         architecture check.
25662         * math/test-double.c (FUNC_TEST): New macro.
25663         * math/test-float.c: Likewise.
25664         * math/test-idouble.c: Likewise.
25665         * math/test-ifloat.c: Likewise.
25666         * math/test-ildoubl.c: Likewise.
25667         * math/test-ldouble.c: Likewise.
25668         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
25670 2015-05-13  Roland McGrath  <roland@hack.frob.com>
25672         * sysdeps/nacl/fdopendir.c: New file.
25674         * dirent/scandir-tail.c: New file.
25675         * dirent/scandir64-tail.c: New file.
25676         * dirent/Makefile (routines): Add them.
25677         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
25678         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
25679         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
25680         [!SCANDIR] (SCANDIR_TAIL): New macro.
25681         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
25682         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
25683         (SCANDIRAT): Macro removed.
25684         (SCANDIR_TAIL): New macro.
25685         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
25686         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
25687         (SCANDIRAT): Just call __opendirat and __scandir_tail.
25688         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
25689         (READDIR): Macro removed.
25690         (SCANDIR_TAIL): New macro.
25691         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
25692         (SCANDIR_TAIL): New macro.
25694         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
25695         * dirent/scandir-cancel.c: ... to this new file.
25696         * dirent/Makefile (routines): Add it.
25697         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
25698         * sysdeps/unix/sysv/linux/i386/scandir64.c
25699         (SKIP_SCANDIR_CANCEL): Macro removed.
25700         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
25702         * dirent/tst-scandir.c: New file.
25703         * dirent/tst-scandir64.c: New file.
25704         * dirent/Makefile (tests): Add them.
25706 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
25708         [BZ #18409]
25709         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
25711 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25713         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
25714         list.
25716 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
25718         * benchtests/bench-strcoll.c: New benchmark.
25719         * benchtests/Makefile: Generate locales and run benchmark.
25720         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
25721         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
25722         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
25723         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
25724         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
25725         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
25726         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
25727         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
25728         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
25729         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
25730         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
25731         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
25732         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
25733         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
25734         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
25735         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
25736         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
25737         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
25738         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
25739         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
25740         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
25741         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
25742         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
25743         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
25745 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
25747         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
25748         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25750 2015-05-12  Roland McGrath  <roland@hack.frob.com>
25752         * posix/uname-values.h: New file.
25753         * posix/uname.c: Include that instead of <config-name.h>.
25754         * sysdeps/nacl/uname-values.h: New file.
25755         * sysdeps/arm/nacl/uname-values.h: New file.
25757 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
25759         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
25760         splitting into fields.
25762 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
25764         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
25765         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
25766         * locale/localeinfo.h: Add enum collation_encoding_type.
25767         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
25768         * programs/ld-collate.c (collate_output): Add encoding type info.
25769         * string/strcoll_l.c (STRDIFF): New function.
25770         * (STRCOLL): Use STRDIFF to skip over equal prefix.
25771         * wcsmbs/wcscoll_l.c: Define STRDIFF.
25773 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
25775         [BZ #18397]
25776         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
25777         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
25778         <fpu_control.h> instead of <math/fpu_control.c>.
25779         * sysdeps/mips/mips32/fpu/Makefile: New file.
25781 2015-05-11  Andreas Schwab  <schwab@suse.de>
25783         [BZ #18007]
25784         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
25785         nss_endgrent.
25786         (_nss_compat_endgrent): Call nss_endgrent.
25787         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
25788         nss_endpwent.
25789         (_nss_compat_endpwent): Call nss_endpwent.
25790         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
25791         needent, call nss_setspent only if non-zero.
25792         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
25793         (internal_endspent): Don't call nss_endspent.
25794         (_nss_compat_endspent): Call nss_endspent.
25795         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
25796         Remove.  All uses removed.
25797         (internal_setent): Remove parameter stayopen, add parameter
25798         stream.  Use it instead of global variable.
25799         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
25800         (internal_endent, internal_getent): Add parameter stream.  Use it
25801         instead of global variable.
25802         (CONCAT(_nss_files_end,ENTNAME))
25803         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
25804         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
25805         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
25806         uses removed.
25807         (internal_setent, internal_endent): Add parameter stream.  Use it
25808         instead of global variable.
25809         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
25810         stream.
25811         (get_next_alias): Add parameter stream.
25812         (_nss_files_getaliasent_r): Pass global stream.
25813         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
25814         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
25815         (_nss_files_gethostbyname4_r): Pass local stream to
25816         internal_setent, internal_getent and internal_endent.  Remove
25817         locking.
25819 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
25821         * tst-strfmon1.c (tests): Update expected currency symbol.
25823 2015-05-08  Roland McGrath  <roland@hack.frob.com>
25825         * sysdeps/nacl/gethostname.c: New file.
25827 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
25829         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
25830         and sinh.
25831         * math/auto-libm-test-out: Regenerated.
25832         * sysdeps/i386/fpu/libm-test-ulps: Update.
25833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25835 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
25837         [BZ #18125]
25838         * stdlib/tst-setcontext3.c: New file.
25839         * stdlib/tst-setcontext3.sh: New file.
25840         * stdlib/Makefile (tests): Add tst-setcontext3.
25841         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
25842         to verify test program created output file.
25843         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
25844         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
25845         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
25846         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
25848 2015-05-06  Roland McGrath  <roland@hack.frob.com>
25850         [BZ #18383]
25851         * elf/tst-tlsalign.c: New file.
25852         * elf/tst-tlsalign-static.c: New file.
25853         * elf/tst-tlsalign-lib.c: New file.
25854         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
25855         (tests-static): Add tst-tlsalign-static.
25856         (modules-names): Add tst-tlsalign-lib.
25857         (test-xfail-tst-tlsalign): New variable.
25858         (test-xfail-tst-tlsalign-static): New variable.
25860         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
25861         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
25863 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
25865         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
25866         csqrt, erfc, sin and sincos.
25867         * math/auto-libm-test-out: Regenerated.
25868         * sysdeps/i386/fpu/libm-test-ulps: Update.
25869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25871 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25873         * sysdeps/aarch64/libm-test-ulps: Update.
25875 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
25877         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
25878         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
25879         * math/auto-libm-test-out: Regenerated.
25880         * sysdeps/i386/fpu/libm-test-ulps: Update.
25881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25883 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
25885         [BZ #18265]
25886         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
25887         (wcsncpy): Likewise.
25889 2015-05-05  Florian Weimer  <fweimer@redhat.com>
25891         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
25892         Assume __ASSUME_FALLOCATE is always true.
25893         * sysdeps/unix/sysv/linux/posix_fallocate64.c
25894         (__posix_fallocate64_l64): Likewise.
25895         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
25896         (posix_fallocate): Likewise.
25897         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
25898         (__posix_fallocate64_l64): Likewise.
25899         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25900         [!__ASSUME_FALLOCATE]: Add comment.
25902 2015-05-05  Florian Weimer  <fweimer@redhat.com>
25904         * sysdeps/unix/sysv/linux/i386/Makefile
25905         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
25906         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
25907         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
25908         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25909         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25910         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
25911         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
25913 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
25915         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
25916         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
25917         tgamma.
25918         * math/auto-libm-test-out: Regenerated.
25919         * sysdeps/i386/fpu/libm-test-ulps: Update.
25920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25922 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
25924         * math/auto-libm-test-in: Add more tests of tgamma.
25925         * math/auto-libm-test-out: Regenerated.
25926         * sysdeps/i386/fpu/libm-test-ulps: Update.
25927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25929         * math/auto-libm-test-in: Add more tests of tanh.
25930         * math/auto-libm-test-out: Regenerated.
25931         * sysdeps/i386/fpu/libm-test-ulps: Update.
25932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25934         * math/auto-libm-test-in: Add more tests of tan.
25935         * math/auto-libm-test-out: Regenerated.
25936         * sysdeps/i386/fpu/libm-test-ulps: Update.
25937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25939         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
25940         * math/auto-libm-test-out: Regenerated.
25941         * sysdeps/i386/fpu/libm-test-ulps: Update.
25942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25944         * math/auto-libm-test-in: Add another test of pow.
25945         * math/auto-libm-test-out: Regenerated.
25946         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25948         * math/auto-libm-test-in: Add more tests of lgamma.
25949         * math/auto-libm-test-out: Regenerated.
25950         * sysdeps/i386/fpu/libm-test-ulps: Update.
25951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25953         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
25954         log1p.
25955         * math/auto-libm-test-out: Regenerated.
25956         * sysdeps/i386/fpu/libm-test-ulps: Update.
25957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25959 2015-05-01  Mark Wielaard  <mjw@redhat.com>
25961         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
25962         Elf64_Chdr structs and ELFCOMPRESS constants.
25964 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
25966         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
25967         expm1.
25968         * math/auto-libm-test-out: Regenerated.
25969         * sysdeps/i386/fpu/libm-test-ulps: Update.
25970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25972         * math/auto-libm-test-in: Add more tests of erf and erfc.
25973         * math/auto-libm-test-out: Regenerated.
25974         * sysdeps/i386/fpu/libm-test-ulps: Update.
25975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25977 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25979         * config.h.in (HAVE_AARCH64_BE): Add.
25981 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
25983         * math/auto-libm-test-in: Add more tests of csqrt.
25984         * math/auto-libm-test-out: Regenerated.
25985         * sysdeps/i386/fpu/libm-test-ulps: Update.
25986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25988         * math/auto-libm-test-in: Add more tests of cosh and sinh.
25989         * math/auto-libm-test-out: Regenerated.
25990         * sysdeps/i386/fpu/libm-test-ulps: Update.
25991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25993         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
25995 2015-04-29  Roland McGrath  <roland@hack.frob.com>
25997         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
25998         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
26000         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
26001         (euidaccess, eaccess): Define as weak aliases.
26003         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
26004         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
26005         but __suseconds_t is often 'long int' so some sources assume that
26006         type is being used (e.g. they use %ld to print tv_usec).
26008 2015-04-29  Florian Weimer  <fweimer@redhat.com>
26010         [BZ #18007]
26011         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
26012         (CVE-2014-8121)
26013         * nss/tst-nss-getpwent.c: New file.
26014         * nss/Makefile (tests): Add new test.
26016 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
26018         [BZ #18346]
26019         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
26020         exponents less than 48 as cases where high part of mantissa needs
26021         examining to determine whether argument is integral.
26022         * math/libm-test.inc (round_test_data): Add more tests.
26024 2015-04-28  Mark Wielaard  <mjw@redhat.com>
26026         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
26028 2015-04-27  David S. Miller  <davem@davemloft.net>
26030         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
26031         __tls_get_addr.
26032         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
26034 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
26036         [BZ#18333]
26037         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
26039 2015-04-27  Florian Weimer  <fweimer@redhat.com>
26041         [BZ#18333]
26042         * time/tzset.c (parse_tzname): Return error on memory allocation
26043         failure.
26044         * test-skeleton.c (struct temp_name_list): Change type of name
26045         member to non-const.
26046         (add_temp_file): Create a copy of the file name.
26047         (delete_temp_files): Deallocate memory.
26048         (create_temp_file): Add comment.
26050 2015-04-24  Florian Weimer  <fweimer@redhat.com>
26052         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
26053         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
26055 2015-04-24  Roland McGrath  <roland@hack.frob.com>
26057         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
26058         * sysdeps/arm/configure: Regenerated.
26060 2015-04-24  Florian Weimer  <fweimer@redhat.com>
26062         [BZ #17715]
26063         * time/tzfile.c (__tzfile_read): Check for large values of
26064         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
26065         * time/tzset.c (__tzstring_len): New function, based on the old
26066         __tzstring function.
26067         (__tzstring): Call __tzstring_len.
26068         (parse_tzname): New helper function extracted from
26069         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
26070         the input string.
26071         (parse_offset): New helper function extracted from
26072         __tzset_parse_tz.  Replace switch with fallthrough with
26073         initialization before sscanf.
26074         (parse_rule): Likewise.
26075         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
26076         new-style function definition.
26077         * timezone/Makefile (tests): Add tst-tzset.
26078         (tst-tzset.out): Dependencies on time zone files.
26079         (tst-tzset-ENV): Set TZDIR.
26080         (testdata/XT%): Copy crafted time zone files.
26081         * timezone/README: Mention crafted time zone files.
26082         * timezone/testdata/XT1, timezone/testdata/XT2,
26083         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
26084         files.
26085         * timezone/tst-tzset.c: New test.
26087 2015-04-24  Florian Weimer  <fweimer@redhat.com>
26089         * Makeconfig (+gccwarn): Remove -Winline.
26091 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
26093         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
26095 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
26097         * NEWS: Mention sysconf() cache information support for s390.
26098         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
26100 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
26102         * math/k_casinh.c (__kernel_casinh): Use __copysign.
26103         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
26104         (__nearbyint): Likewise.
26105         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
26106         (copysignl): Likewise.
26108 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
26110         [BZ #18287]
26111         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
26112         based on padding.  (CVE-2015-1781)
26114 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26116         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
26117         libc-vdso.h.
26118         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
26119         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
26120         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
26121         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
26122         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
26123         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
26124         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
26125         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
26126         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26127         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
26128         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
26129         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26130         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
26131         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
26132         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
26133         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
26134         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
26135         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
26136         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
26137         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
26138         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
26139         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
26140         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
26142 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
26144         * stdlib/setenv.c (__add_to_environ):
26145         Dump core quickly if setenv (..., NULL, ...) is called.
26146         This time, do it the right way, and pacify GCC with a pragma.
26148 2015-04-17  Roland McGrath  <roland@hack.frob.com>
26150         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
26151         IMAP->l_prev cannot be null, and #if out the code for the contrary
26152         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
26153         believe that NS (&_dl_ns[NSID]) could point outside the array.
26155         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
26156         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
26157         before using NSID as an index.
26159 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
26161         [BZ #17825]
26162         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
26163         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
26164         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
26166 2015-04-17  Roland McGrath  <roland@hack.frob.com>
26168         Add preliminary port to Google Native Client on ARM.
26169         * abi-tags (.*-.*-nacl.*): New entry.
26170         * sysdeps/arm/nacl: New directory.
26171         * sysdeps/nacl: New directory.
26173 2015-04-16  David S. Miller  <davem@davemloft.net>
26175         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
26176         lowlevellock-futex.h
26178 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
26180         * sysdeps/tile/configure.ac: New file.
26181         * sysdeps/tile/configure: Regenerated.
26183 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26185         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
26186         conditionals for weak_alias and libc_hidden_weak.
26187         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
26188         libc_hidden_weak and weak_alias.
26189         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
26190         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
26191         and weak_alias for static one.
26193 2015-04-15  David S. Miller  <davem@davemloft.net>
26195         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
26197 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26199         [BZ #18206]
26200         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
26201           Use signed comparision instead of substraction to avoid
26202           overflow bug.
26203         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
26204           Take the sign of ret.
26205         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
26206           Do not expect precise return values. Only the sign matters.
26207         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
26208         * wcsmbs/test-wcsncmp.c: New File.
26209         * string/test-strncmp.c: Add wcsncmp support.
26211 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26213         [BZ #6792]
26214         * math/w_log1p.c: New file.
26215         * math/w_log1pf.c: Likewise.
26216         * math/w_log1pl.c: Likewise.
26217         * math/Makefile (libm-calls): Add w_log1p.
26218         * math/s_log1pl.c (log1pl): Remove weak_alias.
26219         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
26220         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
26221         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
26222         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
26223         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
26224         [NO_LONG_DOUBLE] (log1pl): Likewise.
26225         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
26226         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
26227         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
26228         (log1p): Remove long_double_symbol.
26229         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
26230         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
26231         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
26232         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
26233         remove weak_alias for corresponding log1p function.
26234         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
26235         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
26236         * sysdeps/ia64/fpu/w_log1p.c: New file.
26237         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
26238         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
26239         * math/libm-test.inc (log1p_test_data): Add errno expectations.
26241 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
26243         [BZ #18247]
26244         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
26245         decimal exponent by 1.
26246         * stdlib/tst-strtod-round-data: Add more tests.
26247         * stdlib/tst-strtod-round.c (tests): Regenerated.
26249 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
26251         * math/auto-libm-test-in: Add more tests of clog and clog10.
26252         * math/auto-libm-test-out: Regenerated.
26253         * sysdeps/i386/fpu/libm-test-ulps: Update.
26254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26256 2015-04-09  Roland McGrath  <roland@hack.frob.com>
26258         * Makeconfig (module-cppflags): Exclude all .v.i files.
26259         (skip-module-cppflags): Variable removed.
26261         * configure.ac (libc_config_ok): Initialize before reading
26262         preconfigure scripts, not after.
26263         * configure: Regenerated.
26265         * test-skeleton.c (TIMEOUT): Move #define to top level.
26266         (main): Grok environment variable TEST_DIRECT.  If set, print
26267         test expectation details into that file and then behave as if
26268         given --direct.
26270 2015-04-09  Florian Weimer  <fweimer@redhat.com>
26272         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
26273         warning on 32-bit.
26275 2015-04-08  David S. Miller  <davem@davemloft.net>
26277         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26279 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
26281         * math/auto-libm-test-in: Add more tests of atanh.
26282         * math/auto-libm-test-out: Regenerated.
26283         * sysdeps/i386/fpu/libm-test-ulps: Update.
26284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26286         * math/auto-libm-test-in: Add more tests of atan.
26287         * math/auto-libm-test-out: Regenerated.
26288         * sysdeps/i386/fpu/libm-test-ulps: Update.
26289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26291 2015-04-08  Florian Weimer  <fweimer@redhat.com>
26293         * elf/pldd.c (main): Rewrite to use struct
26294         scratch_buffer instead of extend_alloca.
26295         * elf/pldd-xx.c (find_maps): Likewise.
26296         * grp/initgroups.c: Include <scratch_buffer.h> instead of
26297         <alloca.h>.
26298         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
26299         scratch_buffer instead of extend_alloca.
26300         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
26301         grp/compat-initgroups.c.
26302         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
26303         Rewrite to use struct scratch_buffer instead of extend_alloca.
26304         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
26305         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
26307 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
26309         * math/auto-libm-test-in: Add more tests of cbrt.
26310         * math/auto-libm-test-out: Regenerated.
26311         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26313         * math/auto-libm-test-in: Add more tests of cabs.
26314         * math/auto-libm-test-out: Regenerated.
26315         * sysdeps/i386/fpu/libm-test-ulps: Update.
26316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26318         [BZ #18210]
26319         [BZ #18211]
26320         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
26321         (__ieee754_atan2): Set FE_TONEAREST mode for internal
26322         computations.
26323         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
26324         clog10.
26325         * math/auto-libm-test-out: Regenerated.
26326         * sysdeps/i386/fpu/libm-test-ulps: Update.
26327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26329         [BZ #18197]
26330         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
26331         (atan): Set FE_TONEAREST mode for internal computations.
26332         * math/auto-libm-test-in: Add more tests of atan.
26333         * math/auto-libm-test-out: Regenerated.
26335 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
26337         [BZ #17930]
26338         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
26340 2015-04-07  Florian Weimer  <fweimer@redhat.com>
26342         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
26344 2015-04-07  Florian Weimer  <fweimer@redhat.com>
26346         * include/scratch_buffer.h: New file.
26347         * malloc/scratch_buffer_grow.c: Likewise.
26348         * malloc/scratch_buffer_grow_preserve.c: Likewise.
26349         * malloc/scratch_buffer_set_array_size.c: Likewise.
26350         * malloc/tst-scratch_buffer.c: Likewise.
26351         * malloc/Makefile (routines): Add scratch_buffer_grow.
26352         (tests): Add test case.
26353         * malloc/Versions (GLIBC_PRIVATE): Export
26354         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
26355         __libc_scratch_buffer_set_array_size.
26357 2015-04-06  Richard Henderson  <rth@redhat.com>
26359         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
26360         * sysdeps/alpha/fpu/libm-test-ulps: Update.
26362         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
26363         unsigned int before printing.
26365 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26367         [BZ #17596]
26368         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
26369         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
26371 2015-04-02  Florian Weimer  <fweimer@redhat.com>
26373         * include/libc-internal.h (libc_max_align_t): Define.
26375 2015-04-02  Andreas Schwab  <schwab@suse.de>
26377         [BZ #16850]
26378         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
26380 2015-04-02  Mel Gorman  <mgorman@suse.de>
26382         [BZ #17195]
26383         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
26384         as well as the main arena.
26386 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
26388         [BZ #18185]
26389         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
26390         sharing L2 cache to 2 for Silvermont/Knights Landing.
26392 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
26394         [BZ #17711]
26395         * config.make.in (have-protected-data): New.
26396         * configure.ac: Check linker support for protected data symbol.
26397         * configure: Regenerated.
26398         * elf/Makefile (modules-names): Add tst-protected1moda and
26399         tst-protected1modb if $(have-protected-data) is yes.
26400         (tests): Add tst-protected1a and tst-protected1b if
26401         $(have-protected-data) is yes.
26402         ($(objpfx)tst-protected1a): New.
26403         ($(objpfx)tst-protected1b): Likewise.
26404         (tst-protected1modb.so-no-z-defs): Likewise.
26405         * elf/tst-protected1a.c: New file.
26406         * elf/tst-protected1b.c: Likewise.
26407         * elf/tst-protected1mod.h: Likewise.
26408         * elf/tst-protected1moda.c: Likewise.
26409         * elf/tst-protected1modb.c: Likewise.
26411 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
26413         [BZ #17711]
26414         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
26415         indicates it is called from do_lookup_x on relocation against
26416         protected data, skip the data definion in the executable from
26417         copy reloc.
26418         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
26419         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
26420         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
26421         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
26422         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
26423         otherwise to 0.
26424         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
26425         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
26426         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
26427         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
26428         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
26429         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
26431 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
26433         * sysdeps/nptl/pthread.h: Remove duplicate definition of
26434         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
26436 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
26438         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
26439         THREAD_SETMEM_NC.
26440         * sysdeps/x86_64/nptl/tls.h: Ditto.
26442 2015-03-27  Roland McGrath  <roland@hack.frob.com>
26444         * dlfcn/tststatic.c (main): Converted to ...
26445         (do_test): ... this.
26446         (TEST_FUNCTION): New macro.
26447         Include test-skeleton.c.
26449 2015-03-26  Alan Modra  <amodra@gmail.com>
26451         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
26452         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
26453         zero for undefined weak.
26454         (elf_machine_plt_conflict): Similarly.
26456 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
26458         * math/auto-libm-test-in: Add more tests of acosh, asinh and
26459         atanh.
26460         * math/auto-libm-test-out: Regenerated.
26461         * sysdeps/i386/fpu/libm-test-ulps: Update.
26462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26464         * math/auto-libm-test-in: Add another test of asin.
26465         * math/auto-libm-test-out: Regenerated.
26466         * sysdeps/i386/fpu/libm-test-ulps: Update.
26467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26469         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
26470         Remove macro.
26471         (LLL_EBX_REG): Likewise.
26472         (LLL_ENTER_KERNEL): Likewise.
26474         * math/auto-libm-test-in: Add more tests of asin.
26475         * math/auto-libm-test-out: Regenerated.
26476         * sysdeps/i386/fpu/libm-test-ulps: Update.
26477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26479         [BZ #18138]
26480         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
26481         libc_do_syscall_args): New structure.
26482         (INTERNAL_SYSCALL_MAIN_0): New macro.
26483         (INTERNAL_SYSCALL_MAIN_1): Likewise.
26484         (INTERNAL_SYSCALL_MAIN_2): Likewise.
26485         (INTERNAL_SYSCALL_MAIN_3): Likewise.
26486         (INTERNAL_SYSCALL_MAIN_4): Likewise.
26487         (INTERNAL_SYSCALL_MAIN_5): Likewise.
26488         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
26489         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
26490         Replace conditional definitions by conditional definitions of ....
26491         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
26492         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
26493         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
26494         (libpthread-sysdep_routines): Add libc-do-syscall.
26495         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
26496         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
26497         to __NR_futex not 240.
26499 2015-03-25  Alan Modra  <amodra@gmail.com>
26501         * NEWS: Advertise TLS optimization.
26502         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
26503         (DT_PPC_NUM): Increment.
26504         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
26505         (CHECK_STATIC_TLS): Use here.
26506         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
26507         TLS descriptors.
26508         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26509         * sysdeps/powerpc/dl-tls.c: New file.
26510         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
26511         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
26512         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
26513         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
26514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
26515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
26516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
26518 2015-03-25  Alan Modra  <amodra@gmail.com>
26520         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
26521         for overlapping .opd entries" to "support...".
26522         * sysdeps/powerpc/powerpc64/configure: Regenerate
26524 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
26526         * math/auto-libm-test-in: Add more tests of acos.
26527         * math/auto-libm-test-out: Regenerated.
26528         * sysdeps/i386/fpu/libm-test-ulps: Update.
26529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26531         * math/auto-libm-test-in: Add more tests of expm1.
26532         * math/auto-libm-test-out: Regenerated.
26533         * sysdeps/i386/fpu/libm-test-ulps: Update.
26534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26536 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
26538         * math/auto-libm-test-in: Add more tests of cosh and sinh.
26539         * math/auto-libm-test-out: Regenerated.
26540         * sysdeps/i386/fpu/libm-test-ulps: Update.
26541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26543         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26546         * math/auto-libm-test-in: Add more tests of log2.
26547         * math/auto-libm-test-out: Regenerated.
26548         * sysdeps/i386/fpu/libm-test-ulps: Update.
26549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26551 2015-03-23  Roland McGrath  <roland@hack.frob.com>
26553         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
26554         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
26555         _IO_IS_APPENDING bit in READ_WRITE instead.
26557 2015-03-23  Florian Weimer  <fweimer@redhat.com>
26559         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
26560         (__determine_cpumask_size): Replace extend_alloca with a
26561         variable-length array.  Do not treat res == 0 as an error.
26563 2015-03-23  Florian Weimer  <fweimer@redhat.com>
26565         [BZ #18100]
26566         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
26567         and integer overflow.
26568         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
26569         (main): Add integer overflow tests.
26570         * manual/pattern.texi (Calling Wordexp): Document additional use
26571         for WRDE_SYNTAX.
26573 2015-03-23  Alan Modra  <amodra@gmail.com>
26575         * config.h.in: Remove HAVE_ASM_PPC_REL16.
26576         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
26577         and false branch of conditional.
26578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
26579         Likewise.
26581 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
26583         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
26584         libc-modules.h
26585         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
26586         unused declaration of _hurd_intr_rpc_msg_in_trap.
26587         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
26588         defined instead of whether it is non-zero.
26589         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
26590         input constraint instead of both input and output constraint.  Use ecx
26591         clobber instead of %ecx.
26592         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
26593         mutex_unlock): Use a statement expression instead of an expression list.
26594         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
26595         type to vm_size_t instead of vm_address_t.
26596         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
26597         defined instead of whether it is non-zero.
26598         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
26599         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
26600         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
26601         comparisons with mapaddr.
26602         * nscd/nscd-client.h: Include <time.h>.
26603         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
26604         9th parameter to __vm_region instead of int.
26605         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
26606         * scripts/check-local-headers.sh (exclude): Add device/,
26607         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
26608         cthreads.h.
26610 2015-03-19  Roland McGrath  <roland@hack.frob.com>
26612         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
26613         to account for alignment padding.
26614         * sysdeps/arm/memmove.S: Likewise.
26616 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
26618         * sysdeps/unix/sysv/linux/generic/README: New file.
26620 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
26622         [BZ #18138]
26623         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
26624         (futex_abstimed_wait)
26625         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
26626         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
26627         of lll_futex_timed_wait.
26629 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
26631         [BZ #17542]
26632         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
26634 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
26636         [BZ #17090]
26637         [BZ #17620]
26638         [BZ #17621]
26639         [BZ #17628]
26640         * NEWS: Update.
26641         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
26642         entries with Static TLS too.  Skip entries past the end of the
26643         allocated DTV, from Alan Modra.
26644         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
26645         Static TLS DTV entry set up from...
26646         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
26647         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
26648         * nptl/allocatestack.c (init_one_static_tls): ... and here...
26649         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
26650         for Static TLS.
26651         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
26652         that the slot we find is associated with the given map before
26653         using its generation count.
26654         * nptl_db/db_info.c: Include ldsodefs.h.
26655         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
26656         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
26657         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
26658         (link_map::l_tls_offset): New struct field.
26659         (dtv_t::counter): Likewise.
26660         (rtld_global): New struct.
26661         (_rtld_global): New rtld variable.
26662         (dl_tls_dtv_slotinfo_list): New rtld global field.
26663         (dtv_slotinfo_list): New struct.
26664         (dtv_slotinfo): Likewise.
26665         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
26666         (td_lookup): Rename to...
26667         (td_mod_lookup): ... this.  Use new mod parameter instead of
26668         LIBPTHREAD_SO.
26669         * nptl_db/td_thr_tlsbase.c: Include link.h.
26670         (dtv_slotinfo_list, dtv_slotinfo): New functions.
26671         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
26672         addresses even if the DTV is out of date or missing them.
26673         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
26674         index zero-length arrays.
26675         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
26676         (td_lookup): Make it a macro implemented in terms of...
26677         (td_mod_lookup): ... this declaration.
26678         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
26679         (DB_MAIN_VARIABLE): Likewise.
26681 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
26683         [BZ #18134]
26684         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
26686 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
26688         * stdlib/setenv.c (__add_to_environ): Revert previous change.
26690 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
26692         [BZ #18128]
26693         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
26694         (atomic_add, atomic_increment_and_test)
26695         (atomic_decrement_and_test): Fix 64-bit arithmetic.
26697 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
26699         * stdlib/setenv.c (__add_to_environ):
26700         Dump core quickly if setenv (..., NULL, ...) is called.
26702 2015-03-13  Roland McGrath  <roland@hack.frob.com>
26704         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
26705         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
26706         all the necessary asm magic in one place.
26707         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
26708         using those.
26710 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
26712         [BZ #14906]
26713         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
26714         traced file mtime. Use consistent log message.
26715         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
26716         (register_traced_file): Call install_watches. Always set mtime.
26717         (invalidate_cache): Iterate over all trace files. Call install_watches.
26718         (inotify_check_files): Don't inline. Handle watching parent
26719         directories and configuration file movement in and out.
26720         (handle_inotify_events): New function.
26721         (main_loop_poll): Call handle_inotify_events.
26722         (main_loop_epoll): Likewise.
26723         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
26724         (struct traced_file): Use array of inotify fds. Add parent directory,
26725         and basename.
26726         (struct database_dyn): Remove unused file_mtime.
26727         (init_traced_file): New inline function.
26728         (define_traced_file): New macro.
26729         * nss/nss_db/db-init.c: Use define_traced_file.
26730         (_nss_db_init): Use init_traced_file.
26731         * nss/nss_files/files-init.c: Use define_traced_file.
26732         (_nss_files_init): Use init_traced_file.
26734 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
26736         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
26737         [_LIBC]: Do not include <stdlib.h>.
26738         [!_LIBC] (abort): Remove declaration.
26739         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
26740         _FP_STATIC_ASSERT instead of conditionally calling abort.
26741         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
26742         (_FP_EXTEND_CNAN): Likewise.
26743         (FP_TRUNC): Likewise.
26744         (__FP_CLZ): Likewise.
26745         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
26747 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
26749         * manual/string.texi (XPG basename): Fix prototype.
26751 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26753         [BZ #18080]
26754         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
26755         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
26756         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
26757         (__setcontext): Likewise.
26758         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
26759         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
26760         Call rt_sigprocmask syscall one time to set new signal mask
26761         and retrieve the current signal mask instead of two calls.
26762         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
26763         (__swapcontext): Likewise.
26764         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
26765         * stdlib/tst-setcontext2.c: New file.
26767 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26769         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26771 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
26773         [BZ #18093]
26774         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
26775         the wrong size.
26777 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
26779         [BZ #18043]
26780         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
26782 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
26784         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
26785         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
26786         Remove define.
26787         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
26788         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
26789         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
26790         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
26791         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
26792         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
26793         define.
26794         * nptl_db/td_symbol_list.c (td_lookup): Remove
26795         HAVE_ASM_GLOBAL_DOT_NAME code.
26796         * sysdeps/powerpc/powerpc64/configure.ac: Remove
26797         HAVE_ASM_GLOBAL_DOT_NAME check.
26798         * sysdeps/powerpc/powerpc64/configure: Regenerate.
26799         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
26800         (DOT_LABEL): Remove define.
26801         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
26802         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
26803         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
26804         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
26805         (__TLS_GET_ADDR): Likewise.
26806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
26807         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
26809 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
26811         [BZ #18111]
26812         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
26813         (_FPU_SETCW): Initialize cw from fpsr before storing.
26814         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
26815         (fesetexceptflag): Rewrite using fpu_control.h.
26816         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
26818 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
26820         [BZ #18110]
26821         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
26822         asms.
26823         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
26825 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
26827         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
26828         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
26829         abort.
26830         (_FP_FMA): Likewise.
26831         (_FP_DIV): Likewise.
26833 2015-03-10  Roland McGrath  <roland@hack.frob.com>
26835         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
26836         with 0 in that case.
26837         * Makefile (summarize-tests): New canned sequence, factored out of
26838         commands for targets tests and xtests.  Display summary lines that
26839         don't start with PASS: or XFAIL: rather than ones that do start with
26840         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
26841         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
26842         do start with ERROR: or FAIL:.
26843         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
26844         (except for [$(build-shared) = yes]).
26845         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
26846         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
26847         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
26848         * nptl/Makefile: Revert 2015-03-04 changes.
26849         [$(CXX) empty] (tests-unsupported): New variable.
26850         * debug/Makefile: Likewise.
26852         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
26853         gnulib file.  Replace __attribute with __attribute__ throughout.
26855 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
26857         * sysdeps/hppa/fpu/libm-test-ulps: Update.
26859 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
26861         [BZ #18104]
26862         * math/auto-libm-test-in: Add another test of pow.
26863         * math/auto-libm-test-out: Regenerated.
26865 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26867         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
26868         $(config-cflags-nofma).
26870 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
26872         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
26873         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
26874         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
26875         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
26876         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
26877         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
26878         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
26879         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
26880         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
26881         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
26882         Add comment on closing #endif.
26884 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
26886         * posix/wordexp.c (CHAR_IN_SET): New macro.
26887         (parse_param): Use it.
26889 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26891         * sysdeps/powerpc/fpu/libm-test-ulps: update.
26893 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
26895         [BZ #18043]
26896         * posix/wordexp.c (parse_param): Fix buffer overflow.
26897         * posix/wordexp-test.c (test_case): Add test case.
26899 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
26901         [BZ #18042]
26902         * posix/wordexp.c (parse_backtick): Fix off-by-one.
26903         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
26905 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
26907         [BZ #18043]
26908         * posix/wordexp-test.c (test_case): Add test for BZ #18043
26909         (do_bz18043): Delete.
26910         (at_page_end): New.
26911         (testit): Refactor to have words at the edge of unreadable page.
26913 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
26915         [BZ #16734]
26916         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
26917         Cleanup read-only streams as well.
26918         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
26920 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26922         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
26923         <bits/libc-lockP.h>
26925 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
26927         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
26928         on [__KERNEL__].
26929         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
26930         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
26931         * soft-fp/op-common.h (_FP_DECL): Likewise.
26933 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
26935         * elf/ifuncdep2.c (global): Replace
26936         __attribute__((visibility("protected"))) with
26937         asm (".protected global").
26938         * elf/ifuncmod1.c (global): Likewise.
26939         * elf/ifuncmod5.c (global): Likewise.
26941 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
26943         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
26944         <asm/sfp-machine.h> instead of <sfp-machine.h>.
26946 2015-03-06  Roland McGrath  <roland@hack.frob.com>
26948         * manual/install.texi (Configuring and compiling):
26949         Document test-wrapper-env-only.
26950         * INSTALL: Regenerated.
26952 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
26954         [BZ #18043]
26955         * posix/wordexp.c (parse_param): Fix buffer overflow.
26956         * posix/wordexp-test.c (do_bz18043): Add test case.
26958 2015-03-06  Vincent Bernat  <vincent@bernat.im>
26960         * time/tst-strptime2.c (do_test): Ensure failing tests are
26961         reported correctly.
26962         * time/tst-strptime3.c (do_test): Likewise.
26964 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
26966         Fix aio_error thread-safety.
26967         * sysdeps/pthread/aio_error.c: New file
26968         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
26969         synchronization.
26971 2015-03-06  Florian Weimer  <fweimer@redhat.com>
26973         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
26974         (group_number, vfprintf): Use it.
26975         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
26976         (JUMP, REF): Use it.
26977         (WORK_BUFFER_SIZE): New enum constant.
26978         (process_arg, vfprintf): Use it.
26980 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
26982         * manual/errno.texi (Error Messages): Complete example function
26983         by adding missing #define.
26984         (program_invocation_name): Add statement indicating GNU
26985         extension and reference which header file declares the variable.
26986         (program_invocation_short_name): Likewise.
26988 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
26990         * manual/errno.texi (Error Messages): Delete strerror ISO C89
26991         compatibility note.
26993 2015-03-05  Roland McGrath  <roland@hack.frob.com>
26995         * Makeconfig (test-wrapper-env-only): New variable.
26996         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
26997         then use that with $(test-wrapper-env-only) rather than using
26998         $(test-wrapper-env) $(run-program-env) $($*-ENV).
27000 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
27002         [BZ #18082]
27003         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
27004         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
27005         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
27006         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
27007         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
27008         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
27009         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
27010         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
27011         Likewise.
27012         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
27013         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
27014         Likewise.
27015         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
27016         Likewise.
27017         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
27018         Likewise.
27019         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
27020         Likewise.
27021         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
27022         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
27023         Likewise.
27024         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
27025         Likewise.
27026         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
27027         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
27029 2015-03-04  Roland McGrath  <roland@hack.frob.com>
27031         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
27032         (ETH_ALEN): New macro.
27033         (struct ether_addr): Use it for length of ether_addr_octet.
27035         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
27036         (setdb): Don't call __nss_configure_lookup for "rpc".
27037         (do_test): Don't call test_rpc.
27038         (output_rpcent, test_rpc): Functions moved ...
27039         * sunrpc/test-rpcent.c: ... to this new file.
27040         * sunrpc/Makefile (tests): Add it.
27042         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
27043         __xpg_sigpause.
27044         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
27045         * nptl/tst-signal6.c: Likewise.
27046         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
27047         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
27049         * configure.ac (libc_cv_cxx_link_ok): New check.
27050         Reset CXX to empty if it fails to link.
27051         * configure: Regenerated.
27052         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
27053         bug-atexit3-lib only if $(CXX) is nonempty.
27054         * nptl/Makefile (tests): Likewise for tst-cancel24.
27055         (tests, tests-static): Likewise for tst-cancel24-static.
27056         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
27057         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
27058         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
27059         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
27061 2015-03-04  Andreas Schwab  <schwab@suse.de>
27063         [BZ #17631]
27064         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
27065         for non-GCC compilers.
27066         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
27067         Likewise.
27069 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
27071         [BZ #17776]
27072         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
27073         integer before bitwise and assembly operations.
27074         (feclearexcept): Likewise.
27075         * math/test-fenvinline.c: New file.
27076         * math/Makefile: Add test-fenvinline test.
27078 2015-03-03  Alan Modra  <amodra@gmail.com>
27080         [BZ #16512]
27081         * scripts/localplt.awk: Strip off symbol version.
27082         * NEWS: Mention bug fix.
27084 2015-03-02  Roland McGrath  <roland@hack.frob.com>
27086         * sysdeps/pthread/timer_routines.c
27087         (timer_free_list, thread_free_list, thread_active_list): Make static.
27089 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
27091         [BZ #17779]
27092         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27093         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
27094         Undefine.
27095         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27096         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
27097         Likewise.
27098         * sysdeps/unix/sysv/linux/sh/kernel-features.h
27099         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
27100         Likewise.
27102 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
27104         [BZ #18036]
27105         * posix/fnmatch_loop.c (END): Detect invalid pattern.
27106         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
27108 2015-03-02  Andreas Schwab  <schwab@suse.de>
27110         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
27111         variable name.
27113 2015-03-02  Florian Weimer  <fweimer@redhat.com>
27115         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
27116         Return error status.
27118 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
27120         [BZ #15969]
27121         * locale/findlocale.c (_nl_find_locale): Introduce const
27122         version of loc_name and drop unsafe type casts.
27124 2015-02-27  Roland McGrath  <roland@hack.frob.com>
27126         * dlfcn/tststatic2.c (main): Converted to ...
27127         (do_test): ... this.
27128         (TEST_FUNCTION): New macro.
27129         Include test-skeleton.c.
27131 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
27133         [BZ #17711]
27134         * elf/Makefile (tests): Add vismain only if PIE is enabled.
27135         (tests-pie): Add vismain.
27136         (CFLAGS-vismain.c): New.
27137         * elf/vismain.c: Add comments for PIE requirement.
27139 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
27141         [BZ #18046]
27142         [BZ #18047]
27143         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
27144         0x1p-56L as threshold for just returning the argument.
27145         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
27146         0x1p-32L as threshold for just returning the argument.
27147         * math/auto-libm-test-in: Add more tests of atanh.
27148         * math/auto-libm-test-out: Regenerated.
27149         * sysdeps/i386/fpu/libm-test-ulps: Update.
27150         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
27152 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
27154         * string/bcopy.c (bcopy): Call memmove for performance.
27156 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
27158         * string/bzero.c (__bzero): Call memset for performance.
27160 2015-02-27  John David Anglin  <dave.anglin@bell.net>
27162         [BZ #18068]
27163         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
27164         to 00100000.
27166 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
27168         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
27170 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
27172         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
27173         (__kernel_standard): Use CSTR macro when setting exc.name.
27174         * sysdeps/ieee754/Makefile [$(subdir) = math]
27175         (CFLAGS-k_standard.c): Remove variable.
27177         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
27178         setting p and q from "else if" to "else".
27179         (qzero): Likewise.
27180         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
27181         (qone): Likewise.
27182         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
27183         (qzerof): Likewise.
27184         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
27185         (qonef): Likewise.
27186         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
27187         (qzero): Likewise.
27188         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
27189         (qone): Likewise.
27191         [BZ #18038]
27192         [BZ #18039]
27193         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
27194         return pi/2 for arguments below 0x1p-113L.
27195         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
27196         return pi/2 for arguments below 0x1p-106L.
27197         * math/auto-libm-test-in: Add more tests of acos.
27198         * math/auto-libm-test-out: Regenerated.
27200         [BZ #16351]
27201         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
27202         (MO): New macro.
27203         (__ieee754_asin): Force underflow exception for results with small
27204         absolute value.
27205         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
27206         (MO): New macro.
27207         (__ieee754_asinf): Force underflow exception for results with
27208         small absolute value.
27209         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
27210         (__ieee754_asin): Force underflow exception for results with small
27211         absolute value.
27212         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
27213         (__ieee754_asinf): Force underflow exception for results with
27214         small absolute value.
27215         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
27216         (__ieee754_asinl): Force underflow exception for results with
27217         small absolute value.
27218         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
27219         (__ieee754_asinl): Force underflow exception for results with
27220         small absolute value.
27221         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
27222         (__ieee754_asinl): Force underflow exception for results with
27223         small absolute value.
27224         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
27225         Include <math.h>.
27226         * math/auto-libm-test-in: Do not mark underflow exceptions as
27227         possibly missing for bug 16351.
27228         * math/auto-libm-test-out: Regenerated.
27230         [BZ #18030]
27231         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
27232         of power of 2 down when low part has opposite sign.
27233         * math/libm-test.inc (logb_test_data): Add more tests.
27235 2015-02-26  Andreas Schwab  <schwab@suse.de>
27237         [BZ #18032]
27238         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
27239         over collating symbol inside a bracket expression.  Minor cleanup.
27240         * posix/tst-fnmatch3.c (do_test): Add test case.
27242 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
27244         [BZ #18029]
27245         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
27246         Adjust exponent of power of 2 down when low part has opposite
27247         sign.
27248         * math/libm-test.inc (ilogb_test_data): Add more tests.
27250 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
27252         [BZ #15969]
27253         * locale/findlocale.c (_nl_find_locale): Fix constness error in
27254         the previous change.
27256         [BZ #15969]
27257         * locale/findlocale.c (_nl_find_locale): Retry archive search
27258         after alias expansion.
27260 2015-02-25  Roland McGrath  <roland@hack.frob.com>
27262         * iconv/tst-iconv3.c (main): Converted to ...
27263         (do_test): ... this.
27264         (TEST_FUNCTION): New macro.
27265         Include test-skeleton.c.
27267         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
27268         (convert): Make function static.
27269         (test_unalign): Likewise.  Add const to argument pointee types.
27270         (main): Replace with static function do_test.
27271         Print "Succeeded." only if RET is zero.
27272         (TEST_FUNCTION): New macro.
27273         Include test-skeleton.c.
27275         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
27276         returns a null pointer.
27278 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27280         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
27281         to __memcpy_ppc only for static builds.
27283 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
27285         [BZ #18020]
27286         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
27287         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
27288         * math/auto-libm-test-in: Add more tests of asinh.
27289         * math/auto-libm-test-out: Regenerated.
27290         * sysdeps/i386/fpu/libm-test-ulps: Update.
27291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27293 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
27295         [BZ #15850]
27296         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
27297         and ip6_mtuinfo definitions here.
27298         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
27299         in this define too.  Update comment.
27301 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
27303         * elf/sprof.c (load_shobj): Tweak error message to match others.
27305 2015-02-24  Kevin Easton  <kevin@guarana.org>
27307         [BZ #16145] (partial fix)
27308         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
27309         to reduce lock contention.
27311 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
27313         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
27314         (struct timex): Update time comment.
27315         (ADJ_SETOFFSET): Define.
27317 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
27319         [BZ #18019]
27320         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
27321         2**56 not 2**28 as threshold for log (2x) formula.
27322         * math/auto-libm-test-in: Add more tests of acosh.
27323         * math/auto-libm-test-out: Regenerated.
27324         * sysdeps/i386/fpu/libm-test-ulps: Update.
27325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27327 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
27329         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
27330         parenthesis around the buf assignment.
27331         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
27333 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
27335         [BZ #16783]
27336         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
27337         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
27338         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
27339         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
27340         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
27341         * math/libm-test.inc (scalb_test_data): Add more tests.
27343 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
27345         [BZ #17916]
27346         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
27347         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
27349 2015-02-24  Eric Rannaud  <e@nanocritical.com>
27351         [BZ #17523]
27352         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
27353         * io/bits/fcntl2.h (open): Use it.
27354         (openat): Likewise.
27355         * io/open.c (__libc_open): Likewise.
27356         * io/open64.c (__libc_open64): Likewise.
27357         * io/open64_2.c (__open64_2): Likewise.
27358         * io/open_2.c (__open_2): Likewise.
27359         * io/openat.c (__openat): Likewise.
27360         * io/openat64.c (__openat64): Likewise.
27361         * io/openat64_2.c (__openat64_2): Likewise.
27362         * io/openat_2.c (__openat_2): Likewise.
27363         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
27364         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
27365         * sysdeps/posix/open64.c (__libc_open64): Likewise.
27366         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
27367         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
27368         (__open_nocancel): Likewise.
27369         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
27370         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
27371         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
27373 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27375         [BZ #14841]
27376         * resolv/gethnamaddr.c (getanswer): Skip logging if
27377         RES_USE_DNSSEC is set.
27378         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
27380 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
27382         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
27384 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
27386         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
27387         201304L, for Unicode 7.
27389 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
27391         [BZ #17836]
27392         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
27393         shared library.  Add gmon-start.os otherwise.
27394         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
27395         $(objpfx)gmon-start.os if builing shared library.
27396         ($(objpfx)g$(static-start-installed-name)): Likewise.
27398 2015-02-23  Andreas Schwab  <schwab@suse.de>
27400         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
27402 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
27404         [BZ #17269]
27405         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
27406         (enlarge_userbuf): Likewise.
27408 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
27410         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
27411         * math/atest-exp.c (TIMEOUT): Adjust to 200.
27412         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
27413         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
27415 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
27417         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
27418         expression inside statement expression.
27420 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
27422         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
27423         <sysdeps/nptl/lowlevellock.h> and remove macros and
27424         functions that are now defined there.
27425         (SYS_futex): Remove.
27426         (lll_compare_and_swap): Remove.
27427         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
27429 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
27431         [BZ #17999]
27432         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
27433         instead of scandirat.
27434         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
27435         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
27436         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
27437         __scandirat.
27438         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
27439         (__scandirat): Declare.  Use libc_hidden_proto.
27440         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
27441         Remove variable.
27442         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
27444 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
27446         [BZ #15319]
27447         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
27448         (MO): New macro.
27449         (__ieee754_atan2): For results with small absolute value, force
27450         underflow exception and remove excess range and precision from
27451         return value.
27452         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
27453         (MO): New macro.
27454         (__ieee754_atan2f): For results with small absolute value, force
27455         underflow exception and remove excess range and precision from
27456         return value.
27457         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
27458         (MO): New macro.
27459         (__atan): For results with small absolute value, force underflow
27460         exception and remove excess range and precision from return value.
27461         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
27462         (MO): New macro.
27463         (__atanf): For results with small absolute value, force underflow
27464         exception and remove excess range and precision from return value.
27465         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
27466         <math.h>.
27467         (__ieee754_atan2): Force underflow exception for results with
27468         small absolute value.
27469         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
27470         <math_private.h>.
27471         (atan): Force underflow exception for results with small absolute
27472         value.
27473         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
27474         (__atanf): Force underflow exception for results with small
27475         absolute value.
27476         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
27477         <math.h>.
27478         (__atanl): Force underflow exception for results with small
27479         absolute value.
27480         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
27481         (__atanl): Force underflow exception for results with small
27482         absolute value.
27483         * sysdeps/x86/fpu/bits/mathinline.h
27484         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
27485         (__ieee754_atan2): Only define inline for long double.
27486         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
27487         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
27488         * math/auto-libm-test-in: Do not mark underflow exceptions as
27489         possibly missing for bug 15319.  Add more tests of atan2.
27490         * math/auto-libm-test-out: Regenerated.
27491         * math/libm-test.inc (casin_test_data): Do not mark underflow
27492         exceptions as possibly missing for bug 15319.
27493         (casinh_test_data): Likewise.
27494         * sysdeps/i386/fpu/libm-test-ulps: Update.
27496 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
27498         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
27499         * sysdeps/mips/bits/endian.h: Fix comments.
27501 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
27503         [BZ #17996]
27504         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
27505         (hdestroy_r): Likewise.
27506         (hsearch_r): Likewise.
27507         (__hcreate_r): Declare and use libc_hidden_proto.
27508         (__hdestroy_r): Likewise.
27509         (__hsearch_r): Likewise.
27510         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
27511         (hcreate): Call __hcreate_r instead of hcreate_r.
27512         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
27513         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
27514         as weak alias of __hcreate_r.
27515         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
27516         __hdestroy_r.
27517         (hsearch_r): Rename to __hsearch_r and define as weak alias of
27518         __hsearch_r.
27519         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
27520         Remove variable.
27521         (test-xfail-XPG4/search.h/linknamespace): Likewise.
27522         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
27523         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
27524         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
27526 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27528         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
27529         arena_lock into a single arena_get.
27531 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
27533         * dl-reloc.c: Inlucde libc-internal.h.
27534         (_dl_try_allocate_static_tls): Call ALIGN_UP.
27535         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
27536         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
27537         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
27538         (grow_heap): Likewise.
27539         * malloc/malloc.c: Include libc-internal.h.
27540         (do_check_malloc): Call powerof2.
27541         (sysmalloc): Use pagesize. Call ALIGN_UP.
27542         (systrim): Use pagesize.
27543         (mremap_chunk): Use pagesize. Call ALIGN_UP.
27544         (__libc_valloc): Use pagesize.
27545         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
27547 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
27549         [BZ #17991]
27550         * include/sys/resource.h (__getrlimit64): Declare.  Use
27551         libc_hidden_proto.
27552         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
27553         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
27554         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
27555         getrlimit64.
27556         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
27557         __getrlimit64.
27558         [!getrlimit64] (getrlimit64): Define as weak alias of
27559         __getrlimit64.  Use libc_hidden_weak.
27560         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
27561         using __getrlimit64 not __new_getrlimit64.
27562         (__GI_getrlimit64): Likewise.
27563         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
27564         Likewise.
27565         (__GI_getrlimit64): Likewise.
27566         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
27567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
27568         (getrlimit): Add __getrlimit64 alias.
27569         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
27570         Likewise.
27571         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
27572         Remove variable.
27573         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
27574         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
27576 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
27578         * libio/fileops.c: Add missing sys/mman.h
27579         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
27581 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
27583         * manual/math.texi (Errors in Math Functions): Clarify goals
27584         regarding inexact and underflow exceptions.
27586 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
27588         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
27589         * sysdeps/mips/memset.S: Ditto.
27591 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
27593         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
27595 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
27597         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
27598         (__v1longjmp): Remove versioned symbol.
27599         (__v1siglongjmp): Remove alias and versioned symbol.
27600         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
27601         (__v2siglongjmp): Likewise.
27603 2015-02-16  Torvald Riegel  <triegel@redhat.com>
27605         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
27607 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
27609         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
27611 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
27613         [BZ #17987]
27614         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
27615         zero result does not depend on the sign resulting from
27616         subtraction.
27617         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
27618         Likewise.
27619         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
27620         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
27621         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
27622         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
27623         * math/libm-test.inc (remquo_test_data): Add more tests.
27625 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
27627         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
27628         Problem reported by J William Piggott.
27630 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
27632         [BZ #17978]
27633         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
27634         products 4 * y and 2 * y where those would overflow.
27635         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
27636         Likewise.
27637         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
27638         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
27639         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
27640         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
27641         * math/libm-test.inc (remquo_test_data): Add more tests.
27643         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
27645         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
27646         [defined _COMPILING_NEWLIB].
27647         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
27648         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
27650         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
27651         [!defined __mips_isa_rev || __mips_isa_rev < 6].
27653 2015-02-16  Torvald Riegel  <triegel@redhat.com>
27655         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
27656         acquired.
27658 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
27660         [BZ #17792]
27661         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
27662         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
27663         HOST_STACK_END_ADDR): Likewise.
27665 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
27667         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
27668         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
27669         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
27671 2015-02-13  Roland McGrath  <roland@hack.frob.com>
27673         * sysdeps/generic/c++-types.data: New file.
27674         * sysdeps/generic/ld.abilist: New file.
27675         * sysdeps/generic/libBrokenLocale.abilist: New file.
27676         * sysdeps/generic/libanl.abilist: New file.
27677         * sysdeps/generic/libc.abilist: New file.
27678         * sysdeps/generic/libcrypt.abilist: New file.
27679         * sysdeps/generic/libdl.abilist: New file.
27680         * sysdeps/generic/libm.abilist: New file.
27681         * sysdeps/generic/libpthread.abilist: New file.
27682         * sysdeps/generic/libresolv.abilist: New file.
27683         * sysdeps/generic/librt.abilist: New file.
27685 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
27687         [BZ #17569]
27688         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
27689         Compute absolute value of x as modified by fmod, not original
27690         value of x.
27691         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
27692         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
27693         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
27694         RUN_TEST_ffI_f1_mod8.
27695         (remquo_test_data): Add more tests.
27697 2015-02-13  Roland McGrath  <roland@hack.frob.com>
27699         * sysdeps/init_array/pt-crti.S: New file.
27701 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
27703         [BZ #17967]
27704         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
27705         __builtin_fmaf instead of relying on contraction of a * b + c.
27707 2015-02-12  J William Piggott  <elseifthen@gmx.com>
27709         [BZ #17969]
27710         * manual/time.texi: correct the zoneinfo path in the TZ Variable
27711         node.
27713 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
27715         [BZ #17964]
27716         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
27717         __builtin_fma instead of relying on contraction of a * b + c.
27719 2015-02-12  Roland McGrath  <roland@hack.frob.com>
27721         * Makeconfig (ASFLAGS): Add -Werror=undef.
27722         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
27723         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
27724         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
27726         * Makeconfig (after-link): New variable.
27727         (+link-pie, +link-pie-tests): Use it.
27728         (+link-static, +link-static-tests): Likewise.
27729         (+link, +link-tests): Likewise.
27730         * Makerules (build-module, build-module-asneeded): Likewise.
27731         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
27732         Likewise.
27733         * elf/Makefile ($(objpfx)ld.so): Likewise.
27735 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
27737         [BZ #17965]
27738         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
27739         both struct timeval and struct timespec.
27741 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
27743         [BZ #16560]
27744         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27745         and redefine.
27746         (__ieee754_exp2l): Do not multiply small fractional parts by
27747         M_LN2l.
27748         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
27749         small argument.
27750         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
27751         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
27752         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
27753         * math/auto-libm-test-in: Add more tests of exp2.
27754         * math/auto-libm-test-out: Regenerated.
27756 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27758         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
27759         unaligned path.
27761 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27763         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
27764         little endian.
27766 2015-02-12  Andreas Schwab  <schwab@suse.de>
27768         [BZ #15790]
27769         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
27770         Filter out elision flags from value returned in kind.
27771         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
27772         * nptl/tst-pthread-mutexattr.c: New file.
27774 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27776         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
27777         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
27778         into gnu-gnu, and update comment to refer to abi-tags.
27780 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
27782         [BZ #15467]
27783         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
27784         (__sincos): Set errno to EDOM for infinite argument.
27785         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
27786         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
27787         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
27788         (__sincosl): Set errno to EDOM for infinite argument.
27789         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
27790         (__sincosl): Set errno to EDOM for infinite argument.
27791         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
27792         (__sincosl): Set errno to EDOM for infinite argument.
27793         * math/libm-test.inc (sincos_test_data): Test errno setting.
27795 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
27797         * string/strxfrm_l.c: Remove #define STRCMP.
27798         * string/strcoll_l.c: Remove #define STRLEN.
27799         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
27800         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
27802 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
27804         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
27805         * sysdeps/mips/mips32/sfp-machine.h: ... here.
27806         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
27807         * sysdeps/mips/mips64/Makefile: ... here.
27808         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
27809         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
27810         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
27811         * sysdeps/mips/mips64/sfp-machine.h: ... here.
27812         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
27813         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
27814         * sysdeps/mips/mips64/n64/Implies: Likewise.
27816 2015-02-10  Roland McGrath  <roland@hack.frob.com>
27818         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
27819         <sys/time.h>, <string.h>, and <errno.h>.
27820         (dest_offset, dest_address, value, zero): Remove unused variables.
27821         (ldouble): Remove typedef.
27822         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
27823         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
27824         1).  Fix code style.
27825         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
27826         (check): Function removed.
27827         (CHECK): New macro.
27828         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
27829         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
27830         Don't call set_sigaction_FP and remove_sigaction_FP here.
27831         (ldouble_test): Just use 'long double' as macro argument, no need for
27832         the 'ldouble' typedef.
27833         (do_test): Set up SIGFPE handler at start, using plain signal rather
27834         than sigaction.  Fix code style.
27836 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
27838         [BZ #17949]
27839         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
27840         jump label.
27842 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
27844         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
27845         * sysdeps/powerpc/powerpc32/configure: Regenerated.
27847         * sysdeps/powerpc/configure.ac: Remove file.
27848         * sysdeps/powerpc/configure: Likewise.
27850         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
27851         [sysdep_routines]: Remove wordcopy-power6 object.
27852         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
27853         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
27854         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
27855         (__memmove_ppc32): Likewise.
27856         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
27857         file.
27858         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
27859         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
27860         Remove preprocessor.
27862         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
27863         [sysdep_routines]: Remove wide chars objects.
27864         [wcsmbs]: New rule for wide char objects.
27866         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27867         Remove wordcopy-power6 obejct.
27868         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
27869         Use local call for wordcopy and memcpy symbols.
27870         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
27871         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
27872         implementation for loader.
27873         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
27875         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27876         Remove wordcopy-power7 object.
27877         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
27878         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
27879         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
27880         (_wordcopy_fwd_dest_aligned): Likewise.
27881         (_wordcopy_bwd_aligned): Likewise.
27882         (_wordcopy_bwd_dest_aligned): Likewise.
27884         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
27885         Rewrite to call __memmove_ppc instead of include default
27886         implementation.
27888         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27889         Remove wide chars objects.
27890         [wcsmbs]: New rule for wide char objects.
27892 2015-02-09  Andreas Schwab  <schwab@suse.de>
27894         [BZ #17912]
27895         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
27896         in terms of __O_DIRECTORY.
27898 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27900         * time/getdate.c: Include <stdbool.h>.
27901         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
27902         call PTR_MANGLE.
27903         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
27904         PTR_DEMANGLE.
27906 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
27908         Add ersatz _Static_assert on older C hosts
27909         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
27910         pre-C11 C platform that is not known to support _Static_assert.
27912 2015-02-07  Richard Braun  <rbraun@sceen.net>
27914         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
27915         sigstate.
27916         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
27918 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27920         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
27921         priority against unexistent AIO_PRIO_DELTA_MAX.
27922         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
27923         instead of int.
27924         * misc/fchflags.c (fchflags): Likewise.
27925         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
27926         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
27927         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
27928         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
27929         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
27930         Declare macros.
27931         [__USE_MISC] (chflags, fchflags): Declare functions.
27932         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
27933         EINVAL when nfds is greater than FD_SETSIZE.
27934         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
27935         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
27936         45.
27937         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
27938         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
27939         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
27940         MACH_RCV_TIMED_OUT.
27941         * hurd/hurd/signal.h (_hurd_self_sigstate,
27942         _hurd_critical_section_lock, _hurd_critical_section_unlock):
27943         Explicit casts from void *.
27944         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
27945         * abi-tags: Rename gnu-gnu os into gnu.
27947         [BZ #4719]
27948         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
27949         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
27950         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
27951         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
27952         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
27953         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
27955         [BZ #17944]
27956         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
27957         duplicates ADDR->sun_path with sockaddr LEN limitation.
27958         * sysdeps/mach/hurd/connect.c: Include <string.h>
27959         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
27960         * sysdeps/mach/hurd/sendmsg.c: Likewise.
27961         * sysdeps/mach/hurd/sendto.c: Likewise.
27962         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
27963         implementing it by hand.
27965 2015-02-06  Roland McGrath  <roland@hack.frob.com>
27967         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
27968         Use sfi_breg on ldr.
27969         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
27970         Likewise.
27972         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
27973         it's defined.
27974         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
27975         Test SIGSETXID only if it's defined.
27977         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
27979         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
27980         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
27982         * nptl/tst-align2.c: Moved ...
27983         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
27984         * nptl/Makefile (tests): Remove tst-align2.
27985         * sysdeps/unix/sysv/linux/Makefile
27986         [$(subdir) = nptl] (tests): Add tst-align-clone.
27987         * nptl/tst-getpid1.c: Moved ...
27988         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
27989         * nptl/tst-getpid2.c: Moved ...
27990         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
27991         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
27992         * sysdeps/unix/sysv/linux/Makefile
27993         [$(subdir) = nptl] (tests): ... here.
27994         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
27995         * sysdeps/unix/sysv/linux/Makefile
27996         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
27998         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
27999         Drop trailing \n from perror argument.  Use return rather than exit.
28001         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
28002         on [SA_SIGINFO].
28003         * nptl/tst-cancel21.c (do_test): Likewise.
28004         * debug/tst-backtrace6.c: Include <signal.h> first thing.
28005         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
28006         [!SA_SIGINFO]: Make it a stub test.
28008         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
28009         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
28011         * posix/tst-getlogin.c: Move to ...
28012         * login/tst-getlogin.c: ... here.
28013         * posix/Makefile (tests): Move tst-getlogin to ...
28014         * login/Makefile (tests): ... here.
28016         * libio/tst-atime.c (do_test): Move local variables SV and E
28017         inside [ST_NOATIME] conditional.
28019         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
28021         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
28023         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
28024         (wait_code): New function replaces macro.
28025         Call nanosleep rather than syscall.
28027         * nptl/pt-system.c: Rewritten.  Put everything under
28028         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
28029         Use IFUNC to redirect when possible.
28031         * nptl/pt-longjmp.c: Rewritten.  Put everything under
28032         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
28033         Use IFUNC to redirect when possible.
28035         * nptl/pt-fork.c: Rewritten.  Put everything under
28036         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
28037         Use IFUNC to redirect when possible.
28038         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
28040         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
28041         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
28042         unconditionally nowadays.  This included the only reference to
28043         __vdso_clock_gettime that appears outside libc proper.
28044         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
28045         Remove version set (containing only __vdso_clock_gettime).
28046         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
28047         Add attribute_hidden.
28048         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
28049         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
28050         libc_hidden_data_def.
28051         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28052         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28054         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
28055         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
28056         setrpcent, and getrpcport to ...
28057         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
28058         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
28059         getrpcbynumber_r, and getrpcent_r to ...
28060         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
28061         * inet/getrpcbyname.c: Moved ...
28062         * sunrpc/getrpcbyname.c: ... here.
28063         * inet/getrpcbyname_r.c: Moved ...
28064         * sunrpc/getrpcbyname_r.c: ... here.
28065         * inet/getrpcbynumber.c: Moved ...
28066         * sunrpc/getrpcbynumber.c: ... here.
28067         * inet/getrpcbynumber_r.c: Moved ...
28068         * sunrpc/getrpcbynumber_r.c: ... here.
28069         * inet/getrpcent.c: Moved ...
28070         * sunrpc/getrpcent.c: ... here.
28071         * inet/getrpcent_r.c: Moved ...
28072         * sunrpc/getrpcent_r.c: ... here.
28073         * inet/Makefile (routines): Move those to ...
28074         * sunrpc/Makefile (routines): ... here.
28075         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
28076         the $(subdirs) list.
28077         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
28078         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
28079         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
28080         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
28082         * elf/Makefile (routines): Include $(all-dl-routines), not just
28083         $(dl-routines).
28084         (rtld-routines): Likewise.  Use = rather than :=.
28085         * sysdeps/aarch64/Makefile [$(subdir) = elf]
28086         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
28087         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
28088         * sysdeps/arm/Makefile: Likewise.
28089         * sysdeps/i386/Makefile: Likewise.
28090         * sysdeps/x86_64/Makefile: Likewise.
28091         * sysdeps/hppa/Makefile [$(subdir) = elf]
28092         (sysdep_routines, sysdep-rtld-routines): Don't add
28093         $(sysdep-dl-routines) to these.
28094         * sysdeps/ia64/Makefile: Likewise.
28095         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
28096         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
28097         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
28098         Don't add dl-static to these; sysdep-dl-routines alone is enough.
28099         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
28100         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
28101         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
28102         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
28103         * sysdeps/powerpc/Makefile [$(subdir) = elf]
28104         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
28105         these; sysdep-dl-routines alone is enough.
28107 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
28109         [BZ #17932]
28110         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
28111         where multiplication results in zero and third argument is finite
28112         and nonzero.
28113         * math/auto-libm-test-in: Add more tests of fma.
28114         * math/auto-libm-test-out: Regenerated.
28116         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
28117         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
28118         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
28119         (_FP_CMP_EQ): Likewise.
28120         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
28122         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
28123         extra argument CHECK_NAN.  Redefine as wrapper around
28124         _FP_EXTEND_CNAN.
28126 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
28128         * version.h (RELEASE): Set to "stable".
28129         (VERSION): Set to "2.21"
28130         * include/features.h (__GLIBC_MINOR__): Set to 21.
28132         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
28134 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
28135             Paul Eggert  <eggert@cs.ucla.edu>
28137         [BZ #16618]
28138         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
28139         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
28140         size in bytes. Store needed elements in wpmax. Use needed size
28141         in bytes for extend_alloca.
28143 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
28145         * manual/install.texi: Latest tested versions are GCC 4.9.2,
28146         binutls 2.25, and texinfo 5.2.
28147         * INSTALL: Regenerate.
28148         * sysdeps/nios2/configure: Regenerate.
28149         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
28150         * manual/contrib.texi: Update.
28151         * po/be.po: Update.
28152         * po/bg.po: Update.
28153         * po/ca.po: Update.
28154         * po/cs.po: Update.
28155         * po/da.po: Update.
28156         * po/de.po: Update.
28157         * po/el.po: Update.
28158         * po/eo.po: Update.
28159         * po/es.po: Update.
28160         * po/fi.po: Update.
28161         * po/fr.po: Update.
28162         * po/gl.po: Update.
28163         * po/hr.po: Update.
28164         * po/hu.po: Update.
28165         * po/ia.po: Update.
28166         * po/id.po: Update.
28167         * po/it.po: Update.
28168         * po/ja.po: Update.
28169         * po/ko.po: Update.
28170         * po/lt.po: Update.
28171         * po/nb.po: Update.
28172         * po/nl.po: Update.
28173         * po/pl.po: Update.
28174         * po/pt_BR.po: Update.
28175         * po/ru.po: Update.
28176         * po/rw.po: Update.
28177         * po/sk.po: Update.
28178         * po/sl.po: Update.
28179         * po/sv.po: Update.
28180         * po/tr.po: Update.
28181         * po/uk.po: Update.
28182         * po/vi.po: Update.
28183         * po/zh_CN.po: Update.
28184         * po/zh_TW.po: Update.
28186         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
28187         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
28188         * sysdeps/hppa/dl-irel.h: Remove #warning.
28189         * sysdeps/hppa/entry.h: Provide prototype for
28190         __canonicalize_funcptr_for_compare and cast argument.
28191         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
28192         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
28193         * sysdeps/hppa/sotruss-lib.c: New file.
28194         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
28195         (atomic_compare_and_exchange_val_acq): Use __typeof__.
28196         (atomic_compare_and_exchange_bool_acq): Likewise.
28197         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
28198         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
28200         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
28201         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
28202         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
28204 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
28206         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
28207         called function in non-PIC case.
28209 2015-01-31  David S. Miller  <davem@davemloft.net>
28211         * sysdeps/sparc/sparc32/bits/atomic.h
28212         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
28213         unlock not after it.
28214         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
28215         volatile register usage warnings from the compiler.
28217         * sysdeps/sparc/nptl/sem_init.c: Delete.
28218         * sysdeps/sparc/nptl/sem_post.c: Delete.
28219         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
28220         * sysdeps/sparc/nptl/sem_wait.c: Delete.
28221         * sysdeps/sparc/sparc32/sem_init.c: New file.
28222         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
28223         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
28224         padding explicitly initialized.
28225         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
28226         padding for in-semaphore spinlock.
28227         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
28228         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
28229         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
28230         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
28231         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
28232         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
28233         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
28234         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
28235         version.
28236         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
28237         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
28239 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
28241         [BZ #17801]
28242         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28243         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
28244         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
28245         New.
28246         (index_AVX_Fast_Unaligned_Load): Likewise.
28247         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
28248         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
28249         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
28250         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
28251         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
28252         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
28253         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
28254         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
28255         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
28257 2015-01-29  Andreas Schwab  <schwab@suse.de>
28259         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
28261 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
28263         [BZ #17892]
28264         * nscd/nscd_stat.c (send_stats): Initialize DATA.
28266 2015-01-28  Martin Sebor  <msebor@redhat.com>
28268         * math/README.libm-test: Clarify. Add "How to read the test output."
28270 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
28272         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
28273         Define to 0.
28275 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
28277         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
28278         (__HAVE_64B_ATOMICS): Define to 0.
28280 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
28282         [BZ #17885]
28283         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
28284         value to set as new flag.
28286         [BZ #16576]
28287         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
28288         and use _ARCH_PPCSQ instead.
28289         (__ieee754_sqrt): Likewise.
28290         (__ieee754_sqrtf): Likewise.
28291         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
28292         _ARCH_PPCSQ is defined.
28293         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
28294         fsqrt instruction.
28295         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
28296         _ARCH_PPCSQ is defined.
28297         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
28298         fsqrts instruction.
28299         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
28301 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28303         * iconv/loop.c: Suppress array out of bound warning caused by GCC
28304         bug (GCC BZ #64739).
28306 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
28308         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
28309         Mark _retval as used.
28310         (lll_futex_wake_unlock): Likewise.
28311         (lll_futex_timed_wait_requeue_pi): Likewise.
28313         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
28314         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
28315         register variables.
28317         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
28318         libm_hidden_def.
28320         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
28321         (__bswap_64): Mark as __always_inline.
28323 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
28325         [BZ #15378]
28326         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
28327         when none of the search directories exist.
28329 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
28331         [BZ #17869]
28332         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
28333         power8 in .machine directive.
28335         [BZ #17868]
28336         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
28337         set dependency from opd value.
28339 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
28341         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28342         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
28343         architecture.
28345 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
28347         [BZ #17870]
28348         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
28349         with uint64_t.
28350         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
28351         (uint64_t) 1.
28352         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
28353         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
28354         Replace 1UL with (uint64_t) 1.
28355         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
28356         int with uint64_t.
28358 2015-01-23  Roland McGrath  <roland@hack.frob.com>
28360         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
28361         (if_freenameindex): Likewise.
28363         * resource/getrlimit64.c: Add missing libc_hidden_def.
28365 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
28367         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
28368         __label__.
28369         (_FP_FMA): Likewise.
28370         (_FP_TO_INT_ROUND): Likewise.
28371         (_FP_FROM_INT): Likewise.
28373 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28375         [BZ #16418]
28376         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
28377         Make code racy and cancel safe.
28379 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
28381         * sysdeps/arm/unwind-resume.h: Fix copyright year.
28382         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
28383         attribution.
28385         * pwd/tst-getpw.c: Rewrite.
28387         [BZ #17702]
28388         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
28389         (modules-names): Add moddummy1 and moddummy2.
28390         ($(objpfx)tst-rec-dlopen): Define.
28391         * dlfcn/moddummy1.c: New file.
28392         * dlfcn/moddummy2.c: New file.
28393         * dlfcn/tst-rec-dlopen.c: New file.
28394         * elf/dl-cache.c (_dl_load_cache_lookup):
28395         Return char*. Copy result with alloca/strcpy/strdup.
28396         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
28397         returns char*. Free cached. If not saving realname
28398         free cached.
28399         * elf/dl-open.c (dl_open_worker): Do not assert that
28400         _r_debug->r_state is RT_CONSISTENT.
28401         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
28402         returns char*.
28404 2015-01-21  Torvald Riegel  <triegel@redhat.com>
28405             Carlos O'Donell  <carlos@redhat.com>
28407         [BZ #12674]
28408         * nptl/sem_waitcommon.c: New file.
28409         * nptl/sem_wait.c: Include sem_waitcommon.c.
28410         (__sem_wait_cleanup, do_futex_wait): Remove.
28411         (__new_sem_wait): Adapt.
28412         (__new_sem_trywait): New function.
28413         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
28414         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
28415         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
28416         (sem_timedwait): Adapt.
28417         * nptl/sem_post.c (__new_sem_post): Adapt.
28418         (futex_wake): New function.
28419         (__old_sem_post): Add release MO fence.
28420         * nptl/sem_open.c (sem_open): Adapt.
28421         * nptl/sem_init.c (__new_sem_init): Adapt.
28422         (futex_private_if_supported): New function.
28423         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
28424         (__old_sem_getvalue): Add using previous code.
28425         * sysdeps/nptl/internaltypes.h: Adapt.
28426         * nptl/tst-sem13.c (do_test): Adapt.
28427         * nptl/tst-sem11.c (main): Adapt.
28428         * nptl/sem_trywait.c: Remove.
28429         * nptl/DESIGN-sem.txt: Remove.
28430         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
28431         (gen-as-const-headers): Remove structsem.sym.
28432         * nptl/structsem.sym: Remove.
28433         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
28434         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
28435         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
28436         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
28437         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
28438         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
28439         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
28440         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
28441         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
28442         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
28443         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
28444         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
28445         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
28446         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
28447         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
28448         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
28449         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
28450         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
28451         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
28452         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
28453         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
28454         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
28456 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
28458         * INSTALL: Regenerated.
28460         * po/libc.pot: Regenerated.
28462 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
28463             Sandra Loosemore  <sandra@codesourcery.com>
28464             Andrew Jenner  <andrew@codesourcery.com>
28465             Joseph Myers  <joseph@codesourcery.com>
28466             Nathan Sidwell  <nathan@codesourcery.com>
28468         * NEWS: Mention new Nios II port.
28469         * sysdeps/nios2/Implies: New file.
28470         * sysdeps/nios2/Makefile: New file.
28471         * sysdeps/nios2/Subdirs: New file.
28472         * sysdeps/nios2/Versions: New file.
28473         * sysdeps/nios2/__longjmp.S: New file.
28474         * sysdeps/nios2/abort-instr.h: New file.
28475         * sysdeps/nios2/backtrace.c: New file.
28476         * sysdeps/nios2/bits/endian.h: New file.
28477         * sysdeps/nios2/bits/fenv.h: New file.
28478         * sysdeps/nios2/bits/link.h: New file.
28479         * sysdeps/nios2/bits/setjmp.h: New file.
28480         * sysdeps/nios2/bsd-_setjmp.S: New file.
28481         * sysdeps/nios2/bsd-setjmp.S: New file.
28482         * sysdeps/nios2/configure: New generated file.
28483         * sysdeps/nios2/configure.ac: New file.
28484         * sysdeps/nios2/crti.S: New file.
28485         * sysdeps/nios2/crtn.S: New file.
28486         * sysdeps/nios2/dl-init.c: New file.
28487         * sysdeps/nios2/dl-machine.h: New file.
28488         * sysdeps/nios2/dl-sysdep.h: New file.
28489         * sysdeps/nios2/dl-tls.h: New file.
28490         * sysdeps/nios2/dl-trampoline.S: New file.
28491         * sysdeps/nios2/gccframe.h: New file.
28492         * sysdeps/nios2/gmp-mparam.h: New file.
28493         * sysdeps/nios2/jmpbuf-offsets.h: New file.
28494         * sysdeps/nios2/jmpbuf-unwind.h: New file.
28495         * sysdeps/nios2/ldsodefs.h: New file.
28496         * sysdeps/nios2/libc-tls.c: New file.
28497         * sysdeps/nios2/libm-test-ulps: New file.
28498         * sysdeps/nios2/machine-gmon.h: New file.
28499         * sysdeps/nios2/math-tests.h: New file.
28500         * sysdeps/nios2/math_private.h: New file.
28501         * sysdeps/nios2/memusage.h: New file.
28502         * sysdeps/nios2/nptl/Makefile: New file.
28503         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
28504         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
28505         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
28506         * sysdeps/nios2/nptl/pthreaddef.h: New file.
28507         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
28508         * sysdeps/nios2/nptl/tls.h: New file.
28509         * sysdeps/nios2/preconfigure: New file.
28510         * sysdeps/nios2/s_fma.c: New file.
28511         * sysdeps/nios2/s_fmaf.c: New file.
28512         * sysdeps/nios2/setjmp.S: New file.
28513         * sysdeps/nios2/sfp-machine.h: New file.
28514         * sysdeps/nios2/sotruss-lib.c: New file.
28515         * sysdeps/nios2/stackguard-macros.h: New file.
28516         * sysdeps/nios2/stackinfo.h: New file.
28517         * sysdeps/nios2/start.S: New file.
28518         * sysdeps/nios2/sysdep.h: New file.
28519         * sysdeps/nios2/tls-macros.h: New file.
28520         * sysdeps/nios2/tst-audit.h: New file.
28521         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
28522         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
28523         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
28524         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
28525         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
28526         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
28527         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
28528         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
28529         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
28530         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
28531         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
28532         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
28533         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
28534         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
28535         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
28536         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
28537         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
28538         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
28539         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
28540         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
28541         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
28542         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
28543         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
28544         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
28545         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
28546         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
28547         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
28548         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
28549         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
28550         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
28551         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
28552         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
28553         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
28554         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
28555         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
28556         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
28557         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
28558         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
28559         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
28560         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
28561         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
28562         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
28563         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
28564         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
28566 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
28568         [BZ #17844]
28569         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
28570         (getutent): Use weak_alias in non SHARED case
28571         and default_symbol_version in SHARED case.
28572         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
28573         (getutent_r, pututline): Likewise.
28574         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
28575         (getutid): Likewise.
28576         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
28577         (getutid_r): Likewise.
28578         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
28579         (getutline): Likewise.
28580         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
28581         (getutline_r): Likewise.
28582         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
28583         (updwtmp): Likewise.
28585 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
28587         [BZ #17848]
28588         * sysdeps/s390/s390-32/memcmp.S
28589         (memcmp_g5): Rename to __memcmp_g5.
28590         * sysdeps/s390/s390-32/memcpy.S
28591         (memcpy_g5): Rename to __memcpy_g5.
28592         Jump to __memcpy_mvcle instead of memcpy_mvcle.
28593         (memcpy_mvcle) Rename to __memcpy_mvcle.
28594         * sysdeps/s390/s390-32/memset.S
28595         (memset_g5): Rename to __memset_g5.
28596         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
28597         (IFUNC_RESOLVE): Prefix ifunc-resolve function
28598         and use prefixed functions.
28599         * sysdeps/s390/s390-32/multiarch/memcmp.S
28600         (memcmp_z196): Rename to __memcmp_z196.
28601         (memcmp_z10): Rename to __memcmp_z10.
28602         (memcmp): Set alias to __memcmp_g5.
28603         (bcmp): Set alias to __memcmp_g5.
28604         * sysdeps/s390/s390-32/multiarch/memcpy.S
28605         (memcpy_z196): Rename to __memcpy_z196.
28606         Jump to __memcpy_mvcle instead of memcpy_mvcle.
28607         (memcpy_z10): Rename to __memcpy_z10.
28608         Jump to __memcpy_mvcle instead of memcpy_mvcle.
28609         (memcpy): Set alias to __memcpy_g5.
28610         * sysdeps/s390/s390-32/multiarch/memset.S
28611         (memset_z196): Rename to __memset_z196.
28612         Jump to __memset_mvcle instead of memset_mvcle.
28613         (memset_z10): Rename to __memset_z10.
28614         Jump to __memset_mvcle instead of memset_mvcle.
28615         (memset_mvcle) Rename to __memset_mvcle.
28616         (memset): Set alias to __memset_g5.
28617         * sysdeps/s390/s390-64/memcmp.S
28618         (memcmp_z900): Rename to __memcmp_z900.
28619         * sysdeps/s390/s390-64/memcpy.S
28620         (memcpy_z900): Rename to __memcpy_z900.
28621         Jump to __memcpy_mvcle instead of memcpy_mvcle.
28622         (memcpy_mvcle) Rename to __memcpy_mvcle.
28623         * sysdeps/s390/s390-64/memset.S
28624         (memset_z900): Rename to __memset_z900.
28625         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
28626         (IFUNC_RESOLVE): Prefix ifunc-resolve function
28627         and use prefixed functions.
28628         * sysdeps/s390/s390-64/multiarch/memcmp.S
28629         (memcmp_z196): Rename to __memcmp_z196.
28630         (memcmp_z10): Rename to __memcmp_z10.
28631         (memcmp): Set alias to __memcmp_z900.
28632         (bcmp): Set alias to __memcmp_z900.
28633         * sysdeps/s390/s390-64/multiarch/memcpy.S
28634         (memcpy_z196): Rename to __memcpy_z196.
28635         Jump to __memcpy_mvcle instead of memcpy_mvcle.
28636         (memcpy_z10): Rename to __memcpy_z10.
28637         Jump to __memcpy_mvcle instead of memcpy_mvcle.
28638         (memcpy): Set alias to __memcpy_z900.
28639         * sysdeps/s390/s390-64/multiarch/memset.S
28640         (memset_z196): Rename to __memset_z196.
28641         Jump to __memset_mvcle instead of memset_mvcle.
28642         (memset_z10): Rename to __memset_z10.
28643         Jump to __memset_mvcle instead of memset_mvcle.
28644         (memset_mvcle) Rename to __memset_mvcle.
28645         (memset): Set alias to __memset_z900.
28647 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
28649         [BZ #17748]
28650         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
28651         __fesetenv instead of fesetenv.
28653 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28655         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
28656         macro.
28658 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28660         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
28661         regression on LE.
28663         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
28664         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
28665         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
28666         strncmp-power8 object.
28667         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28668         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
28669         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
28670         * NEWS: Update.
28672 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28673             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28675         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
28676         trailing byte check.
28678 2015-01-13  David S. Miller  <davem@davemloft.net>
28680         * include/signal.h (__sigreturn): Guard with __USE_MISC.
28682 2015-01-13  Roland McGrath  <roland@hack.frob.com>
28684         * login/logout.c (logout): Use memset rather than bzero.
28685         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
28686         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
28687         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
28688         (_gethtbyaddr): Likewise.
28689         * locale/programs/simple-hash.c (bcopy): Macro removed.
28691 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28693         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28694         Add strcmp-power8 object.
28695         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28696         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
28697         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
28698         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
28699         __strcmp_power8 implementation.
28700         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
28701         * NEWS: Update.
28703         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28704         Add strncpy-power8 and stpncpy-power8 objects.
28705         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28706         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
28707         implementations.
28708         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
28709         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
28710         __stpncpy_power8 implementation.
28711         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
28712         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
28713         __strncpy_power8 implementation.
28714         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
28715         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
28716         * NEWS: Update.
28718         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
28719         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
28720         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
28722         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
28723         strncat-power8 object.
28724         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
28725         __strcat_power8 implementation.
28726         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28727         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
28728         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
28729         optimized strcat for power8.
28731         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
28732         strcpy-power8 and stpcpy-power8 objects.
28733         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28734         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
28735         implementations.
28736         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
28737         multiarch stpcpy implementation for POWER8.
28738         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
28739         multiarch strcpy implementation for POWER8.
28740         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
28741         __strcpy_power8 function.
28742         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
28743         stpcpy for POWER8.
28744         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
28745         strcpy for POWER8.
28746         * NEWS: Update.
28748 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
28750         [BZ #16009]
28751         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
28752         weights and rules. Use do_xfrm_cached if data fits in cache,
28753         do_xfrm otherwise.  Moved former main loop to...
28754         * (do_xfrm_cached): New function.
28755         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
28756         find_idx, find_position and stack_push.
28757         * (find_idx): New function.
28758         * (find_position): Likewise.
28759         * localedata/sort-test.sh: Added test run for do_xfrm.
28760         * localedata/xfrm-test.c (main): Added command line option
28761         -nocache to run the test with strings that are too large for
28762         the STRXFRM cache.
28764 2015-01-13  Torvald Riegel  <triegel@redhat.com>
28766         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
28767         variable to lll_futex_wake call, not the value itself.
28769 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
28771         [BZ #17803]
28772         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
28773         twom64.  Adjust value to 0x1p-64L.
28774         (__scalblnl): Only return standard underflowing result for K <=
28775         -64 not K <= -63; adjust exponent for underflowing result by 64
28776         not 63.
28777         * math/libm-test.inc (scalbn_test_data): Add more tests.
28778         (scalbln_test_data): Likewise.
28780         [BZ #17834]
28781         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
28782         0x1p63L.
28783         (__scalblnl): Get new exponent of adjusted subnormal value from ES
28784         not HX.
28785         * math/libm-test.inc (scalbn_test_data): Add more tests.
28786         (scalbln_test_data): Likewise.
28788 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28789             Stefani Seibold  <stefani@seibold.net>
28791         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
28792         (sysdep_routines): Add dl-vdso here, ...
28793         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
28794         (sysdep_routines): ... not here.
28795         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
28796         fallback when vDSO is not presented.
28797         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
28798         Define with libc_hidden_proto/libc_hidden_data_def definitions.
28799         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
28800         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
28801         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
28802         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
28803         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
28804         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
28805         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
28806         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
28807         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
28808         fallback configurable symbol when vDSO is not available.
28809         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
28810         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
28811         be able to redefine fallback symbol when vDSO is not available.
28812         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
28813         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
28815 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28817         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
28818         (TLS_INIT_TP): Add tm_capable initialization.
28819         (TLS_DEFINE_INIT_TP): Likewise.
28820         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
28821         TCB.
28822         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
28823         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
28824         calculation.
28825         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
28826         transactoion is lock elision is built and TCB tm_capable is set.
28827         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
28828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28829         (INTERNAL_SYSCALL_NCS): Likewise.
28830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
28831         (INTERNAL_SYSCALL_NCS): Likewise.
28832         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
28834         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
28835         for powerpc.
28836         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
28837         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
28838         and remove it for 32 bits case.
28839         [pthread_rwlock_t] (__rwelision): New field for lock elision.
28840         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
28841         initialization.
28842         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
28843         Disable lock elision with rdlocks if elision is not available.
28845         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
28846         (sysdep_routines): Add lock elision objects.
28847         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
28848         [pthread_mutex_t] (__spins): Rework to add lock elision field.
28849         [pthread_mutex_t] (__elision): Add field.
28850         [__PTHREAD_SPINS]: Adjust to init lock elision field.
28851         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
28852         elision definitions for powerpc.
28853         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
28854         implementation of lock elision for powerpc.
28855         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
28856         implementation of timed lock elision for powerpc.
28857         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
28858         implementation of trylock with lock elision for powerpc.
28859         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
28860         implementaion of unlock for lock elision for powerpc.
28861         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
28862         automatic enable lock elision for mutexes.
28863         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
28864         transaction execution definitions for powerpc.
28865         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
28866         definitions.
28867         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
28868         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
28869         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
28870         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
28871         * NEWS: Update.
28873 2015-01-09  Roland McGrath  <roland@hack.frob.com>
28875         * sysdeps/posix/shm-directory.c: Use <> rather than ""
28876         for #include of <shm-directory.h>.
28878 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
28880         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
28881         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
28883 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
28885         [BZ #17791]
28886         * NEWS: Mention bug fix.
28887         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
28888         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
28889         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
28891 2015-01-09  Torvald Riegel <triegel@redhat.com>
28893         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
28895 2015-01-09  Torvald Riegel <triegel@redhat.com>
28897         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
28899 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
28901         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
28902         pointer and cast to uintptr_t.
28904 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
28906         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
28907         removed.
28908         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
28910 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
28912         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
28913         of 0.
28915 2015-01-08  Roland McGrath  <roland@hack.frob.com>
28917         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
28918         <nptl/pthreadP.h> instead.
28919         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
28921         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
28922         already defined.
28923         [__SIGRTMIN] (init): Function removed.
28924         [__SIGRTMIN] (initialized): Variable removed.
28925         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
28926         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
28927         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
28928         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
28929         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
28930         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
28931         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
28932         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
28933         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
28934         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
28935         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
28936         * sysdeps/nptl/allocrtsig.c: New file.
28937         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
28938         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
28939         * sysdeps/generic/testrtsig.h: File removed.
28941         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
28942         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
28944         * nptl/nptl-init.c (pthread_functions): Conditionalize
28945         .ptr__nptl_setxid initialization on [SIGSETXID].
28947         * sysdeps/nptl/sys/procfs.h: New file.
28948         * nptl_db/Makefile (headers): Add it.
28949         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
28951         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
28952         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
28953         * nptl/pthread_attr_setaffinity.c: Include it.
28954         * nptl/pthread_setattr_default_np.c: Likewise.
28955         * nptl/check-cpuset.h: New file.
28957 2015-01-08  Richard Henderson  <rth@redhat.com>
28959         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
28960         (CFLAGS-tst-execstack-prog.c): Likewise.
28961         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
28963 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
28964             Sandra Loosemore  <sandra@codesourcery.com>
28965             Andrew Jenner  <andrew@codesourcery.com>
28966             Joseph Myers  <joseph@codesourcery.com>
28967             Nathan Sidwell  <nathan@codesourcery.com>
28969         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
28970         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
28971         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
28972         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
28973         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
28974         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
28975         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
28976         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
28977         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
28978         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
28979         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
28980         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
28981         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
28982         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
28983         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
28984         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
28985         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
28987 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28989         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
28990         timespec struct member in syscall macro.
28991         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
28992         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
28993         first timeval struct member in syscall macro.
28994         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
28996 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
28998         [BZ #17748]
28999         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
29000         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
29001         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
29002         __feupdateenv and define as weak alias of __feupdateenv.  Use
29003         libm_hidden_weak.
29004         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
29005         libm_hidden_def.
29006         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
29007         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
29008         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
29009         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
29010         libm_hidden_def.
29011         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
29012         __feupdateenv and define as weak alias of __feupdateenv.  Use
29013         libm_hidden_weak.
29014         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
29015         libm_hidden_def.
29016         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
29017         __feupdateenv and define as weak alias of __feupdateenv.  Use
29018         libm_hidden_weak.
29019         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
29020         libm_hidden_def.
29021         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
29022         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
29023         (__feupdateenv): Likewise.
29024         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
29025         __feupdateenv and define as weak alias of __feupdateenv.  Use
29026         libm_hidden_weak.
29027         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29028         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
29029         libm_hidden_def.
29030         * sysdeps/tile/math_private.h (__feupdateenv): New inline
29031         function.
29032         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
29033         libm_hidden_def.
29034         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
29035         __feupdateenv instead of feupdateenv.
29036         (default_libc_feupdateenv_test): Likewise.
29037         (libc_feresetround_ctx): Likewise.
29039 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29041         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
29042         prototype.
29044 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
29046         * posix/regcomp.c (parse_bracket_exp): Initialize type to
29047         COLL_SYM in a couple of places to avoid uninitialized variable
29048         wanings on tilegx gcc 4.8.2.
29050 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
29052         * sysdeps/aarch64/strcpy.S: New file.
29053         * sysdeps/aarch64/stpcpy.S: New file.
29054         * NEWS: Updated.
29056 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
29058         * sysdeps/aarch64/strrchr.S: New file.
29059         * NEWS: Updated.
29061 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
29063         [BZ #17658]
29064         * stdlib/setenv.c: Fix memory leak when setting large,
29065         duplicate string.
29067 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
29069         [BZ #17273]
29070         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
29071         and tabs from buffer before parsing fstab entry.
29072         * misc/tst-mntent.c (main): Add test for mount entry with
29073         trailing spaces and tabs.
29075 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
29077         [BZ #17748]
29078         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
29079         * math/fesetround.c (fesetround): Rename to __fesetround and
29080         define as weak alias of __fesetround.  Use libm_hidden_weak.
29081         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
29082         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
29083         * sysdeps/arm/fesetround.c (fesetround): Likewise.
29084         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
29085         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
29086         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
29087         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
29088         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
29089         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
29090         __fesetround_inline.
29091         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
29092         __fesetround_inline instead of __fesetround.
29093         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
29094         __fesetround and define as weak alias of __fesetround.  Use
29095         libm_hidden_weak.  Call __fesetround_inline instead of
29096         __fesetround.
29097         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
29098         __fesetround and define as weak alias of __fesetround.  Use
29099         libm_hidden_weak.
29100         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
29101         Likewise.
29102         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
29103         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29104         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
29105         * sysdeps/tile/math_private.h (__fesetround): New inline function.
29106         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
29107         __fesetround and define as weak alias of __fesetround.  Use
29108         libm_hidden_weak.
29109         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
29110         __fesetround instead of fesetround.
29111         (default_libc_feholdexcept_setround): Likewise.
29112         (libc_feholdsetround_ctx): Likewise.
29113         (libc_feholdsetround_noex_ctx): Likewise.
29115         [BZ #17748]
29116         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
29117         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
29118         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
29119         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
29120         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
29121         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
29122         define as weak alias of __fesetenv.  Use libm_hidden_weak.
29123         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
29124         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
29125         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
29126         define as weak alias of __fesetenv.  Use libm_hidden_weak.
29127         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
29128         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
29129         define as weak alias of __fesetenv.  Use libm_hidden_weak.
29130         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
29131         libm_hidden_def.
29132         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
29133         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
29134         Likewise.
29135         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
29136         define as weak alias of __fesetenv.  Use libm_hidden_weak.
29137         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29138         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
29139         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
29140         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
29141         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
29142         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
29143         __fesetenv instead of fesetenv.
29144         (libc_feresetround_noex_ctx): Likewise.
29145         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
29146         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
29147         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
29148         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
29149         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
29150         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
29151         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
29152         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
29153         (__feupdateenv): Likewise.
29154         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
29155         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29156         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
29157         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
29159 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
29161         [BZ #17806]
29162         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
29163         addresses have been freed.
29165 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
29167         * resolv/res_init.c (__res_vinit): Improve comments about nserv
29168         and nservall.
29170 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
29172         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
29173         Clean up check_pf allocation pattern. addresses
29175 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29177         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
29178         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
29179         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
29180         * nptl/pthread_exit.c (__pthread_exit): Likewise.
29181         * nptl/pthread_join.c (pthread_join): Likewise.
29182         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
29183         * sysdeps/posix/waitid.c (__waitid): Likewise.
29184         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
29185         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
29186         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
29187         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
29188         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
29189         Likewise.
29190         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
29191         (__libc_pread64): Likewise.
29192         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
29193         (__libc_pwrite): Likewise.
29194         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
29195         (__libc_pwrite64): Likewsie.
29196         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
29197         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
29198         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
29199         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
29200         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
29201         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
29202         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
29203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
29204         Likewise.
29205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29206         (__libc_pread64): Likewise.
29207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
29208         Likewise.
29209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29210         (__libc_pwrite64): Likewise.
29211         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
29212         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
29213         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
29214         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
29215         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
29216         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
29217         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
29218         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
29219         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
29220         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
29221         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
29222         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
29223         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
29224         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
29225         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
29226         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
29227         Likewise.
29229 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
29231         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
29232         (CFLAGS-test-double.c): Likewise.
29233         (CFLAGS-test-ldouble.c): Likewise.
29234         (CPPFLAGS-test-ifloat.c): Likewise.
29235         (CPPFLAGS-test-idouble.c): Likewise.
29236         (CPPFLAGS-test-ildoubl.c): Likewise.
29237         (CFLAGS-test-test-fenv.c): Remove variable.
29238         (CFLAGS-test-misc.c): Likewise.
29240 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
29242         [BZ #17797]
29243         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
29244         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
29245         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
29246         CLOCKS_PER_SEC == 1000000.
29247         * time/clocktest.c (main): Replace %ld with %jd and cast to
29248         intmax_t.
29250 2015-01-05  Roland McGrath  <roland@hack.frob.com>
29252         * sysdeps/generic/unwind-resume.h: New file.
29253         * sysdeps/gnu/unwind-resume.c: Include it.
29254         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
29255         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
29256         argument list.
29257         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
29258         global rather than static.
29259         (_Unwind_Resume): Update user.
29260         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
29261         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
29262         rather than static.  Add __attribute__ ((cold)).
29263         (_Unwind_Resume, __gcc_personality_v0): Update callers.
29264         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
29265         * sysdeps/arm/arm-unwind-resume.S: New file.
29266         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
29267         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
29268         * sysdeps/arm/Makefile [$(subdir) = csu]
29269         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
29270         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
29271         Add rt-arm-unwind-resume.
29272         [$(subdir) = nptl]
29273         (libpthread-sysdep_routines, libpthread-shared-only-routines):
29274         Add pt-arm-unwind-resume.
29275         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
29276         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
29278 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
29280         [BZ #17748]
29281         * include/fenv.h (__feholdexcept): Declare.  Use
29282         libm_hidden_proto.
29283         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
29284         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
29285         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
29286         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
29287         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
29288         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
29289         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
29290         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
29291         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
29292         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
29293         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
29294         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
29295         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
29296         (feholdexcept): Likewise.
29297         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
29298         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
29299         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
29300         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
29301         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
29302         __feholdexcept instead of feholdexcept.
29303         (default_libc_feholdexcept_setround): Likewise.
29305 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
29307         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
29308         to avoid using stl/str to align destination.
29310 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
29312         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
29314 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
29316         [BZ #17796]
29317         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
29318         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
29319         Define as weak alias not strong alias.
29321 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
29323         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
29324         bltzal with addiupc.
29325         (RTLD_START): Ditto.
29327 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
29329         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
29330         for __vdso_* functions in declarations.
29331         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
29332         definitions.
29333         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
29334         INTERNAL_VSYSCALL): Use struct return types to check for error.
29336         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
29337         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
29338         function with cast from llround().
29339         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
29340         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
29341         Define.
29343 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
29345         [BZ #17793]
29346         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
29347         Define as weak alias not strong alias.
29349         [BZ #17635]
29350         * ctype/ctype-c99.c: New file.  isblank implementation moved from
29351         ...
29352         * ctype/ctype-extn.c: ... here.
29353         (__isblank_l): Move to ...
29354         * ctype/ctype-c99_l.c: ... here.  New file.
29355         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
29356         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
29357         Remove variable.
29358         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
29359         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
29360         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
29361         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
29362         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
29364         [BZ #17777]
29365         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
29366         (posix_fadvise64): Define as weak alias not strong alias.
29367         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
29368         (posix_fallocate64): Likewise.
29369         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
29370         Remove variable.
29371         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
29372         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
29373         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
29374         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
29375         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
29377 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
29379         [BZ #16191]
29380         * NEWS: Mention bug fix.
29381         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
29382         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
29383         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
29384         (HOST_STACK_END_ADDR): Likewise.
29386 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
29388         [BZ #17748]
29389         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
29390         * math/fegetround.c (fegetround): Rename to __fegetround and
29391         define as weak alias of __fegetround.  Use libm_hidden_weak.
29392         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
29393         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
29394         * sysdeps/arm/fegetround.c (fegetround): Likewise.
29395         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
29396         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
29397         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
29398         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
29399         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
29400         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
29401         Undefine after rather than before function definition; use
29402         parentheses around function name in definition.
29403         (__fegetround): Also undefine macro after function definition.
29404         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
29405         __fegetround and define as weak alias of __fegetround.  Use
29406         libm_hidden_weak.  Do not undefine as macro.
29407         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
29408         Likewise.
29409         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
29410         __fegetround and define as weak alias of __fegetround.  Use
29411         libm_hidden_weak.
29412         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29413         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
29414         * sysdeps/tile/math_private.h (__fegetround): New inline function.
29415         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
29416         __fegetround and define as weak alias of __fegetround.  Use
29417         libm_hidden_weak.
29418         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
29419         __fegetround instead of fegetround.
29421         [BZ #17782]
29422         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
29423         Condition macro definition on [__USE_MISC].
29425         [BZ #17781]
29426         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
29427         (struct sigaction): Change type of sa_flags field to int.
29429         [BZ #17780]
29430         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
29431         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
29432         __glibc_reserved0.
29434         * nptl/version.c (banner): Use single year in copyright notice.
29436         * NEWS: Update copyright dates.
29437         * catgets/gencat.c (print_version): Likewise.
29438         * csu/version.c (banner): Likewise.
29439         * debug/catchsegv.sh: Likewise.
29440         * debug/pcprofiledump.c (print_version): Likewise.
29441         * debug/xtrace.sh (do_version): Likewise.
29442         * elf/ldconfig.c (print_version): Likewise.
29443         * elf/ldd.bash.in: Likewise.
29444         * elf/pldd.c (print_version): Likewise.
29445         * elf/sotruss.sh: Likewise.
29446         * elf/sprof.c (print_version): Likewise.
29447         * iconv/iconv_prog.c (print_version): Likewise.
29448         * iconv/iconvconfig.c (print_version): Likewise.
29449         * locale/programs/locale.c (print_version): Likewise.
29450         * locale/programs/localedef.c (print_version): Likewise.
29451         * login/programs/pt_chown.c (print_version): Likewise.
29452         * malloc/memusage.sh (do_version): Likewise.
29453         * malloc/memusagestat.c (print_version): Likewise.
29454         * malloc/mtrace.pl: Likewise.
29455         * manual/libc.texinfo: Likewise.
29456         * nptl/version.c (banner): Likewise.
29457         * nscd/nscd.c (print_version): Likewise.
29458         * nss/getent.c (print_version): Likewise.
29459         * nss/makedb.c (print_version): Likewise.
29460         * posix/getconf.c (main): Likewise.
29461         * scripts/test-installation.pl: Likewise.
29462         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
29464 2015-01-02  Will Newton  <will.newton@linaro.org>
29466         * sysdeps/arm/armv7/configure: Removed.
29467         * sysdeps/arm/armv7/configure.ac: Likewise.
29469 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
29471         * All files with FSF copyright notices: Update copyright dates
29472         using scripts/update-copyrights.
29473         * intl/plural.c: Regenerated.
29474         * locale/programs/charmap-kw.h: Likewise.
29475         * locale/programs/locfile-kw.h: Likewise.
29477 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29479         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
29481 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
29483         [BZ #17748]
29484         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
29485         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
29486         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
29487         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
29488         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
29489         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
29490         define as weak alias of __fegetenv.  Use libm_hidden_weak.
29491         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
29492         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
29493         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
29494         define as weak alias of __fegetenv.  Use libm_hidden_weak.
29495         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
29496         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
29497         define as weak alias of __fegetenv.  Use libm_hidden_weak.
29498         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
29499         libm_hidden_def.
29500         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
29501         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
29502         Likewise.
29503         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
29504         define as weak alias of __fegetenv.  Use libm_hidden_weak.
29505         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
29506         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
29507         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
29508         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
29509         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
29510         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
29511         __fegetenv instead of fegetenv.
29512         (libc_feholdsetround_noex_ctx): Likewise.
29514 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
29516         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
29517         (Elf_MIPS_ABIFlags_v0): New structure.
29518         (EF_MIPS_FP64): Define.
29519         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
29520         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
29521         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
29522         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
29523         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
29524         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
29525         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
29526         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
29527         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
29528         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
29529         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
29530         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
29531         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
29532         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
29533         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
29534         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
29535         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
29536         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
29537         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
29538         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
29539         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
29540         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
29541         field.
29542         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
29543         EF_MIPS_FP64.
29544         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
29545         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
29546         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
29547         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
29548         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
29549         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
29550         * sysdeps/mips/tst-abi-interlink.c: Likewise.
29551         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
29552         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
29553         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
29554         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
29555         record the current FP ABI extension.
29556         (mips-mode-switch): Define to show if kernel headers support mode
29557         switching.
29558         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
29559         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
29560         supported SYSV ABI version to 3.
29561         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
29562         feature.
29564 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29565             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29567         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
29568         path.
29569         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
29571 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
29573         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
29574         __fegetround and redefine to call __fegetround.  Remove condition
29575         on [!__NO_MATH_INLINES].
29576         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
29577         function.
29578         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
29579         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
29580         Remove macro.
29581         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
29582         instead of <fenv_libc.h>.
29583         (__llrintl): Call fegetround instead of __fegetround.
29584         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
29585         instead of <fenv_libc.h>.
29586         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
29587         (__lrintl): Call fegetround instead of __fegetround.
29588         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
29589         instead of <fenv_libc.h>.
29590         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
29591         (__rintl): Call fegetround instead of __fegetround.
29593 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
29595         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
29596         arrays.
29598 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
29600         [BZ #17775]
29601         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
29602         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
29603         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
29605 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
29607         * sysdeps/i386/tls-macros.h: Include <features.h>.
29608         (TLS_LE): Use non-PIC version for GCC >= 5.0.
29609         (TLS_IE): Likewise.
29610         (TLS_LD): Likewise.
29611         (TLS_GD): Likewise.
29612         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
29613         define for GCC >= 5.0.
29615 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
29617         * math/test-fenv.c (test_single_exception, set_single_exc,
29618         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
29619         feexcp_mask_test, feenable_test, fe_single_test): Add
29620         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
29621         case where they are not used.
29622         * math/libm-test.inc: Likewise.
29623         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
29624         unused in the absence of FP rounding/exception support.
29625         * stdio-common/tst-printf-round.c: Likewise.
29626         * stdlib/tst-strtod-round.c: Likewise.
29627         * stdlib/tst-strtod-underflow.c: Likewise.
29629 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
29631         [BZ #17723]
29632         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
29633         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
29634         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
29635         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
29636         libm_hidden_weak.
29637         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
29638         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
29639         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
29640         libm_hidden_def.
29641         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
29642         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
29643         libm_hidden_weak.
29644         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
29645         Likewise.
29646         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
29647         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
29648         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
29649         libm_hidden_weak.
29650         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
29651         libm_hidden_def.
29652         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
29653         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
29654         (__feraiseexcept): Likewise.
29655         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
29656         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
29657         libm_hidden_weak.
29658         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
29659         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
29660         libm_hidden_def.
29661         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
29662         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
29663         Use libm_hidden_def.
29664         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
29665         libm_hidden_def.
29666         (feraiseexcept): Define as weak not strong alias.  Use
29667         libm_hidden_weak.
29668         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
29669         New inline function.  Factored out of ...
29670         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
29671         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
29672         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
29673         feraiseexcept.
29674         * math/w_acos.c (__acos): Likewise.
29675         * math/w_asin.c (__asin): Likewise.
29676         * math/w_ilogb.c (__ilogb): Likewise.
29677         * math/w_j0.c (y0): Likewise.
29678         * math/w_j1.c (y1): Likewise.
29679         * math/w_jn.c (yn): Likewise.
29680         * math/w_log.c (__log): Likewise.
29681         * math/w_log10.c (__log10): Likewise.
29682         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
29683         * sysdeps/aarch64/fpu/math_private.h
29684         (libc_feupdateenv_test_aarch64): Likewise.
29685         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
29686         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
29687         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
29688         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
29689         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
29690         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
29691         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
29692         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
29693         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29694         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
29696 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
29698         [BZ #17732]
29699         * io/test-utime.c (main): Replace %ld with %jd and cast to
29700         intmax_t.
29701         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
29702         * nptl/tst-mutex5.c: Include <stdint.h>.
29703         (do_test): Replace %ld with %jd and cast to intmax_t.
29704         * posix/tst-regex.c (run_test): Likewise.
29705         (run_test_backwards): Likewise.
29706         * rt/tst-clock.c: Include <stdint.h>.
29707         (clock_test): Replace %ld with %jd and cast to intmax_t.
29708         * rt/tst-cpuclock1.c: Include <stdint.h>.
29709         (do_test): Replace %lu with %ju and cast to uintmax_t.
29710         * rt/tst-cpuclock2.c: Include <stdint.h>.
29711         (do_test): Replace %lu with %ju and cast to uintmax_t.
29712         * rt/tst-mqueue1.c: Include <stdint.h>.
29713         (check_attrs): Replace %ld with %jd and cast to intmax_t.
29714         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
29715         intmax_t.
29716         * rt/tst-mqueue4.c (do_test): Likewise.
29717         * rt/tst-timer4.c: Include <stdint.h>.
29718         (check_ts): Replace %ld with %jd and cast to intmax_t.
29719         (do_test): Likewise.
29720         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
29721         and cast to intmax_t.
29722         * sysdeps/pthread/tst-timer.c (main): Likewise.
29723         * time/clocktest.c (main): Likewise.
29724         * time/tst-posixtz.c (do_test): Likewise.
29725         * timezone/tst-timezone.c (main): Likewise.
29727 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
29728             H.J. Lu  <hongjiu.lu@intel.com>
29730         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
29731         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
29732         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
29733         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
29734         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
29735         version if bit_Fast_Unaligned_Load is set.
29736         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29737         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29738         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29739         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29740         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29741         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29742         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29743         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
29744         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
29745         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
29746         to 4.
29747         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
29748         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
29749         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
29750         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
29752 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
29754         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
29755         instead of #if to avoid a Wundef warning.
29756         * stdlib/tst-limits.c (do_test): Likewise.
29758         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
29759         parallel other exception macros.
29760         (fegetenv): Convert from macro to extern inline so that it applies
29761         retroactively to inline functions already seen by the compiler.
29762         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
29764         * posix/Makefile (before-compile): Use $(objpfx) for
29765         posix-conf-vars-def.h.
29767 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29769         * posix/getconf.c (main): Use size_t for type of I.
29770         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
29771         NSPEC.
29773         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
29774         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
29775         * posix/posix-envs.def: Likewise.
29776         * sysdeps/posix/sysconf.c: Likewise.
29777         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
29778         (specs): Remove array.
29779         * scripts/gen-posix-conf-vars.awk: Support generation of specs
29780         array.
29782         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
29783         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
29784         (__sysconf): Use CONF_IS_* macros.
29786         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
29787         ($(objpfx)posix-conf-vars-def.h): New target.
29788         * posix/posix-conf-vars.list: New file.
29789         * posix/posix-conf-vars.h: New file.
29790         * posix/confstr.c: Include posix-conf-vars.h.
29791         (confstr): Use CONF_IS_* macros.
29792         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
29793         CONF_IS_* macros.
29794         * scripts/gen-posix-conf-vars.awk: New file.
29796 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
29798         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
29799         fegetround): Add no-op macros to avoid linknamespace issues.
29801         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
29802         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
29804         * sysdeps/unix/sysv/linux/tile/sysdep.h
29805         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
29806         assembly-specific section to avoid a redefinition warning.
29808         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
29809         long before casting to pointer to avoid a cast warning.
29811 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
29813         * sysdeps/tile/tilegx/Implies: New file.
29815 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
29817         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
29819 2014-12-23  Florian Weimer  <fweimer@redhat.com>
29821         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
29823 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
29825         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
29826         not define.
29827         * sysdeps/unix/sysv/linux/utimes.c: Do not include
29828         <kernel-features.h>.
29829         (__utimes) [__NR_utimes]: Make code unconditional.
29830         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
29831         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29832         (__ASSUME_UTIMES): Do not undefine.
29833         * sysdeps/unix/sysv/linux/tile/kernel-features.h
29834         (__ASSUME_UTIMES): Likewise.
29835         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29836         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
29837         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
29838         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
29840 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
29842         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
29844 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
29846         [BZ #17747]
29847         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
29848         alias to weak alias for j0l, y0l.
29849         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
29850         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
29852         [BZ #17746]
29853         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
29854         conversion.
29856 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
29858         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
29859         to zero if not already defined.
29861 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
29863         [BZ #17724]
29864         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
29865         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
29866         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
29867         (char *) casts added.
29868         * sysdeps/ieee754/k_standardf.c: New file.
29869         * sysdeps/ieee754/k_standardl.c: Likewise.
29870         * math/Makefile (libm-support): Remove k_standard.
29871         (libm-calls): Add k_standard.
29873 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
29875         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
29876         Optimize to avoid an unnecessary FPCR read.
29878 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
29880         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
29881         Optimize to reduce FPCR/FPSR accesses.
29883 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
29885         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
29886         Call libc_fetestexcept_aarch64.
29888 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
29890         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
29891         Call libc_fesetround_aarch64.
29893 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
29895         [BZ #17733]
29896         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
29897         (__bind): Do not define as weak alias.
29898         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
29899         define.
29900         (__getsockname): Do not define as weak alias.
29902 2014-12-22  Will Newton  <will.newton@linaro.org>
29904         * manual/install.texi: Document that we require bison 2.7
29905         or above.
29906         * INSTALL: Regenerate.
29907         * configure.ac: Use AC_CHECK_PROG_VER instead of
29908         AC_PATH_PROG when checking for bison and check for
29909         version 2.7 or above.
29910         * configure: Regenerate.
29912 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
29914         [BZ #17745]
29915         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
29916         * sysdeps/tile/ffsll.c (ffsll): To here.
29918         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
29920 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
29922         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
29923         if not defined.
29924         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
29925         definition.
29926         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
29927         hidden ___tls_get_addr.
29928         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
29929         hidden __tls_get_addr.
29930         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
29931         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
29932         Likewise.
29934 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
29936         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
29937         _dl_init call.
29939 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
29941         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
29942         from "call _dl_init@PLT".
29943         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
29945 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
29947         * manual/search.texi: (Array Sort Function): Clarify stable sorting
29948         guarantees.
29950 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
29952         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
29954 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
29956         [BZ #17744]
29957         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
29958         strnlen.
29960 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
29962         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
29963         of multu on MIPSr6.
29964         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
29965         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
29966         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
29967         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
29968         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
29970 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
29972         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
29973         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
29974         (PTR_SUBU): Use subu for mips32r6/mips64r6.
29975         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
29976         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
29977         mips32r6/mips64r6.
29978         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
29980 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
29982         * string/strncat.c (STRNCAT): Simplify implementation.
29984 2014-12-19  David S. Miller  <davem@davemloft.net>
29986         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
29987         access the quad as both a long double and as a series of 4 words.
29989         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
29990         link_map->l_info array access.
29992 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
29994         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
29996         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
29997         * math/atest-exp2.c (TIMEOUT): Likewise.
29998         * math/atest-sincos.c (TIMEOUT): Likewise.
30000 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
30002         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
30003         -Wno-error with -fno-builtin-lround.
30005 2014-12-19  Torvald Riegel  <triegel@redhat.com>
30007         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
30008         Contains futex constants and functions moved over from ...
30009         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
30010         <lowlevellock-futex.h>.
30011         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
30012         (lll_timedwait_tid): Add comments and parentheses around macro
30013         arguments.
30015 2014-12-19  Torvald Riegel  <triegel@redhat.com>
30017         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
30018         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
30019         (__lll_private_flag): Remove.
30020         (lll_futex_wait): Likewise.
30021         (lll_futex_timed_wait): Likewise.
30022         (lll_futex_wake): Likewise.
30023         (lll_futex_requeue): Likewise.
30024         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
30025         (__lll_timedwait_tid): Spell out argument names.
30026         (lll_timedwait_tid): Add comments and parentheses around macro
30027         arguments.
30028         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
30029         LLL_SHARED and LLL_PRIVATE usable from assembly code.
30031 2014-12-19  Torvald Riegel  <triegel@redhat.com>
30033         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
30034         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
30035         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30036         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
30037         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
30038         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
30039         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
30040         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
30041         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
30042         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
30043         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
30044         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
30045         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
30046         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
30047         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
30048         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
30049         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
30050         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
30051         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
30053 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
30055         * sysdeps/x86_64/x32/Makefile: New file.
30057 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
30059         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
30060         1L with (mp_limb_t) 1.
30062 2014-12-17  Roland McGrath  <roland@hack.frob.com>
30064         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
30065         * nptl/libc_pthread_init.c: ... here.
30066         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
30067         * nptl/register-atfork.c: ... here.
30069         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
30070         Use pthread_sigmask rather than INTERNAL_SYSCALL.
30071         Use assert_perror to check its return value.
30072         (__gai_create_helper_thread): Likewise.
30074         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
30076         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
30078 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
30080         [BZ #17725]
30081         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
30082         __profil_counter.
30083         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
30084         Likewise.
30085         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
30086         Likewise.
30087         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
30088         Likewise.
30089         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
30090         (profil_counter): Likewise.
30091         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
30092         (profil_counter): Likewise.
30093         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
30094         Likewise.
30095         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
30096         Likewise.
30097         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
30098         (profil_counter): Likewise.
30099         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
30100         Likewise.
30101         [!__profil_counter] (profil_counter): Define as weak alias of
30102         __profil_counter.
30103         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
30104         (profil_counter): Rename to __profil_counter.
30105         [!__profil_counter] (profil_counter): Define as weak alias of
30106         __profil_counter.
30107         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
30108         (profil_counter): Rename to __profil_counter.
30109         [!__profil_counter] (profil_counter): Define as weak alias of
30110         __profil_counter.
30111         * sysdeps/posix/profil.c: Update comment referring to
30112         profil_counter.
30113         (__profil): Use __profil_counter instead of profil_counter.
30114         * sysdeps/posix/sprofil.c (profil_counter): Rename to
30115         __profil_counter.  Use __profil_counter_ushort and
30116         __profil_counter_uint in definitions.
30117         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
30118         instead of profil_counter_uint and profil_counter_ushort.
30120         [BZ #17722]
30121         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
30122         define as weak alias of __inet_makeaddr.
30123         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
30124         as weak alias of __inet_addr.
30125         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
30126         as weak alias of __inet_pton.  Use libc_hidden_weak.
30127         * include/arpa/inet.h (__inet_pton): Declare.  Use
30128         libc_hidden_proto.
30129         (inet_makeaddr): Don't use libc_hidden_proto.
30130         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
30131         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
30132         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
30133         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
30134         Remove variable.
30135         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
30136         (test-xfail-POSIX/time.h/linknamespace): Likewise.
30138 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
30140         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
30142 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
30144         * stdio-common/bug-vfprintf-nargs.c (do_test):
30145         Cast value to intptr_t to avoid format warning
30146         for usage with PRIdPTR printing macro.
30148 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
30150         * libio/tst-widetext.c (do_test):
30151         Use format type %td instead of %Zd for ptrdiff_t
30152         in order to avoid format warning.
30154 2014-12-17  Andreas Schwab  <schwab@suse.de>
30156         * nscd/mem.c (gc): Add size_t cast to match printf format.
30158 2014-12-16  Roland McGrath  <roland@hack.frob.com>
30160         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
30161         (init): Apply PTR_MANGLE to pointers before storing them.
30162         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
30163         before using them.
30165 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
30167         [BZ #17719]
30168         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
30169         define as weak alias of __memrchr.
30170         (__memrchr): Do not define as strong alias of memrchr.
30171         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
30172         Remove variable.
30173         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
30174         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
30175         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
30177         [BZ #17717]
30178         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
30179         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
30180         (if_indextoname): Rename to __if_indextoname and define as weak
30181         alias of __if_indextoname.  Use libc_hidden_weak.
30182         (if_freenameindex): Rename to __if_freenameindex and define as
30183         weak alias of __if_freenameindex.
30184         (if_nameindex): Rename to __if_nameindex and define as weak alias
30185         of __if_nameindex.
30186         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
30187         __if_nametoindex and define as weak alias of __if_nametoindex.
30188         Use libc_hidden_weak.
30189         (if_freenameindex): Rename to __if_freenameindex and define as
30190         weak alias of __if_freenameindex.
30191         (if_nameindex): Rename to __if_nameindex and define as weak alias
30192         of __if_nameindex.
30193         (if_indextoname): Rename to __if_indextoname and define as weak
30194         alias of __if_indextoname.  Use libc_hidden_weak.
30195         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
30196         __if_nametoindex and define as weak alias of __if_nametoindex.
30197         Use libc_hidden_weak.
30198         (if_freenameindex): Rename to __if_freenameindex and define as
30199         weak alias of __if_freenameindex.  Use libc_hidden_weak.
30200         (if_nameindex_netlink): Use __if_freenameindex instead of
30201         if_freenameindex.
30202         (if_nameindex): Rename to __if_nameindex and define as weak alias
30203         of __if_nameindex.  Use libc_hidden_weak.
30204         (if_indextoname): Rename to __if_indextoname and define as weak
30205         alias of __if_indextoname.  Use libc_hidden_weak.
30206         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
30207         libc_hidden_proto.
30208         [!_ISOMAC] (__if_freenameindex): Likewise.
30209         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
30210         if_nametoindex.
30211         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
30212         variable.
30213         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
30214         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
30215         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
30216         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
30217         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
30218         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
30219         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
30221         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
30222         Remove variable.
30223         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
30224         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
30226 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30228         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
30229         subscript above bounds'
30231         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
30232         bounds.
30234 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
30236         * libio/tst-fopenloc.c: Use test-skeleton.c.
30238         * stdlib/tst-bsearch.c: Use test-skeleton.c.
30239         (entry): Rename to ITEM.
30240         (do_test, comp): Adjust.
30242         * stdio-common/tst-fseek.c: Use test-skeleton.c.
30244 2014-12-16  Torvald Riegel  <triegel@redhat.com>
30246         * string/tester.c: Include <libc-internal.h>.
30247         (test_memset): Ignore -Wmemset-transposed-args.
30249 2014-12-16  Torvald Riegel  <triegel@redhat.com>
30251         * misc/tst-mntent2.c (do_test): Fix warning.
30253 2014-12-16  Torvald Riegel  <triegel@redhat.com>
30255         * elf/tst-unique4lib.cc(a): Mark as used.
30257 2014-12-16  Florian Weimer  <fweimer@redhat.com>
30259         [BZ #17630]
30260         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
30261         names.
30263 2014-12-16  Allan McRae  <allan@archlinux.org>
30265         * stdio-common/Makefile (tests): Re-add bug26.
30267 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
30269         [BZ #17657]
30270         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
30271         static array.
30273 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
30275         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
30276         (__lll_lock_wait): Likewise.
30277         (__lll_timedlock_wait): Likewise.
30278         (__lll_timedwait_tid): Likewise.
30279         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
30280         (__lll_robust_timedlock_wait): Likewise.
30281         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
30282         (lll_cond_trylock): Likewise.
30283         (__lll_lock): Likewise.
30284         (__lll_robust_lock): Likewise.
30285         (__lll_cond_lock): Likewise.
30286         (lll_robust_cond_lock): Likewise.
30287         (__lll_timedlock): Likewise.
30288         (__lll_robust_timedlock): Likewise.
30289         (__lll_unlock): Likewise.
30290         (__lll_robust_unlock): Likewise.
30291         (lll_wait_tid): Likewise.
30292         (lll_timedwait_tid): Likewise.
30294 2014-12-15  Torvald Riegel  <triegel@redhat.com>
30296         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
30298 2014-12-15  Torvald Riegel  <triegel@redhat.com>
30300         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
30302 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
30304         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
30305         * stdio-common/tst-sprintf.c: Likewise.
30307 2014-12-15  Torvald Riegel  <triegel@redhat.com>
30309         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
30311 2014-12-15  Jeff Law  <law@redhat.com>
30313         [BZ #16617]
30314         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
30315         on the heap.  (CVE-2012-3406)
30316         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
30317         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
30318         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
30320 2014-12-15  Will Newton  <will.newton@linaro.org>
30322         * manual/install.texi: Bump required version of texinfo
30323         to 4.7 from 4.5.
30324         * INSTALL: Regenerated.
30325         * configure.ac: Check for makeinfo version 4.7 and above.
30326         * configure: Regenerated.
30328 2014-12-12  Roland McGrath  <roland@hack.frob.com>
30330         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
30331         PREFIX, string constant to insert between directory and name.
30332         * sysdeps/posix/shm_open.c: Update caller.
30333         * sysdeps/posix/shm_unlink.c: Likewise.
30334         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
30335         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
30336         (SEM_SHM_PREFIX): New macro.
30337         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
30338         [$(have-thread-library) = no].
30339         * nptl/Makefile (libpthread-routines): Add shm-directory.
30340         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
30341         * sysdeps/nptl/shm-directory.h: New file.
30342         * sysdeps/posix/shm-directory.c
30343         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
30344         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
30345         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
30346         INTERNAL_SYSCALL.
30347         (__where_is_shmfs): Function removed.
30348         (mountpoint, defaultmount, defaultdir, __namedsem_once):
30349         Variables removed.
30350         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
30351         Use SHM_GET_NAME.
30352         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
30354         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
30355         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
30356         unconditional for use inside libpthread.
30357         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
30359 2014-12-12  Roland McGrath  <roland@hack.frob.com>
30361         * nptl/pthread_getaffinity.c: New file.
30362         * nptl/pthread_setaffinity.c: New file.
30363         * nptl/pthread_getname.c: New file.
30364         * nptl/pthread_setname.c: New file.
30366         * nptl/pthread_create.c (START_THREAD_DEFN)
30367         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
30369 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
30370             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30372         * resolv/res_send.c (send_vc): Disable warning resplen may
30373         be used uninitialized.
30375 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
30377         * nptl/tst-mutex6.c
30378         (ATTR_NULL): New define checks ATTR against NULL.
30379         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
30380         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
30382 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
30384         [BZ #17581]
30385         * malloc/hooks.c
30386         (mem2mem_check): Revert my previous change.
30387         (malloc_check_get_size): Revert my previous change.
30388         (mem2chunk_check): Revert my previous change.
30390 2014-12-11  Roland McGrath  <roland@hack.frob.com>
30392         * sysdeps/posix/shm-directory.c: New file.
30393         * sysdeps/posix/shm-directory.h: New file.
30394         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
30395         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
30396         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
30397         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
30398         Transmute EPERM to EACCES.
30399         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
30400         from ...
30401         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
30402         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
30404 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30406         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
30407         pointer and cast to uintptr_t.
30408         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
30409         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
30410         Add cast to avoid warning.
30411         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
30413 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
30415         * nptl/semaphore.h: Move to ...
30416         * sysdeps/pthread/semaphore.h: ... here.
30417         * Makefile (installed-headers): Change nptl/semaphore.h to
30418         sysdeps/pthread/semaphore.h.
30420 2014-12-11  Roland McGrath  <roland@hack.frob.com>
30422         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
30423         generated error format strings.
30425         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
30426         -Wformat-extra-args warnings for scanf formats.
30427         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
30428         test of zero-length format (duh).
30429         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
30430         corner-case scanf format test.
30431         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
30432         generated fprintf format string.
30433         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
30434         corner-case sprintf format tests.
30435         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
30436         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
30437         -Wformat-extra-args warnings throughout.
30438         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
30439         (CFLAGS-scanf4.c): Likewise.
30440         (CFLAGS-scanf7.c): Likewise.
30441         (CFLAGS-tst-sprintf.c): Likewise.
30442         (CFLAGS-tst-printf.c): Likewise.
30443         (CFLAGS-tst-printfsz.c): Likewise.
30445 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
30447         * include/cpio.h: New file.
30448         * include/fmtmsg.h: Likewise.
30450         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
30451         corresponding format argument to size_t.
30452         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
30453         arguments.
30454         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
30455         corresponding format argument to size_t.
30456         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
30457         arguments.
30458         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
30459         corresponding format argument to size_t.
30460         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
30461         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
30462         (CFLAGS-tst-mbswcs2.c): Likewise.
30463         (CFLAGS-tst-mbswcs3.c): Likewise.
30464         (CFLAGS-tst-mbswcs4.c): Likewise.
30465         (CFLAGS-tst-mbswcs5.c): Likewise.
30466         (CFLAGS-tst-trans.c): Likewise.
30468 2014-12-11  Roland McGrath  <roland@hack.frob.com>
30470         * posix/regexbug1.c (main): Use "%s" format with regerror results,
30471         rather than assuming they won't contain any '%'s.
30473 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
30475         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
30476         inhibit_loop_to_libcall to avoid recursive calls.
30477         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
30478         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
30480 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
30482         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
30483         prototype.
30485 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
30487         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
30488         integer value instead of boolean.
30490 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
30492         * malloc/malloc.c: Fix powerof2 check.
30494 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
30496         * locale/programs/locfile.h (maybe_swap_uint32):
30497         Remove inline and add unused attribute.
30499 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
30501         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
30502         Truncating assembler expression to a .long expression.
30504 2014-12-11  Andreas Schwab  <schwab@suse.de>
30506         * elf/rtld.c (struct map_args): Constify str member.
30507         (do_preload): Constify fname argument.
30509 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30511         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
30512         constants definition.
30514 2014-12-11  Andreas Schwab  <schwab@suse.de>
30516         [BZ #16657]
30517         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
30518         FORCE_ELISION instead of DO_ELISION.
30519         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
30520         Remove.
30521         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
30522         Likewise.
30524         * iconvdata/gconv-modules: Remove duplicate entry.
30526 2014-12-11  Will Newton  <will.newton@linaro.org>
30528         Merge gettext 0.19.3 into intl/.
30530         This involves a number of cosmetic changes to comments
30531         and ANSI function definitions and prototypes throughout
30532         all the files. The gettext copyright header is used but
30533         with the date ranges taken from the glibc copy.
30535         * NEWS: Add gettext merge to 2.21.
30536         * intl/bindtextdom.c: Switch to gettext copyright.
30537         Use ANSI definitions and prototypes.
30538         Use gl_* locking primitives rather than __libc_* ones.
30539         Use __builtin_expect rather than __glibc_likely/unlikely.
30540         * intl/dcgettext.c: Switch to gettext copyright.
30541         Use ANSI definitions and prototypes.
30542         * intl/dcigettext.c: Switch to gettext copyright.
30543         Use ANSI definitions and prototypes.
30544         (INTDIV0_RAISES_SIGFPE): New define.
30545         Use gl_* locking primitives rather than __libc_* ones.
30546         Include eval-plural.h instead of plural-eval.c.
30547         Use __builtin_expect rather than __glibc_likely/unlikely.
30548         * intl/dcngettext.c: Switch to gettext copyright.
30549         Use ANSI definitions and prototypes.
30550         * intl/dgettext.c: Likewise.
30551         * intl/dngettext.c: Likewise.
30552         * intl/plural-eval.c: Renamed to...
30553         * intl/eval-plural.h: ...this.
30554         * intl/explodename.c: Switch to gettext copyright.
30555         Use ANSI definitions and prototypes.
30556         (_nl_explode_name): Use strchr instead of __rawmemchr.
30557         * intl/finddomain.c: Switch to gettext copyright.
30558         Use ANSI definitions and prototypes.
30559         Use gl_* locking primitives rather than __libc_* ones.
30560         (_nl_find_domain): Use malloc rather than alloca for
30561         allocation of temporary locale name.
30562         * intl/gettext.c: Switch to gettext copyright.
30563         Use ANSI definitions and prototypes.
30564         * intl/gettextP.h: Switch to gettext copyright.
30565         Use ANSI definitions and prototypes.
30566         Use gl_* locking primitives rather than __libc_* ones.
30567         * intl/gmo.h: Switch to gettext copyright.
30568         (struct sysdep_string): Move struct segment_pair outside of
30569         struct definition.
30570         * intl/hash-string.c: Use ANSI definitions and prototypes.
30571         * intl/hash-string.h: Switch to gettext copyright.
30572         Use ANSI definitions and prototypes.
30573         * intl/l10nflist.c: Switch to gettext copyright.
30574         Use ANSI definitions and prototypes.
30575         (_nl_normalize_codeset): Avoid integer overflow.
30576         * intl/loadinfo.h: Switch to gettext copyright.
30577         Use ANSI definitions and prototypes.
30578         (LIBINTL_DLL_EXPORTED): New define.
30579         (PATH_SEPARATOR): New define.
30580         * intl/loadmsgcat.c: Switch to gettext copyright.
30581         * intl/localealias.c: Switch to gettext copyright.
30582         Use ANSI definitions and prototypes.
30583         (_nl_expand_alias): Use PATH_SEPARATOR.
30584         * intl/ngettext.c: Switch to gettext copyright.
30585         Use ANSI definitions and prototypes.
30586         * intl/plural-exp.c: Likewise.
30587         * intl/plural-exp.h: Switch to gettext copyright.
30588         Use ANSI definitions and prototypes.
30589         (struct expression): Move definition of enum operator outside
30590         of struct definition.
30591         * intl/plural.c: Regenerate.
30592         * intl/plural.y: Switch to gettext copyright.
30593         Use ANSI definitions and prototypes.
30594         Port to bison 3.0.
30595         * intl/textdomain.c: Switch to gettext copyright.
30596         Use ANSI definitions and prototypes.
30597         Use gl_* locking primitives rather than __libc_* ones.
30599 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
30601         * debug/warning-nop.c: Add used atrribute.
30603 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
30605         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
30607         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
30608         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
30609         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
30611 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
30612             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30614         [BZ #17634]
30615         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
30616         Undefine after defining function.  Define as weak alias of
30617         __wcschr.  Use libc_hidden_weak.
30618         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
30619         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
30620         (libc_hidden_def): Also define __GI___wcschr alias.
30621         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
30622         __wcschr and define as weak alias of __wcschr.
30623         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
30624         __wcschr.
30625         [!WCSCHR] (DEFAULT_WCSCHR): Define.
30626         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
30627         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
30628         libc_hidden_weak.  Do not use libc_hidden_def.
30629         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
30630         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
30631         __GI___wcschr alias.
30632         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
30633         [IS_IN (libc)] (wcschr): Define as macro expanding to
30634         __redirect_wcschr.
30635         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
30636         [IS_IN (libc)] (__wcschr_power6): Likewise.
30637         [IS_IN (libc)] (__wcschr_power7): Likewise.
30638         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
30639         instead of wcschr.
30640         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
30641         __libc_wcschr.
30642         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
30643         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
30644         __wcschr and define as weak alias of __wcschr.  Use
30645         libc_hidden_builtin_def.
30646         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
30647         as weak alias of __wcschr.  Use libc_hidden_weak.
30648         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
30649         wcschr.
30650         * time/era.c (_nl_init_era_entries): Likewise.
30651         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
30652         variable.
30653         (test-xfail-XPG3/time.h/linknamespace): Likewise.
30654         (test-xfail-XPG4/time.h/linknamespace): Likewise.
30656 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
30658         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
30659         format for long int variable.
30661 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
30663         [BZ #10672]
30664         * manual/search.texi: (Array Sort Function): Remove claim how to make
30665         qsort stable.
30667 2014-12-10  Andreas Schwab  <schwab@suse.de>
30669         [BZ #12847]
30670         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
30671         user-controlled locks.
30673 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
30675         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
30676         register.
30678 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
30680         * configure.ac (--disable-werror): New configure option.
30681         (enable_werror): New AC_SUBST.
30682         * configure: Regenerated.
30683         * config.make.in (enable-werror): New variable.
30684         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
30685         -Wno-error=undef.
30686         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
30687         * manual/install.texi (Configuring and compiling): Document
30688         --disable-werror.
30689         * INSTALL: Regenerated.
30690         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
30691         (CFLAGS-tst-chk2.c): Likewise.
30692         (CFLAGS-tst-chk3.c): Likewise.
30693         (CFLAGS-tst-chk4.cc): Likewise.
30694         (CFLAGS-tst-chk5.cc): Likewise.
30695         (CFLAGS-tst-chk6.cc): Likewise.
30696         (CFLAGS-tst-lfschk1.c): Likewise.
30697         (CFLAGS-tst-lfschk2.c): Likewise.
30698         (CFLAGS-tst-lfschk3.c): Likewise.
30699         (CFLAGS-tst-lfschk4.cc): Likewise.
30700         (CFLAGS-tst-lfschk5.cc): Likewise.
30701         (CFLAGS-tst-lfschk6.cc): Likewise.
30703         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
30704         (main): Disable -Wdeprecated-declarations around calls to
30705         register_printf_function.
30707         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
30708         (do_test): Disable -Wdiv-by-zero around some calls to
30709         fwrite_unlocked and fread_unlocked.
30711         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
30712         (DIAG_POP_NEEDS_COMMENT): Likewise.
30713         (_DIAG_STR1): Likewise.
30714         (_DIAG_STR): Likewise.
30715         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
30716         * stdio-common/bug21.c: Include <libc-internal.h>.
30717         (do_test): Disable -Wformat around call to sscanf.
30718         * stdio-common/scanf14.c: Include <libc-internal.h>.
30719         (main): Disable -Wformat around some calls to scanf functions.
30721 2014-12-09  Torvald Riegel  <triegel@redhat.com>
30723         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
30725 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30727         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
30728         stack variable alignment.
30730 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
30732         [BZ #17682]
30733         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
30734         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
30735         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
30736         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
30737         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
30738         __getrlimit instead of getrlimit.
30739         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
30740         __gettimeofday instead of gettimeofday.
30741         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
30742         Likewise.
30743         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
30744         Likewise.
30745         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
30746         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
30747         Remove variable.
30748         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
30749         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
30751 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30753         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
30754         for wide-character tests.
30756 2014-12-04  Roland McGrath  <roland@hack.frob.com>
30758         * io/openat64.c: #include <libc-internal.h>
30759         (__openat64): Prototypify.  Use ignore_value on MODE.
30760         * io/openat.c: Likewise.
30761         * misc/reboot.c: #include <libc-internal.h>
30762         (reboot): Prototypify.  Use ignore_value on HOWTO.
30763         * misc/ptrace.c: #include <libc-internal.h>
30764         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
30766 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
30768         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
30769         XPG4, UNIX98 and XOPEN2K.
30770         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
30771         Remove variable.
30772         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
30774 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30776         * libio/fileops.c: Use ISO C style for function definitions.
30777         * libio/iofopen.c: Likewise.
30778         * libio/wfileops.c: Likewise.
30780         [BZ #17653]
30781         * libio/fileops.c (_IO_new_file_underflow): Unset cached
30782         offset on EOF.
30783         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
30784         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
30785         (fgets_func): Function pointer to fgets and fgetws.
30786         (do_ftell_test): Add test to verify ftell value after read
30787         EOF.
30788         (do_test): Set fgets_func.
30790         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
30791         O_TRUNC flag for w and w+ modes.
30792         (do_rewind_test): Likewise.
30793         (do_ftell_test): Likewise.
30794         (do_write_test): Likewise.
30796         [BZ #17647]
30797         * libio/fileops.c (do_ftell): Seek only when there are
30798         unflushed writes.
30799         * libio/wfileops.c (do_ftell_wide): Likewise.
30800         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
30801         test case.
30802         (do_one_test): Call it.
30804 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
30806         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
30807         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
30808         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
30809         Remove variable.
30810         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
30811         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
30812         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
30814 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
30816         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
30817         Remove variable.
30818         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
30820         [BZ #17668]
30821         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
30822         as weak alias of __getifaddrs.  Use libc_hidden_weak.
30823         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
30824         __freeifaddrs.  Use libc_hidden_weak.
30825         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
30826         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
30827         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
30828         __freeifaddrs.  Use libc_hidden_weak.
30829         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
30830         __getifaddrs and define as weak alias of __getifaddrs.  Use
30831         libc_hidden_weak.
30832         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
30833         __freeifaddrs.  Use libc_hidden_weak.
30834         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
30835         Remove variable.
30836         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
30837         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
30839 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
30841         [BZ #17601]
30842         * sysdeps/mips/start.S (__start): Use indirect jump to call
30843         __libc_start_main.
30845 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
30847         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
30849         * nptl/tst-mutex1.c: Include <stdbool.h>.
30850         [!ATTR] (ATTR_NULL): New macro.
30851         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
30852         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
30853         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
30855         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
30856         to char *.
30858         [BZ #17665]
30859         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
30860         Change conditional to [__USE_MISC].
30862         [BZ #17664]
30863         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
30864         fgets_unlocked.
30865         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
30866         __fgets_unlocked.
30867         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
30868         fgets_unlocked.
30869         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
30870         Remove variable.
30871         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
30872         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
30873         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
30874         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
30875         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
30876         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
30877         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
30878         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
30879         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
30881         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
30883 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30885         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30886         Remove strpbrk objects.
30887         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30888         (__libc_ifunc_impl_list): Remove strpbrk implementation.
30889         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
30890         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
30891         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
30892         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
30894         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30895         Remove strcspn objects.
30896         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30897         (__libc_ifunc_impl_list): Remove strcspn implementation.
30898         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
30899         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
30900         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
30901         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
30903         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30904         Remove strspn objetcs.
30905         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30906         (__libc_ifunc_impl_list): Remove strspn implementation.
30907         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
30908         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
30909         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
30910         * sysdeps/powerpc/powerpc64/strspn.S: New file.
30912 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
30914         [BZ #17581]
30915         * malloc/hooks.c
30916         (mem2mem_check): Add a terminator to the chain of checking blocks.
30917         (malloc_check_get_size): Use it here.
30918         (mem2chunk_check): Ditto.
30920 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30922         * sysdeps/powerpc/powerpc64/strtok.S: New file.
30923         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
30925 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
30927         * bits/ioctl-types.h: Indent preprocessor directives correctly.
30929         * nptl/nptl-init.c: Include libc-internal.h.
30930         (__pthread_initialize_minimal_internal): Use ROUND_UP.
30932         * elf/ldconfig.c (search_dir): Expand comment.
30934 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
30936         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
30937         variable.
30938         (linknamespace-symlist-stdlibs-tests): Likewise.
30939         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
30940         instead of $(objpfx)symlist-stdlibs.
30941         (linknamespace-libs-isoc): New variable.
30942         (linknamespace-libs): Use $(linknamespace-libs-isoc).
30943         (linknamespace-libs-ISO): New variable.
30944         (linknamespace-libs-ISO99): Likewise.
30945         (linknamespace-libs-ISO11): Likewise.
30946         (linknamespace-libs-XPG3): Likewise.
30947         (linknamespace-libs-XPG4): Likewise.
30948         (linknamespace-libs-POSIX): Likewise.
30949         (linknamespace-libs-UNIX98): Likewise.
30950         (linknamespace-libs-XOPEN2K): Likewise.
30951         (linknamespace-libs-POSIX2008): Likewise.
30952         (linknamespace-libs-XOPEN2K8): Likewise.
30953         ($(objpfx)symlist-stdlibs): Replace by
30954         $(linknamespace-symlist-stdlibs-tests).  Use
30955         $(linknamespace-libs-$*) as set of libraries.
30956         ($(linknamespace-header-tests)): Update dependencies.  Use
30957         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
30958         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
30959         * conform/linknamespace.pl: Remove comment about considering
30960         definitions of symbols from irrelevant libraries.
30962 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
30964         [BZ #13862]
30965         * elf/dl-tls.c: Include <atomic.h>.
30966         (oom): Remove #ifdef SHARED/#endif.
30967         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
30968         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
30969         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
30970         big enough.
30971         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
30972         * nptl/Makefile (tests): Add tst-stack4.
30973         (modules-names): Add tst-stack4mod.
30974         ($(objpfx)tst-stack4): New.
30975         (tst-stack4mod.sos): Likewise.
30976         ($(objpfx)tst-stack4.out): Likewise.
30977         ($(tst-stack4mod.sos)): Likewise.
30978         (clean): Likewise.
30979         * nptl/tst-stack4.c: New file.
30980         * nptl/tst-stack4mod.c: Likewise.
30982 2014-11-27  J. Brown  <jb999@gmx.de>
30984         * sysdeps/x86/bits/string.h: Add recent CPUs.
30986 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
30988         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
30989         sigblock.
30991         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
30992         feof.
30994         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
30995         variable.
30997 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
30999         * nscd/connections.c: Include libc-internal.h because of macro
31000         usage ignore_value.
31002 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31004         * string/bits/string3.h (__warn_memset_zero_len): Don't
31005         declare for gcc newer than 5.0.
31006         (memset): Don't test for zero-length __LEN for gcc newer than
31007         5.0.
31009 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
31011         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
31012         size_t for %zu format.
31014         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
31015         difference, not %ju.
31017 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
31019         * include/libc-internal.h (ignore_value): New macro.
31020         * nscd/connections.c (restart): Wrap calls to setuid and setgid
31021         with ignore_value.
31023         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
31024         definition.
31026         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
31027         pthread_cleanup_push to void *.
31029         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
31030         Undefine.
31032         [BZ #16619]
31033         [BZ #16740]
31034         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
31035         instead of 1L << 52.
31037         * libio/bug-rewind.c (do_test): Check fwscanf return values.
31038         * libio/bug-rewind2.c (do_test): Likewise.
31040         * debug/test-stpcpy_chk-ifunc.c: Remove file.
31041         * debug/test-strcpy_chk-ifunc.c: Likewise.
31042         * wcsmbs/test-wcschr-ifunc.c: Likewise.
31043         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
31044         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
31045         * wcsmbs/test-wcslen-ifunc.c: Likewise.
31046         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
31047         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
31048         * Rules [$(multi-arch) = no] (tests): Do not filter out
31049         $(tests-ifunc).
31050         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
31051         * debug/Makefile (tests-ifunc): Remove variable.
31052         (tests): Do not add $(tests-ifunc).
31053         * wcsmbs/Makefile (tests-ifunc): Remove variable.
31054         (tests): Do not add $(tests-ifunc).
31055         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
31056         [TEST_IFUNC]: Remove conditionals.
31057         * string/test-string.h (TEST_IFUNC): Remove macro.
31058         [TEST_IFUNC]: Remove conditionals.
31060         * string/test-strchr.c [!WIDE] (L): New macro.
31061         [WIDE] (L): Likewise.
31062         (check1): Use CHAR instead of char.  Use L on string and character
31063         constants.
31065 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
31067         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
31068         tests.
31069         * sysdeps/powerpc/bits/atomic.h
31070         (__arch_atomic_exchange_and_add_32_acq): Add definition.
31071         (__arch_atomic_exchange_and_add_32_rel): Likewise.
31072         (atomic_exchange_and_add_acq): Likewise.
31073         (atomic_exchange_and_add_rel): Likewise.
31074         * sysdeps/powerpc/powerpc32/bits/atomic.h
31075         (__arch_atomic_exchange_and_add_64_acq): Add definition.
31076         (__arch_atomic_exchange_and_add_64_rel): Likewise.
31077         * sysdeps/powerpc/powerpc64/bits/atomic.h
31078         (__arch_atomic_exchange_and_add_64_acq): Add definition.
31079         (__arch_atomic_exchange_and_add_64_rel): Likewise.
31081 2014-11-26  Torvald Riegel  <triegel@redhat.com>
31083         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
31084         Change synchronization of __sched_fifo_min_prio and
31085         __sched_fifo_max_prio.
31086         * nptl/pthread_mutexattr_getprioceiling.c
31087         (pthread_mutexattr_getprioceiling): Likewise.
31088         * nptl/pthread_mutexattr_setprioceiling.c
31089         (pthread_mutexattr_setprioceiling): Likewise.
31090         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
31091         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
31092         Likewise.
31094 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
31096         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
31097         void.
31099 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
31101         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
31102         third argument const.
31104 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
31106         fnmatch: work around GCC compiler warning bug with uninit var
31107         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
31108         This works around a bug with x86-64 GCC 4.9.2 and earlier
31109         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
31110         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
31111         used uninitialized in this function [-Wmaybe-uninitialized]".
31113 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
31115         * posix/bug-regex31.c (main): Return RES not 0.
31117 2014-11-25  Anton Blanchard <anton@samba.org>
31119         * sysdeps/powerpc/bits/atomic.h
31120         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
31122 2014-11-24  Sterling Augustine  <saugustine@google.com>
31124         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
31126 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
31128         [BZ #17608]
31129         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
31131 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
31133         [BZ #17633]
31134         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
31135         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
31136         variable.
31137         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
31138         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
31140 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
31142         * string/strncpy.c (strncpy): Improve performance by using memset.
31144 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
31146         * string/strcpy.c (strcpy):
31147         Improve performance by using strlen and memcpy.
31149 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
31151         * string/strcoll_l.c (get_next_seq): __always_inline.
31152         * string/strcoll_l.c (do_compare): __always_inline.
31154 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31156         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
31157         defined.
31158         * include/mqueue.h: Likewise.
31159         * include/stdlib.h: Likewise.
31161         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
31162         (get_null_defines): Adjust.
31163         * sunrpc/Makefile: Adjust comment.
31164         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
31165         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
31166         (CFLAGS-interp.c): Likewise.
31167         (CFLAGS-ldconfig.c): Likewise.
31168         (CPPFLAGS-.os): Likewise.
31169         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31170         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
31171         * extra-modules.mk (extra-modules.mk): Likewise.
31172         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
31173         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
31174         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
31175         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
31176         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
31177         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
31178         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
31179         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
31180         * iconvdata/Makefile (CPPFLAGS): Likewise.
31181         (cpp-srcs-left): Add libof for all iconvdata routines.
31182         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
31183         * include/assert.h: Likewise.
31184         * include/ctype.h: Likewise.
31185         * include/errno.h: Likewise.
31186         * include/libc-symbols.h: Likewise.
31187         * include/math.h: Likewise.
31188         * include/netdb.h: Likewise.
31189         * include/resolv.h: Likewise.
31190         * include/stdio.h: Likewise.
31191         * include/stdlib.h: Likewise.
31192         * include/string.h: Likewise.
31193         * include/sys/stat.h: Likewise.
31194         * include/wctype.h: Likewise.
31195         * intl/l10nflist.c: Likewise.
31196         * libidn/idn-stub.c: Likewise.
31197         * libio/libioP.h: Likewise.
31198         * nptl/libc_multiple_threads.c: Likewise.
31199         * nptl/pthreadP.h: Likewise.
31200         * posix/regex_internal.h: Likewise.
31201         * resolv/res_hconf.c: Likewise.
31202         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
31203         * sysdeps/arm/memmove.S: Likewise.
31204         * sysdeps/arm/sysdep.h: Likewise.
31205         * sysdeps/generic/_itoa.h: Likewise.
31206         * sysdeps/generic/symbol-hacks.h: Likewise.
31207         * sysdeps/gnu/errlist.awk: Likewise.
31208         * sysdeps/gnu/errlist.c: Likewise.
31209         * sysdeps/i386/i586/memcpy.S: Likewise.
31210         * sysdeps/i386/i586/memset.S: Likewise.
31211         * sysdeps/i386/i686/memcpy.S: Likewise.
31212         * sysdeps/i386/i686/memmove.S: Likewise.
31213         * sysdeps/i386/i686/mempcpy.S: Likewise.
31214         * sysdeps/i386/i686/memset.S: Likewise.
31215         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
31216         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31217         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
31218         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
31219         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31220         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31221         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
31222         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31223         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31224         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31225         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31226         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31227         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31228         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31229         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31230         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31231         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
31232         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
31233         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
31234         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31235         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31236         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31237         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31238         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31239         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31240         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31241         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
31242         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31243         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
31244         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
31245         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31246         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31247         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31248         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31249         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31250         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
31251         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31252         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31253         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31254         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31255         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31256         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31257         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31258         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
31259         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31260         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31261         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
31262         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
31263         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31264         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
31265         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31266         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
31267         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
31268         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31269         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
31270         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
31271         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31272         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
31273         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
31274         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31275         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
31276         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31277         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
31278         * sysdeps/nptl/bits/libc-lock.h: Likewise.
31279         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
31280         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
31281         * sysdeps/posix/closedir.c: Likewise.
31282         * sysdeps/posix/opendir.c: Likewise.
31283         * sysdeps/posix/readdir.c: Likewise.
31284         * sysdeps/posix/rewinddir.c: Likewise.
31285         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
31286         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
31287         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
31288         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
31289         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
31290         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
31291         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
31292         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
31293         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
31294         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
31295         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
31296         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
31297         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
31298         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
31299         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
31300         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
31301         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
31302         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
31303         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
31304         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
31305         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
31306         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
31307         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
31308         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
31309         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
31310         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
31311         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
31312         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
31313         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
31314         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
31315         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
31316         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
31317         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
31318         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
31319         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
31320         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
31321         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
31322         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
31323         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
31324         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
31325         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
31326         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
31327         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
31328         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
31329         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
31330         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
31331         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
31332         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
31333         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
31334         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
31335         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
31336         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
31337         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
31338         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
31339         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
31340         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
31341         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
31342         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
31343         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
31344         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
31345         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
31346         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
31347         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
31348         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
31349         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
31350         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
31351         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
31352         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
31353         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
31354         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
31355         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
31356         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
31357         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
31358         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
31359         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
31360         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
31361         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
31362         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
31363         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
31364         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
31365         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
31366         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
31367         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
31368         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
31369         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
31370         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
31371         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
31372         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
31373         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
31374         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31375         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
31376         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
31377         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
31378         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
31379         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31380         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
31381         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
31382         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31383         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
31384         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
31385         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31386         * sysdeps/unix/alpha/sysdep.S: Likewise.
31387         * sysdeps/unix/alpha/sysdep.h: Likewise.
31388         * sysdeps/unix/make-syscalls.sh: Likewise.
31389         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
31390         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
31391         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
31392         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
31393         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
31394         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
31395         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
31396         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
31397         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
31398         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
31399         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
31400         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
31401         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31402         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
31403         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
31404         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
31405         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
31406         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
31407         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
31408         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
31409         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
31410         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
31411         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
31412         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
31413         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
31414         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
31415         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
31416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
31417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
31418         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
31419         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
31420         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
31421         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
31422         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31423         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
31424         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
31425         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
31426         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31427         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
31428         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
31429         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31430         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
31431         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31432         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
31433         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
31434         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
31435         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31436         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31437         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
31438         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31439         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
31440         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
31441         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
31442         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
31443         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
31444         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
31445         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
31446         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31447         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
31448         * sysdeps/x86_64/memcpy.S: Likewise.
31449         * sysdeps/x86_64/memmove.c: Likewise.
31450         * sysdeps/x86_64/memset.S: Likewise.
31451         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
31452         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31453         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
31454         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
31455         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
31456         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31457         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31458         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
31459         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
31460         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
31461         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
31462         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
31463         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
31464         * sysdeps/x86_64/multiarch/memset.S: Likewise.
31465         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31466         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
31467         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
31468         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
31469         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
31470         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
31471         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
31472         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31473         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31474         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
31475         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
31476         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
31477         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31478         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
31479         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31480         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
31481         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
31482         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
31483         * sysdeps/x86_64/strcmp.S: Likewise.
31485         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
31487         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
31488         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
31489         * elf/rtld-Rules: Likewise.
31490         * elf/setup-vdso.h: Likewise.
31491         * include/assert.h: Likewise.
31492         * include/bits/stdlib-float.h: Likewise.
31493         * include/errno.h: Likewise.
31494         * include/sys/stat.h: Likewise.
31495         * include/unistd.h: Likewise.
31496         * sysdeps/aarch64/setjmp.S: Likewise.
31497         * sysdeps/alpha/setjmp.S: Likewise.
31498         * sysdeps/arm/__longjmp.S: Likewise.
31499         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
31500         * sysdeps/arm/setjmp.S: Likewise.
31501         * sysdeps/arm/sysdep.h: Likewise.
31502         * sysdeps/generic/_itoa.h: Likewise.
31503         * sysdeps/generic/dl-sysdep.h: Likewise.
31504         * sysdeps/generic/ldsodefs.h: Likewise.
31505         * sysdeps/i386/dl-tls.h: Likewise.
31506         * sysdeps/i386/setjmp.S: Likewise.
31507         * sysdeps/m68k/setjmp.c: Likewise.
31508         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
31509         * sysdeps/mach/hurd/opendir.c: Likewise.
31510         * sysdeps/posix/getcwd.c: Likewise.
31511         * sysdeps/posix/opendir.c: Likewise.
31512         * sysdeps/posix/profil.c: Likewise.
31513         * sysdeps/powerpc/dl-procinfo.h: Likewise.
31514         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31515         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31516         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
31517         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
31518         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
31519         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
31520         * sysdeps/s390/dl-tls.h: Likewise.
31521         * sysdeps/s390/s390-32/setjmp.S: Likewise.
31522         * sysdeps/s390/s390-64/setjmp.S: Likewise.
31523         * sysdeps/sh/sh3/setjmp.S: Likewise.
31524         * sysdeps/sh/sh4/setjmp.S: Likewise.
31525         * sysdeps/unix/alpha/sysdep.h: Likewise.
31526         * sysdeps/unix/arm/sysdep.S: Likewise.
31527         * sysdeps/unix/i386/sysdep.S: Likewise.
31528         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
31529         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
31530         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
31531         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
31532         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31533         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
31534         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
31535         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
31536         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
31537         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
31538         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
31539         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
31540         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
31541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31543         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
31544         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31545         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31546         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31547         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31548         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
31549         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31550         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31551         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
31552         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
31553         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
31554         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31555         * sysdeps/unix/x86_64/sysdep.S: Likewise.
31556         * sysdeps/x86_64/setjmp.S: Likewise.
31558         * include/math.h: Use IS_IN instead of IS_IN_libm.
31559         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
31560         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31561         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
31562         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
31563         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31564         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
31565         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
31566         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31567         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31568         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
31569         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
31570         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
31571         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
31572         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
31573         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
31574         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
31575         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
31576         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
31577         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
31578         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
31579         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
31580         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
31581         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
31582         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
31583         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
31584         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
31585         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
31586         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
31587         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
31588         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
31589         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
31590         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
31591         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
31592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
31593         Likewise.
31594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
31595         Likewise.
31596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
31597         Likewise.
31598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
31599         Likewise.
31600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
31601         Likewise.
31602         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
31603         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
31604         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
31605         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31606         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31607         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31608         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
31609         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
31610         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
31611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
31612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
31613         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
31614         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
31615         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
31616         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
31617         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31618         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
31619         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
31620         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31621         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
31622         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
31623         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
31624         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
31625         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
31626         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
31627         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31628         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
31630         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
31631         * nptl/pthreadP.h: Likewise.
31632         * nptl_db/structs.def: Likewise.
31633         * sysdeps/arm/sysdep.h: Likewise.
31634         * sysdeps/nptl/bits/libc-lock.h: Likewise.
31635         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
31636         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
31637         * sysdeps/unix/alpha/sysdep.h: Likewise.
31638         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
31639         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
31640         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
31641         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
31642         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
31643         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
31644         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31645         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
31646         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
31647         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
31648         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
31649         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
31650         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
31651         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
31652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
31653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
31654         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
31655         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
31656         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
31657         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
31658         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
31659         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
31660         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
31661         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
31662         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
31663         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
31665         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
31666         * nptl/pthreadP.h: Likewise.
31667         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
31668         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
31669         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
31670         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
31671         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
31672         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
31673         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
31674         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
31675         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
31676         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
31677         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
31678         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
31679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
31680         Likewise.
31681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
31682         Likewise.
31683         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
31684         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
31685         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
31686         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
31687         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
31688         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
31689         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
31690         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
31692         * dlfcn/dladdr.c: Use IS_IN.
31693         * dlfcn/dladdr1.c: Likewise.
31694         * dlfcn/dlclose.c: Likewise.
31695         * dlfcn/dlerror.c: Likewise.
31696         * dlfcn/dlinfo.c: Likewise.
31697         * dlfcn/dlmopen.c: Likewise.
31698         * dlfcn/dlopen.c: Likewise.
31699         * dlfcn/dlsym.c: Likewise.
31700         * dlfcn/dlvsym.c: Likewise.
31702         * include/ifaddrs.h: Use IS_IN.
31703         * inet/check_pf.c: Likewise.
31704         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31705         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
31707         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
31708         IS_IN_ldconfig.
31709         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
31710         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
31712         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
31713         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
31714         IS_IN (libc).
31716         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
31718         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
31719         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31720         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
31721         * include/libc-symbols.h (IS_IN_LIB): New macro.
31722         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
31723         * include/netdb.h: Likewise.
31724         * include/stap-probe.h: Remove all uses of IN_LIB.
31726         * Makeconfig (module-cppflags-real): Define MODULE_NAME
31727         instead of IN_MODULE.
31728         * include/libc-symbols.h (IN_MODULE): Define using
31729         MODULE_NAME.
31730         (PASTE_NAME, PASTE_NAME1): New macros.
31731         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
31732         of IN_LIB.
31733         (STAP_PROBE_ASM): Likewise.
31735 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31737         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
31738         __mach_init in dlopened libc.
31740 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
31742         * sysdeps/arm/preconfigure.ac: Delete EABI check.
31743         * sysdeps/arm/preconfigure: Regenerate.
31745 2014-11-21  Roland McGrath  <roland@hack.frob.com>
31747         * nptl/pthread_create.c (__pthread_create_2_1): Set
31748         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
31749         when copying values from IATTR into PD.
31751 2014-11-21  Will Newton  <will.newton@linaro.org>
31752             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
31754         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
31755         Refactor inline-asm.  Also add comment.
31757         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
31758         ElfW macro instead of hardcoded Elf64 types.
31759         (la_aarch64_gnu_pltenter): Likewise.
31760         * sysdeps/aarch64/dl-machine.h
31761         (elf_machine_runtime_setup): Use ElfW(Addr).
31763         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
31764         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
31765         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
31766         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
31767         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
31768         (R_AARCH64_TLS_DTPMOD64): Rename to ..
31769         (R_AARCH64_TLS_DTPMOD): This.
31770         (R_AARCH64_TLS_DTPREL64): Rename to ...
31771         (R_AARCH64_TLS_DTPREL): This.
31772         (R_AARCH64_TLS_TPREL64): Rename to ...
31773         (R_AARCH64_TLS_TPREL): This.
31774         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
31775         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
31776         R_AARCH64_TLS_TPREL64.
31777         (elf_machine_rela): Likewise.
31779 2014-11-21  Torvald Riegel  <triegel@redhat.com>
31781         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
31782         by setting it to 0.  64b atomics are not supported currently.
31784 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
31786         [BZ #16469]
31787         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
31788         search domain names.
31790 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
31792         [BZ #16469]
31793         * NEWS: Update.
31794         * resolv/res_query.c (__libc_res_nquerydomain): Retain
31795         trailing dot.
31796         * posix/tst-getaddrinfo5.c: New.
31797         * posix/Makefile (tests): Add it.
31799 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
31801         [BZ #14498]
31802         * NEWS: Fixed.
31803         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
31804         after parsing line but before break_if_match.
31805         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
31806         if there is a protocol mismatch.
31808 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
31810         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
31811         because the potential race is on the user-supplied stream.
31813 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
31815         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
31816         string literal if not passed a buffer.
31817         * manual/job.texi (ctermid): Update reasoning, note deviation
31818         from posix, suggest mtasurace when not passed a buffer, for
31819         future non-preliminary safety notes.
31821 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
31823         * manual/users.texi (cuserid): Fix MT-Safety note for the case
31824         of not passing it a buffer.
31825         Reported by Peng Haitao.
31827 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
31829         * manual/Makefile ($(objpfx)stamp-summary): Require
31830         check-safety.sh to pass.
31831         * manual/check-safety.sh: Wish for verification that every
31832         @deftypefn and @deftypefun is followed by a @safety remark.
31834 2014-11-20  Roland McGrath  <roland@hack.frob.com>
31836         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
31838         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
31839         PTHREAD_CANCEL_ASYNCHRONOUS.
31840         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
31841         send SIGCANCEL.
31843         * nptl/default-sched.h: New file.
31844         * sysdeps/unix/sysv/linux/default-sched.h: New file.
31845         * nptl/pthread_create.c: Include it.
31846         (__pthread_create_2_1): Use collect_default_sched instead of making
31847         Linux syscalls here directly.
31849 2014-11-20  Torvald Riegel  <triegel@redhat.com>
31851         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
31852         __pthread_once): Use C11 atomics.
31854 2014-11-20  Torvald Riegel  <triegel@redhat.com>
31856         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
31858 2014-11-20  Torvald Riegel  <triegel@redhat.com>
31860         * include/atomic.h (__atomic_link_error, __atomic_check_size,
31861         atomic_thread_fence_acquire, atomic_thread_fence_release,
31862         atomic_thread_fence_seq_cst, atomic_load_relaxed,
31863         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
31864         atomic_compare_exchange_weak_relaxed,
31865         atomic_compare_exchange_weak_acquire,
31866         atomic_compare_exchange_weak_release,
31867         atomic_exchange_acquire, atomic_exchange_release,
31868         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
31869         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
31870         atomic_fetch_and_acquire,
31871         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
31873 2014-11-20  Torvald Riegel  <triegel@redhat.com>
31875         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
31876         USE_ATOMIC_COMPILER_BUILTINS): Define.
31877         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
31878         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31879         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
31880         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31881         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
31882         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31883         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
31884         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31885         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
31886         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31887         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
31888         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31889         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
31890         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31891         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
31892         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31893         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
31894         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31895         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
31896         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31897         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
31898         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31899         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
31900         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31901         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
31902         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31903         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
31904         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31905         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
31906         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31907         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
31908         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31909         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
31910         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31911         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
31912         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31913         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
31914         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31915         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
31916         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
31918 2014-11-19  Roland McGrath  <roland@hack.frob.com>
31920         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
31921         the sched_priority value here.  It was already checked when the user
31922         called pthread_attr_setschedparam.
31924         * nptl/tst-bad-schedattr.c: New file.
31925         * nptl/Makefile (tests): Add it.
31927 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
31928             Florian Weimer  <fweimer@redhat.com>
31929             Joseph Myers  <joseph@codesourcery.com>
31930             Adam Conrad  <adconrad@0c3.net>
31931             Andreas Schwab  <schwab@suse.de>
31932             Brooks  <bmoses@google.com>
31934         [BZ #17625]
31935         * wordexp-test.c (__dso_handle): Add prototype.
31936         (__register_atfork): Likewise.
31937         (__app_register_atfork): New function.
31938         (registered_forks): New global.
31939         (register_fork): New function.
31940         (test_case): Add 3 new tests for WRDE_CMDSUB.
31941         (main): Call __app_register_atfork.
31942         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
31943         fork count is non-zero fail the test.
31944         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
31945         is set.
31946         (parse_dollars): Remove check for WRDE_NOCMD.
31947         (parse_dquote): Likewise.
31949 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31951         * Makeconfig (built-modules): List non-library modules to be
31952         built.
31953         (module-cppflags): Include libc-modules.h for
31954         everything except shlib-versions.v.i.
31955         (CPPFLAGS): Use it.
31956         (before-compile): Add libc-modules.h.
31957         ($(common-objpfx)libc-modules.h,
31958         $(common-objpfx)libc-modules.stmp): New targets.
31959         (common-generated): Add libc-modules.h and libc-modules.stmp.
31960         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
31961         * include/libc-symbols.h: Don't include libc-modules.h.
31962         * include/libc-modules.h: Remove file.
31963         * scripts/gen-libc-modules.awk: New script to generate
31964         libc-modules.h.
31965         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
31966         Depend on libc-modules.stmp.
31968         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
31970         * Makeconfig (in-module): Get value of libof set for the
31971         translation unit.
31972         (CPPFLAGS): Use $(in-module).
31973         * Makerules: Don't suffix routine names for nonlib.
31974         * include/libc-modules.h: New file.
31975         * include/libc-symbols.h: Include libc-modules.h
31976         (IS_IN): New macro to replace IS_IN_* macros.
31977         * elf/Makefile: Set libof-* for each routine.
31978         * elf/rtld-Rules: Likewise.
31979         * extra-modules.mk: Likewise.
31980         * iconv/Makefile: Likewise.
31981         * iconvdata/Makefile: Likewise.
31982         * locale/Makefile: Likewise.
31983         * malloc/Makefile: Likewise.
31984         * nss/Makefile: Likewise.
31985         * sysdeps/gnu/Makefile: Likewise.
31986         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
31987         * sysdeps/unix/sysv/linux/Makefile: Likewise.
31988         * sysdeps/s390/s390-64/Makefile: Likewise.
31989         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
31990         CPPFLAGS for nscd instead of nonlib.
31992 2014-11-18  Roland McGrath  <roland@hack.frob.com>
31994         * nptl/createthread.c: New file.
31996         * nptl/createthread.c: Moved ...
31997         * sysdeps/unix/sysv/linux/createthread.c: ... here.
31999         * nptl/createthread.c: Add proper top-line comment.
32000         (do_clone): Folded into ...
32001         (create_thread): ... here.  Take new arguments STOPPED_START and
32002         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
32003         increment __nptl_threads, do event-reporting logic, do
32004         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
32005         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
32006         resource cleanup if sched_setaffinity or sched_setscheduler fails,
32007         just send SIGCANCEL.
32008         * nptl/pthread_create.c: Forward-declare create_thread before
32009         including createthread.c.
32010         (start_thread): Use new macro START_THREAD_DEFN to replace defining
32011         declaration, and new macro START_THREAD_SELF to replace argument.
32012         Remove return statement.
32013         (report_thread_creation): New function.
32014         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
32015         synchronization logic, and __nptl_nthreads increment here, around
32016         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
32017         PD->parent_cancelhandling here, before create_thread.  When
32018         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
32019         __deallocate_stack, and ENOMEM translation here.
32021 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
32023         [BZ #17616]
32024         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
32025         (mptwo): Rename to __mptwo.
32026         (__inv): Use __mptwo instead of mptwo.
32027         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
32028         (mptwo): Rename to __mptwo.
32029         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
32030         of mpone and __mptwo instead of mptwo.
32031         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
32032         instead of mpone.
32033         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32034         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
32035         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
32036         of mpone and __mptwo instead of mptwo.
32037         (__mpranred): Use __mpone instead of mpone.
32038         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
32039         variable.
32040         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
32041         (test-xfail-ISO99/math.h/linknamespace): Likewise.
32042         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
32043         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
32044         (test-xfail-ISO11/math.h/linknamespace): Likewise.
32045         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
32046         (test-xfail-XPG3/math.h/linknamespace): Likewise.
32047         (test-xfail-XPG4/math.h/linknamespace): Likewise.
32048         (test-xfail-POSIX/math.h/linknamespace): Likewise.
32049         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
32050         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
32051         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
32052         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
32053         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
32054         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
32055         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
32056         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
32057         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
32058         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
32060 2014-11-18  Tom de Vries  <tom@codesoucery.com>
32062         * manual/signal.texi (Primitives Interrupted by Signals): In section,
32063         replace BSD Handler xref with BSD Signal Handling.
32065 2014-11-17  Richard Henderson  <rth@redhat.com>
32067         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
32068         (_FP_PACK_RAW_2): Remove.
32069         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
32070         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
32071         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
32072         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
32073         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
32074         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
32075         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
32076         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
32077         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
32078         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
32079         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
32080         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
32081         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
32082         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
32083         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
32084         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
32086 2014-11-14  Roland McGrath  <roland@hack.frob.com>
32088         * signal/signal.h [__USE_MISC]
32089         (struct sigvec): Remove type.
32090         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
32091         (sigvec): Remove declaration.
32092         * sysdeps/posix/sigvec.c: Moved ...
32093         * signal/sigvec.c: ... here, replacing old file.
32094         (struct sigvec): New type, copied from old signal.h definition.
32095         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
32096         (__sigvec): Convert definition to prototype.
32097         (sigvec): Replace weak_alias with compat_symbol.
32098         * signal/Versions (libc: GLIBC_2.21): New version set.
32099         * include/signal.h: Remove __sigvec declaration.
32100         * sysdeps/unix/bsd/sigvec.c: Remove file.
32101         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
32102         * manual/signal.texi (BSD Handler): Remove subsection.
32103         Move siginterrupt up to ...
32104         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
32105         (Blocking in BSD): Fold subsection into its parent.
32106         * NEWS: Mention sigvec removal.
32108 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
32110         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
32111         (DLA_FMS): Make definition conditional only on [__FMA4__].
32112         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
32113         definition.
32115         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
32116         Make definition conditional only on [PROF].
32117         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
32118         definition.
32119         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
32120         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
32122         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
32123         !__GNUC__].
32124         * include/signal.h (__sigpause): Move declaration above call to
32125         libc_hidden_proto.
32126         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
32127         variable.
32128         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
32129         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
32131 2014-11-14  David S. Miller  <davem@davemloft.net>
32133         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
32134         Define before including <string/memcpy.c> and <string/mempcpy.c>.
32136 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
32138         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
32139         * configure: Regenerated.
32140         * manual/install.texi (Tools for Compilation): Document a
32141         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
32142         compiler verified to work.
32143         * INSTALL: Regenerated.
32145         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
32146         redeclare with asm name.
32147         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
32148         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
32149         including <string.h>.
32150         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
32151         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
32152         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
32153         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
32154         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
32155         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
32156         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
32158 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
32160         * stdlib/strtol.c (__strtol): Use prototype definition.
32162         [BZ #17594]
32163         * stdlib/strtol.c (SYM__): New macro.
32164         (SYM__1): Likewise.
32165         (__strtol): Likewise.
32166         (strtol): Rename to __strtol and define as weak alias of
32167         __strtol.  Use libc_hidden_weak.
32169 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32171         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
32172         Use numbered labels in inline assembly.
32174 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32176         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
32177         Add setjmp LIBC_PROBE.
32178         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
32179         Likewise.
32180         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
32181         Add longjmp, longjmp_target LIBC_PROBE.
32182         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
32183         Likewise.
32185 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32187         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
32188         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
32189         to get rid of unused variable warning.
32191 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32193         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
32194         Check for unwind_backtrace ==  NULL only in SHARED case.
32195         (__backchain_backtrace): Compile only in SHARED case.
32196         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
32197         Likewise.
32198         (__backchain_backtrace): Declare as static.
32200 2014-11-12  Roland McGrath  <roland@hack.frob.com>
32202         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
32203         (__libc_multiple_threads_ptr): Variable moved ...
32204         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
32206 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
32208         * conform/GlibcConform.pm: New file.
32209         * conform/conformtest.pl: Use GlibcConform module.
32210         * conform/linknamespace.pl: New file.
32211         * conform/list-header-symbols.pl: Likewise.
32212         * conform/Makefile (linknamespace-symlists-base): New variable.
32213         (linknamespace-symlists-tests): Likewise.
32214         (linknamespace-header-base): Likewise.
32215         (linknamespace-header-tests): Likewise.
32216         (tests-special): Add new tests.
32217         ($(linknamespace-symlists-tests)): New rule.
32218         (linknamespace-libs): New variable.
32219         ($(objpfx)symlist-stdlibs): New rule.
32220         ($(linknamespace-header-tests)): Likewise.
32221         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
32222         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
32223         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
32224         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
32225         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
32226         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
32227         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
32228         (test-xfail-ISO/math.h/linknamespace): Likewise.
32229         (test-xfail-ISO/signal.h/linknamespace): Likewise.
32230         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
32231         (test-xfail-ISO/time.h/linknamespace): Likewise.
32232         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
32233         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
32234         (test-xfail-ISO99/math.h/linknamespace): Likewise.
32235         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
32236         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
32237         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
32238         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
32239         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
32240         (test-xfail-ISO11/math.h/linknamespace): Likewise.
32241         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
32242         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
32243         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
32244         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
32245         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
32246         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
32247         (test-xfail-XPG3/math.h/linknamespace): Likewise.
32248         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
32249         (test-xfail-XPG3/search.h/linknamespace): Likewise.
32250         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
32251         (test-xfail-XPG3/time.h/linknamespace): Likewise.
32252         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
32253         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
32254         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
32255         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
32256         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
32257         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
32258         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
32259         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
32260         (test-xfail-XPG4/math.h/linknamespace): Likewise.
32261         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
32262         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
32263         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
32264         (test-xfail-XPG4/search.h/linknamespace): Likewise.
32265         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
32266         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
32267         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
32268         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
32269         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
32270         (test-xfail-XPG4/time.h/linknamespace): Likewise.
32271         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
32272         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
32273         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
32274         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
32275         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
32276         (test-xfail-POSIX/math.h/linknamespace): Likewise.
32277         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
32278         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
32279         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
32280         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
32281         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
32282         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
32283         (test-xfail-POSIX/time.h/linknamespace): Likewise.
32284         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
32285         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
32286         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
32287         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
32288         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
32289         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
32290         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
32291         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
32292         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
32293         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
32294         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
32295         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
32296         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
32297         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
32298         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
32299         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
32300         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
32301         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
32302         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
32303         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
32304         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
32305         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
32306         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
32307         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
32308         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
32309         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
32310         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
32311         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
32312         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
32313         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
32314         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
32315         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
32316         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
32317         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
32318         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
32319         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
32320         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
32321         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
32322         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
32323         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
32324         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
32325         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
32326         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
32327         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
32328         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
32329         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
32330         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
32331         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
32332         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
32333         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
32334         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
32335         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
32336         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
32337         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
32338         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
32339         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
32340         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
32341         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
32342         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
32343         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
32344         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
32345         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
32346         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
32347         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
32348         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
32349         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
32350         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
32351         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
32352         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
32353         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
32354         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
32355         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
32356         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
32357         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
32358         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
32359         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
32360         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
32361         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
32362         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
32363         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
32364         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
32365         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
32366         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
32367         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
32368         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
32369         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
32370         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
32371         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
32372         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
32373         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
32374         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
32375         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
32376         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
32377         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
32378         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
32379         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
32380         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
32381         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
32383         [BZ #17589]
32384         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
32385         of fgets_unlocked.
32387         [BZ #17585]
32388         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
32389         (memmem): Rename to __memmem and define as weak alias of
32390         __memmem.  Use libc_hidden_weak.
32391         (__memmem): Use libc_hidden_def.
32392         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
32393         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
32394         memmem.
32396         [BZ #17582]
32397         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
32398         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
32399         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
32400         and define as weak alias of __fgets_unlocked.  Use
32401         libc_hidden_weak.
32402         (__fgets_unlocked): Use libc_hidden_def.
32403         * include/stdio.h (__fgets_unlocked): Declare.  Use
32404         libc_hidden_proto.
32405         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
32406         __fgets_unlocked instead of fgets_unlocked.
32407         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
32408         (GET_NPROCS_CONF_PARSER): Likewise.
32409         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
32410         (GET_NPROCS_CONF_PARSER): Likewise.
32412         [BZ #17574]
32413         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
32414         weak alias of __wmemset.  Use libc_hidden_weak.
32415         (__wmemset): Use libc_hidden_def.
32416         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
32417         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
32418         of wmemset.
32420         [BZ #17573]
32421         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
32422         with asm name __mempcpy.
32423         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
32425         [BZ #17572]
32426         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
32427         and define as weak alias of __rawmemchr.
32428         (__rawmemchr): Do not define as strong alias of rawmemchr.
32430         [BZ #17571]
32431         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
32432         alias of __qsort_r.
32433         (qsort): Call __qsort_r instead of qsort_r.
32434         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
32435         (__qsort_r): Declare.  Call libc_hidden_proto.
32436         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
32437         instead of qsort_r.
32438         * nscd/gai.c (__qsort_r): Define to qsort_r.
32439         * posix/tst-rfc3484.c (__qsort_r): Likewise.
32440         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
32441         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
32443         [BZ #17570]
32444         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
32445         define as weak alias of __malloc_info.
32447         [BZ #17584]
32448         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
32449         as weak alias of __rewinddir.  Don't use libc_hidden_def.
32450         (__rewinddir): Use libc_hidden_def.
32451         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
32452         as weak alias of __rewinddir.  Don't use libc_hidden_def.
32453         (__rewinddir): Use libc_hidden_def.
32454         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
32455         weak alias of __rewinddir.  Don't use libc_hidden_def.
32456         (__rewinddir): Use libc_hidden_def.
32457         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
32458         (__rewinddir): Use libc_hidden_proto.
32459         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
32460         rewinddir.
32461         (__getcwd): Use __rewinddir instead of rewinddir.
32463         [BZ #17583]
32464         * libio/fileno.c (fileno): Rename to __fileno and define as weak
32465         alias of __fileno.  Use libc_hidden_weak.
32466         (__fileno): Use libc_hidden_def.
32467         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
32468         * libio/ftello.c (ftello): Rename to __ftello and define as weak
32469         alias of __ftello.
32470         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
32471         __ftello.
32472         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
32473         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
32474         libc_hidden_def.
32475         (fread_unlocked): Don't use libc_hidden_ver.
32476         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
32477         and define as weak alias of __fread_unlocked.  Don't use
32478         libc_hidden_def.
32479         (__fread_unlocked): Use libc_hidden_def.
32480         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
32481         (ftello): Don't use libc_hidden_proto.
32482         (__ftello): Declare.  Use libc_hidden_proto.
32483         (fread_unlocked): Don't use libc_hidden_proto.
32484         (__fread_unlocked): Declare.  Use libc_hidden_proto.
32485         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
32486         and __ftello instead of fileno, fread_unlocked and ftello.
32488 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32490         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
32491         GOT12.
32492         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
32493         Likewise.
32494         (_dl_start_user): Likewise.
32495         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
32497 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
32498             Siddhesh Poyarekar  <siddhesh@redhat.com>
32500         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
32501         Move argv and envp down instead of moving argc up.
32502         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
32504 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
32506         [BZ #17506]
32507         * test-skeleton.c (main): Return successful if one of
32508         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
32509         * string/tst-strcoll-overflow.c: Define expected status.
32511 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
32513         [BZ #17475]
32514         * locale/iso-639.def: Define Bhili and Tulu language codes.
32516 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
32518         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
32520 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
32522         [BZ #17555]
32523         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
32525 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
32527         * configure.ac: Updated check of minimal required version to
32528         2.22.
32529         * manual/install.texi (Tools for Compilation): Updated version
32530         number.
32531         * configure: Regenerated.
32532         * INSTALL: Likewise.
32534 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
32536         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
32537         __tls_get_addr.
32539 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
32541         * include/sys/wait.h (__libc_waitpid): Remove declaration.
32542         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
32543         (__waitpid): Don't define as alias.  Use libc_hidden_def not
32544         libc_hidden_weak.
32545         (waitpid): Define as alias of __waitpid.
32546         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
32547         __waitpid.
32548         (__waitpid): Don't define as alias.  Use libc_hidden_def not
32549         libc_hidden_weak.
32550         (waitpid): Define as alias of __waitpid.
32551         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
32552         __libc_waitpid alias.
32553         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
32554         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
32555         Likewise.
32556         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
32557         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
32558         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
32559         alias.
32560         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
32561         __waitpid.
32562         (__waitpid): Don't define as alias.  Use libc_hidden_def not
32563         libc_hidden_weak.
32564         (waitpid): Define as alias of __waitpid.
32566 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
32568         * manual/llio.texi: Add comment that write safety has been
32569         fixed in Linux.
32571         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
32572         (localplt-build-dso): Add elf/ld.so.
32573         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
32574         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
32575         and free for ld.so.
32576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
32577         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
32578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
32579         Likewise.
32580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
32581         Likewise.
32582         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
32583         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
32584         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
32585         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
32586         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
32587         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
32588         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
32589         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
32590         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
32591         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
32592         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
32594 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
32596         [BZ #14132]
32597         * include/libc-symbols.h (INTUSE): Remove macro.
32598         (INTDEF): Likewise.
32599         (INTVARDEF): Likewise.
32600         (_INTVARDEF): Likewise.
32601         (INTDEF2): Likewise.
32602         (INTVARDEF2): Likewise.
32603         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
32604         rtld_hidden_def instead of INTVARDEF.
32605         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
32606         (_dl_starting_up_internal): Remove declaration.
32607         (_dl_starting_up): Use rtld_hidden_proto.
32608         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
32609         declaration.
32610         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
32611         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
32612         _dl_starting_up.
32613         * elf/dl-writev.h (_dl_writev): Likewise.
32614         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
32615         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
32616         _dl_starting_up_internal.
32618 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32620         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
32621         test-skeleton.c.
32623 2014-11-05  Will Newton  <will.newton@linaro.org>
32625         * benchtests/Makefile: (bench-malloc): Add malloc thread
32626         scalability benchmark.
32627         * benchtests/bench-malloc-threads.c: New file.
32629 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
32631         * sysdeps/aarch64/strchrnul.S: New file.
32633 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32635         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
32636         definition.
32637         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
32638         Likewise.
32639         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
32640         Likewise.
32641         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
32642         Likewise.
32643         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
32644         Likewise.
32645         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
32646         Likewise.
32648 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
32650         * catgets/test-gencat.c: Use test-skeleton.c.
32651         * catgets/tst-catgets.c: Likewise.
32652         * csu/tst-empty.c: Likewise.
32653         * elf/tst-audit2.c: Likewise.
32654         * elf/tst-global1.c: Likewise.
32655         * elf/tst-pathopt.c: Likewise.
32656         * elf/tst-piemod1.c: Likewise.
32657         * elf/tst-tls10.c: Likewise.
32658         * elf/tst-tls11.c: Likewise.
32659         * elf/tst-tls12.c: Likewise.
32660         * gnulib/tst-gcc.c: Likewise.
32661         * iconvdata/tst-e2big.c: Likewise.
32662         * iconvdata/tst-loading.c: Likewise.
32663         * iconv/tst-iconv1.c: Likewise.
32664         * iconv/tst-iconv2.c: Likewise.
32665         * inet/test-inet6_opt.c: Likewise.
32666         * inet/tst-gethnm.c: Likewise.
32667         * inet/tst-network.c: Likewise.
32668         * inet/tst-ntoa.c: Likewise.
32669         * intl/tst-codeset.c: Likewise.
32670         * intl/tst-gettext2.c: Likewise.
32671         * intl/tst-gettext3.c: Likewise.
32672         * intl/tst-ngettext.c: Likewise.
32673         * intl/tst-translit.c: Likewise.
32674         * io/test-stat.c: Likewise.
32675         * libio/test-fmemopen.c: Likewise.
32676         * libio/tst-freopen.c: Likewise.
32677         * libio/tst-sscanf.c: Likewise.
32678         * libio/tst-ungetwc1.c: Likewise.
32679         * libio/tst-ungetwc2.c: Likewise.
32680         * libio/tst-widetext.c: Likewise.
32681         * localedata/tst-ctype.c: Likewise.
32682         * localedata/tst-digits.c: Likewise.
32683         * localedata/tst-leaks.c: Likewise.
32684         * localedata/tst-mbswcs1.c: Likewise.
32685         * localedata/tst-mbswcs2.c: Likewise.
32686         * localedata/tst-mbswcs3.c: Likewise.
32687         * localedata/tst-mbswcs4.c: Likewise.
32688         * localedata/tst-mbswcs5.c: Likewise.
32689         * localedata/tst-setlocale.c: Likewise.
32690         * localedata/tst-trans.c: Likewise.
32691         * localedata/tst-wctype.c: Likewise.
32692         * localedata/tst-xlocale1.c: Likewise.
32693         * login/tst-grantpt.c: Likewise.
32694         * malloc/tst-calloc.c: Likewise.
32695         * malloc/tst-malloc.c: Likewise.
32696         * malloc/tst-mallocstate.c: Likewise.
32697         * malloc/tst-mcheck.c: Likewise.
32698         * malloc/tst-mtrace.c: Likewise.
32699         * malloc/tst-obstack.c: Likewise.
32700         * math/atest-exp2.c: Likewise.
32701         * math/atest-exp.c: Likewise.
32702         * math/atest-sincos.c: Likewise.
32703         * math/test-matherr.c: Likewise.
32704         * math/test-misc.c: Likewise.
32705         * math/test-powl.c: Likewise.
32706         * math/tst-definitions.c: Likewise.
32707         * misc/tst-dirname.c: Likewise.
32708         * misc/tst-efgcvt.c: Likewise.
32709         * misc/tst-fdset.c: Likewise.
32710         * misc/tst-hsearch.c: Likewise.
32711         * misc/tst-mntent2.c: Likewise.
32712         * nptl/tst-sem7.c: Likewise.
32713         * nptl/tst-sem8.c: Likewise.
32714         * nptl/tst-sem9.c: Likewise.
32715         * nss/test-netdb.c: Likewise.
32716         * posix/tst-fnmatch.c: Likewise.
32717         * posix/tst-getlogin.c: Likewise.
32718         * posix/tst-gnuglob.c: Likewise.
32719         * posix/tst-mmap.c: Likewise.
32720         * pwd/tst-getpw.c: Likewise.
32721         * resolv/tst-inet_ntop.c: Likewise.
32722         * rt/tst-timer.c: Likewise.
32723         * stdio-common/test-fseek.c: Likewise.
32724         * stdio-common/test-popen.c: Likewise.
32725         * stdio-common/test-vfprintf.c: Likewise.
32726         * stdio-common/tst-cookie.c: Likewise.
32727         * stdio-common/tst-fileno.c: Likewise.
32728         * stdio-common/tst-gets.c: Likewise.
32729         * stdio-common/tst-obprintf.c: Likewise.
32730         * stdio-common/tst-perror.c: Likewise.
32731         * stdio-common/tst-sprintf2.c: Likewise.
32732         * stdio-common/tst-sprintf3.c: Likewise.
32733         * stdio-common/tst-sprintf.c: Likewise.
32734         * stdio-common/tst-swprintf.c: Likewise.
32735         * stdio-common/tst-tmpnam.c: Likewise.
32736         * stdio-common/tst-unbputc.c: Likewise.
32737         * stdio-common/tst-wc-printf.c: Likewise.
32738         * stdlib/tst-environ.c: Likewise.
32739         * stdlib/tst-fmtmsg.c: Likewise.
32740         * stdlib/tst-limits.c: Likewise.
32741         * stdlib/tst-rand48-2.c: Likewise.
32742         * stdlib/tst-rand48.c: Likewise.
32743         * stdlib/tst-random2.c: Likewise.
32744         * stdlib/tst-random.c: Likewise.
32745         * stdlib/tst-strtol.c: Likewise.
32746         * stdlib/tst-strtoll.c: Likewise.
32747         * stdlib/tst-tls-atexit.c: Likewise.
32748         * stdlib/tst-xpg-basename.c: Likewise.
32749         * string/test-ffs.c: Likewise.
32750         * string/tst-bswap.c: Likewise.
32751         * string/tst-inlcall.c: Likewise.
32752         * string/tst-strtok.c: Likewise.
32753         * string/tst-strxfrm.c: Likewise.
32754         * sysdeps/x86_64/tst-audit10.c: Likewise.
32755         * sysdeps/x86_64/tst-audit3.c: Likewise.
32756         * sysdeps/x86_64/tst-audit4.c: Likewise.
32757         * sysdeps/x86_64/tst-audit5.c: Likewise.
32758         * time/tst-ftime_l.c: Likewise.
32759         * time/tst-getdate.c: Likewise.
32760         * time/tst-mktime3.c: Likewise.
32761         * time/tst-mktime.c: Likewise.
32762         * time/tst-posixtz.c: Likewise.
32763         * time/tst-strptime2.c: Likewise.
32764         * time/tst-strptime3.c: Likewise.
32765         * wcsmbs/tst-btowc.c: Likewise.
32766         * wcsmbs/tst-mbrtowc.c: Likewise.
32767         * wcsmbs/tst-mbsrtowcs.c: Likewise.
32768         * wcsmbs/tst-wchar-h.c: Likewise.
32769         * wcsmbs/tst-wcpncpy.c: Likewise.
32770         * wcsmbs/tst-wcrtomb.c: Likewise.
32771         * wcsmbs/tst-wcsnlen.c: Likewise.
32772         * wcsmbs/tst-wcstof.c: Likewise.
32774 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
32776         [BZ #14132]
32777         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
32778         INTDEF.
32779         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
32780         declaration.
32781         (_dl_mcount): Use rtld_hidden_proto.
32782         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
32783         _dl_mcount.
32784         * elf/rtld.c (_rtld_global_ro): Likewise.
32786         [BZ #14132]
32787         * elf/dl-init.c (_dl_init): Don't use INTDEF.
32788         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
32789         of _dl_init_internal.
32790         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
32791         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
32792         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
32793         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
32794         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
32795         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
32796         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
32797         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
32798         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
32799         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
32800         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
32801         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
32802         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
32803         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
32804         * sysdeps/tile/dl-start.S (_start): Likewise.
32805         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
32806         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
32808         [BZ #14132]
32809         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
32810         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
32811         (rtld_progname): Make macro definition unconditional.
32812         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
32813         INTDEF.
32814         (dlmopen_doit): Do not use INTUSE with _dl_argv.
32815         (dl_main): Likewise.
32816         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
32817         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
32818         instead of _dl_argv_internal.
32819         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32820         __GI__dl_argv instead of INTUSE(_dl_argv).
32821         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
32822         __GI__dl_argv instead of _dl_argv_internal.
32824         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
32825         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
32826         macro.
32827         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
32828         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
32829         New macro.
32830         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
32831         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
32832         macro.
32833         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
32834         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
32836 2014-11-04  Andreas Schwab  <schwab@suse.de>
32838         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
32840 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32842         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
32843         mtvsrd instruction in binary form.
32845 2014-11-03  Andreas Schwab  <schwab@suse.de>
32847         [BZ #17522]
32848         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
32849         for less than MB_LEN_MAX use a local buffer of that size.
32850         * libio/tst-fputws.c: New file.
32851         * libio/Makefile (tests): Add tst-fputws.
32853 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
32855         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
32856         the size of the fpu_fr.fpu_dregs[] array.
32858 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
32860         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
32861         (__nanosleep): Do not define as alias.
32862         (nanosleep): Define as alias of __nanosleep.
32863         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
32864         __libc_nanosleep name.
32866 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
32868         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
32869         install.texi in comment.
32871 2014-10-31  Torvald Riegel  <triegel@redhat.com>
32873         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
32874         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
32875         ... add here and use lwsync or sync ...
32876         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
32877         ... and add here using lwsync.
32879 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
32881         * elf/dl-machine-reject-phdr.h: New file.
32882         * elf/dl-load.c: #include that.
32883         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
32884         if that returned true.
32886 2014-10-31  Roland McGrath  <roland@hack.frob.com>
32888         [BZ #17496]
32889         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
32890         gen-as-const-headers chunk.  Add a big scare comment after the last
32891         safe place to touch before-compile.
32893 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
32895         * manual/install.texi (Tools for Compilation): Update autoconf
32896         version requirements.
32897         * INSTALL: Regenerated.
32899         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
32900         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
32901         (__libc_pselect): Likewise.
32903         [BZ #14138]
32904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
32905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32909 2014-10-31  Torvald Riegel  <triegel@redhat.com>
32911         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
32912         correct barrier instruction.
32913         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
32914         Likewise.
32915         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
32916         Likewise.
32918 2014-10-30  Roland McGrath  <roland@hack.frob.com>
32920         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
32921         after defining inlines.  Instead, just use parens to defeat macro
32922         expansion of __isctype in its declaration.
32924 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
32926         * include/sys/uio.h (__libc_readv): Remove declaration.
32927         (__libc_writev): Likewise.
32928         * misc/readv.c (__libc_readv): Rename to __readv.
32929         (__readv): Do not define as alias.
32930         (readv): Define as alias of __readv.
32931         * misc/writev.c (__libc_writev): Rename to __writev.
32932         (__writev): Do not define as alias.
32933         (writev): Define as alias of __writev.
32934         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
32935         (__readv): Do not define as alias.
32936         (readv): Define unconditionally as alias of __readv.
32937         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
32938         (__writev): Do not define as alias.
32939         (writev): Define unconditionally as alias of __writev.
32940         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
32941         name.
32942         (writev): Do not define __libc_writev name.
32944 2014-10-30  Roland McGrath  <roland@hack.frob.com>
32946         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
32947         (convert_charseq): New function, broken out of ...
32948         (use_from_charmap): ... here.  Call it.
32949         (use_to_charmap): Use convert_charseq and free instead of duplicating
32950         its code with a variable-length stack struct.
32952 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
32954         * include/fcntl.h (__libc_creat): Remove declaration.
32955         * io/creat.c (__libc_creat): Rename to creat.
32956         (creat): Do not define as alias.
32957         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
32958         of creat instead of __libc_creat.
32959         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
32960         to creat.
32961         (creat): Do not define as alias.
32962         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
32963         __libc_creat.
32964         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
32965         __libc_creat name.
32966         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
32967         Likewise.
32969 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
32971         * manual/llio.texi: Add comments discussing why write() may be
32972         considered MT-unsafe on Linux.
32974 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
32976         * dl-load.c (local_strdup): Remove.
32977         (expand_dynamic_string_token): Use __strdup.
32978         (decompose_rpath): Likewise.
32979         (_dl_map_object): Likewise.
32981 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
32983         [BZ #14132]
32984         * sysdeps/generic/unwind-dw2-fde.c
32985         (__register_frame_info_bases_internal): Do not declare.
32986         (__register_frame_info_table_bases_internal): Likewise.
32987         (__deregister_frame_info_bases_internal): Likewise.
32988         (__register_frame_info_bases): Declare and use hidden_proto before
32989         definition.  Use hidden_def instead of INTDEF.
32990         (__register_frame_info_table_bases): Likewise.
32991         (__deregister_frame_info_bases): Likewise.
32992         (__register_frame_info): Do not use INTUSE.
32993         (__register_frame): Likewise.
32994         (__register_frame_info_table): Likewise.
32995         (__register_frame_table): Likewise.
32996         (__deregister_frame_info): Likewise.
32997         (__deregister_frame): Likewise.
32999 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
33001         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33002         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
33003         not undefine.
33004         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
33005         Likewise.
33006         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
33007         Likewise.
33009 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
33011         [BZ #14138]
33012         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
33013         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
33014         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
33015         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
33016         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
33017         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
33018         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
33019         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
33020         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
33021         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
33022         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
33023         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
33024         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
33025         syscall.
33026         (setfsuid): Likewise.
33027         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
33028         (setfsuid): Likewise.
33029         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
33030         (setfsuid): Likewise.
33031         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
33032         Likewise.
33033         (setfsuid): Likewise.
33034         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
33035         (setfsuid): Likewise.
33036         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
33037         Likewise.
33038         (setfsuid): Likewise.
33040 2014-10-27  Andreas Schwab  <schwab@suse.de>
33042         [BZ #17501]
33043         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
33044         check for Slow_SSE4_2 feature bit.
33045         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
33046         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
33047         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
33048         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
33050 2014-10-24  Roland McGrath  <roland@hack.frob.com>
33052         * configure.ac: Validate compiler version with a empirical test of
33053         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
33054         $CC -v output.
33055         * configure: Regenerated.
33057         * inet/htons.c (htons): Prototypify.
33058         * inet/htonl.c (htonl): Likewise.
33060 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
33062         * string/strncat.c (strncat): Improve performance by using strlen.
33064 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
33066         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
33068 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
33070         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
33071         Call libc_fetestexcept_aarch64.
33073 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
33075         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
33076         Call libc_feholdexcept_aarch64.
33078 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
33080         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
33081         Call get_rounding_mode.
33083 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
33085         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
33086         Simplify logic.
33088 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
33090         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
33091         Simplify logic.
33093 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
33095         [BZ #14138]
33096         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
33097         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
33098         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
33099         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
33100         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
33101         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
33102         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
33103         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
33104         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
33105         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
33106         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
33107         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
33108         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
33109         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
33110         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
33111         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
33112         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
33113         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
33114         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
33115         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
33116         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
33117         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
33118         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
33119         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
33120         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
33121         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
33122         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
33123         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
33124         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
33125         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
33126         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
33127         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
33128         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
33129         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
33130         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
33131         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
33132         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
33133         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
33134         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
33135         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
33136         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
33137         syscall.
33138         (geteuid): Likewise.
33139         (getgid): Likewise.
33140         (getuid): Likewise.
33141         (getresgid): Likewise.
33142         (getresuid): Likewise.
33143         (getgroups): Likewise.
33144         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
33145         (geteuid): Likewise.
33146         (getgid): Likewise.
33147         (getuid): Likewise.
33148         (getresgid): Likewise.
33149         (getresuid): Likewise.
33150         (getgroups): Likewise.
33151         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
33152         (geteuid): Likewise.
33153         (getgid): Likewise.
33154         (getuid): Likewise.
33155         (getresgid): Likewise.
33156         (getresuid): Likewise.
33157         (getgroups): Likewise.
33158         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
33159         Likewise.
33160         (geteuid): Likewise.
33161         (getgid): Likewise.
33162         (getuid): Likewise.
33163         (getresgid): Likewise.
33164         (getresuid): Likewise.
33165         (getgroups): Likewise.
33166         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
33167         (geteuid): Likewise.
33168         (getgid): Likewise.
33169         (getuid): Likewise.
33170         (getresgid): Likewise.
33171         (getresuid): Likewise.
33172         (getgroups): Likewise.
33173         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
33174         Likewise.
33175         (geteuid): Likewise.
33176         (getgid): Likewise.
33177         (getuid): Likewise.
33178         (getgroups): Likewise.
33180         [BZ #14138]
33181         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
33182         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
33183         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
33184         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
33185         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
33186         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
33187         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
33188         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
33189         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
33190         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
33191         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
33192         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
33193         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
33194         __chown.
33195         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
33196         (lchown): Likewise.
33197         (fchown): Likewise.
33198         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
33199         Likewise.
33200         (lchown): Likewise.
33201         (fchown): Likewise.
33202         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
33203         (lchown): Likewise.
33204         (fchown): Likewise.
33205         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
33206         Likewise.
33207         (lchown): Likewise.
33208         (fchown): Likewise.
33210 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
33212         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
33213         Simplify logic.
33215 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
33217         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
33218         Cleanup logic.
33220 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
33222         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
33223         Remove unused include.
33225 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
33227         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
33228         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
33229         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
33230         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
33232 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
33233             Helge Deller <deller@gmx.de>
33235         [BZ #17508]
33236         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
33237         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
33238         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
33240 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
33242         [BZ #14132]
33243         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
33244         Remove macro definition.
33245         (__ashrdi3_v_glibc20): Likewise.
33246         (__lshrdi3_v_glibc20): Likewise.
33247         (__cmpdi2_v_glibc20): Likewise.
33248         (__ucmpdi2_v_glibc20): Likewise.
33249         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
33250         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
33251         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
33252         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
33253         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
33254         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
33256 2014-10-22  Roland McGrath  <roland@hack.frob.com>
33258         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
33259         old GNU extension [0] syntax.
33260         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
33261         alloca rather than an array member with variable length.
33262         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
33263         * nscd/nscd.c (invalidate_db): New function, broken out of ...
33264         (parse_opt): ... here.  Likewise use alloca there.
33265         Validate the -i argument before checking for rootness.
33266         (send_shutdown): New function, broken out of ...
33267         (parse_opt): ... here.
33269 2014-10-22  Roland McGrath  <roland@hack.frob.com>
33271         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
33272         macro to get at the _rt_local_ro field.
33273         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
33274         ([PIC] case) or _dl_hwcap ([!PIC] case).
33275         * sysdeps/arm/setjmp.S: Likewise.
33277         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
33278         * sysdeps/arm/configure.ac: New check to define it.
33279         * sysdeps/arm/configure: Regenerated.
33280         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
33281         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
33282         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
33283         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
33284         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
33285         Use move/movt pair instead of a load.
33286         (LDST_GLOBAL): Macro removed.
33287         (LDR_GLOBAL): New macro replaces it.
33288         (LDR_HIDDEN): New macro.
33289         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
33290         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
33292         * setjmp/tst-setjmp-static.c: New file.
33293         * setjmp/Makefile (tests): Add it.
33294         (tests-static): New variable.
33296 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
33298         [BZ #17485]
33299         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
33301 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
33303         [BZ #14132]
33304         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
33306 2014-10-21  Roland McGrath  <roland@hack.frob.com>
33308         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
33310 2014-10-20  Roland McGrath  <roland@hack.frob.com>
33312         * io/fts.c (dirent_not_directory): New function.
33313         (fts_build): Call it.
33315 2014-10-20  Roland McGrath  <roland@hack.frob.com>
33317         * nptl/version.c (__nptl_main): Use normal __write rather than
33318         INTERNAL_SYSCALL.
33319         (banner): Update copyright years.
33321         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
33322         gettimeofday.
33323         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
33324         * nptl/pthread_cond_timedwait.c: Likewise.
33325         * nptl/pthread_mutex_timedlock.c: Likewise.
33326         * nptl/sem_timedwait.c: Likewise.
33328         * sysdeps/nptl/bits/libc-lock.h
33329         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
33330         (__libc_lock_init_recursive): Return void, not 0.
33331         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
33332         (__libc_rwlock_init): Likewise.
33333         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
33335 2014-10-20  Torvald Riegel  <triegel@redhat.com>
33337         [BZ #15215]
33338         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
33339         (__pthread_once_slow): ... here.
33340         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
33341         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
33343 2014-10-20  Torvald Riegel  <triegel@redhat.com>
33345         [BZ #15215]
33346         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
33347         __PTHREAD_ONCE_FORK_GEN_INCR): New.
33348         * sysdeps/nptl/fork.c (__libc_fork): Use them.
33349         * nptl/pthread_once.c (__pthread_once): Likewise.
33350         Update comments.
33352 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
33354         [BZ #14138]
33355         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
33356         name.
33357         (writev): Use __libc_writev as strong name.
33358         * sysdeps/unix/sysv/linux/readv.c: Remove file.
33359         * sysdeps/unix/sysv/linux/writev.c: Likewise.
33361 2014-10-17  Roland McGrath  <roland@hack.frob.com>
33363         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
33365         * sysdeps/i386/nptl/tls.h
33366         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
33367         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
33368         New macros.
33369         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
33370         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
33371         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
33372         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
33373         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
33374         Call CHECK_THREAD_SYSINFO instead of doing an assert.
33376         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
33377         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
33378         on [__NR_futex].
33379         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
33380         broken out of ...
33381         (__pthread_mutex_init): ... here.  Call it.
33382         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
33383         Conditionalize PI cases on [__NR_futex].
33384         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
33385         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
33386         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
33388         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
33389         conditional on [SIGSETXID].
33390         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
33391         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
33392         is defined.  Likewise for SIGSETXID.
33393         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
33394         Conditionalize definitions on [SIGSETXID].
33395         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
33396         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
33397         unblocking on [SIGCANCEL].
33399         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
33400         [__NR_set_robust_list].
33402 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33404         * string/strcoll_l.c (get_next_seq): Fix up formatting.
33405         (do_compare): Likewise.
33407 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
33409         [BZ #15884]
33410         * string/strcoll_l.c: Don't include stdio.h.
33411         (coll_seq): Remove members idxarr and rulearr.
33412         (get_next_seq_cached): Remove function.
33413         (get_next_seq): Likewise.
33414         (get_next_seq_nocache): Rename to get_next_seq.
33415         (do_compare): Remove function.
33416         (do_compare_nocache): Rename to do_compare.
33417         (STRCOLL): Remove weight and rules cache.
33419 2014-10-16  Roland McGrath  <roland@hack.frob.com>
33421         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
33422         * sysdeps/arm/sfp-machine.h: ... to here.
33423         * sysdeps/arm/Implies: Remove arm/soft-fp.
33425 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
33427         * conform/data/sys/utsname.h-data (*_t): Allow.
33428         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
33429         [POSIX] (WEXITED): Do not expect constant.
33430         [POSIX] (WSTOPPED): Likewise.
33431         [POSIX] (WNOHANG): Likewise.
33432         [POSIX] (WNOWAIT): Likewise.
33433         [POSIX] (siginfo_t): Do not expect type or elements.
33434         [POSIX] (pid_t): Do not expect type.
33435         [POSIX] (signal.h): Do not allow header.
33436         [POSIX] (sys/resource.h): Likewise.
33437         [POSIX] (si_*): Do not allow pattern.
33438         [POSIX] (W*): Likewise.
33439         [POSIX] (P_*): Likewise.
33440         [POSIX] (BUS_*): Likewise.
33441         [POSIX] (CLD_*): Likewise.
33442         [POSIX] (FPE_*): Likewise.
33443         [POSIX] (ILL_*): Likewise.
33444         [POSIX] (POLL_*): Likewise.
33445         [POSIX] (SEGV_*): Likewise.
33446         [POSIX] (SI_*): Likewise.
33447         [POSIX] (TRAP_*): Likewise.
33448         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
33449         variable.
33451 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
33453         [BZ #12926]
33454         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
33455         infinite loop when __recvmsg returns 0.
33457 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
33459         * CANCEL-FCT-WAIVE: Remove file.
33460         * CANCEL-FILE-WAIVE: Likewise.
33462         [BZ #14132]
33463         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
33464         instead of INTVARDEF.
33465         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
33466         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
33467         rtld_hidden_data_def instead of INTVARDEF.
33468         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
33469         * elf/dl-deps.c (expand_dst): Likewise.
33470         * elf/dl-load.c (_dl_dst_count): Likewise.
33471         (_dl_dst_substitute): Likewise.
33472         (decompose_rpath): Likewise.
33473         (_dl_init_paths): Likewise.
33474         (open_path): Likewise.
33475         (_dl_map_object): Likewise.
33476         * elf/rtld.c (dl_main): Likewise.
33477         (process_dl_audit): Likewise.
33478         (process_envvars): Likewise.
33479         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
33480         Remove declaration.
33481         (__libc_enable_secure): Use rtld_hidden_proto.
33483 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33485         * elf/dl-load.c
33486         (add_path): New function broken out of _dl_rtld_di_serinfo.
33487         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
33489 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
33491         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
33492         parentheses around macro arguments.
33493         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
33494         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
33495         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
33496         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
33497         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
33498         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
33499         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
33500         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
33501         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
33502         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
33503         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
33504         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
33505         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
33506         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
33507         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
33508         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
33509         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
33510         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
33511         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
33512         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
33513         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
33514         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
33515         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
33516         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
33517         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
33518         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
33519         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
33520         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
33521         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
33522         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
33523         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
33524         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
33525         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
33526         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
33527         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
33528         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
33529         Likewise.
33530         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
33531         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
33532         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
33533         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
33534         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
33535         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
33536         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
33537         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
33538         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
33539         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
33540         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
33541         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
33542         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
33543         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
33544         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
33545         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
33546         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
33547         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
33548         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
33549         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
33550         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
33551         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
33552         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
33553         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
33554         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
33555         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
33556         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
33557         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
33558         (_FP_FRAC_SRS_1): Likewise.
33559         (_FP_FRAC_CLZ_1): Likewise.
33560         (_FP_MUL_MEAT_1_imm): Likewise.
33561         (_FP_MUL_MEAT_1_wide): Likewise.
33562         (_FP_MUL_MEAT_1_hard): Likewise.
33563         (_FP_SQRT_MEAT_1): Likewise.
33564         (_FP_FRAC_ASSEMBLE_1): Likewise.
33565         (_FP_FRAC_DISASSEMBLE_1): Likewise.
33566         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
33567         (__FP_CLZ_2): Likewise.
33568         (_FP_MUL_MEAT_2_wide): Likewise.
33569         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
33570         (_FP_MUL_MEAT_2_gmp): Likewise.
33571         (_FP_MUL_MEAT_2_120_240_double): Likewise.
33572         (_FP_SQRT_MEAT_2): Likewise.
33573         (_FP_FRAC_ASSEMBLE_2): Likewise.
33574         (_FP_FRAC_DISASSEMBLE_2): Likewise.
33575         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
33576         (_FP_FRAC_CLZ_4): Likewise.
33577         (_FP_MUL_MEAT_4_wide): Likewise.
33578         (_FP_MUL_MEAT_4_gmp): Likewise.
33579         (_FP_SQRT_MEAT_4): Likewise.
33580         (_FP_FRAC_ASSEMBLE_4): Likewise.
33581         (_FP_FRAC_DISASSEMBLE_4): Likewise.
33582         * soft-fp/op-common.h (_FP_CMP): Likewise.
33583         (_FP_CMP_EQ): Likewise.
33584         (_FP_CMP_UNORD): Likewise.
33585         (_FP_TO_INT): Likewise.
33586         (_FP_FROM_INT): Likewise.
33587         [!__FP_CLZ] (__FP_CLZ): Likewise.
33588         (_FP_DIV_HELP_imm): Likewise.
33589         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
33590         Likewise.
33591         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
33592         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
33593         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
33594         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
33595         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
33596         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
33597         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
33598         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
33599         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
33600         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
33601         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
33602         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
33603         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
33604         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
33605         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
33606         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
33607         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
33608         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
33609         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
33610         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
33611         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
33612         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
33613         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
33614         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
33615         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
33616         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
33617         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
33618         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
33619         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
33620         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
33621         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
33622         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
33623         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
33624         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
33625         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
33626         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
33627         (FP_UNPACK_RAW_SP): Likewise.
33628         (FP_PACK_RAW_S): Likewise.
33629         (FP_PACK_RAW_SP): Likewise.
33630         (FP_UNPACK_S): Likewise.
33631         (FP_UNPACK_SP): Likewise.
33632         (FP_UNPACK_SEMIRAW_S): Likewise.
33633         (FP_UNPACK_SEMIRAW_SP): Likewise.
33634         (FP_PACK_S): Likewise.
33635         (FP_PACK_SP): Likewise.
33636         (FP_PACK_SEMIRAW_S): Likewise.
33637         (FP_PACK_SEMIRAW_SP): Likewise.
33638         (_FP_SQRT_MEAT_S): Likewise.
33639         (FP_CMP_S): Likewise.
33640         (FP_CMP_EQ_S): Likewise.
33641         (FP_CMP_UNORD_S): Likewise.
33642         (FP_TO_INT_S): Likewise.
33643         (FP_FROM_INT_S): Likewise.
33645         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
33647         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
33648         (FP_EX_INVALID_IMZ): Likewise.
33649         (FP_EX_INVALID_IMZ_FMA): Likewise.
33650         (FP_EX_INVALID_ISI): Likewise.
33651         (FP_EX_INVALID_ZDZ): Likewise.
33652         (FP_EX_INVALID_IDI): Likewise.
33653         (FP_EX_INVALID_SQRT): Likewise.
33654         (FP_EX_INVALID_CVI): Likewise.
33655         (FP_EX_INVALID_VC): Likewise.
33656         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
33657         "invalid" exceptions.
33658         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
33659         (_FP_ADD_INTERNAL): Likewise.
33660         (_FP_MUL): Likewise.
33661         (_FP_FMA): Likewise.
33662         (_FP_DIV): Likewise.
33663         (_FP_CMP_CHECK_NAN): Likewise.
33664         (_FP_SQRT): Likewise.
33665         (_FP_TO_INT): Likewise.
33666         (FP_EXTEND): Likewise.
33668 2014-10-09  Allan McRae  <allan@archlinux.org>
33670         * po/fr.po: Update French translation from translation project.
33672 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
33674         [BZ #14132]
33675         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
33676         of INTDEF.
33677         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
33678         (__cxa_atexit): Use libc_hidden_proto.
33679         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
33681         [BZ #14132]
33682         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
33683         declaration.
33684         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
33685         [!_ISOMAC] (__iswspace_l_internal): Likewise.
33686         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
33687         [!_ISOMAC] (__iswctype_internal): Likewise.
33688         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
33689         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
33690         alias.
33691         (fcntl): Remove __fcntl_internal alias.
33692         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
33693         __connect_internal alias.
33694         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
33695         Likewise.
33697         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
33698         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
33699         FP_DENORM_ZERO.
33700         (_FP_CHECK_FLUSH_ZERO): New macro.
33701         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
33702         (_FP_CMP): Likewise.
33703         (_FP_CMP_EQ): Likewise.
33704         (_FP_TO_INT): Do not set inexact for subnormal arguments if
33705         FP_DENORM_ZERO.
33706         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
33707         (FP_TRUNC): Likewise.
33709         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
33710         treated as invalid conversion, not as normal exponent.
33712         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
33713         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
33714         (_FP_CMP_EQ): Likewise.
33715         (_FP_CMP_UNORD): Likewise.
33716         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
33717         (FP_CMP_EQ_D): Likewise.
33718         (FP_CMP_UNORD_D): Likewise.
33719         * soft-fp/extended.h (FP_CMP_E): Likewise.
33720         (FP_CMP_EQ_E): Likewise.
33721         (FP_CMP_UNORD_E): Likewise.
33722         * soft-fp/quad.h (FP_CMP_Q): Likewise.
33723         (FP_CMP_EQ_Q): Likewise.
33724         (FP_CMP_UNORD_Q): Likewise.
33725         * soft-fp/single.h (FP_CMP_S): Likewise.
33726         (FP_CMP_EQ_S): Likewise.
33727         (FP_CMP_UNORD_S): Likewise.
33728         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
33729         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
33730         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
33731         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
33732         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
33733         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
33734         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
33735         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
33736         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
33737         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
33738         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
33739         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
33740         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
33741         to FP_CMP_Q.
33742         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
33743         FP_CMP_Q.
33744         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
33745         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
33746         FP_CMP_EQ_Q.
33747         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
33748         FP_CMP_Q.
33749         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
33750         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
33751         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
33752         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
33753         FP_CMP_EQ_Q.
33754         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
33755         FP_CMP_Q.
33756         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
33757         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
33758         FP_CMP_EQ_Q.
33759         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
33760         FP_CMP_Q.
33761         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
33762         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
33763         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
33764         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
33765         FP_CMP_EQ_Q.
33767         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
33768         a subnormal result, set the underflow exception if trapping on
33769         underflow is enabled.
33770         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
33771         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
33772         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
33773         redefine to 0.
33774         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
33775         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
33776         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
33777         * soft-fp/extendxftf2.c (__extendxftf2): Use
33778         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
33780         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
33781         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
33782         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
33783         FP_HANDLE_EXCEPTIONS.
33784         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
33785         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
33786         FP_HANDLE_EXCEPTIONS.
33787         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
33788         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
33789         FP_HANDLE_EXCEPTIONS.
33790         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
33791         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
33792         FP_HANDLE_EXCEPTIONS.
33794 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
33796         [BZ #14132]
33797         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
33798         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
33799         use INTUSE.
33800         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
33801         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
33802         Remove alias.
33803         (__adjtimex): Define using libc_hidden_ver.
33804         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
33805         Remove declaration.
33806         (ntp_gettime): Call __adjtimex directly.
33807         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
33808         Remove declaration.
33809         (ntp_gettimex): Call __adjtimex directly.
33810         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
33811         __adjtimex_internal alias.
33813 2014-10-08  Roland McGrath  <roland@hack.frob.com>
33815         [BZ #17460]
33816         * nscd/nscd.c (more_help): Rewrite list of tables collection
33817         using xstrdup and asprintf.
33819         * nscd/nscd_conf.c: Remove local xstrdup declaration.
33821 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33822             Roland McGrath  <roland@hack.frob.com>
33824         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
33825         (do_lookup_unique): ... local function 'enter' here; update callers.
33827 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
33829         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
33830         compat_symbol calls on [SHARED].
33831         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
33832         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
33833         Remove.
33834         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
33835         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
33836         (oldsetrlimit): Remove.
33837         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
33838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
33839         (lchown): New syscall entry.
33840         (oldsetrlimit): Remove.
33841         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
33842         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
33843         (oldsetrlimit): Remove.
33844         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
33846         [BZ #14138]
33847         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
33848         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
33849         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
33850         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
33851         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
33852         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
33853         (fchown): Likewise.
33854         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
33855         (fchown): Likewise.
33856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
33857         Likewise.
33859 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33861         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
33862         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
33863         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
33864         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
33865         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
33866         Likewise.
33867         (__old_sem_post): Likewise.
33869 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
33871         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
33872         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
33873         HAVE_CLOCK_GETTIME_VSYSCALL macros.
33874         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
33875         Use INLINE_VSYSCALL macro.
33876         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
33877         __vdso_clock_gettime.
33878         * sysdeps/unix/sysv/linux/tile/init-first.c
33879         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
33880         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
33881         __vdso_clock_gettime.
33883         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
33884         to set up frame more cleanly.
33886         * sysdeps/tile/memcmp.c: New file.
33888         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
33890         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
33891         * sysdeps/tile/tilegx/strcasestr.c: New file.
33892         * sysdeps/tile/tilegx/strnlen.c: New file.
33893         * sysdeps/tile/tilegx/strstr.c: New file.
33895         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
33897 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
33899         * nptl/tst-setuid3.c: Write errors to stdout.
33901 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33903         * elf/dl-deps.c
33904         (preload): New functions broken out of _dl_map_object_deps.
33905         (_dl_map_object_deps):  Remove a nested function. Update call sites.
33907 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
33909         [BZ #14138]
33910         * sysdeps/unix/sysv/linux/execve.c: Remove file.
33911         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
33913 2014-10-01  Steve Ellcey  <sellcey@mips.com>
33915         * sysdeps/mips/strcmp.S: New.
33917 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
33919         [BZ #14138]
33920         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
33921         (linkat): Likewise.
33922         (mkdirat): Likewise.
33923         (readlinkat): Likewise.
33924         (renameat): Likewise.
33925         (symlinkat): Likewise.
33926         (unlinkat): Likewise.
33927         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
33928         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
33929         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
33930         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
33931         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
33932         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
33933         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
33935 2014-09-30  Will Newton  <will.newton@linaro.org>
33937         * math/math.h: Define long double math functions if
33938         _LIBC_TEST is defined.
33939         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
33941         * localedata/Makefile: Move assignment to tests-special
33942         into an ifdef testing run-built-tests.
33943         * timezone/Makefile: Likewise.
33945 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
33947         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
33948         with $(BASH) not $(SHELL).
33950 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
33951             Matthew LeGendre  <legendre1@llnl.gov>
33953         [BZ #17411]
33954         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
33955         l_reloc_result.
33957 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33959         * stdio-common/printf_fp.c
33960         (hack_digit): New function, broken out of ...
33961         (__printf_fp): ... local function here.  Update call sites.
33962         hack_digit now takes an additional parameter that is a pointer
33963         to a struct of the referenced locals.  Those locals moved inside
33964         the struct and references updated.
33966 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
33968         * aclocal.m4: Require autoconf 2.69.
33969         * configure: Regenerated.
33970         * sysdeps/aarch64/configure: Likewise.
33971         * sysdeps/alpha/configure: Likewise.
33972         * sysdeps/arm/armv7/configure: Likewise.
33973         * sysdeps/arm/configure: Likewise.
33974         * sysdeps/ia64/configure: Likewise.
33975         * sysdeps/mach/configure: Likewise.
33976         * sysdeps/mips/configure: Likewise.
33977         * sysdeps/s390/configure: Likewise.
33978         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
33979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
33981         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
33982         file.
33983         * sysdeps/ia64/configure.ac: Likewise.
33985 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
33987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
33988         specify symbol version for ld.so.  Do not include entry for
33989         libpthread.
33990         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
33991         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
33992         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
33994         [BZ #14171]
33995         * Makeconfig [$(build-shared) = yes]
33996         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
33997         makefiles.
33998         [$(build-shared) = yes && $(soversions.mk-done) = t]
33999         ($(common-objpfx)gnu/lib-names.h): Remove rule.
34000         [$(build-shared) = yes && $(soversions.mk-done) = t]
34001         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
34002         to Makerules.
34003         [$(build-shared) = yes && $(soversions.mk-done) = t]
34004         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
34005         here.
34006         [$(build-shared) = yes && $(soversions.mk-done) = t]
34007         (common-generated): Don't append gnu/lib-names.h and
34008         gnu/lib-names.stmp here.
34009         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
34010         (lib-names-h-abi): New variable.
34011         [$(build-shared) = yes && $(soversions.mk-done) = t]
34012         (lib-names-stmp-abi): Likewise.
34013         [$(build-shared) = yes && $(soversions.mk-done) = t &&
34014         abi-variants] (before-compile): Append
34015         $(common-objpfx)$(lib-names-h-abi).
34016         [$(build-shared) = yes && $(soversions.mk-done) = t &&
34017         abi-variants] (common-generated): Append gnu/lib-names.h.
34018         [$(build-shared) = yes && $(soversions.mk-done) = t &&
34019         abi-variants] (install-others-nosubdir): Depend on
34020         $(inst_includedir)/$(lib-names-h-abi).
34021         [$(build-shared) = yes && $(soversions.mk-done) = t &&
34022         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
34023         [$(build-shared) = yes && $(soversions.mk-done) = t]
34024         ($(common-objpfx)$(lib-names-h-abi)): New rule.
34025         [$(build-shared) = yes && $(soversions.mk-done) = t]
34026         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
34027         [$(build-shared) = yes && $(soversions.mk-done) = t]
34028         (common-generated): Append $(lib-names-h-abi) and
34029         $(lib-names-stmp-abi).
34030         * scripts/lib-names.awk: Do not handle multi being set.
34031         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
34032         Remove variable.
34033         (abi-lp64_be-ld-soname): Likewise.
34034         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
34035         Likewise.
34036         (abi-hard-ld-soname): Likewise.
34037         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
34038         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
34039         Remove variable.
34040         (abi-o32_hard-ld-soname): Likewise.
34041         (abi-o32_soft_2008-ld-soname): Likewise.
34042         (abi-o32_hard_2008-ld-soname): Likewise.
34043         (abi-n32_soft-ld-soname): Likewise.
34044         (abi-n32_hard-ld-soname): Likewise.
34045         (abi-n32_soft_2008-ld-soname): Likewise.
34046         (abi-n32_hard_2008-ld-soname): Likewise.
34047         (abi-n64_soft-ld-soname): Likewise.
34048         (abi-n64_hard-ld-soname): Likewise.
34049         (abi-n64_soft_2008-ld-soname): Likewise.
34050         (abi-n64_hard_2008-ld-soname): Likewise.
34051         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
34052         Likewise.
34053         (abi-64-v2-ld-soname): Likewise.
34054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
34055         ld.so entries.
34056         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
34057         variable.
34058         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
34059         entry.
34060         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
34061         variable.
34062         (abi-64-ld-soname): Likewise.
34063         (abi-x32-ld-soname): Likewise.
34064         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
34065         entry.
34066         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
34068 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
34070         [BZ #14138]
34071         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
34072         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
34073         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
34074         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
34075         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
34076         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
34077         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
34078         syscall entry for GLIBC_2.2 symbol version.
34079         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
34080         Likewise.
34081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
34082         (setrlimit): Likewise.
34083         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
34084         Likewise.
34086 2014-09-23  Will Newton  <will.newton@linaro.org>
34088         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
34089         _LINUX_ARM_SYSDEP_H include guard too.
34090         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
34091         define.
34093 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
34095         * sysdeps/unix/sysv/linux/eventfd.c:
34096         Make first argument unsigned.
34097         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
34098         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
34100 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
34102         [BZ #16852]
34103         * socket/recvmmsg.c (recvmmsg): Drop const argument.
34104         * socket/sys/socket.h: Likewise.
34105         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
34107 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34109         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
34111 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
34113         * time/tst-ftime.c: New test.
34114         * time/Makefile (tests): Add tst-ftime.
34116 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
34118         * soft-fp/extended.h: Fix comment formatting.
34119         * soft-fp/op-1.h: Likewise.
34120         * soft-fp/op-2.h: Likewise.
34121         * soft-fp/op-4.h: Likewise.
34122         * soft-fp/op-8.h: Likewise.
34123         * soft-fp/op-common.h: Likewise.
34124         * soft-fp/soft-fp.h: Likewise.
34126         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
34128 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
34130         [BZ #6652]
34131         * Makeconfig (soversions-default-setname): Remove variable.
34132         ($(common-objpfx)soversions.i): Don't pass default_setname to
34133         soversions.awk.
34134         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
34135         oldest_abi to abi-versions.awk.
34136         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
34137         * config.make.in (oldest-abi): Remove variable.
34138         * configure.ac (--enable-oldest-abi): Remove configure option.
34139         * configure: Regenerated.
34140         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
34141         text.
34142         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
34143         * scripts/soversions.awk: Do not handle default_setname variable.
34144         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
34145         variable.
34146         * sysdeps/mach/hurd/configure: Regenerated.
34147         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
34148         variable.
34149         * sysdeps/unix/sysv/linux/configure: Regenerated.
34151 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34153         * elf/Makefile (CFLAGS-interp.c): Remove.
34154         ($(elf-objpfx)runtime-linker.h): Generate header with linker
34155         path string.
34156         * elf/interp.c: Include generated runtime-linker.h
34158         * Makerules (lib%.so): Don't include $(+interp) in
34159         prerequisites.
34160         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
34161         * dlfcn/eval.c: Remove file.
34163         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
34164         macros.
34166         [BZ #17266]
34167         * misc/sys/cdefs.h: Define __extern_always_inline for clang
34168         4.2 and newer.
34170         [BZ #17370]
34171         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
34173 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34174             Jakub Jelinek  <jakub@redhat.com>
34176         [BZ #17266]
34177         * libio/stdio.h: Check definition of __fortify_function
34178         instead of __extern_always_inline to include bits/stdio2.h.
34179         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
34180         check if __extern_always_inline is defined.
34181         [__USE_MISC || __USE_XOPEN]: Likewise.
34182         [__USE_ISOC99] Likewise.
34183         * misc/sys/cdefs.h (__fortify_function): Define only if
34184         __extern_always_inline is defined.
34185         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
34186         __extern_always_inline and __extern_inline only for g++-4.3
34187         and newer or a compatible gcc.
34189 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
34191         [BZ #17371]
34192         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
34193         last change to handle zero prefix length.
34195 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34197         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
34198         _SC_REGEX_VERSION.
34200         * posix/getconf.c (vars): Add _POSIX_IPV6 and
34201         _POSIX_RAW_SOCKETS.
34203 2014-09-13  Allan McRae  <allan@archlinux.org>
34205         * po/ru.po: Update Russian translation from translation project.
34207 2014-09-12  Roland McGrath  <roland@hack.frob.com>
34209         * locale/programs/locale.c (show_locale_vars): Inline local function
34210         into its sole call site.  Clean up some style nits.
34211         (print_item): New function, broken out of ...
34212         (show_info): ... local function here.  Clean up style nits.
34214         * locale/programs/ld-ctype.c (set_one_default): New function, broken
34215         out of ...
34216         (set_class_defaults): ... local function set_default here.
34217         Define set_default as a macro locally to pass constant parameters.
34218         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
34219         rather than a shared local.
34221         * stdlib/rpmatch.c (try): New function, broken out of ...
34222         (rpmatch): ... local function here.  Also, prototypify definition.
34224 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
34226         * scripts/soversions.awk: Do not handle configuration names.
34227         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
34228         vendor and os variables to soversions.awk.
34229         * configure.ac: Do not modify gnu-* host_os.
34230         * configure: Regenerated
34231         * shlib-versions: Remove first column with configuration names.
34232         * nptl/shlib-versions: Likewise.
34233         * nptl_db/shlib-versions: Likewise.
34234         * sysdeps/hppa/shlib-versions: Likewise.
34235         * sysdeps/m68k/shlib-versions: Likewise.
34236         * sysdeps/mach/hurd/shlib-versions: Likewise.
34237         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
34238         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
34239         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
34240         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
34241         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
34242         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
34243         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
34244         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
34245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
34246         Likewise.
34247         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
34248         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
34249         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
34250         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
34251         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
34252         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
34253         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
34254         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
34256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
34257         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
34258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
34259         Regenerated.
34260         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
34261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
34262         Condition symbol version definitions on [HAVE_ELFV2_ABI].
34264         * shlib-versions: Remove OS-specific entries.  Moved to files in
34265         sysdeps.
34266         * sysdeps/mach/hurd/shlib-versions: New file.
34267         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
34269         * nptl/shlib-versions: Remove architecture-specific entries.
34270         Moved to files in sysdeps.
34271         * shlib-versions: Likewise.
34272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
34273         file.
34274         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
34275         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
34276         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
34277         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
34279         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
34280         (UDP_NO_CHECK6_RX): Likewise.
34282 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34284         * sysdeps/posix/sysconf.c (__sysconf): Spell
34285         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
34287 2014-08-12  Florian Weimer  <fweimer@redhat.com>
34289         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
34290         loading.
34291         * iconv/Versions (__gconv_transliterate): Export for use from
34292         gconv modules.
34293         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
34294         (struct __gconv_trans_data, __gconv_trans_fct,
34295         __gconv_trans_context_fct, __gconv_trans_query_fct,
34296         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
34297         definitions.
34298         (struct __gconv_step_data): Remove __trans member.
34299         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
34300         longer hidden.  Remove unused trans_data argument.
34301         * iconv/gconv_int.h (struct trans_struct): Remove definition.
34302         (__gconv_translit_find): Remove declaration.
34303         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
34304         prototype.
34305         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
34306         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
34307         trans_data argument.  Add hidden definition.
34308         (__gconv_translit_find): Remove.
34309         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
34310         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
34311         * iconv/skeleton.c: Remove transliteration initialization.
34312         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
34313         __gconv_step_data initialization.
34314         * libio/iofwide.c (__libio_translit_): Remove.
34315         (_IO_fwide): Adjust struct __gconv_step_data initialization.
34316         * wcsmbs/btowc.c (__btowc): Likewise.
34317         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
34318         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
34319         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
34320         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
34321         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
34322         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
34323         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
34324         * wcsmbs/wctob.c (wctob): Likewise.
34326 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34328         [BZ #16194]
34329         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
34330         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
34331         register usage.
34332         * sysdeps/x86/Makefile: Adjust.
34334 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34335             Roland McGrath  <roland@hack.frob.com>
34337         * locale/weight.h: Add include guard.
34338         (findidx): Make static rather than auto; take new parameters
34339         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
34340         * locale/weightwc.h: Likewise.
34341         * posix/fnmatch_loop.c
34342         (FCT): Change type of EXTRA from int32_t to wint_t.
34343         Don't include either header inside the function.
34344         Call FINDIDX rather than findidx, and pass new arguments.
34345         #undef FINDIDX at the end of the file.
34346         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
34347         FINDIDX before including fnmatch_loop.c for the non-wide version.
34348         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
34349         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
34350         for the wide version.
34351         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
34352         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
34353         Pass new arguments to findidx.
34354         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
34355         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
34356         Don't #include it inside the function.  Pass new arguments to findidx.
34357         * posix/regex_internal.h
34358         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
34359         (re_string_elem_size_at): Don't #include it inside the function.
34360         Pass new arguments to findidx.
34361         * string/strcoll_l.c: #include WEIGHT_H at top level.
34362         (get_next_seq): Don't #include it inside the function.
34363         Pass new arguments to findidx.
34364         (get_next_seq_nocache): Likewise.
34365         * string/strxfrm_l.c: #include WEIGHT_H at top level.
34366         (STRXFRM): Don't #include it inside the function.
34367         Pass new arguments to findidx.
34369 2014-09-11  Florian Weimer  <fweimer@redhat.com>
34371         [BZ #17344]
34372         * malloc/malloc.c (unlink): Turn asserts into a call to
34373         malloc_printerr.
34375 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
34377         [BZ #17370]
34378         * libio/wfileops (do_ftell_wide): Free OUT.
34380 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
34382         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
34384 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34386         [BZ #17363]
34387         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
34388         group if the current group is empty.
34390 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34392         * benchtests/bench-memset.c (test_main): Add more test from size
34393         from 32 to 512 bytes.
34394         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34395         Add POWER8 memset object.
34396         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34397         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
34398         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
34399         implementation.
34400         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
34401         Likewise.
34402         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
34403         multiarch POWER8 memset optimization.
34404         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
34405         POWER8 memset optimization.
34407         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34408         Remove bzero multiarch objects.
34409         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
34410         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
34411         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
34412         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
34413         Remove define.
34414         [__bzero]: Redefine to specific name.
34415         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
34416         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
34417         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
34418         define.
34419         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
34420         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
34422 2014-09-10  Florian Weimer  <fweimer@redhat.com>
34424         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
34425         warnings into errors.
34427         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
34428         __cxa_thread_atexit_impl prototype.
34430 2014-09-09  Steve Ellcey  <sellcey@mips.com>
34432         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
34433         Fix capitalization of error message.
34435 2014-09-09  Steve Ellcey  <sellcey@mips.com>
34437         * sysdeps/mips/preconfigure: Modify ABI tests.
34439 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
34441         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
34443 2014-09-07  Roland McGrath  <roland@hack.frob.com>
34444             Carlos O'Donell  <carlos@systemhalted.org>
34446         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
34447         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
34448         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
34449         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
34450         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
34451         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
34452         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
34453         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
34454         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
34455         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
34456         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
34457         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
34458         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
34459         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
34460         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
34461         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
34462         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
34463         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
34464         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
34465         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
34466         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
34467         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
34468         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
34469         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
34470         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
34471         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
34472         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
34473         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
34474         Deconditionalize the code that was previously under [RESET_PID].
34475         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
34476         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
34477         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
34478         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
34479         include sysdep.h.
34481 2014-09-08  Allan McRae  <allan@archlinux.org>
34483         * version.h (RELEASE): Set to "development".
34484         (VERSION): Set to "2.20.90"
34486 2014-09-07  Allan McRae  <allan@archlinux.org
34488         * version.h (RELEASE): Set to "stable".
34489         (VERSION): Set to "2.20"
34490         * include/features.h (__GLIBC_MINOR__): Set to 20.
34492         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
34493         Liebler.
34495         * po/ko.po: Update Korean translation from translation project.
34497 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
34499         [BZ #17354]
34500         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
34501         macro for handling signed relocations.
34503 2014-09-03  Florian Weimer  <fweimer@redhat.com>
34505         [BZ #17325]
34506         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
34507         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
34508         assert.
34509         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
34510         * iconvdata/ibm935.c (BODY): Likewise.
34511         * iconvdata/ibm937.c (BODY): Likewise.
34512         * iconvdata/ibm939.c (BODY): Likewise.
34513         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
34514         assert.
34515         * iconvdata/Makefile (iconv-test.out): Pass module list to test
34516         script.
34517         * iconvdata/run-iconv-test.sh: New test loop for checking for
34518         decoder crashers.
34520 2014-09-02  Khem Raj  <raj.khem@gmail.com>
34522         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
34523         libm_hidden_ver.
34525 2014-09-01  Allan McRae  <allan@archlinux.org>
34527         * po/eo.po: Update Esperanto translation from translation project.
34529         * po/ca.po: Update Catalan translation from translation project.
34531 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34533         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
34534         __proc_dostop call.
34536 2014-08-27  Mark Wielaard  <mjw@redhat.com>
34538         [BZ #17319]
34539         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
34540         to call set_thread_area instead of hand written asm.
34541         (__NR_set_thread_area): Removed define.
34542         (TLS_FLAG_WRITABLE): Likewise.
34543         (__ASSUME_SET_THREAD_AREA): Remove check.
34544         (TLS_EBX_ARG): Remove define.
34545         (TLS_LOAD_EBX): Likewise.
34547 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34549         Simplify atomicity of socket creation in bind.
34551         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
34552         looking up the name after linking the file.
34554 2014-08-27  Allan McRae  <allan@archlinux.org>
34556         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
34558 2014-08-26  Florian Weimer  <fweimer@redhat.com>
34560         [BZ #17187]
34561         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
34562         trans_compare, open_translit, __gconv_translit_find):
34563         Remove module loading code.
34565 2014-08-26  Allan McRae  <allan@archlinux.org>
34567         * po/vi.po: Update Vietnamese translation from translation project.
34569         * po/uk.po: Update Ukrainian translation from translation project.
34571         * po/fr.po: Update French translation from translation project.
34573         * po/ru.po: Update Russian translation from translation project.
34575         * po/pl.po: Update Polish translation from translation project.
34577         * po/cs.po: Update Czech translation from translation project.
34579         * po/de.po: Update German translation from translation project.
34581         * po/bg.po: Update Bulgarian translation from translation project.
34583         * po/sv.po: Update Sweedish translation from translation project.
34585         * po/nl.po: Update Dutch translation from translation project.
34587         * po/es.po: Update Spanish translation from translation project.
34589 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34591         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
34593         * catgets/Makefile (CPPFLAGS-gencat): Remove.
34594         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
34595         (CPPFLAGS-iconvconfig): Likewise.
34596         * timezone/Makefile (CPPFLAGS-zic): Likewise.
34598         * include/libc-symbols.h: Remove unnecessary check for
34599         NOT_IN_libc.
34600         * nptl/pthreadP.h: Likewise.
34601         * sysdeps/aarch64/setjmp.S: Likewise.
34602         * sysdeps/alpha/setjmp.S: Likewise.
34603         * sysdeps/arm/sysdep.h: Likewise.
34604         * sysdeps/i386/setjmp.S: Likewise.
34605         * sysdeps/m68k/setjmp.c: Likewise.
34606         * sysdeps/posix/getcwd.c: Likewise.
34607         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
34608         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
34609         * sysdeps/s390/s390-32/setjmp.S: Likewise.
34610         * sysdeps/s390/s390-64/setjmp.S: Likewise.
34611         * sysdeps/sh/sh3/setjmp.S: Likewise.
34612         * sysdeps/sh/sh4/setjmp.S: Likewise.
34613         * sysdeps/unix/alpha/sysdep.h: Likewise.
34614         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
34615         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34616         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
34617         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
34618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
34619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34620         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34621         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34622         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34623         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34624         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34625         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
34626         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34627         * sysdeps/x86_64/setjmp.S: Likewise.
34629 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
34631         [BZ #17263]
34632         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
34633         <stdint.h>.
34634         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
34635         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
34637 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
34639         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
34641         [BZ #17262]
34642         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
34643         and __x86_64__ when disabling x87 inline functions.
34645 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
34647         [BZ #17259]
34648         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
34649         asm statement with __cpuid_count.
34651 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
34653         * configure.ac: Change __ehdr_start code to dereference the struct.
34654         Run readelf on the output to look for relocations.
34655         * configure: Regenerated.
34657 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
34659         [BZ #17261]
34660         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
34661         value to 0.
34662         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
34664 2014-08-12  Roland McGrath  <roland@hack.frob.com>
34666         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
34668 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
34670         [BZ #16892]
34671         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
34672         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
34674 2014-08-12  Sean Anderson  <seanga2@gmail.com>
34676         * malloc/malloc.c: Fix typo in comment.
34678 2014-08-09  Allan McRae  <allan@archlinux.org>
34680         * Regenerate libc.po.
34682 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
34684         * intl/tst-gettext2.sh: Check every lang file for creation.
34686 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
34688         * sysdeps/aarch64/fpu/math_private.h
34689         (libc_feholdsetround_noex_aarch64_ctx): New function.
34691 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
34693         * sysdeps/arm/armv6/strcpy.S (strcpy):
34694         Fix performance issue in misaligned cases.
34696 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34698         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
34699         Move definition from termios.h.
34700         (struct termio): Likewise.
34701         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
34702         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
34703         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
34704         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
34705         Likewise.
34706         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
34707         Move definition to ioctl-types.h
34708         (struct termio): Likewise.
34709         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
34710         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
34711         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
34712         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
34713         Likewise.
34715 2014-08-05  Richard Henderson  <rth@redhat.com>
34717         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
34718         exceptions.
34719         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
34720         Add fraiseexcpt.
34721         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
34722         Use __feraiseexcept.
34723         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
34724         Protect libm symbols with IS_IN_libm.
34726         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
34728 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
34730         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
34732 2014-08-04  Will Newton  <will.newton@linaro.org>
34734         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
34735         file.
34737 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
34739         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
34740         variants for each function.
34742 2014-08-04  Roland McGrath  <roland@hack.frob.com>
34744         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
34745         appended ...
34746         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
34747         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
34748         appended ...
34749         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
34750         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
34751         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
34752         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
34753         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
34754         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
34755         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
34756         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
34757         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
34758         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
34759         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
34760         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
34761         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
34762         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
34763         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
34764         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
34765         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
34766         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
34767         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
34768         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
34769         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
34770         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
34771         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
34772         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
34773         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
34774         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
34775         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
34776         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
34777         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
34778         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
34779         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
34780         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
34781         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
34782         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
34783         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
34784         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
34785         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
34786         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
34787         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
34788         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
34789         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
34790         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
34791         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
34792         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
34793         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
34794         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
34795         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
34796         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
34797         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
34798         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
34799         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
34800         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
34801         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
34802         Update #include.
34803         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
34804         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
34806 2014-08-04  Roland McGrath  <roland@hack.frob.com>
34808         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
34809         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
34810         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
34811         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
34812         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
34813         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
34815 2014-08-04  Roland McGrath  <roland@hack.frob.com>
34817         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
34818         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
34819         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34820         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
34822 2014-08-04  Roland McGrath  <roland@hack.frob.com>
34824         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
34825         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
34826         (__libc_vfork): Define function under this name.
34827         (__vfork): Define as an alias.
34828         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
34829         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
34831 2014-08-04  Roland McGrath  <roland@hack.frob.com>
34833         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
34834         that was previously under [RESET_PID].
34835         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
34837 2014-08-04  Andreas Schwab  <schwab@suse.de>
34839         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
34841 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
34843         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
34844         (main): Likewise.
34846 2014-08-01  Roland McGrath  <roland@hack.frob.com>
34848         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
34850 2014-08-01  Richard Henderon  <rth@redhat.com>
34852         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
34853         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
34854         typo in exact zero test.
34855         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34856         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34857         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34859 2014-08-01  Roland McGrath  <roland@hack.frob.com>
34861         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
34862         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
34863         * sysdeps/arm/sysdep.h: ... here.
34864         [!__ASSEMBLER__]: Include <stdint.h>.
34866 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
34868         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
34869         (HAVE_WCTYPE_H): Likewise.
34870         (HAVE_ISWCTYPE): Likewise.
34871         (ENABLE_NLS): Likewise.
34872         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
34873         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
34875         * posix/regex_internal.c: Check if DEBUG is defined and is
34876         set.
34878         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
34879         (HAVE_MBSRTOWCS): Likewise.
34880         * posix/fnmatch.c: Include string.h unconditionally.
34882 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
34884         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
34885         reversal.
34887 2014-07-31  Roland McGrath  <roland@hack.frob.com>
34889         * sysdeps/generic/safe-fatal.h: New file.
34890         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
34891         * nptl/forward.c: Include it.
34892         (__pthread_unwind): Use __safe_fatal as default action, rather
34893         than a bogus use of INTERNAL_SYSCALL that could never work.
34895         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
34896         * configure.ac (libc_cv_builtin_trap): New test.
34897         * configure: Regenerated.
34898         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
34899         (ABORT_INSTRUCTION): Define using __builtin_trap.
34901         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
34902         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
34903         * sysdeps/nptl/nptl-signals.h: New file.
34904         * nptl/pthreadP.h: Include <nptl-signals.h>.
34906 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
34908         * sysdeps/s390/s390-64/utf16-utf32-z9.c
34909         (ONE_DIRECTION): Define.
34910         * sysdeps/s390/s390-64/utf8-utf16-z9.c
34911         (ONE_DIRECTION): Define.
34912         * sysdeps/s390/s390-64/utf8-utf32-z9.c
34913         (ONE_DIRECTION): Define.
34915 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
34917         * sysdeps/s390/Makefile: Delete file.
34918         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
34919         * sysdeps/s390/__longjmp.c: Delete file.
34920         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
34921         Remove fields __flags and __reserved.
34922         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
34923         and add versioning.
34924         * sysdeps/s390/rtld-__longjmp.c: Delete file.
34925         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
34926         * sysdeps/s390/rtld-setjmp.S: Likewise.
34927         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
34928         * sysdeps/s390/s390-32/__longjmp.c: ... here.
34929         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
34930         * sysdeps/s390/s390-32/setjmp.S: ... here.
34931         Add versioning.
34932         (__sigsetjmp): Remove setting __flags field.
34933         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
34934         * sysdeps/s390/s390-64/__longjmp.c: ... here.
34935         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
34936         * sysdeps/s390/s390-64/setjmp.S: ... here.
34937         Add versioning.
34938         (__sigsetjmp): Remove setting __flags field.
34939         * sysdeps/s390/setjmp.S: Delete file.
34940         * sysdeps/s390/sigjmp.c: Likewise.
34941         * sysdeps/s390/v1-longjmp.c: Likewise.
34942         * sysdeps/s390/v1-setjmp.h: Likewise.
34943         * sysdeps/s390/v1-sigjmp.c: Likewise.
34944         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
34945         Remove v1-longjmp_chk.
34946         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
34947         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
34948         Include debug/longjmp_chk.c and add versioning.
34949         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
34950         Include nptl/pt-longjmp.c and add versioning.
34951         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
34952         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
34953         Include __longjmp.c.
34954         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
34955         Move to ...
34956         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
34957         (__getcontext): Remove setting __flags field.
34958         Add versioning.
34959         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
34960         Don't restore upper high grps.
34961         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
34962         Likewise.
34963         (__swapcontext): Remove setting uc_flags field.
34964         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
34965         Delete file.
34966         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
34967         Include __longjmp.c.
34968         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
34969         Move to ...
34970         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
34971         (__getcontext): Remove setting __flags field.
34972         Add versioning.
34973         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
34974         (__swapcontext): Remove setting uc_flags field.
34975         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
34976         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
34977         Remove fields uc_high_gprs and __reserved.
34978         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
34979         New file with reverted content.
34980         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
34981         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
34982         Regenerated.
34983         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
34984         Regenerated.
34986 2014-07-31  Andreas Schwab  <schwab@suse.de>
34988         * config.h.in (HAVE_IFUNC): Define to 0.
34989         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
34990         definedness.
34992 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
34994         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34995         memmove-avx-unaligned, memcpy-avx-unaligned and
34996         mempcpy-avx-unaligned.
34997         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34998         Add tests for AVX memcpy functions.
34999         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
35000         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
35001         memcpy_chk.
35002         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
35003         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
35004         memmove_chk.
35005         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
35006         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
35007         mempcpy_chk.
35008         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
35009         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
35010         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
35012 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35014         [BZ #17213]
35015         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
35016         powerpc64le.
35018 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
35020         [BZ #16839]
35021         * manual/llio.texi: Add section about open file description locks.
35022         * manual/examples/ofdlocks.c: Example of open file description
35023         lock usage.
35024         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
35025         F_OFD_SETLK, and F_OFD_SETLKW.
35027 2014-07-23  Allan McRae  <allan@archlinux.org>
35029         * po/es.po: Update Spanish translation from translation project.
35031 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
35033         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
35035 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
35037         [BZ #17078]
35038         * sysdeps/arm/dl-machine.h (elf_machine_rela)
35039         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
35040         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
35042 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
35044         [BZ #17088]
35045         * math/fesetenv.c (__fesetenv)
35046         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
35047         * math/feupdateenv.c (__feupdateenv)
35048         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
35050         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
35051         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
35052         (__ASSUME_SOCKETCALL): Do not define.
35054         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
35055         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
35056         (__ASSUME_SOCKETCALL): Do not define.
35057         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
35058         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
35059         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
35060         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
35061         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35062         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
35063         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35064         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35066         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
35067         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
35068         (__ASSUME_SOCKETCALL): Do not define.
35069         (__ASSUME_IPC64): Define unconditionally.
35070         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
35071         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
35072         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
35073         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35074         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
35075         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35076         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
35077         Likewise.
35079         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
35080         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
35081         (__ASSUME_SOCKETCALL): Do not define.
35082         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
35083         (__ASSUME_FUTEX_LOCK_PI): Likewise.
35084         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
35085         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
35086         (__ASSUME_REQUEUE_PI): Define unconditionally.
35087         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
35088         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
35089         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35090         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
35091         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35092         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35094         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
35095         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
35096         (__ASSUME_SOCKETCALL): Do not define.
35097         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
35098         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35099         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35100         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
35101         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35102         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35104         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
35105         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
35106         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
35107         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
35108         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35109         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
35110         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35111         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
35112         (__ASSUME_GETCPU_SYSCALL): Likewise.
35114         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
35115         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
35116         cases for individual architectures.
35117         * sysdeps/gnu/configure: Regenerated.
35118         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
35119         LIBC_SLIBDIR_RTLDDIR.
35120         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
35121         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
35122         LIBC_SLIBDIR_RTLDDIR.
35123         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
35124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
35125         LIBC_SLIBDIR_RTLDDIR.
35126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
35127         Regenerated.
35128         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
35129         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
35130         file.
35131         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
35132         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
35133         file.
35134         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
35135         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
35136         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
35137         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
35139         * sysdeps/aarch64/shlib-versions: Move to ...
35140         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
35141         * sysdeps/alpha/shlib-versions: Move to ...
35142         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
35143         * sysdeps/arm/shlib-versions: Move to ...
35144         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
35145         * sysdeps/hppa/shlib-versions: Move all contents except for
35146         libgcc_s entry to ...
35147         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
35148         entry from ...
35149         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
35150         * sysdeps/ia64/shlib-versions: Move to ...
35151         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
35152         entry from ...
35153         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
35154         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
35155         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
35156         * sysdeps/microblaze/shlib-versions: Move to ...
35157         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
35158         * sysdeps/mips/shlib-versions: Move to ...
35159         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
35160         entry from ...
35161         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
35162         * sysdeps/tile/shlib-versions: Move to ...
35163         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
35164         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
35165         from ...
35166         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
35167         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
35168         entry from ...
35169         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
35171 2014-07-17  Will Newton  <will.newton@linaro.org>
35173         * sysdeps/arm/bits/atomic.h
35174         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
35175         (__arch_compare_and_exchange_bool_16_int): Likewise.
35176         (__arch_compare_and_exchange_bool_64_int): Likewise.
35178         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
35179         into an #else block.
35181 2014-07-16  Roland McGrath  <roland@hack.frob.com>
35183         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
35184         just Linux configurations.  Test empirically that the compiler sets
35185         __ARM_EABI__, rather than using the tuple to decide.
35186         * sysdeps/arm/preconfigure: Regenerated.
35187         * sysdeps/unix/sysv/linux/arm/configure: File removed.
35188         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
35189         contents appended ...
35190         * sysdeps/arm/configure.ac: ... here.
35191         * sysdeps/arm/configure: Regenerated.
35193 2014-07-15  Roland McGrath  <roland@hack.frob.com>
35195         * nptl/pthread_kill.c: New file.
35196         * nptl/pthread_sigmask.c: New file.
35197         * nptl/pthread_sigqueue.c: New file.
35199         * sysdeps/nptl/lowlevellock.h: New file.
35200         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
35201         * sysdeps/nptl/lowlevellock-futex.h: New file.
35203         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
35204         Remove dead declarations.
35206 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
35208         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
35209         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
35210         config-cflags-avx2.
35211         * sysdeps/x86_64/configure.ac: Likewise.
35212         * sysdeps/i386/configure: Regenerated.
35213         * sysdeps/x86_64/configure: Likewise.
35214         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35215         memset-avx2 only if config-cflags-avx2 is yes.
35216         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35217         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
35218         defined.
35219         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
35220         only if HAVE_AVX2_SUPPORT is defined.
35221         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35223 2014-07-14  Alan Modra  <amodra@gmail.com>
35225         [BZ #17153]
35226         * elf/elf.h (DT_PPC64_NUM): Correct value.
35227         * NEWS: Add to fixed bug list.
35229 2014-07-13  Jim Meyering  <meyering@fb.com>
35231         [BZ 17150]
35232         regex: don't deref NULL upon heap allocation failure
35233         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
35234         failure in one more place.
35235         To trigger the segfault, configure grep -with-included-regex,
35236         build it, and run these commands:
35237         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
35239 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
35241         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
35243 2014-07-11  Richard Henderson  <rth@redhat.com>
35245         * sysdeps/aarch64/libm-test-ulps: Update.
35247 2014-07-10  Florian Weimer  <fweimer@redhat.com>
35249         [BZ #17135]
35250         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
35251         * nptl/allocatestack.c (__nptl_setxid_error): New function.
35252         (__nptl_setxid): Initialize error member.  Call
35253         __nptl_setxid_error.
35254         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
35255         * nptl/descr.h (struct xid_command): Add error member.
35256         * nptl/tst-setuid3.c: New file.
35257         * nptl/Makefile (tests): Add it.
35259 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35261         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
35262         New define.
35263         (__lll_trylock): Use __lll_base_trylock.
35264         (__lll_cond_trylock): Likewise.
35266 2014-07-10  Roland McGrath  <roland@hack.frob.com>
35268         * nptl/pthread_create.c (start_thread): Use atomic_or and
35269         lll_futex_wake directly rather than lll_robust_dead.
35270         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
35271         (lll_robust_dead): Macro removed.
35272         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
35273         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
35274         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
35275         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
35276         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
35277         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
35278         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
35279         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
35280         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
35281         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
35282         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
35283         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
35284         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
35285         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
35286         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
35288         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
35289         Use atomic_compare_and_exchange_val_acq directly rather than
35290         lll_robust_trylock.
35291         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
35292         (__lll_robust_trylock, lll_robust_trylock): Removed.
35293         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
35294         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
35295         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
35296         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
35297         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
35298         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
35299         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
35300         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
35301         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
35302         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
35303         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
35304         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
35305         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
35306         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
35308 2014-07-02  Florian Weimer  <fweimer@redhat.com>
35310         * manual/locale.texi (Locale Names): New section documenting
35311         locale name syntax.  Adjust menu and node chaining accordingly.
35312         (Choosing Locale): Reference Locale Names, Locale Categories.
35313         Mention setting LC_ALL=C.  Reflect that name syntax is now
35314         documented.
35315         (Locale Categories): New section title.  Reference Locale Names.
35316         LC_ALL is an environment variable, but not a category.
35317         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
35318         description, now in Locale Name.  Reference that section.  Locale
35319         name syntax is now documented.
35321 2014-07-02  Florian Weimer  <fweimer@redhat.com>
35323         [BZ #17137]
35324         * locale/findlocale.c (name_present, valid_locale_name): New
35325         functions.
35326         (_nl_find_locale): Use the loc_name variable to store name
35327         candidates.  Call name_present and valid_locale_name to check and
35328         validate locale names.  Return an error if the locale is invalid.
35330 2014-07-02  Florian Weimer  <fweimer@redhat.com>
35332         * locale/setlocale.c (setlocale): Use strdup for allocating
35333         composite name copy.
35335 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35337         Sync up with gnulib.
35338         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
35339         [!_LIBC && ENABLE_NLS]: Include gettext.h.
35340         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
35341         and _GL_ARG_NONNULL.
35342         [USE_UNLOCKED_IO]: Include unlocked-io.h.
35343         [!_LIBC]: Include code for Windows and Cygwin.
35344         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
35345         Include prototype for int strerror_r.
35346         [!_LIBC] (is_open): New function.
35347         (flush_stdout): New function.
35348         (print_errno_message): Use it.
35349         (error): Likewise.
35350         (error_at_line): Likewise.
35351         (error_tail) Add function attribute macros.  Use
35352         __builtin_expect.
35354         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
35356         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
35358         * io/ftw.c: Include sys/param.h unconditionally.
35360         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
35362         [BZ #17125]
35363         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
35364         libc_freeres_ptr.
35365         (freecache): New function to free CACHE on exit.
35367         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
35368         initialization.
35370 2014-07-09  David S. Miller  <davem@davemloft.net>
35372         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35374         * sysdeps/sparc/nptl/internaltypes.h: Delete.
35375         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
35376         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
35377         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
35378         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
35379         * sysdeps/sparc/nptl/sem_init.c: Likewise.
35380         * sysdeps/sparc/nptl/sem_post.c: Likewise.
35381         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
35382         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
35383         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
35384         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
35385         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
35386         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
35388 2014-07-09  Andreas Schwab  <schwab@suse.de>
35390         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
35391         output.
35392         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
35393         (do_test): Likewise.
35395         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35397 2014-07-09  Will Newton  <will.newton@linaro.org>
35399         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
35400         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
35401         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
35402         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
35403         * sysdeps/hppa/start.S (_start): Likewise.
35405 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
35407         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
35409         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
35410         defined.
35412 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
35414         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
35415         after checking that it is non-NULL.
35417         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
35419 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35421         * sysdeps/powerpc/memmove.c: Remove file.
35422         * sysdeps/powerpc/powerpc32/power4/memcopy.h
35423         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
35424         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
35425         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
35426         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
35427         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
35428         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
35429         string memmove instead of removed powerpc one.
35431         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
35432         [weak_alias]: Fix compiler warning due trailing data.
35433         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
35434         [weak_alias]: Likewise.
35435         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
35436         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
35438         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35439         (__libc_ifunc_impl_list): Add memmove functions.
35441 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
35443         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
35444         Remove code.
35445         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
35446         Likewise.
35447         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
35448         Likewise.
35449         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
35450         Likewise.
35451         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
35452         Likewise.
35453         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
35454         Likewise.
35455         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
35456         Likewise.
35457         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
35458         Likewise.
35459         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
35460         Likewise.
35461         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
35462         Likewise.
35463         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
35464         Likewise.
35465         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
35466         Likewise.
35467         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
35468         Likewise.
35469         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
35470         Likewise.
35471         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
35472         Likewise.
35473         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
35474         Likewise.
35475         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
35476         Likewise.
35478 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35480         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
35481         to avoid alignment traps in non-cacheable memory.
35482         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
35484         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
35485         multiarch objects.
35486         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
35487         file: multiarch power7 memmove.
35488         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
35489         multiarch default memmove.
35490         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
35491         multiarch memove for powerpc32/power4.
35493         * string/bcopy.c: Use full path to include memmove.c.
35494         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
35495         multiarch objects.
35496         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
35497         bcopy for powerpc64.
35498         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
35499         bcopy for powerpc64.
35500         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
35501         and memmove implementations.
35502         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
35503         optimized multiarch memmove for POWER7/powerpc64.
35504         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
35505         default multiarch memmove for powerpc64.
35506         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
35507         multiarch for powerpc64.
35508         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
35509         for POWER7/powerpc64.
35510         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
35511         memmove for POWER7/powerpc64.
35513         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
35514         glibc default one.
35516         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
35517         __ELF_NATIVE_CLASS equal to 64.
35519 2014-07-07  Roland McGrath  <roland@hack.frob.com>
35521         * sysdeps/nptl/lowlevellock.h: File removed.
35523         * NEWS: NPTL is no longer an add-on!
35524         * nptl/internaltypes.h: Moved ...
35525         * sysdeps/nptl/internaltypes.h: ... here.
35526         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
35527         * sysdeps/nptl/fork.c: Likewise.
35528         * sysdeps/nptl/gai_misc.h: Likewise.
35529         * sysdeps/nptl/librt-cancellation.c: Likewise.
35530         * sysdeps/nptl/jmp-unwind.c: Likewise.
35531         * sysdeps/nptl/setxid.h: Likewise.
35532         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
35533         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
35534         * sysdeps/unix/sysv/linux/arm/Implies: New file.
35535         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
35536         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
35537         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
35538         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
35539         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
35540         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
35541         * sysdeps/unix/sysv/linux/mips/Implies: New file.
35542         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
35543         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
35544         * sysdeps/unix/sysv/linux/sh/Implies: New file.
35545         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
35546         * sysdeps/unix/sysv/linux/tile/Implies: New file.
35547         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
35548         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
35549         * nptl/Makeconfig: Moved ...
35550         * sysdeps/nptl/Makeconfig: ... here.
35551         * nptl/configure: File removed.
35552         * nptl/ANNOUNCE: File removed.
35553         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
35554         * sysdeps/unix/sysv/linux/configure: Regenerated.
35556         * nptl/Makefile (routines): Add libc_pthread_init,
35557         libc_multiple_threads, register-atfork and unregister-atfork.
35558         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
35559         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
35560         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
35561         pthread-pi-defines.sym, structsem.sym.
35562         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
35563         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
35564         [$(subdir) = nptl] (tests): Add tst-setgetname.
35565         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
35566         * sysdeps/unix/sysv/linux/sigaction.c: Just include
35567         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
35568         [!LIBC_SIGACTION]: Remove aliases.
35569         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
35570         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
35571         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
35572         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
35573         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
35574         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
35575         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
35576         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
35577         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
35578         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
35579         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
35580         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
35581         __libc_allocate_rtsig_private.
35582         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
35583         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
35584         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
35585         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
35586         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
35587         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
35588         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
35589         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
35590         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
35591         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
35592         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
35593         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
35594         * nptl/internaltypes.h: ... here.
35595         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
35596         * sysdeps/nptl/jmp-unwind.c: ... here.
35597         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
35598         * nptl/libc-lowlevellock.c: ... here.
35599         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
35600         * nptl/libc_multiple_threads.c: ... here.
35601         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
35602         * nptl/libc_pthread_init.c: ... here.
35603         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
35604         * nptl/lowlevelbarrier.sym: ... here.
35605         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
35606         * nptl/lowlevelcond.sym: ... here.
35607         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
35608         * nptl/lowlevellock.c: ... here.
35609         * nptl/lowlevellock.h: Moved ...
35610         * sysdeps/nptl/lowlevellock.h: ... here.
35611         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
35612         * nptl/lowlevelrobustlock.c: ... here.
35613         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
35614         * nptl/lowlevelrobustlock.sym: ... here.
35615         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
35616         * nptl/lowlevelrwlock.sym: ... here.
35617         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
35618         * nptl/pt-fork.c: ... here.
35619         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
35620         * nptl/pthread-pi-defines.sym: ... here.
35621         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
35622         * nptl/pthread_attr_getaffinity.c: ... here.
35623         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
35624         * nptl/pthread_attr_setaffinity.c: ... here.
35625         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
35626         * nptl/pthread_mutex_cond_lock.c: ... here.
35627         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
35628         Update #include.
35629         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
35630         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
35631         * nptl/pthread_once.c: ... here, replacing old file.
35632         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
35633         * nptl/pthread_yield.c: ... here.
35634         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
35635         * nptl/register-atfork.c: ... here.
35636         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
35637         * nptl/sem_post.c: ... here.
35638         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
35639         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
35640         * nptl/sem_timedwait.c: ... here.
35641         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
35642         * nptl/sem_trywait.c: ... here.
35643         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
35644         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
35645         * nptl/sem_wait.c: ... here.
35646         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
35647         * nptl/structsem.sym: ... here.
35648         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
35649         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
35650         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
35651         * nptl/unregister-atfork.c: ... here.
35652         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
35653         * nptl/unwindbuf.sym: ... here.
35654         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
35655         * sysdeps/nptl/fork.c: ... here.
35656         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
35657         * sysdeps/nptl/fork.h: ... here.
35658         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
35659         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
35660         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
35661         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
35662         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
35663         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
35664         * sysdeps/unix/sysv/linux/getpid.c: ... here.
35665         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
35666         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
35667         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
35668         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
35669         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
35670         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
35671         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
35672         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
35673         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
35674         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
35675         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
35676         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
35677         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
35678         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
35679         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
35680         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
35681         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
35682         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
35683         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
35684         * sysdeps/unix/sysv/linux/raise.c: ... here.
35685         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
35686         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
35687         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
35688         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
35689         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
35690         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
35691         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
35692         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
35693         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
35694         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
35695         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
35696         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
35697         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
35698         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
35699         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
35701 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35703         * sysdeps/generic/memcopy.h: Add comment for
35704         MEMCPY_OK_FOR_FWD_MEMMOVE.
35706 2014-07-04  Will Newton  <will.newton@linaro.org>
35708         * string/memchr.c: Merge from gnulib.
35709         [_LIBC]: Remove conditionals.
35710         (__ptr_t): Remove define.
35711         (LONG_MAX_32_BITS): Likewise.
35712         (LONG_MAX): Likewise.
35713         (MEMCHR): Use ANSI prototype and optimize algorithm.
35715         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
35717 2014-07-03  Roland McGrath  <roland@hack.frob.com>
35719         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
35720         (lll_futex_timed_wait_bitset): Fix syscall argument count.
35722         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
35723         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
35724         in a bare environment with no <stdlib.h> installed.
35725         * sysdeps/nptl/configure: Regenerated.
35727         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
35729         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
35730         AC_EGREP_CPP for kernel header checks, so they only succeed if
35731         including <linux/version.h> actually works right.
35732         * sysdeps/unix/sysv/linux/configure: Regenerated.
35734         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
35735         value so it's not diagnosed as unused.
35737         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
35738         thing) with "ifeq ($(subdir),rt)".
35740 2014-07-03  Richard Henderson  <rth@redhat.com>
35742         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
35743         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
35744         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
35746         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
35747         (math_force_eval): New.
35749         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
35750         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
35752         * sysdeps/alpha/fpu/s_round.c: Remove file.
35753         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
35755         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
35756         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
35757         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
35758         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
35759         (_dl_start, print_statistics): Likewise.
35760         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
35761         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
35763         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
35764         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
35765         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
35766         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
35767         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
35768         (HP_SMALL_TIMING_AVAIL): Define.
35769         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
35770         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
35771         (HP_SMALL_TIMING_AVAIL): Define.
35772         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
35773         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
35775         * sysdeps/aarch64/hp-timing.h: New file.
35777         * sysdeps/generic/hp-timing.h: Remove dead comment.
35778         * sysdeps/generic/hp-timing-common.h: New file.
35779         * sysdeps/alpha/hp-timing.h: Include it.
35780         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
35781         * sysdeps/i386/i686/hp-timing.h: Likewise.
35782         * sysdeps/ia64/hp-timing.h: Likewise.
35783         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
35784         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
35785         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
35786         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
35787         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
35788         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
35789         (hp_timing_t): New.
35791         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
35792         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
35793         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
35794         * elf/rtld.c (_dl_start_final): Likewise.
35795         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
35796         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
35797         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
35798         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
35799         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
35800         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
35801         (HP_TIMING_DIFF_INIT): Remove.
35802         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
35803         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
35804         (HP_TIMING_DIFF_INIT): Remove.
35805         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
35806         * sysdeps/i386/i686/hp-timing.c: Remove file.
35807         * sysdeps/x86_64/hp-timing.c: Remove file.
35808         * sysdeps/ia64/hp-timing.c: Remove file.
35809         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
35810         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
35811         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
35812         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
35814         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
35815         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
35816         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
35817         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
35818         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
35819         (HP_TIMING_ACCUM): Remove.
35820         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
35821         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
35822         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
35824         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
35825         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
35826         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
35827         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
35828         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
35829         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
35830         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
35831         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
35833         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
35835 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
35837         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
35839 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35841         Sync up with gettext.
35842         * intl/loadmsgcat.c: Define O_BINARY if not defined.
35843         [_MSC_VER]: Include malloc.h
35844         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
35845         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
35846         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
35847         TEMP_FAILURE_RETRY.  Cast return of alloca.
35848         [!_LIBC] Call gl_rwlock_init.
35849         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
35851 2014-07-02  Roland McGrath  <roland@hack.frob.com>
35853         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
35854         before checking its value.
35856 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35858         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
35860         * debug/memcpy_chk.c: Don't include pagecopy.h.
35861         * debug/mempcpy_chk.c: Likewise.
35862         * string/memcpy.c: Likewise.
35863         * string/memmove.c: Likewise.
35864         * sysdeps/powerpc/memmove.c: Likewise.
35865         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
35866         definition of PAGE_COPY_FWD_MAYBE here...
35867         * sysdeps/generic/pagecopy.h: ... from here.
35868         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
35870 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35871             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35873         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
35874         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
35875         optimizations.
35876         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35877         (__libc_ifunc_impl_list): Likewise.
35878         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
35879         multiarch strcat for PPC64.
35880         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
35881         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
35883 2014-07-02  Roland McGrath  <roland@hack.frob.com>
35885         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
35887 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35889         * intl/loadmsgcat.c: Remove declaration of
35890         get_sysdep_segment_value.
35891         (get_sysdep_segment_value): Use ISO C style.
35892         (_nl_load_domain): Use ISO C style.  Get rid of redundant
35893         semicolon.  Fix typo and formatting in comment.
35894         (_nl_unload_domain): Use ISO C style.
35896         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
35898 2014-07-02  Will Newton  <will.newton@linaro.org>
35900         * malloc/obstack.c: Merge from gnulib master.
35901         [HAVE_CONFIG_H]: Remove conditional code.
35902         [!_LIBC]: Include config.h.
35903         [!ELIDE_CODE]: Don't include inttypes.h, include
35904         stdint.h unconditionally.
35905         (print_and_abort): Mark as _Noreturn.
35906         (_obstack_allocated_p): Mark as __attribute_pure__.
35907         (obstack_free): Rename to __obstack_free.
35908         [!__attribute__]: Remove conditional code.
35909         * malloc/obstack.h: Merge from gnulib master.
35910         [__cplusplus]: Move conditional down.
35911         [!__attribute_pure__]: Define __attribute_pure__ here
35912         if it is not already defined.
35913         (_obstack_memory_used): Mark as __attribute_pure__.
35914         [!__obstack_free]: Define as obstack_free.
35915         [__GNUC__]: Remove check for ancient NeXT gcc.
35917 2014-07-02  Will Newton  <will.newton@linaro.org>
35918             Paul Eggert  <eggert@cs.ucla.edu>
35920         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
35922 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35924         * resolv/gethnamaddr.c: Add comment warning that the file is
35925         not maintained.
35927 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
35929         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
35930         entries.
35932         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
35933         entry for aio_cancel and aio_cancel64.
35934         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
35935         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
35936         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
35937         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
35938         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
35939         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
35940         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
35941         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
35942         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
35943         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
35944         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
35945         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
35946         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
35948 2014-07-01  Roland McGrath  <roland@hack.frob.com>
35950         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
35951         * nptl/pthread_mutex_lock.c: Likewise.
35952         * nptl/pthread_mutex_timedlock.c: Likewise.
35953         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
35955 2014-07-01  Richard henderson  <rth@redhat.com>
35957         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
35958         (__isnan, __isnanl): Remove.
35959         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
35961         * sysdeps/alpha/fpu/libm-test-ulps: Update.
35963 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
35965         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35967 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
35969         * resolv/nss_dns/dns-host.c (getanswer_r)
35970         [MULTI_PTRS_ARE_ALIASES]: Remove code.
35972 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
35974         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35975         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
35976         undefine.
35977         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
35978         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
35980 2014-07-01  Roland McGrath <roland@hack.frob.com>
35982         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
35983         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
35985         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
35986         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
35988         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
35989         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
35990         ... here.
35991         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
35992         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
35994         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
35995         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
35996         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
35997         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
35999         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
36000         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
36001         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
36002         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
36003         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
36004         Moved ...
36005         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
36006         ... here.
36007         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
36008         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
36009         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
36010         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
36011         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
36012         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
36013         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
36014         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
36015         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
36016         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
36017         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
36018         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
36019         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
36020         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
36021         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
36022         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
36023         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
36024         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
36025         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
36026         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
36027         ... here.
36028         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
36029         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
36030         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
36031         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
36032         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
36033         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
36034         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
36035         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
36037 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
36039         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
36040         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
36041         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
36042         Add sysdep.
36044 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36046         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36048 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
36050         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
36051         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
36053         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
36055         * sysdeps/arm/libm-test-ulps: Regenerated.
36057 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
36058             Roland McGrath <roland@hack.frob.com>
36060         * test-skeleton.c (signal_handler): Kill the whole process group
36061         before killing the child individually.
36062         (main): Report any failure on `setpgid'.
36064 2014-06-30  Roland McGrath  <roland@hack.frob.com>
36066         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
36067         from _TLS_H to _ARM_NPTL_TLS_H.
36068         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
36069         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
36071 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
36073         [BZ #16539]
36074         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
36075         (__expm1l): Return argument unchanged when small but not
36076         subnormal.
36078         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
36079         include macro name.
36080         (_FP_UNPACK_RAW_1_P): Likewise.
36081         (_FP_PACK_RAW_1): Likewise.
36082         (_FP_PACK_RAW_1_P): Likewise.
36083         (_FP_MUL_MEAT_1_wide): Likewise.
36084         (_FP_MUL_MEAT_DW_1_hard): Likewise.
36085         (_FP_MUL_MEAT_1_hard): Likewise.
36086         (_FP_DIV_MEAT_1_imm): Likewise.
36087         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
36088         (_FP_DIV_MEAT_1_udiv): Likewise.
36089         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
36090         (_FP_UNPACK_RAW_2): Likewise.
36091         (_FP_UNPACK_RAW_2_P): Likewise.
36092         (_FP_PACK_RAW_2): Likewise.
36093         (_FP_PACK_RAW_2_P): Likewise.
36094         (_FP_MUL_MEAT_DW_2_wide): Likewise.
36095         (_FP_MUL_MEAT_2_wide): Likewise.
36096         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
36097         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
36098         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
36099         (_FP_MUL_MEAT_2_gmp): Likewise.
36100         (_FP_DIV_MEAT_2_udiv): Likewise.
36101         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
36102         (_FP_FRAC_SRL_4): Likewise.
36103         (_FP_FRAC_SRST_4): Likewise.
36104         (_FP_FRAC_SRS_4): Likewise.
36105         (_FP_UNPACK_RAW_4): Likewise.
36106         (_FP_UNPACK_RAW_4_P): Likewise.
36107         (_FP_PACK_RAW_4): Likewise.
36108         (_FP_PACK_RAW_4_P): Likewise.
36109         (_FP_MUL_MEAT_DW_4_wide): Likewise.
36110         (_FP_MUL_MEAT_4_wide): Likewise.
36111         (_FP_MUL_MEAT_4_gmp): Likewise.
36112         (umul_ppppmnnn): Likewise.
36113         (_FP_DIV_MEAT_4_udiv): Likewise.
36114         (__FP_FRAC_ADD_4): Likewise.
36115         (__FP_FRAC_SUB_3): Likewise.
36116         (__FP_FRAC_SUB_4): Likewise.
36117         (__FP_FRAC_DEC_3): Likewise.
36118         (__FP_FRAC_DEC_4): Likewise.
36119         (__FP_FRAC_ADDI_4): Likewise.
36120         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
36121         (_FP_FRAC_SRL_8): Likewise.
36122         (_FP_FRAC_SRS_8): Likewise.
36124         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
36125         include macro name.
36126         (FP_UNPACK_RAW_EP): Likewise.
36127         (FP_PACK_RAW_E): Likewise.
36128         (FP_PACK_RAW_EP): Likewise.
36129         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
36130         (_FP_ISSIGNAN): Likewise.
36131         (_FP_ADD_INTERNAL): Likewise.
36132         (_FP_FMA): Likewise.
36133         (_FP_CMP): Likewise.
36134         (_FP_SQRT): Likewise.
36135         (_FP_TO_INT): Likewise.
36136         (_FP_FROM_INT): Likewise.
36137         (FP_EXTEND): Likewise.
36138         (_FP_DIV_MEAT_N_loop): Likewise.
36140 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
36142         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
36143         throughout.
36145 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
36147         [BZ #17097]
36148         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
36149         result with correct sign in case of exponents that produce
36150         overflow except for X very close to 1.
36152 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
36154         mktime: merge #if/#ifdef usage from glibc
36155         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
36156         as that works with both Glibc's and Gnulib's style.
36157         See thread starting at Siddhesh Poyarekar's bug report at:
36158         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
36160 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36162         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
36163         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
36164         * sysdeps/tile/tilegx/memmove.c: Remove file.
36166 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
36168         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
36169         abi-name definition.
36170         * scripts/soversions.awk: Do not handle or generate ABI lines.
36171         * shlib-versions: Remove ABI entries.
36172         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
36173         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
36175 2014-06-27  Roland McGrath  <roland@hack.frob.com>
36177         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
36178         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
36179         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
36180         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
36181         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
36182         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
36183         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
36184         Moved ...
36185         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
36186         ... here.
36187         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
36188         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
36189         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
36190         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
36191         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
36192         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
36193         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
36194         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
36195         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
36196         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
36197         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
36198         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
36199         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
36200         Moved ...
36201         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
36202         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
36203         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
36204         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
36205         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
36206         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
36207         Moved ...
36208         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
36209         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
36210         Moved ...
36211         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
36212         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
36213         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
36214         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
36215         Moved ...
36216         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
36217         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
36218         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
36219         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
36220         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
36221         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
36222         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
36223         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
36224         Moved ...
36225         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
36226         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
36227         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
36228         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
36229         Moved ...
36230         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
36231         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
36232         Moved ...
36233         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
36234         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
36235         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
36236         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
36237         Moved ...
36238         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
36239         ... here.
36240         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
36241         Identical file removed.
36242         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
36243         Moved ...
36244         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
36245         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
36246         Identical file removed.
36247         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
36248         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
36249         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
36250         Moved ...
36251         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
36252         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
36253         Identical file removed.
36254         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
36255         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
36256         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
36257         Identical file removed.
36258         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
36259         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
36260         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
36261         Identical file removed.
36262         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
36263         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
36264         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
36265         Identical file removed.
36266         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
36267         Moved ...
36268         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
36269         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
36270         Identical file removed.
36271         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
36272         Moved ...
36273         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
36274         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
36275         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
36276         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
36277         Identical file removed.
36278         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
36279         Moved ...
36280         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
36281         ... here.
36282         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
36283         Identical file removed.
36284         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
36285         Moved ...
36286         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
36287         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
36288         Identical file removed.
36289         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
36290         Moved ...
36291         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
36292         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
36293         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
36294         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
36295         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
36296         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
36297         Moved ...
36298         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
36299         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
36300         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
36302         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
36303         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
36304         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
36305         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
36306         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
36308 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
36310         [BZ #17092]
36311         * nscd/nscd.c (monitor_child): Return exit status of child
36312         instead of return value from wait syscall.
36314 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
36316         * configure.ac (libc_commonpagesize): Remove variable.
36317         (libc_relro_required): Likewise.
36318         (libc_cv_z_relro): Remove configure test.
36319         * configure: Regenerated.
36320         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
36321         variable.
36322         (libc_relro_required): Likewise.
36323         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
36324         (libc_relro_required): Likewise.
36325         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
36326         (libc_relro_required): Likewise.
36327         * sysdeps/arm/preconfigure: Regenerated.
36328         * sysdeps/ia64/preconfigure: Remove file.
36329         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
36330         variable.
36331         (libc_relro_required): Likewise.
36333         [BZ #16561]
36334         [BZ #16562]
36335         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
36336         (__ieee754_yn): Set FE_TONEAREST mode internally and then
36337         recompute overflowing results in original rounding mode.
36338         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
36339         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
36340         recompute overflowing results in original rounding mode.
36341         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
36342         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
36343         recompute overflowing results in original rounding mode.
36344         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
36345         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
36346         recompute overflowing results in original rounding mode.
36347         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
36348         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
36349         recompute overflowing results in original rounding mode.
36350         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
36351         (libc_feholdsetround_ctx): New macro.
36352         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
36353         * sysdeps/i386/fpu/libm-test-ulps: Update.
36354         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
36356 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
36358         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
36359         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
36360         corresponding .cpsetup call.
36362 2014-06-26  Roland McGrath  <roland@hack.frob.com>
36364         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
36365         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
36366         * sysdeps/arm/Makefile [$(subdir) = csu]
36367         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
36368         (static-only-routines): Add aeabi_read_tp here.
36369         (shared-only-routines): Add libc-aeabi_read_tp here.
36370         (CFLAGS-libc-start.c): Add -fexceptions here.
36371         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
36372         (sysdep_routines, static-only-routines, shared-only-routines):
36373         Don't add to these here.
36374         (CFLAGS-libc-start.c): Likewise.
36376         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
36377         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
36378         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
36379         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
36380         * sysdeps/arm/Makefile [$(subdir) = rt]
36381         (librt-sysdep_routines, librt-shared-only-routines):
36382         Append rt-aeabi_unwind_cpp_pr1 here.
36383         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
36384         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
36385         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
36386         (libpthread-sysdep_routines, libpthread-shared-only-routines):
36387         Append nptl-aeabi_unwind_cpp_pr1 here.
36388         (tests): Filter out tst-cleanupx4 here.
36389         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
36390         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
36391         Don't do those here.
36393 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
36395         * scripts/list-sources.sh: Do not handle ports specially.
36397 2014-06-26  Roland McGrath  <roland@hack.frob.com>
36399         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
36400         * sysdeps/arm/feupdateenv.c: Likewise.
36402         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
36404 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
36406         * manual/texinfo.tex: Update to version 2014-05-05.10 with
36407         trailing whitespace removed.
36408         * scripts/config.guess: Update to version 2014-03-23.
36409         * scripts/config.sub: Update to version 2014-05-01
36410         * scripts/install-sh: Update to version 2013-12-25.23.
36411         * scripts/move-if-change: Update from gnulib.
36413 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36415         * debug/memmove_chk.c: Remove pagecopy.h include.
36417 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
36419         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
36420         identical to gnulib mktime.
36422 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
36424         * configure.ac: Do not test for machine being rs6000.  Do not test
36425         for powerpc*-*soft.
36426         * configure: Regenerated.
36428         [BZ #11505]
36429         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
36430         test.
36431         * configure: Regenerated.
36432         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
36433         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
36434         Remove configure test.
36435         * sysdeps/arm/configure: Regenerated.
36436         * sysdeps/nptl/configure.ac: Do not check
36437         libc_cv_asm_cfi_directives.
36438         * sysdeps/nptl/configure: Regenerated.
36439         * sysdeps/x86_64/nptl/configure.ac: Remove file.
36440         * sysdeps/x86_64/nptl/configure: Remove generated file.
36441         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
36442         unconditional.
36443         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
36445 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36447         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
36448         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
36449         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
36450         it is defined.
36452         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
36453         instead of whether it is defined.
36454         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
36455         * sysdeps/hppa/dl-machine.h: Likewise.
36456         * sysdeps/ia64/dl-machine.h: Likewise.
36457         * sysdeps/m68k/dl-machine.h: Likewise.
36458         * sysdeps/microblaze/dl-machine.h: Likewise.
36459         * sysdeps/mips/dl-machine.: Likewise.
36460         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
36461         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
36462         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
36463         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
36464         * sysdeps/sh/dl-machine.h: Likewise.
36465         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36466         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36467         * sysdeps/tile/dl-machine.h: Likewise.
36468         * sysdeps/x86_64/dl-machine.h: Likewise.
36470         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
36471         code.
36472         (verify_persistent_db): Likewise.
36474 2014-06-26  Roland McGrath  <roland@hack.frob.com>
36476         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
36477         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
36478         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
36479         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
36480         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36481         Moved ...
36482         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
36483         ... here.
36484         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
36485         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
36486         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
36487         Identical file removed.
36488         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
36489         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
36490         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
36491         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
36492         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
36493         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
36494         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
36495         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
36496         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
36497         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
36498         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36499         Moved ...
36500         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
36501         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
36502         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
36503         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
36504         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
36505         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36506         Moved ...
36507         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
36508         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
36509         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
36510         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
36511         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
36512         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
36513         Identical file removed.
36514         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
36515         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
36516         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
36517         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
36518         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36519         Moved ...
36520         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
36521         ... here.
36522         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
36523         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
36524         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
36525         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
36526         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
36527         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
36528         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
36529         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
36530         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
36531         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
36532         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36533         Moved ...
36534         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
36535         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
36536         Moved ...
36537         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
36538         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
36539         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
36540         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36541         Moved ...
36542         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
36543         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
36544         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
36546         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
36547         folded into ...
36548         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
36549         * sysdeps/unix/sysv/linux/s390/Versions
36550         (libpthread: GLIBC_2.19): New version set.
36551         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
36552         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
36553         (librt: GLIBC_2.3.3): New version set.
36554         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
36555         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
36556         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
36557         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
36558         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
36559         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
36560         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
36561         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
36562         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
36563         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
36564         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
36565         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
36566         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
36567         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
36568         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
36569         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
36570         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
36571         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
36572         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
36573         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
36574         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
36575         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
36576         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
36577         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
36578         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
36579         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
36580         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
36581         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
36582         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
36583         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
36584         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
36585         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
36586         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
36587         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
36588         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
36589         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
36590         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
36591         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
36592         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
36593         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
36594         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
36595         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
36596         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
36597         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
36598         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
36600         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
36601         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
36602         (__libc_vfork): Define the function under this name.
36603         [!NOT_IN_libc] (__vfork): Make this an alias.
36604         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
36605         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
36606         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
36607         (__libc_vfork): Define the function under this name.
36608         [!NOT_IN_libc] (__vfork): Make this an alias.
36609         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
36610         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
36611         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
36612         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
36613         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
36614         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
36616         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
36617         code that was previously under [RESET_PID].
36618         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
36619         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
36620         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
36622         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
36623         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
36624         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
36625         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
36626         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
36627         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
36628         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
36629         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
36630         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
36631         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
36632         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
36633         Moved ...
36634         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
36635         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
36636         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
36637         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
36638         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
36639         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
36640         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
36641         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
36642         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
36643         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
36644         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
36645         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
36646         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
36647         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
36648         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
36649         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
36650         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
36651         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
36652         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
36653         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
36654         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
36655         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
36656         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
36657         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
36658         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
36659         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
36660         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
36661         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
36662         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
36664 2014-06-25  Roland McGrath  <roland@hack.frob.com>
36666         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
36667         that was previously under [RESET_PID].
36668         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
36670 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
36672         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
36673         not undefine and redefine.
36674         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
36675         [O_CLOEXEC]: Make code unconditional.
36676         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
36677         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
36678         <kernel-features.h>.
36679         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
36680         conditional variable definition.
36681         (shm_open) [O_CLOEXEC]: Make code unconditional.
36682         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
36683         code.
36685         * configure.ac (USE_REGPARMS): Don't define here.
36686         * configure: Regenerated.
36687         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
36688         * sysdeps/i386/configure: Regenerated.
36690         * nptl/createthread.c: Don't include kernel-features.h.
36691         * nptl/pthread_cancel.c: Likewise.
36692         * nptl/pthread_condattr_setclock.c: Likewise.
36693         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
36694         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
36695         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
36696         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
36697         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
36698         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
36699         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
36700         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
36701         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
36702         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
36703         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
36704         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
36705         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
36706         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
36707         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
36708         * nscd/gai.c: Likewise.
36709         * nss/nss_db/db-open.c: Likewise.
36710         * sysdeps/generic/ldsodefs.h: Likewise.
36711         * sysdeps/sh/nptl/tls.h: Likewise.
36712         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
36713         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
36714         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
36715         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
36716         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
36717         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
36718         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
36719         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
36720         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
36721         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
36722         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
36723         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
36724         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
36725         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
36726         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
36727         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
36728         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
36729         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
36730         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
36731         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
36732         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
36733         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
36734         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
36735         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
36736         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
36737         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
36738         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
36739         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
36740         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
36741         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
36742         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
36743         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
36744         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
36745         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
36746         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
36747         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
36748         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
36749         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
36750         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
36751         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
36752         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
36753         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
36754         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
36755         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
36756         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
36757         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
36758         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
36759         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
36760         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
36761         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
36762         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
36763         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
36764         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
36765         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
36766         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
36767         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
36768         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
36769         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
36770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
36771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
36772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
36773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
36774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
36775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
36776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
36777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
36778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
36779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
36780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
36781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
36782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
36783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
36784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
36785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
36786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
36787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
36788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
36789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
36790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
36791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
36792         * sysdeps/unix/sysv/linux/pread.c: Likewise.
36793         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
36794         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
36795         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
36796         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
36797         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
36798         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
36799         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
36800         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
36801         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
36802         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
36803         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
36804         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
36805         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
36806         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
36807         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
36808         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
36809         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
36810         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
36811         * sysdeps/unix/sysv/linux/system.c: Likewise.
36812         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
36813         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
36814         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
36815         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
36816         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
36817         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
36818         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
36820         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
36821         * configure: Regenerated.
36822         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
36824         * configure.ac (base_machine): Do not set specially for particular
36825         machines here.
36826         * configure: Regenerated.
36827         * sysdeps/powerpc/preconfigure: Move machine and base_machine
36828         settings from configure.ac.
36829         * sysdeps/i386/preconfigure: New file.
36830         * sysdeps/s390/preconfigure: Likewise.
36831         * sysdeps/sh/preconfigure: Likewise.
36832         * sysdeps/sparc/preconfigure: Likewise.
36834 2014-06-25  Roland McGrath  <roland@hack.frob.com>
36836         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
36837         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
36838         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
36839         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
36840         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
36841         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
36842         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
36843         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
36844         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
36845         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
36846         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
36847         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
36848         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
36849         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
36850         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
36851         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
36852         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
36853         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
36854         * sysdeps/sparc/sparc64/Makefile: ... appended here.
36856         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
36857         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
36858         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
36859         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
36860         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
36861         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
36862         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
36863         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
36864         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
36865         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
36866         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
36867         * sysdeps/sparc/sparc32/sem_post.c: ... here.
36868         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
36869         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
36870         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
36871         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
36872         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
36873         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
36874         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
36875         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
36876         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
36877         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
36878         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
36879         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
36880         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
36881         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
36882         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
36883         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
36884         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
36885         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
36886         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
36887         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
36888         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
36889         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
36890         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
36891         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
36892         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
36893         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
36895         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
36896         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
36897         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
36898         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
36899         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36900         Moved ...
36901         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
36902         ... here.
36903         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
36904         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
36905         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
36906         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
36907         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
36908         Moved ...
36909         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
36910         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
36911         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
36912         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
36913         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
36914         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
36915         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
36916         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36917         Moved ...
36918         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
36919         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36920         Moved ...
36921         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
36922         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
36923         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
36924         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36925         Moved ...
36926         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
36927         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
36928         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
36929         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
36930         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
36931         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
36932         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
36933         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
36934         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
36935         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36936         Moved ...
36937         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
36938         ... here.
36939         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
36940         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
36941         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
36942         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
36943         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
36944         Moved ...
36945         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
36946         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
36947         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
36948         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
36949         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
36950         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
36951         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
36952         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36953         Moved ...
36954         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
36955         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36956         Moved ...
36957         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
36958         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
36959         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
36960         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36961         Moved ...
36962         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
36963         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
36964         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
36965         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
36966         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
36968 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
36970         * timezone/checktab.awk: Update from tzcode 2014e.
36971         * timezone/private.h: Likewise.
36972         * timezone/tzfile.h: Likewise.
36973         * timezone/zdump.c: Likewise.
36974         * timezone/zic.c: Likewise.
36976         * sysdeps/unix/sysv/linux/kernel-features.h
36977         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
36978         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
36979         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
36980         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
36981         Remove conditional code.
36983 2014-06-25  Will Newton  <will.newton@linaro.org>
36985         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
36986         (_dl_arm_cap_flags): Add HWCAP2 values.
36987         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
36988         (_DL_HWCAP_COUNT): Increase to 37.
36989         (_DL_HWCAP_LAST): New define.
36990         (_DL_HWCAP2_LAST): New define.
36991         (_dl_procinfo): Add support for printing
36992         AT_HWCAP2 entries.
36993         (_dl_string_hwcap): Use _dl_hwcap_string.
36995 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36997         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36999 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
37001         * README: Do not mention ports directory.
37003         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
37004         Remove macro.
37005         * sysdeps/unix/sysv/linux/futimes.c: Do not include
37006         <kernel-features.h>.
37007         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
37008         conditional variable definition.
37009         (__futimes): Update comment.
37010         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
37011         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
37013         [BZ #16560]
37014         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
37015         arguments close to 0.
37016         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
37017         Likewise.
37018         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
37019         Likewise.
37020         * math/auto-libm-test-in: Add more tests of exp10.
37021         * math/auto-libm-test-out: Regenerated.
37022         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37024         * sysdeps/unix/sysv/linux/kernel-features.h
37025         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
37026         * sysdeps/unix/sysv/linux/readv.c: Do not include
37027         <kernel-features.h>.
37028         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
37029         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
37030         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
37031         unconditional.
37032         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
37033         conditional code.
37034         * sysdeps/unix/sysv/linux/writev.c: Do not include
37035         <kernel-features.h>.
37036         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
37037         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
37038         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
37039         unconditional.
37040         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
37041         conditional code.
37043 2014-06-25  Will Newton  <will.newton@linaro.org>
37045         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
37046         comment changes throughout the file.  Remove checks
37047         for HAVE_*_H definitions that are not required.
37048         (__gen_tempname): Call abort if an unknown kind value is
37049         passed.
37051 2014-06-25  Andreas Schwab  <schwab@suse.de>
37053         [BZ #17086]
37054         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
37055         scalbln, scalblnf, scalblnl in libc.
37057 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37059         [BZ #17086]
37060         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
37061         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
37062         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
37064 2014-06-24  Roland McGrath  <roland@hack.frob.com>
37066         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
37067         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
37068         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
37069         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
37070         Update #include.
37071         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
37072         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
37073         Update #include.
37074         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
37075         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
37076         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
37077         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
37078         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
37079         * sysdeps/x86/bits/pthreadtypes.h: ... here.
37080         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
37081         * sysdeps/x86/bits/semaphore.h: ... here.
37082         * sysdeps/x86/nptl/elide.h: Moved ...
37083         * sysdeps/x86/elide.h: ... here.
37084         * sysdeps/x86_64/nptl/Implies: File removed.
37085         * sysdeps/i386/nptl/Implies: File removed.
37087 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
37089         [BZ #16539]
37090         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
37091         return the argument for normal arguments with exponent below -64.
37092         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
37093         Likewise.
37094         * math/auto-libm-test-in: Add another test of expm1.
37095         * math/auto-libm-test-out: Regenerated.
37097         [BZ #16287]
37098         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
37099         calling __erfcl for arguments at least 16.
37100         * math/auto-libm-test-in: Add more tests of erf.
37101         * math/auto-libm-test-out: Regenerated.
37103         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
37104         individual architectures.
37105         * sysdeps/unix/sysv/linux/configure: Regenerated.
37106         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
37107         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
37108         * sysdeps/unix/sysv/linux/powerpc/configure.ac
37109         (ldd_rewrite_script): Define variable.
37110         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
37111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
37112         file.
37113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
37114         generated file.
37115         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
37116         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
37117         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
37118         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
37119         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
37120         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
37121         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
37122         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
37124 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37126         [BZ #17084]
37127         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
37128         Rename member __data.d to __data.__elision_data.
37130 2014-06-24  Wilco  <wdijkstr@arm.com>
37132         * NEWS: Add 16918 to fixed bug list.
37134 2014-06-24  Wilco  <wdijkstr@arm.com>
37136         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
37138 2014-06-24  Wilco  <wdijkstr@arm.com>
37140         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
37141         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
37142         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
37143         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
37144         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
37145         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
37146         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
37147         Use _FPU_MASK_RM.
37149 2014-06-24  Wilco  <wdijkstr@arm.com>
37151         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
37153 2014-06-24  Wilco  <wdijkstr@arm.com>
37155         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
37156         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
37157         * sysdeps/arm/fesetround.c (fesetround): Remove space.
37158         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
37160 2014-06-24  Wilco  <wdijkstr@arm.com>
37162         [BZ #16918]
37163         * sysdeps/arm/feupdateenv.c (feupdateenv):
37164         Rewrite to reduce FPSCR accesses and fix return value.
37166 2014-06-24  Wilco  <wdijkstr@arm.com>
37168         * sysdeps/arm/fclrexcpt.c (feclearexcept):
37169         Optimize to avoid unnecessary FPSCR writes.
37170         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
37171         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
37172         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
37173         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
37175 2014-06-24  Wilco  <wdijkstr@arm.com>
37177         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
37178         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
37179         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
37180         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
37181         Call libc_fetestexcept_vfp.
37182         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
37183         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
37184         __SOFTFP__ ifdef so that they can be built for softfp.
37186 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37188         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
37189         argument type signed char.
37191         * Makerules (check-abi): Dump diff of symlist if the test
37192         fails.
37194 2014-06-23  Roland McGrath  <roland@hack.frob.com>
37196         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
37197         using abort.
37199         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
37200         Remove unused variable ST.
37202 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
37204         [BZ #16354]
37205         [BZ #17061]
37206         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
37207         small arguments before calling __expm1.
37208         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
37209         small arguments before calling __expm1f.
37210         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
37211         small arguments before calling __expm1l.
37212         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
37213         Likewise.
37214         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
37215         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
37216         spurious underflow for some cosh tests.
37217         * math/auto-libm-test-out: Regenerated.
37218         * sysdeps/i386/fpu/libm-test-ulps: Update.
37220         [BZ #17050]
37221         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
37222         (__ieee754_y1): Set errno if return value overflows.
37223         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
37224         (__ieee754_y1f): Set errno if return value overflows.
37225         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
37226         (__ieee754_y1l): Set errno if return value overflows.
37227         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
37228         (__ieee754_y1l): Set errno if return value overflows.
37229         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
37230         * math/auto-libm-test-out: Regenerated.
37232         * math/gen-auto-libm-tests.c: Document use of
37233         ignore-zero-inf-sign.
37234         (input_flag_type): Add value flag_ignore_zero_inf_sign.
37235         (input_flags): Add ignore-zero-inf-sign.
37236         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
37237         * math/gen-libm-test.pl (generate_testfile): Handle
37238         ignore-zero-inf-sign.
37239         * math/auto-libm-test-in: Mark some cpow tests with
37240         ignore-zero-inf-sign and some with xfail-rounding.
37241         * math/auto-libm-test-out: Regenerated.
37242         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
37243         * sysdeps/i386/fpu/libm-test-ulps: Update.
37244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37246         [BZ #16315]
37247         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
37248         overflowing or underflowing operations take place with sign of
37249         result.
37250         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37251         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
37252         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
37253         (__ieee754_pow): Recompute overflowing and underflowing results in
37254         original rounding mode.
37255         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
37256         (__powl_helper): Allow negative argument X and scale negated value
37257         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
37258         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
37259         overflowing or underflowing operations take place with sign of
37260         result.
37261         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
37262         Include <math.h>.
37263         * math/auto-libm-test-in: Add more tests of pow.
37264         * math/auto-libm-test-out: Regenerated.
37265         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
37266         (pow_tonearest_test_data): Remove.
37267         (pow_test_tonearest): Likewise.
37268         (pow_towardzero_test_data): Likewise.
37269         (pow_test_towardzero): Likewise.
37270         (pow_downward_test_data): Likewise.
37271         (pow_test_downward): Likewise.
37272         (pow_upward_test_data): Likewise.
37273         (pow_test_upward): Likewise.
37274         (main): Don't call removed functions.
37275         * sysdeps/i386/fpu/libm-test-ulps: Update.
37276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37278 2014-06-23  Roland McGrath  <roland@hack.frob.com>
37280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
37281         Moved ...
37282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
37283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37284         Moved ...
37285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
37286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37287         Moved ...
37288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
37289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
37290         Moved ...
37291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
37292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
37293         File removed.
37294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37295         File removed.
37296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
37297         File removed.
37298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
37299         File removed.
37300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
37301         File removed.
37302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
37303         File removed.
37304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
37305         File removed.
37306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37307         File removed.
37308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
37309         File removed.
37310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37311         File removed.
37312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
37313         File removed.
37314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
37315         File removed.
37316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
37317         Moved ...
37318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
37319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
37320         Moved ...
37321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
37322         ... here.
37323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
37324         Moved ...
37325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
37326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
37327         Moved ...
37328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
37329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
37330         Moved ...
37331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
37332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
37333         Moved ...
37334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
37335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
37336         Moved ...
37337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
37338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
37339         Moved ...
37340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
37341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
37342         Moved ...
37343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
37344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
37345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
37346         ... here.
37347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
37348         Moved ...
37349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
37350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
37351         Moved ...
37352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
37353         ... here.
37354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
37355         Moved ...
37356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
37357         ... here.
37358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
37359         Moved ...
37360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
37361         ... here.
37362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
37363         Moved ...
37364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
37365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
37366         Moved ...
37367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
37368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
37369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
37370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
37371         Moved ...
37372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
37373         ... here.
37374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37375         Moved ...
37376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
37377         ... here.
37378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
37379         Moved ...
37380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
37381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37382         Moved ...
37383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
37384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
37385         Moved ...
37386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
37387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37388         Moved ...
37389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
37390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
37391         Moved ...
37392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
37393         ... here.
37394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37395         Moved ...
37396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
37397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
37398         Moved ...
37399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
37400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37401         Moved ...
37402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
37403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
37404         Moved ...
37405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
37406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
37407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
37408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
37409         Moved ...
37410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
37411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37412         Moved ...
37413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
37414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
37415         Moved ...
37416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
37417         ... here.
37418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37419         Moved ...
37420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
37421         ... here.
37422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
37423         Moved ...
37424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
37425         ... here.
37426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37427         Moved ...
37428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
37429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
37430         Moved ...
37431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
37432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37433         Moved ...
37434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
37435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
37436         Moved ...
37437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
37438         ... here.
37439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37440         Moved ...
37441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
37442         ... here.
37443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
37444         Moved ...
37445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
37446         ... here.
37447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37448         Moved ...
37449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
37450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
37451         Moved ...
37452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
37454 2014-06-23  Will Newton  <will.newton@linaro.org>
37455             Wilco  <wdijkstr@arm.com>
37457         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
37458         implementation.  Include get-rounding-mode.h.
37459         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
37460         [!libc_feholdsetround_noex_ctx]: Define
37461         libc_feholdsetround_noex_ctx.
37462         [!libc_feholdsetround_noexf_ctx]: Define
37463         libc_feholdsetround_noexf_ctx.
37464         [!libc_feholdsetround_noexl_ctx]: Define
37465         libc_feholdsetround_noexl_ctx.
37466         (libc_feholdsetround_ctx): New function.
37467         (libc_feresetround_ctx): New function.
37468         (libc_feholdsetround_noex_ctx): New function.
37469         (libc_feresetround_noex_ctx): New function.
37471 2014-06-23  Roland McGrath  <roland@hack.frob.com>
37473         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
37474         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
37475         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
37476         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
37477         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
37478         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
37480         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
37481         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
37482         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
37483         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
37484         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
37485         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
37486         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
37487         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
37488         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
37489         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
37490         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
37491         Moved ...
37492         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
37493         ... here.
37494         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
37495         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
37496         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
37497         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
37498         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
37499         Moved ...
37500         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
37501         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
37502         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
37503         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
37504         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
37505         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
37506         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
37507         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
37508         Moved ...
37509         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
37510         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
37511         Moved ...
37512         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
37513         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
37514         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
37515         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
37516         Moved ...
37517         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
37518         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
37519         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
37520         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
37521         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
37522         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
37523         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
37524         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
37525         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
37526         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
37527         Moved ...
37528         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
37529         ... here.
37530         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
37531         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
37532         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
37533         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
37534         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
37535         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
37536         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
37537         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
37538         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
37539         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
37540         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
37541         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
37542         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
37543         Moved ...
37544         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
37545         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
37546         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
37547         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
37548         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
37549         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
37550         Moved ...
37551         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
37552         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
37553         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
37554         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
37555         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
37557         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
37558         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
37559         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
37560         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
37561         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
37562         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
37563         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
37564         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
37565         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
37566         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
37567         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
37568         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
37569         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
37570         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
37571         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
37572         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
37573         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
37574         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
37575         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
37576         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
37577         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
37578         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
37579         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
37580         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
37581         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
37582         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
37583         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
37584         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
37586 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
37588         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
37589         (FALLOC_FL_COLLAPSE_RANGE): New macro.
37590         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
37591         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
37592         (IPV6_PMTUDISC_INTERFACE): Likewise.
37593         (IPV6_PMTUDISC_OMIT): Likewise.
37595 2014-06-23  Andreas Schwab  <schwab@suse.de>
37597         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
37598         Remove unused errout label.
37600 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37602         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
37603         macro: hardware supports Vector Crypto instructions.
37605 2014-06-23  Will Newton  <will.newton@linaro.org>
37607         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
37608         rather than __builtin_expect.
37610         * elf/dl-lookup.c (undefined_msg): Remove variable.
37611         (_dl_lookup_symbol_x): Replace undefined_msg with string
37612         literal.
37614         * elf/dl-lookup.c (do_lookup_unique): New function.
37615         (do_lookup_x): Move STB_GNU_UNIQUE handling code
37616         to a separate function.
37618 2014-06-23  Andreas Schwab  <schwab@suse.de>
37620         [BZ #17079]
37621         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
37622         before reading the next line.
37624 2014-06-23  Will Newton  <will.newton@linaro.org>
37626         * test-skeleton.c (signal_handler): Use printf and %m
37627         rather than perror.  Use printf rather than fprintf to
37628         stderr.  Use puts rather than fputs to stderr.
37629         (main): Likewise.
37631 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
37633         * nscd/nscd.c (thread_info_t): Remove typedef.
37634         (thread_info): Remove variable.
37636 2014-06-21  Allan McRae  <allan@archlinux.org>
37638         * NEWS: Mention CVE-2014-4043.
37640 2014-06-20  Roland McGrath  <roland@hack.frob.com>
37642         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
37643         * nptl/smp.h: ... here.
37645         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
37647         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
37648         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
37649         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
37650         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
37652         * nptl/allocatestack.c: Include <stack-aliasing.h>.
37653         * nptl/stack-aliasing.h: New file.
37654         * sysdeps/i386/i686/stack-aliasing.h: New file.
37655         * sysdeps/i386/i686/nptl/Makefile: File removed.
37656         * sysdeps/x86_64/stack-aliasing.h: New file.
37657         * sysdeps/x86_64/nptl/Makefile
37658         (CFLAGS-pthread_create.c): Variable removed.
37660         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
37661         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
37662         old file.
37663         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
37664         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
37665         old file.
37667 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
37669         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37670         (__ASSUME_SIGFRAME_V2): Remove macro.
37671         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
37672         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
37673         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
37674         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
37675         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
37676         Declare as function.  Remove conditional macro definitions.
37677         (__default_rt_sa_restorer): Likewise.
37678         (__default_sa_restorer_v1): Remove declaration.
37679         (__default_sa_restorer_v2): Likewise.
37680         (__default_rt_sa_restorer_v1): Likewise.
37681         (__default_rt_sa_restorer_v2): Likewise.
37682         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
37683         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
37684         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
37686 2014-06-20  Roland McGrath  <roland@hack.frob.com>
37688         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
37689         (libpthread-routines): Add sysdep.
37690         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
37691         * sysdeps/unix/sysv/linux/sparc/Versions
37692         (libpthread: GLIBC_2.3.3): New version set.
37693         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
37694         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
37695         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
37696         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
37697         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
37698         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
37699         Moved ...
37700         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
37701         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
37702         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
37703         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
37704         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
37705         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
37706         * sysdeps/sparc/nptl/sem_init.c: ... here.
37707         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
37708         * sysdeps/sparc/nptl/sem_post.c: ... here.
37709         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
37710         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
37711         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
37712         * sysdeps/sparc/nptl/sem_wait.c: ... here.
37713         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
37714         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
37715         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
37716         (libpthread-routines): Add cpu_relax.
37717         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
37718         File removed.
37719         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
37720         (librt: GLIBC_2.3.3): New version set.
37721         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
37722         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
37723         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
37724         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
37725         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
37726         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
37727         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
37728         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
37729         Moved ...
37730         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
37731         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
37732         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
37733         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
37734         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
37735         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
37736         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
37737         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
37738         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
37739         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
37740         Moved ...
37741         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
37742         Update #include.
37743         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
37744         Moved ...
37745         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
37746         Update #include.
37747         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
37748         Moved ...
37749         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
37750         Update #include.
37751         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
37752         Moved ...
37753         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
37754         Update #include.
37755         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
37756         Moved ...
37757         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
37758         Update #include.
37759         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
37760         Moved ...
37761         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
37762         Update #include.
37763         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
37764         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
37765         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
37766         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
37767         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
37768         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
37769         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
37770         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
37771         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
37772         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
37773         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
37774         Moved ...
37775         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
37776         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
37777         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
37778         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
37779         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
37781 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
37783         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
37784         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
37785         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
37786         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
37787         * nscd/nscd.c: Likewise.
37788         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
37789         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
37790         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
37791         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
37793         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
37794         <kernel-features.h>.
37795         (init_mq_netlink): Remove conditional have_sock_cloexec
37796         definitions.  Remove code conditional on have_sock_cloexec < 0.
37797         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
37798         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
37799         * sysdeps/unix/sysv/linux/opensock.c: Do not include
37800         <kernel-features.h>.
37801         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
37802         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
37804 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
37806         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
37807         Add tests for memset_chk and memset.
37809         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
37810         with AVX2_Usable.
37812 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
37814         [BZ #16046]
37815         * elf/tst-dl-iter-static.c: New file.
37816         * elf/Makefile (tests-static): Add tst-dl-iter-static.
37818         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
37819         error.
37821 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
37823         * sysdeps/unix/sysv/linux/kernel-features.h
37824         (__ASSUME_F_GETOWN_EX): Remove macro.
37825         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
37826         <kernel-features.h>.
37827         (miss_F_GETOWN_EX): Remove variable or macro.
37828         (do_fcntl): Do not check miss_F_GETOWN_EX.
37829         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
37831         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
37832         Remove macro.
37833         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
37834         [!__ASSUME_AT_RANDOM]: Remove conditional code.
37835         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
37837         * sysdeps/unix/sysv/linux/kernel-features.h
37838         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
37839         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
37840         [ADJ_OFFSET_SS_READ]: Make code unconditional.
37841         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
37843 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
37845         [BZ #17075]
37846         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
37847         Fix calculation of the symbol's value.
37848         * sysdeps/arm/tst-armtlsdescloc.c: New file.
37849         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
37850         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
37851         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
37852         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
37853         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
37854         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
37855         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
37856         (modules-names): Add `tst-armtlsdescmod',
37857         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
37858         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
37859         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
37860         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
37861         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
37862         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
37863         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
37864         ($(objpfx)tst-armtlsdescloc): New dependency.
37865         ($(objpfx)tst-armtlsdescextnow): Likewise.
37866         ($(objpfx)tst-armtlsdescextlazy): Likewise.
37867         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
37868         TLS scheme support.
37869         * sysdeps/arm/configure: Regenerate.
37871 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
37873         * include/fcntl.h (__atfct_seterrno): Remove prototype.
37874         (__atfct_seterrno_2): Likewise.
37875         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
37876         <kernel-features.h>.
37877         (__ASSUME_ATFCTS): Do not undefine and redefine.
37878         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
37879         (__have_atfcts): Remove conditional definition.
37880         (__fxstatat([__NR_fstatat64]: Make code unconditional.
37881         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
37882         unreachable if [__ASSUME_ATFCTS].
37883         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
37884         not undefine and redefine.
37885         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
37886         <kernel-features.h>.
37887         (faccessat) [__NR_faccessat]: Make code unconditional.
37888         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
37889         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
37890         <kernel-features.h>.
37891         (fchmodat) [__NR_fchmodat]: Make code unconditional.
37892         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
37893         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
37894         <kernel-features.h>.
37895         (fchownat) [__NR_fchownat]: Make code unconditional.
37896         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
37897         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
37898         <kernel-features.h>.
37899         (futimesat) [__NR_futimesat]: Make code unconditional.
37900         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
37901         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
37902         <kernel-features.h>.
37903         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
37904         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
37905         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
37906         <kernel-features.h>.
37907         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
37908         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
37909         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
37910         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
37911         <kernel-features.h>.
37912         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
37913         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
37914         * sysdeps/unix/sysv/linux/linkat.c: Do not include
37915         <kernel-features.h>.
37916         (linkat) [__NR_linkat]: Make code unconditional.
37917         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
37918         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
37919         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
37920         <kernel-features.h>.
37921         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
37922         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
37923         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
37924         <kernel-features.h>.
37925         (mkdirat) [__NR_mkdirat]: Make code unconditional.
37926         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
37927         * sysdeps/unix/sysv/linux/openat.c: Do not include
37928         <kernel-features.h>.
37929         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
37930         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
37931         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
37932         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
37933         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
37934         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
37935         <kernel-features.h>.
37936         (readlinkat) [__NR_readlinkat]: Make code unconditional.
37937         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
37938         result of INLINE_SYSCALL directly, not via int variable.
37939         * sysdeps/unix/sysv/linux/renameat.c: Do not include
37940         <kernel-features.h>.
37941         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
37942         (renameat) [__NR_renameat]: Make code unconditional.
37943         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
37944         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
37945         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
37946         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
37947         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
37948         (__ASSUME_ATFCTS): Do not undefine and redefine.
37949         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
37950         <kernel-features.h>.
37951         (symlinkat) [__NR_symlinkat]: Make code unconditional.
37952         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
37953         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
37954         <kernel-features.h>.
37955         (unlinkat) [__NR_unlinkat]: Make code unconditional.
37956         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
37957         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
37958         (__ASSUME_ATFCTS): Do not undefine and redefine.
37959         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
37960         <kernel-features.h>.
37961         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
37962         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
37963         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
37964         <kernel-features.h>.
37965         (__xmknodat) [__NR_mknodat]: Make code unconditional.
37966         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
37968 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
37970         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
37972 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
37974         [BZ #17069]
37975         * posix/regcomp.c (parse_reg_exp): Deallocate partially
37976         constructed tree before returning error.
37977         * posix/bug-regexp36.c: Expand test case.
37979 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
37981         [BZ #6803]
37982         * math/libm-test.inc (scalbln_test_date):
37983         Add errno expectations.
37984         * math/w_scalblnf.c: New File.
37985         Add wrapper which checks for setting errno to ERANGE.
37986         Add weak_alias for corresponding scalbln function.
37987         * math/w_scalbln.c: Likewise.
37988         * math/w_scalblnl.c: Likewise.
37989         * math/Makefile (libm-calls): Add w_scalbln.
37990         * sysdeps/ieee754/flt-32/s_scalblnf.c:
37991         Remove weak_alias for corresponding scalbln function.
37992         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37993         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37994         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37995         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37996         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
37997         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
37998         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
37999         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
38000         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
38001         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
38002         Remove long_double_symbol for scalblnl function in libm, libc.
38003         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
38004         Add wrapper which checks for setting errno to ERANGE.
38005         Add long_double_symbol for scalblnl function in libm, libc.
38006         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
38007         Remove long_double_symbol for scalblnl in libm.
38008         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
38009         Add wrapper which checks for setting errno to ERANGE.
38010         Add long_double_symbol for scalblnl function in libm.
38011         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
38012         Do not use wrapper because of own implementation.
38014 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
38016         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
38017         3 bytes for __pad1 for x32.
38018         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
38020 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
38021             H.J. Lu  <hongjiu.lu@intel.com>
38023         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
38024         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
38025         * sysdeps/x86_64/multiarch/memset.S: Likewise.
38026         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38027         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
38029 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
38031         [BZ #17069]
38032         * posix/regcomp.c (parse_expression): Deallocate partially
38033         constructed tree before returning error.
38034         * posix/Makefile.c (tests): Add bug-regex36.
38035         (generated): Add bug-regex36.mtrace.
38036         (tests-special): Add $(objpfx)bug-regex36-mem.out
38037         (bug-regex36-ENV): New variable.
38038         ($(objpfx)bug-regex36-mem.out): New rule.
38039         * posix/bug-regex36.c: New file.
38041 2014-06-19  Will Newton  <will.newton@linaro.org>
38043         * malloc/malloc.c (systrim): If extra is zero then return
38044         early.
38046 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38048         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
38050 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
38052         * sysdeps/aarch64/strchr.S: New file.
38054 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
38056         [BZ #17022]
38057         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
38058         from arguments -2 or below.
38059         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
38060         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
38062 2014-06-18  Andreas Schwab  <schwab@suse.de>
38064         [BZ #17062]
38065         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
38066         of a bracket expr not to run off the end of the string.
38067         * posix/Makefile (tests): Add tst-fnmatch3.
38068         * posix/tst-fnmatch3.c: New file.
38070 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
38072         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
38073         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
38074         [$(cross-compiling) = no]: Likewise.
38075         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
38076         [$(cross-compiling) = no]: Likewise.
38078 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38080         [BZ #17031]
38081         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
38082         double, adjusted for any remainder from the high double.
38083         * math/libm-test.inc (nearbyint): Add tests.
38084         (rint): Likewise.
38086 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38088         * nptl/sysdeps/powerpc/Makefile: Moved ...
38089         * sysdeps/powerpc/nptl/Makefile: ... here.
38090         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
38091         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
38092         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
38093         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
38094         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
38095         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
38096         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
38097         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
38098         * nptl/sysdeps/powerpc/tls.h: Moved ...
38099         * sysdeps/powerpc/nptl/tls.h: ... here.
38101 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
38103         [BZ #16681]
38104         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
38105         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
38106         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
38107         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
38108         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
38109         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
38110         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
38111         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
38112         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
38114 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
38116         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
38118 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
38120         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
38121         defined operator.
38123         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
38124         $TIMEOUTFACTOR.
38126 2014-06-16  Florian Weimer  <fweimer@redhat.com>
38128         [BZ #17058]
38129         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
38130         non-executed part of the test.
38132 2014-06-16  Andreas Schwab  <schwab@suse.de>
38134         * string/bits/string2.h (strdup, strndup): Update feature guard.
38136 2014-06-14  David S. Miller  <davem@davemloft.net>
38138         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38140 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
38142         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
38143         that was previously under [RESET_PID].
38144         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
38146         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
38147         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
38148         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
38149         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38150         (__libc_vfork): New strong alias.
38151         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
38153 2014-06-14 Andi Kleen  <ak@linux.intel.com>
38155         * sysdeps/generic/elide.h: New file.
38157 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38159         * Makefile (installed-headers): Adjust path of pthread.h header.
38161 2014-06-13  Roland McGrath  <roland@hack.frob.com>
38163         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
38164         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
38165         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
38166         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
38168         * nptl/sysdeps/s390/Makefile: Moved ...
38169         * sysdeps/s390/nptl/Makefile: ... here.
38170         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
38171         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
38172         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
38173         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
38174         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
38175         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
38176         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
38177         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
38178         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
38179         * sysdeps/s390/nptl/pthreaddef.h: ... here.
38180         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
38181         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
38182         * nptl/sysdeps/s390/tls.h: Moved ...
38183         * sysdeps/s390/nptl/tls.h: ... here.
38185         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
38186         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
38188 2014-06-13  David S. Miller  <davem@davemloft.net>
38190         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
38191         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
38192         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
38193         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
38194         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
38195         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
38196         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
38197         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
38198         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
38199         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
38200         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
38201         Remove RESET_PID cpp guards.
38202         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
38203         Remove RESET_PID cpp guards.
38204         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
38206 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
38208         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
38209         __sp to uintptr_t.
38211 2014-06-13  Andi Kleen  <ak@linux.intel.com>
38213         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
38214         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
38215         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
38216         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
38217         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
38218         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
38219         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
38220         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
38221         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
38222         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
38223         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
38224         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
38225         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
38226         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
38227         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
38228         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
38229         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
38230         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
38231         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
38232         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
38234         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
38235         (pthread_rwlock_rdlock): Add elision.
38236         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
38237         (pthread_rwlock_wrlock): Add elision.
38238         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
38239         (pthread_rwlock_trywrlock): Add elision.
38240         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
38241         (pthread_rwlock_tryrdlock): Add elision.
38242         * nptl/pthread_rwlock_unlock.c: Include elide.h.
38243         (pthread_rwlock_tryrdlock): Add elision unlock.
38244         * nptl/sysdeps/pthread/pthread.h:
38245         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
38246         (PTHREAD_RWLOCK_INITIALIZER,
38247         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
38248         Handle new elision field.
38249         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
38250         * sysdeps/arm/nptl/bits/pthreadtypes.h
38251         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
38252         * sysdeps/sh/nptl/bits/pthreadtypes.h
38253         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
38254         * sysdeps/tile/nptl/bits/pthreadtypes.h
38255         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
38256         * sysdeps/a/nptl/bits/pthreadtypes.h
38257         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
38258         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
38259         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
38260         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
38261         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
38262         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
38263         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
38264         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
38265         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
38266         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
38267         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
38268         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
38269         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
38270         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
38271         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
38272         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
38273         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
38274         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
38275         (elision_init): Set try_xbegin to zero when no RTM.
38276         * sysdeps/x86/nptl/bits/pthreadtypes.h
38277         (pthread_rwlock_t): Change __pad1 to __rwelision.
38278         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
38280 2014-06-13  Andi Kleen  <ak@linux.intel.com>
38282         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
38283         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
38284         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
38285         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
38287 2014-06-13  Meador Inge  <meadori@codesourcery.com>
38289         [BZ #16996]
38290         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
38291         that the cached result has been set before returning it.
38293 2014-06-12  Roland McGrath  <roland@hack.frob.com>
38295         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
38296         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
38297         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
38298         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
38299         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
38300         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
38302         * nptl/sysdeps/sparc/Makefile: Moved ...
38303         * sysdeps/sparc/nptl/Makefile: ... here.
38304         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
38305         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
38306         * nptl/sysdeps/sparc/tls.h: Moved ...
38307         * sysdeps/sparc/nptl/tls.h: ... here.
38308         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
38309         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
38310         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
38311         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
38312         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
38313         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
38314         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
38315         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
38316         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
38317         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
38318         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
38319         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
38320         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
38321         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
38322         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
38323         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
38324         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
38325         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
38326         Update #include.
38327         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
38328         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
38329         Update #include.
38330         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
38331         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
38332         Update #include.
38333         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
38334         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
38335         Update #include.
38337         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
38339         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
38340         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
38342         * sysdeps/pthread/posix-timer.h: Include <list.h>.
38343         (struct list_links): Type removed.
38344         (struct thread_node, struct timer_node): Replace struct list_links
38345         with struct list_head.
38346         (list_unlink_ip): Likewise.
38347         * sysdeps/pthread/timer_routines.c
38348         (timer_free_list, thread_free_list, thread_active_list): Likewise.
38349         (list_append, list_insbefore): Likewise.
38350         (list_init): Function removed.
38351         (thread_init, init_module): Use INIT_LIST_HEAD instead.
38352         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
38353         * sysdeps/pthread/Makefile: ... here, new file.
38355         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
38356         * sysdeps/nptl/Implies: ... here.
38357         * sysdeps/unix/sysv/linux/Implies: Add nptl.
38358         * nptl/sysdeps/pthread/list.h: Moved ...
38359         * include/list.h: ... here.
38360         * nptl/sysdeps/pthread/createthread.c: Moved ...
38361         * nptl/createthread.c: ... here.
38362         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
38363         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
38364         * nptl/pt-longjmp.c: ... here.
38365         * nptl/sysdeps/pthread/Makefile: Moved ...
38366         * sysdeps/nptl/Makefile: ... here.
38367         * nptl/sysdeps/pthread/Subdirs: Moved ...
38368         * sysdeps/nptl/Subdirs: ... here.
38369         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
38370         * sysdeps/nptl/aio_misc.h: ... here.
38371         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
38372         * sysdeps/nptl/bits/libc-lock.h: ... here.
38373         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
38374         * sysdeps/nptl/bits/libc-lockP.h: ... here.
38375         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
38376         * sysdeps/nptl/bits/stdio-lock.h: ... here.
38377         * nptl/sysdeps/pthread/configure: Moved ...
38378         * sysdeps/nptl/configure: ... here.
38379         * nptl/sysdeps/pthread/configure.ac: Moved ...
38380         * sysdeps/nptl/configure.ac: ... here.
38381         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
38382         * sysdeps/nptl/gai_misc.h: ... here.
38383         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
38384         * sysdeps/nptl/librt-cancellation.c: ... here.
38385         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
38386         * sysdeps/nptl/malloc-machine.h: ... here.
38387         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
38388         * sysdeps/nptl/pthread-functions.h: ... here.
38389         * nptl/sysdeps/pthread/pthread.h: Moved ...
38390         * sysdeps/nptl/pthread.h: ... here.
38391         * nptl/sysdeps/pthread/setxid.h: Moved ...
38392         * sysdeps/nptl/setxid.h: ... here.
38393         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
38394         * sysdeps/nptl/sigfillset.c: ... here.
38395         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
38396         * sysdeps/nptl/tcb-offsets.h: ... here.
38397         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
38398         * sysdeps/nptl/tst-mqueue8x.c: ... here.
38399         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
38400         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
38401         * nptl/sysdeps/pthread/allocalim.h: Moved ...
38402         * sysdeps/pthread/allocalim.h: ... here.
38403         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
38404         * sysdeps/pthread/bits/sigthread.h: ... here.
38405         * nptl/sysdeps/pthread/flockfile.c: Moved ...
38406         * sysdeps/pthread/flockfile.c: ... here.
38407         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
38408         * sysdeps/pthread/ftrylockfile.c: ... here.
38409         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
38410         * sysdeps/pthread/funlockfile.c: ... here.
38411         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
38412         * sysdeps/pthread/posix-timer.h: ... here.
38413         * nptl/sysdeps/pthread/timer_create.c: Moved ...
38414         * sysdeps/pthread/timer_create.c: ... here.
38415         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
38416         * sysdeps/pthread/timer_delete.c: ... here.
38417         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
38418         * sysdeps/pthread/timer_getoverr.c: ... here.
38419         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
38420         * sysdeps/pthread/timer_gettime.c: ... here.
38421         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
38422         * sysdeps/pthread/timer_routines.c: ... here.
38423         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
38424         * sysdeps/pthread/timer_settime.c: ... here.
38425         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
38426         * sysdeps/pthread/tst-timer.c: ... here.
38427         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
38428         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
38430         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
38431         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
38433         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
38434         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
38435         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
38436         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
38437         Update #include target.
38438         * nptl/sysdeps/i386/i686/Makefile: Moved ...
38439         * sysdeps/i386/i686/nptl/Makefile: ... here.
38440         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
38441         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
38442         Update #include target.
38443         * nptl/sysdeps/i386/i686/tls.h: Moved ...
38444         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
38445         * nptl/sysdeps/i386/Makefile: Moved ...
38446         * sysdeps/i386/nptl/Makefile: ... here.
38447         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
38448         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
38449         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
38450         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
38451         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
38452         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
38453         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
38454         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
38455         * sysdeps/i386/nptl/pthreaddef.h: ... here.
38456         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
38457         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
38458         * nptl/sysdeps/i386/tls.h: Moved ...
38459         * sysdeps/i386/nptl/tls.h: ... here.
38461         * sysdeps/sh/Makefile [$(subdir) = csu]
38462         (gen-as-const-headers): Add tcb-offsets.sym.
38463         * nptl/sysdeps/sh/Makefile: File removed.
38464         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
38465         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
38466         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
38467         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
38468         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
38469         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
38470         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
38471         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
38472         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
38473         * sysdeps/sh/nptl/pthreaddef.h: ... here.
38474         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
38475         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
38476         * nptl/sysdeps/sh/tls.h: Moved ...
38477         * sysdeps/sh/nptl/tls.h: ... here.
38478         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
38479         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
38480         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
38481         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
38482         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
38483         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
38484         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
38485         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
38486         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
38487         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
38488         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
38489         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
38490         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
38491         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
38492         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
38493         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
38494         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
38495         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
38496         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
38497         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
38498         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
38499         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
38500         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
38501         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
38502         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
38503         Moved ...
38504         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
38505         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
38506         Moved ...
38507         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
38508         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
38509         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
38510         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
38511         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
38512         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
38513         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
38514         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
38515         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
38516         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
38517         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
38518         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
38519         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
38520         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
38521         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
38522         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
38523         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
38524         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
38525         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
38527 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
38529         * posix/spawn_faction_addopen.c: Include string.h.
38531 2014-06-11  Roland McGrath  <roland@hack.frob.com>
38533         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
38534         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
38535         * nptl/sysdeps/x86_64/Makefile: Moved ...
38536         * sysdeps/x86_64/nptl/Makefile: ... here.
38537         * nptl/sysdeps/x86_64/configure: Moved ...
38538         * sysdeps/x86_64/nptl/configure: ... here.
38539         * nptl/sysdeps/x86_64/configure.ac: Moved ...
38540         * sysdeps/x86_64/nptl/configure.ac: ... here.
38541         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
38542         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
38543         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
38544         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
38545         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
38546         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
38547         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
38548         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
38549         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
38550         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
38551         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
38552         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
38553         * nptl/sysdeps/x86_64/tls.h: Moved ...
38554         * sysdeps/x86_64/nptl/tls.h: ... here.
38555         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
38556         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
38557         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
38558         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
38560         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
38562 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38564         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38566 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
38568         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
38569         type.
38570         [POSIX] (off_t): Likewise.
38571         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
38572         [POSIX] (S_ISBLK): Require macro.
38573         [POSIX] (S_ISCHR): Likewise.
38574         [POSIX] (S_ISDIR): Likewise.
38575         [POSIX] (S_ISFIFO): Likewise.
38576         [POSIX] (S_ISREG): Likewise.
38577         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
38578         optional-macro.
38579         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
38580         type.
38581         [POSIX] (time_t): Likewise.
38582         [POSIX] (timer_t): Likewise.
38584 2014-06-11  Florian Weimer  <fweimer@redhat.com>
38586         [BZ #17048]
38587         * posix/spawn_int.h (struct __spawn_action): Make the path string
38588         non-const to support deallocation.
38589         * posix/spawn_faction_addopen.c
38590         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
38591         * posix/spawn_faction_destroy.c
38592         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
38593         path in all spawn_do_open actions.
38594         * posix/tst-spawn.c (do_test): Exercise the copy operation in
38595         posix_spawn_file_actions_addopen.
38597 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
38599         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
38600         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
38601         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
38602         conditional code always true.
38603         (__libc_vfork): New alias.
38605 2014-06-11  Roland McGrath  <roland@hack.frob.com>
38607         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
38608         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
38610         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
38612         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
38613         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
38615         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
38616         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
38618         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
38619         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
38621 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38623         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
38624         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
38625         multiarch strcmp for PPC64.
38626         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
38627         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
38628         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
38629         multiarch optimizations.
38630         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38631         (__libc_ifunc_impl_list): Likewise.
38633 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38635         * benchtests/scripts/validate_benchout.py: New script.
38636         * benchtests/Makefile (bench-func): Call it.
38637         * benchtests/scripts/benchout.schema.json: New file.
38639 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
38641         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
38642         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
38643         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
38644         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
38645         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
38646         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
38647         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
38648         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
38649         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
38650         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
38651         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
38652         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
38653         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
38654         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
38655         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
38656         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
38657         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
38658         Moved ...
38659         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
38660         ... here.
38661         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
38662         Moved ...
38663         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
38664         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
38665         Moved ...
38666         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
38667         ... here.
38668         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
38669         Moved ...
38670         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
38671         ... here.
38672         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
38673         Moved ...
38674         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
38675         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
38676         Moved ...
38677         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
38678         ... here.
38679         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
38680         Moved ...
38681         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
38682         ... here.
38683         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
38684         Moved ...
38685         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
38686         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
38687         Moved ...
38688         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
38689         ... here.
38690         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
38691         Moved ...
38692         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
38693         ... here.
38694         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
38695         Moved ...
38696         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
38697         ... here.
38698         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
38699         Moved ...
38700         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
38701         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
38702         Moved ...
38703         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
38704         ... here.
38705         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
38706         Moved ...
38707         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
38708         ... here.
38709         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
38710         Moved ...
38711         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
38712         ... here.
38713         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
38714         Moved ...
38715         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
38716         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
38717         Moved ...
38718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
38719         ... here.
38720         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
38721         Moved ...
38722         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
38723         ... here.
38724         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
38725         Moved ...
38726         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
38727         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
38728         Moved ...
38729         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
38730         ... here.
38731         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
38732         Moved ...
38733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
38734         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
38735         Moved ...
38736         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
38737         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
38738         Moved ...
38739         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
38740         ... here.
38741         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
38742         Moved ...
38743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
38744         ... here.
38745         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
38746         Moved ...
38747         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
38748         ... here.
38749         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
38750         Moved ...
38751         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
38752         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
38753         Moved ...
38754         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
38755         ... here.
38756         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
38757         Moved ...
38758         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
38759         ... here.
38760         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
38761         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
38762         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
38763         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
38764         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
38765         Moved ...
38766         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
38767         ... here.
38768         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
38769         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
38770         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
38771         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
38772         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
38773         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
38774         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
38775         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
38776         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
38777         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
38778         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
38779         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
38780         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
38781         Moved ...
38782         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
38783         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
38784         Moved ...
38785         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
38786         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
38787         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
38788         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
38789         Moved ...
38790         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
38791         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
38792         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
38793         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
38794         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
38795         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
38796         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
38798 2014-06-10  Wilco  <wdijkstr@arm.com>
38800         * math/test-fenv-return.c: New file.
38801         * math/Makefile: Add new test test-fenv-return.
38803 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
38805         [BZ #17042]
38806         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
38807         when x - 1 is zero.
38808         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
38809         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
38810         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
38811         0.0L for an argument of 1.0L.
38812         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
38813         Likewise.
38814         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
38815         value when x - 1 is zero.
38816         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
38817         * sysdeps/i386/fpu/libm-test-ulps: Update.
38818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38820 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
38822         [BZ #15119]
38823         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
38825 2014-06-09  Roland McGrath  <roland@hack.frob.com>
38827         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
38828         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
38830 2014-06-09  Roland McGrath  <roland@hack.frob.com>
38832         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
38833         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
38835         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
38836         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
38838         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
38839         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
38841         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
38842         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
38844         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
38845         if not already defined.
38846         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
38847         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
38848         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
38849         (TLS_INIT_TP): Use it.
38850         (TLS_DEFINE_INIT_TP): New macro.
38851         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
38853 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
38855         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
38856         constant.
38857         [POSIX] (IXANY): Likewise.
38858         [POSIX] (OLCUC): Likewise.
38859         [POSIX || POSIX2008] (CBAUD): Do not allow.
38860         [POSIX || POSIX2008] (DEFECHO): Likewise.
38861         [POSIX || POSIX2008] (ECHOCTL): Likewise.
38862         [POSIX || POSIX2008] (ECHOKE): Likewise.
38863         [POSIX || POSIX2008] (ECHOPRT): Likewise.
38864         [POSIX || POSIX2008] (EXTA): Likewise.
38865         [POSIX || POSIX2008] (EXTB): Likewise.
38866         [POSIX || POSIX2008] (FLUSHO): Likewise.
38867         [POSIX || POSIX2008] (LOBLK): Likewise.
38868         [POSIX || POSIX2008] (PENDIN): Likewise.
38869         [POSIX || POSIX2008] (SWTCH): Likewise.
38870         [POSIX || POSIX2008] (VDISCARD): Likewise.
38871         [POSIX || POSIX2008] (VDSUSP): Likewise.
38872         [POSIX || POSIX2008] (VLNEXT): Likewise.
38873         [POSIX || POSIX2008] (VREPRINT): Likewise.
38874         [POSIX || POSIX2008] (VSTATUS): Likewise.
38875         [POSIX || POSIX2008] (VWERASE): Likewise.
38876         (B*): Change to B[0123456789]*.
38877         * conform/data/time.h-data [POSIX || UNIX98]
38878         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
38879         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
38880         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
38881         [POSIX] (tm_*): Do not allow.
38883 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
38885         * Makefile (install): Don't set LANGUAGE.
38886         * Makefile.in (install): Likewise.
38887         * assert/Makefile (test-assert-ENV): Remove variable.
38888         (test-assert-perr-ENV): Likewise.
38889         * elf/Makefile (neededtest4-ENV): Likewise.
38890         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
38891         [$(cross-compiling) = no]: Don't set LANGUAGE.
38892         * io/ftwtest-sh (LANG): Remove variable.
38893         * libio/Makefile (tst-widetext-ENV): Likewise.
38894         * manual/install.texi (Running make install): Don't refer to
38895         environment settings for make install.
38896         * INSTALL: Regenerated.
38897         * nptl/tst-tls6.sh: Don't set LANG.
38898         * posix/globtest.sh (LANG): Remove variable.
38899         * string/Makefile (tester-ENV): Likewise.
38900         (inl-tester-ENV): Likewise.
38901         (noinl-tester-ENV): Likewise.
38902         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
38903         [$(cross-compiling) = no]: Don't set LANGUAGE.
38904         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
38905         without explicit environment settings.
38907 2014-06-06  Roland McGrath  <roland@hack.frob.com>
38909         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
38910         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
38911         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
38912         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
38914 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
38916         * crypt/crypt-private.h [DOS]: Add some includes taken from the
38917         other files in the crypt directory.
38918         * crypt/crypt.c: Remove duplicate includes.
38919         * crypt/crypt-entry.c: Likewise.
38920         * crypt/crypt_util.c: Likewise.
38922 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
38924         * Makeconfig (run-program-env): New variable.
38925         (run-program-prefix-before-env): Likewise.
38926         (run-program-prefix-after-env): Likewise.
38927         (run-program-prefix): Define in terms of new variables.
38928         (built-program-cmd-before-env): New variable.
38929         (built-program-cmd-after-env): Likewise.
38930         (built-program-cmd): Define in terms of new variables.
38931         (test-program-prefix-before-env): New variable.
38932         (test-program-prefix-after-env): Likewise.
38933         (test-program-prefix): Define in terms of new variables.
38934         (test-program-cmd-before-env): New variable.
38935         (test-program-cmd-after-env): Likewise.
38936         (test-program-cmd): Define in terms of new variables.
38937         * Rules (make-test-out): Use $(run-program-env).
38938         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
38939         (help): Do not mention environment variables.  Mention
38940         --timeoutfactor option.
38941         (timeoutfactor): New variable.
38942         (blacklist_exports): Remove function.
38943         (exports): Remove variable.
38944         (command): Do not include ${exports}.
38945         * manual/install.texi (Configuring and compiling): Do not mention
38946         test wrappers preserving environment variables.  Mention that last
38947         assignment to a variable must take precedence.
38948         * INSTALL: Regenerated.
38949         * benchtests/Makefile (run-bench): Use $(run-program-env).
38950         * catgets/Makefile ($(objpfx)test1.cat): Use
38951         $(built-program-cmd-before-env), $(run-program-env) and
38952         $(built-program-cmd-after-env).
38953         ($(objpfx)test2.cat): Do not specify environment variables
38954         explicitly.
38955         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
38956         $(run-program-env) and $(built-program-cmd-after-env).
38957         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
38958         $(run-program-env) and $(test-program-cmd-after-env).
38959         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
38960         explicitly.
38961         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
38962         run_program_env and test_program_cmd_after_env arguments.
38963         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
38964         * elf/tst-pathopt.sh: Use run_program_env argument.
38965         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
38966         $(test-wrapper-env) and $(run-program-env).
38967         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
38968         run_program_env arguments.
38969         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
38970         * intl/Makefile ($(objpfx)tst-gettext.out): Use
38971         $(test-program-prefix-before-env), $(run-program-env) and
38972         $(test-program-prefix-after-env).
38973         ($(objpfx)tst-gettext2.out): Likewise.
38974         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
38975         run_program_env and test_program_prefix_after_env arguments.
38976         * intl/tst-gettext2.sh: Likewise.
38977         * intl/tst-gettext4.sh: Do not set environment variables
38978         explicitly.
38979         * intl/tst-gettext6.sh: Likewise.
38980         * intl/tst-translit.sh: Likewise.
38981         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
38982         $(test-program-prefix-before-env), $(run-program-env) and
38983         $(test-program-prefix-after-env).
38984         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
38985         run_program_env and test_program_prefix_after_env arguments.
38986         * math/Makefile (run-regen-ulps): Use $(run-program-env).
38987         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
38988         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
38989         explicitly with each use of ${test_wrapper_env}.
38990         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
38991         $(test-program-prefix-before-env), $(run-program-env) and
38992         $(test-program-prefix-after-env).
38993         * posix/tst-getconf.sh: Do not set environment variables
38994         explicitly.
38995         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
38996         run_program_env and test_program_prefix_after_env arguments.
38997         * stdio-common/tst-printf.sh: Do not set environment variables
38998         explicitly.
38999         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
39000         $(test-program-prefix-before-env), $(run-program-env) and
39001         $(test-program-prefix-after-env).
39002         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
39003         run_program_env and test_program_prefix_after_env arguments.
39004         Split $test calls into $test_pre and $test.
39005         * timezone/Makefile (build-testdata): Use
39006         $(built-program-cmd-before-env), $(run-program-env) and
39007         $(built-program-cmd-after-env).
39009 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39011         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
39012         strlen for non SHARED builds.
39014 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39016         * nptl/allocatestack.c (check_list): Inlined function...
39017         (__reclaim_stacks): ... here.
39019 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
39021         [BZ #15698]
39022         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
39023         memory overrun.
39025 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
39027         * Rules (make-test-out): Include
39028         LOCPATH=$(common-objpfx)localedata in default environment.
39029         * debug/Makefile (tst-chk1-ENV): Remove variable.
39030         (tst-chk2-ENV): Likewise.
39031         (tst-chk3-ENV): Likewise.
39032         (tst-chk4-ENV): Likewise.
39033         (tst-chk5-ENV): Likewise.
39034         (tst-chk6-ENV): Likewise.
39035         (tst-lfschk1-ENV): Likewise.
39036         (tst-lfschk2-ENV): Likewise.
39037         (tst-lfschk3-ENV): Likewise.
39038         (tst-lfschk4-ENV): Likewise.
39039         (tst-lfschk5-ENV): Likewise.
39040         (tst-lfschk6-ENV): Likewise.
39041         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
39042         (tst-iconv7-ENV): Likewise.
39043         * intl/Makefile (LOCPATH-ENV): Likewise.
39044         (tst-codeset-ENV): Likewise.
39045         (tst-gettext3-ENV): Likewise.
39046         (tst-gettext5-ENV): Likewise.
39047         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
39048         (tst-fopenloc-ENV): Likewise.
39049         (tst-fgetws-ENV): Remove variable.
39050         (tst-ungetwc1-ENV): Likewise.
39051         (tst-ungetwc2-ENV): Likewise.
39052         (bug-ungetwc2-ENV): Likewise.
39053         (tst-swscanf-ENV): Likewise.
39054         (bug-ftell-ENV): Likewise.
39055         (tst-fgetwc-ENV): Likewise.
39056         (tst-fseek-ENV): Likewise.
39057         (tst-ftell-partial-wide-ENV): Likewise.
39058         (tst-ftell-active-handler-ENV): Likewise.
39059         (tst-ftell-append-ENV): Likewise.
39060         * posix/Makefile (tst-fnmatch-ENV): Likewise.
39061         (tst-regexloc-ENV): Likewise.
39062         (bug-regex1-ENV): Likewise.
39063         (tst-regex-ENV): Likewise.
39064         (tst-regex2-ENV): Likewise.
39065         (bug-regex5-ENV): Likewise.
39066         (bug-regex6-ENV): Likewise.
39067         (bug-regex17-ENV): Likewise.
39068         (bug-regex18-ENV): Likewise.
39069         (bug-regex19-ENV): Likewise.
39070         (bug-regex20-ENV): Likewise.
39071         (bug-regex22-ENV): Likewise.
39072         (bug-regex23-ENV): Likewise.
39073         (bug-regex25-ENV): Likewise.
39074         (bug-regex26-ENV): Likewise.
39075         (bug-regex30-ENV): Likewise.
39076         (bug-regex32-ENV): Likewise.
39077         (bug-regex33-ENV): Likewise.
39078         (bug-regex34-ENV): Likewise.
39079         (bug-regex35-ENV): Likewise.
39080         (tst-rxspencer-ENV): Likewise.
39081         (tst-rxspencer-no-utf8-ENV): Likewise.
39082         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
39083         (tst-sscanf-ENV): Likewise.
39084         (tst-swprintf-ENV): Likewise.
39085         (tst-swscanf-ENV): Likewise.
39086         (test-vfprintf-ENV): Likewise.
39087         (scanf13-ENV): Likewise.
39088         (bug14-ENV): Likewise.
39089         (tst-grouping-ENV): Likewise.
39090         * stdlib/Makefile (tst-strtod-ENV): Likewise.
39091         (tst-strtod3-ENV): Likewise.
39092         (tst-strtod4-ENV): Likewise.
39093         (tst-strtod5-ENV): Likewise.
39094         (testmb2-ENV): Likewise./
39095         * string/Makefile (tst-strxfrm-ENV): Likewise.
39096         (tst-strxfrm2-ENV): Likewise.
39097         (bug-strcoll1-ENV): Likewise.
39098         (test-strcasecmp-ENV): Likewise.
39099         (test-strncasecmp-ENV): Likewise.
39100         * time/Makefile (tst-strptime-ENV): Likewise.
39101         (tst-ftime_l-ENV): Likewise.
39102         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
39103         (tst-mbrtowc-ENV): Likewise.
39104         (tst-wcrtomb-ENV): Likewise.
39105         (tst-mbrtowc2-ENV): Likewise.
39106         (tst-c16c32-1-ENV): Likewise.
39107         (tst-mbsnrtowcs-ENV): Likewise.
39109 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
39111         * manual/resource.texi (How to get information about the memory
39112         subsystem?): Fix typo.
39113         Reported by Peon de la Parra Ivan <peon@keba.com>
39115 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
39117         [BZ #16882]
39118         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
39119         (pthread_spin_lock): Branch out of spin loop to proper location.
39120         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
39121         (pthread_spin_lock): Likewise.
39123         * nptl/tst-spin4.c: New test.
39124         * nptl/Makefile (tests): Add tst-spin4.
39126 2014-06-03  Andreas Schwab  <schwab@suse.de>
39128         [BZ #15946]
39129         * resolv/res_send.c (send_dg): Reload file descriptor after
39130         calling reopen.
39132 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
39134         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39136 2014-06-03  Richard Henderson  <rth@redhat.com>
39138         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
39139         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
39140         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
39141         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
39142         in the SAVE_PID block.
39143         (__libc_vfork): New alias.
39144         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
39146         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
39147         child in registers, not on the stack.  Remove RESET_PID conditionals.
39148         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
39150 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
39152         * sysdeps/aarch64/libm-test-ulps: Regenerate.
39154 2014-06-03  Wilco  <wdijkstr@arm.com>
39156         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
39157         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
39158         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
39159         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
39160         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
39161         Likewise.
39163 2014-06-03  Wilco  <wdijkstr@arm.com>
39165         * sysdeps/aarch64/fpu/math_private.h
39166         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
39167         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
39168         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
39169         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
39170         Fix declarations.
39172 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39174         * crypt/crypt-private.h: Include ufc-crypt.h.
39175         (__b64_from_24bit): Declare extern.
39176         * crypt/crypt_util.c(__b64_from_24bit): New function.
39177         (b64t): New static const variable.
39178         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
39179         (b64t): Remove variable.
39180         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
39181         * crypt/sha256-crypt.c: Include crypt-private.h.
39182         (b64t): Remove variable.
39183         (__sha256_crypt_r): Remove b64_from_24bit and replace
39184         with __b64_from_24bit.
39185         * crypt/sha512-crypt.c: Likewise.
39187 2014-06-02  Roland McGrath  <roland@hack.frob.com>
39189         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
39190         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
39191         Label the code __libc_vfork rather than __vfork.
39192         [!NOT_IN_libc] (vfork): Define as weak alias.
39193         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
39194         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
39195         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
39197 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39199         * malloc/malloc.c (malloc_info): Fix format specifier for
39200         n_mmaps.
39202 2014-06-02  Wilco  <wdijkstr@arm.com>
39204         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
39205         FPCR write.
39207 2014-06-02  Wilco  <wdijkstr@arm.com>
39209         [BZ #17009]
39210         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
39211         Rewrite to reduce FPCR/FPSR accesses.
39213 2014-06-01  David S. Miller  <davem@davemloft.net>
39215         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39217 2014-05-31  David S. Miller  <davem@davemloft.net>
39219         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
39220         to occur in round to nearest mode when |x| >= 2.0
39222 2014-05-30  Richard Henderson  <rth@twiddle.net>
39224         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
39225         (PSEUDO_RET_NOERRNO): Remove.
39226         (ret): Don't redefine.
39227         (ret_NOERRNO): Define in terms of ret.
39228         (ret_ERRVAL): Likewise.
39230         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
39231         use of PSEUDO_RET; perform the error check directly.
39233 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
39235         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
39236         with __int128_t.
39238 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39240         * malloc/malloc (malloc_info): Fix formatting.
39242 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39243             Roland McGrath  <roland@hack.frob.com>
39245         * malloc/malloc (malloc_info): Also print mmapped statistics.
39247 2014-05-30  Roland McGrath  <roland@hack.frob.com>
39249         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
39250         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
39252 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
39254         * malloc/malloc.c (malloc_info): Inline mi_arena.
39256 2014-05-29  Richard Henderson  <rth@twiddle.net>
39258         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
39259         Remove comma before expanding ASM_ARGS_##nr.
39260         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
39261         Make _x0 a strict output; make _x8 a strict input; adjust expansion
39262         of ASM_ARGS_##nr.
39263         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
39264         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
39265         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
39266         (ASM_ARGS_1): Add leading comma.
39268         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
39269         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
39270         to __errno_location.
39271         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
39272         Remove the expected plt for __errno_location.
39274         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
39275         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
39276         call to __read_tp.
39278         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
39279         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
39280         it and break it down.
39281         (DOCARGS_0, DOCARGS_1): Do nothing.
39282         (DOCARGS_2): Update to store into the new stack frame.
39283         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
39284         (UNDOCARGS_1): Update to restore from the new stack frame.
39285         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
39286         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
39288         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
39289         (SINGLE_THREAD_P): New parameter for result regno.
39290         (PSEUDO): Update to match; use cbz instead of beq.
39292         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
39293         Use ENTRY to define the _nocancel entry point.  Share the syscall
39294         and syscall error check paths with the cancel path.
39295         (PSEUDO_END): New.
39297         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
39298         whitespace; tabs before and after asm mnemonics.
39300 2014-05-29  Eric Wong  <normalperson@yhbt.net>
39302         [BZ #15132]
39303         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39304         Call fstat64 or stat64 internally, depending on arguments passed.
39305         Replace stat buffer argument with file descriptor argument.
39306         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
39307         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
39308         Pass fd to __internal_statvfs instead of calling fstat64.
39309         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
39310         Pass fd to __internal_statvfs64 instead of calling fstat64.
39311         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
39312         Pass -1 to __internal_statvfs instead of calling stat64.
39313         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
39314         Pass -1 to __internal_statvfs64 instead of calling stat64.
39316 2014-05-28  Roland McGrath  <roland@hack.frob.com>
39318         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
39319         that was previously under [RESET_PID].
39320         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
39322         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
39323         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
39325 2014-05-27  Roland McGrath  <roland@hack.frob.com>
39327         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
39329         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
39330         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
39332 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
39334         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
39336 2014-05-27  Andreas Schwab  <schwab@suse.de>
39338         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
39339         TLS_INIT_TP macro.
39340         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
39341         * elf/rtld.c (init_tls, dl_main): Likewise.
39342         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
39343         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
39344         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
39345         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
39346         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
39347         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
39348         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
39349         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
39350         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
39351         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
39352         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
39353         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
39354         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
39355         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
39356         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
39357         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
39358         * sysdeps/generic/tls.h: Update description.
39360 2014-05-27  Will Newton  <will.newton@linaro.org>
39362         [BZ #16990]
39363         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
39364         and restore r2 rather than just restoring.
39366 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39368         [BZ #16724]
39369         * libio/tst-ftell-append.c: New test case.
39370         * libio/Makefile (tests): Add test case.
39371         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
39372         append mode.
39373         * libio/wfileops.c (do_ftell_wide): Likewise.
39375 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39377         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39379         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
39380         ...
39381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
39382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
39383         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
39384         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
39385         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
39386         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
39387         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
39388         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
39389         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
39390         Moved ...
39391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
39392         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
39393         Moved ...
39394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
39395         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
39396         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
39397         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
39398         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
39399         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
39400         ...
39401         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
39402         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
39403         Moved ...
39404         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
39405         here.
39406         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
39407         ...
39408         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
39409         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
39410         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
39412         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
39413         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
39414         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
39415         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
39417         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
39418         merge into ...
39419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
39420         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
39421         ...
39422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
39423         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
39424         ...
39425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
39426         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
39427         Moved ...
39428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
39429         here.
39430         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
39431         Moved ...
39432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
39433         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
39434         Moved ...
39435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
39437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
39438         conditional [RESET_PID].
39439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
39440         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
39441         removed.
39442         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
39443         removed.
39445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
39446         <tcb-offsets.h>.
39447         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39448         (__libc_vfork): New strong alias.
39449         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
39450         removed.
39451         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
39452         Removed.
39454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
39455         <tcb-offsets.h>.
39456         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
39457         (__libc_vfork): New strong alias.
39458         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
39459         removed.
39460         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
39461         removed.
39463 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
39465         * malloc/malloc.c (mi_arena): New function.
39466         (malloc_info): Remove nested function mi_arena. Call non-nosted
39467         function mi_arena.
39469 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39471         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
39472         by insrwi.
39473         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
39474         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
39475         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
39476         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
39477         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
39478         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
39479         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
39481 2014-05-26  Andreas Schwab  <schwab@suse.de>
39483         [BZ #16984]
39484         * locale/programs/repertoire.c (repertoire_read): Add slash
39485         between I18NPATH element and file name.
39486         * locale/programs/locfile.c (locfile_read): Likewise.
39488 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
39490         * nptl/pthread_mutexattr_settype.c
39491         (__pthread_mutexattr_settype):
39492         Disable lock elision for PTHREAD_MUTEX_NORMAL.
39494 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
39496         * nptl/tst-mutex5 (do_test):
39497         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
39499 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39501         * benchtests/README: Document 'init' directive.
39502         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
39503         BENCH_INIT.
39504         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
39505         (parse_file): Recognize 'init' directive.
39507 2014-05-26  Kyle McMartin  <kyle@redhat.com>
39509         [BZ #16796]
39510         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
39511         alignment of struct pthread.
39513 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39515         [BZ #16878]
39516         * nscd/netgroupcache.c (addgetnetgrentX): Look for
39517         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
39518         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
39519         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
39521 2014-05-25  Richard Henderson  <rth@twiddle.net>
39523         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
39524         (SINGLE_THREAD_P_PIC): Remove.
39525         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
39526         (SINGLE_THREAD_P_PIC): Remove.
39528         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
39529         branch to syscall error ...
39530         (PSEUDO): ... here.
39531         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
39532         from __local_syscall_error to .Lsyscall_error.
39533         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
39534         (SYSCALL_ERROR): Update label name.
39536         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
39537         Do not use DOARGS/UNDOARGS.
39538         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
39539         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
39540         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
39541         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
39542         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
39544         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
39545         block comment.
39547         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
39548         define if !NOT_IN_libc.
39549         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
39550         define with non-default symbol versions.
39552 2014-05-23  Richard Henderson  <rth@twiddle.net>
39554         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
39555         (vfork, __vfork): Define via compat_symbol.
39557         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
39558         [!HAVE_IFUNC] (vfork_compat): Remove.
39559         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
39561 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
39563         [BZ #16978]
39564         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
39565         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
39566         variable.
39568 2014-05-23  Richard Henderson  <rth@twiddle.net>
39570         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
39571         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
39572         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
39573         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
39575         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
39576         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
39577         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
39578         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
39579         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
39580         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
39581         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
39582         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
39583         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
39584         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
39585         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
39586         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
39587         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
39588         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
39589         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
39590         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
39591         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
39592         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
39593         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
39594         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
39595         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
39596         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
39597         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
39598         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
39599         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
39600         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
39601         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
39602         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
39603         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
39604         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
39605         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
39606         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
39607         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
39608         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
39609         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
39610         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
39611         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
39612         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
39613         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
39614         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
39615         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
39616         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
39617         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
39618         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
39619         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
39620         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
39621         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
39622         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
39623         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
39624         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
39625         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
39626         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
39627         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
39628         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
39629         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
39630         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
39632         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
39633         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
39634         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
39635         before exiting on error.
39636         (__libc_vfork): New strong alias.
39637         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
39638         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
39640         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
39641         that was previously under [RESET_PID].
39642         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
39644         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
39646 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
39648         [BZ #16977]
39649         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
39650         value when x - 1 is zero.
39651         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
39652         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
39653         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
39654         0.0L for an argument of 1.0L.
39655         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
39656         Likewise.
39657         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
39658         value when x - 1 is zero.
39659         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
39660         * sysdeps/i386/fpu/libm-test-ulps: Update.
39661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39663 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
39665         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
39666         alphasort and versionsort.
39668 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39670         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
39671         macro.
39672         [copysignf]: Likewise.
39674 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
39676         * crypt/md5-crypt.c: Fix formatting.
39678 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39680         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
39681         (b64_from_24bit): New function.
39683 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39685         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
39686         libc_hidden_builtin_def to ifunc.
39687         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
39688         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
39690 2014-05-21  Roland McGrath  <roland@hack.frob.com>
39692         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
39693         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
39695 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
39697         * nscd/Depend (linuxthreads): Remove.
39698         (nptl): Add.
39699         * resolv/Depend (linuxthreads): Remove.
39700         * rt/Depend (linuxthreads): Remove.
39702         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
39703         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
39704         $(common-objpfx)elf/.
39705         (link-libc-before-gnulib): Likewise.
39706         (elfobjdir): Remove variable.
39707         * Makefile (install): Use $(elf-objpfx) instead of
39708         $(common-objpfx)elf/.
39709         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
39710         $(elfobjdir)/.
39711         (link-libc-deps): Likewise.
39712         ($(common-objpfx)libc.so): Likewise.
39713         ($(common-objpfx)linkobj/libc.so): Likewise.
39714         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
39715         instead of $(common-objpfx)elf/.
39716         (symbolic-link-list): Likewise.
39717         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
39718         [$(cross-compiling) = no]: Likewise.
39719         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
39720         $(elfobjdir)/.
39721         (static-gnulib-arch): Likewise.
39722         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
39723         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
39724         $(common-objpfx)elf/.
39726 2014-05-21  Richard Henderson  <rth@redhat.com>
39728         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
39729         (SINGLE_THREAD_P): Use the correct width load.  Fold
39730         into the ldr offset.
39732         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
39733         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
39735 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
39737         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
39738         (libgcc_s_resume): Use __attribute_used__.
39739         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
39740         Likewise.
39742 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39744         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
39745         optimization when used with float constants.
39747         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39749 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
39751         [BZ #16915]
39752         * locale/nl_langinfo_l.c: Make direct reference to every
39753         _nl_current_CATEGORY symbol.
39754         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
39755         (tests-static): Add tst-langinfo-static.
39756         (tests-special): Add tst-langinfo-static.out.
39757         ($(objpfx)tst-langinfo.out): Redirect output.
39758         ($(objpfx)tst-langinfo-static.out): New.
39759         * localedata/tst-langinfo.sh: Send output to stdout.
39760         * localedata/tst-langinfo-static.c: New file.
39762         [BZ #16965]
39763         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
39764         when the shift amount is modulo the limb size.
39766 2014-05-20  Richard Henderson  <rth@redhat.com>
39768         [BZ #16967]
39769         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
39770         Change type of sa_flags from unsigned int to int.
39772         [BZ #16966]
39773         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
39775         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
39777 2014-05-20  Will Newton  <will.newton@linaro.org>
39779         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
39780         Test the return value of the system call in the nocancel case.
39782 2014-05-20  Will Newton  <will.newton@linaro.org>
39783             Yvan Roux  <yvan.roux@linaro.org>
39785         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
39786         #include of asm/ptrace.h.
39787         (PTRACE_GET_THREAD_AREA): Remove #undef.
39788         (PTRACE_GETHBPREGS): Likewise.
39789         (PTRACE_SETHBPREGS): Likewise.
39790         (struct user_regs_struct): New structure.
39791         (struct user_fpsimd_struct): New structure.
39792         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
39793         #include of asm/ptrace.h and second #include of sys/user.h.
39794         (PTRACE_GET_THREAD_AREA): Remove #undef.
39795         (PTRACE_GETHBPREGS): Likewise.
39796         (PTRACE_SETHBPREGS): Likewise.
39797         (ELF_NGREG): Use new struct user_regs_struct.
39798         (elf_fpregset_t): Use new struct user_fpsimd_struct.
39800 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39802         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
39803         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
39805 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
39807         [BZ #16958]
39808         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
39809         membar to avoid block loads/stores to overlap previous stores.
39811 2014-05-17  Richard Henderson  <rth@redhat.com>
39813         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
39814         Create the __##syscall_name##_nocancel entry point.
39815         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
39816         Remove; let the sysdep-cancel.h code create it.
39818 2014-05-17  David S. Miller  <davem@davemloft.net>
39820         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
39821         Protect with __USE_GNU.
39822         (TIOCSET_TEMPT): Likewise.
39823         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
39824         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
39825         these are already provided in bits/ioctl-types.h
39827 2014-05-16  Roland McGrath  <roland@hack.frob.com>
39829         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
39830         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
39832         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
39833         Use wait4 regardless of [__NR_waitpid].
39835 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
39837         PR libgcc/60166
39838         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
39839         (_FP_NANSIGN_Q): Set the quiet bit.
39841 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
39843         * benchtests/Makefile
39844         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
39845         not $(common-objpfx)math/libm.so.
39846         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
39847         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
39848         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
39849         $(common-objpfx)dlfcn/libdl.so.
39850         ($(objpfx)tst-audit8): Depend on $(libm), not
39851         $(common-objpfx)math/libm.so.
39852         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
39853         not $(common-objpfx)dlfcn/libdl.so.
39854         * math/Makefile
39855         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
39856         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
39857         [$(build-shared) = yes].
39858         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
39859         $(common-objpfx)nptl/libpthread.so.
39860         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
39861         $(common-objpfx)math/libm.so$(libm.so-version) or
39862         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
39863         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
39864         $(common-objpfx)dlfcn/libdl.so.
39865         * setjmp/Makefile (link-libm): Remove variable.
39866         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
39867         * stdio-common/Makefile (link-libm): Remove variable.
39868         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
39869         * stdlib/Makefile (link-libm): Remove variable.
39870         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
39871         ($(objpfx)tst-strtod-round): Likewise.
39872         ($(objpfx)tst-tininess): Likewise.
39873         ($(objpfx)tst-strtod-underflow): Likewise.
39874         ($(objpfx)tst-strtod6): Likewise.
39875         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
39876         $(libdl), not $(common-objpfx)nptl/libpthread.so and
39877         $(common-objpfx)dlfcn/libdl.so.
39879 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39881         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
39882         BSD terminal modes definitions.
39884 2014-05-16  Roland McGrath  <roland@hack.frob.com>
39886         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
39887         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
39889         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
39890         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
39891         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
39892         Don't do #include_next.
39893         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
39894         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
39895         Don't do #include_next.
39896         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
39897         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
39898         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
39899         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
39901 2014-05-16  Allan McRae  <allan@archlinux.org>
39903         * po/sv.po: Update Swedish translation from translation project.
39905         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
39906         in sed expression.
39908 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
39910         [BZ #16917]
39911         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
39912         errno if the TIOCGPTN ioctl fails with an error different than
39913         EINVAL.
39914         * login/tst-ptsname.c: New file.
39915         * login/Makefile (tests): Add tst-ptsname.
39917         [BZ #16943]
39918         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
39919         and prlimit64.
39921 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39923         [BZ #16849]
39924         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
39925         herrno to return EAI_AGAIN.
39927 2014-05-14  Roland McGrath  <roland@hack.frob.com>
39929         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
39930         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
39931         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
39932         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
39933         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
39934         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
39935         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
39936         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
39937         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
39938         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
39939         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
39940         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
39941         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
39942         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
39943         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
39944         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
39945         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
39946         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
39947         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
39948         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
39949         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
39950         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
39951         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
39952         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
39953         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
39954         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
39955         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
39956         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
39957         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
39958         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
39959         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
39960         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
39961         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
39962         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
39963         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
39964         Moved ...
39965         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
39966         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
39967         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
39968         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
39969         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
39970         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
39971         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
39972         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
39973         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
39974         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
39975         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
39976         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
39977         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
39978         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
39979         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
39980         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
39981         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
39982         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
39983         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
39984         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
39985         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
39986         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
39987         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
39988         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
39989         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
39990         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
39991         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
39992         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
39993         Moved ...
39994         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
39995         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
39996         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
39997         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
39998         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
39999         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
40000         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
40001         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
40002         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
40003         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
40004         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
40005         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
40006         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
40007         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
40008         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
40009         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
40010         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
40011         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
40012         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
40013         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
40014         Moved ...
40015         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
40016         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
40017         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
40019         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
40020         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
40021         (libpthread-sysdep_routines): Add elision-related stuff here instead.
40022         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
40023         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
40024         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
40025         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
40026         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
40027         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
40028         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
40029         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
40030         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
40031         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
40032         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
40033         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
40034         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
40035         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
40036         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
40037         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
40038         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
40039         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
40040         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
40041         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
40042         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
40043         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
40044         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
40045         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
40046         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
40047         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
40048         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
40049         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
40051         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
40052         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
40054         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
40055         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
40056         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
40057         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
40058         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
40059         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
40060         Moved ...
40061         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
40062         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
40063         Moved ...
40064         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
40065         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
40066         Moved ...
40067         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
40068         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
40069         Moved ...
40070         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
40071         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
40072         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
40073         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
40074         Moved ...
40075         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
40076         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
40077         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
40078         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
40079         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
40080         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
40081         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
40082         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
40083         Moved ...
40084         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
40085         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
40086         Moved ...
40087         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
40088         ... here.
40089         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
40090         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
40091         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
40092         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
40093         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
40094         Moved ...
40095         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
40096         ... here.
40097         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
40098         Moved ...
40099         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
40100         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
40101         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
40102         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
40103         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
40104         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
40105         Moved ...
40106         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
40107         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
40108         Moved ...
40109         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
40110         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
40111         Moved ...
40112         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
40113         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
40114         Moved ...
40115         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
40116         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
40117         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
40118         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
40119         Moved ...
40120         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
40121         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
40122         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
40123         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
40124         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
40125         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
40126         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
40127         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
40128         Moved ...
40129         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
40130         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
40131         Moved ...
40132         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
40133         ... here.
40134         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
40135         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
40136         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
40137         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
40138         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
40139         Moved ...
40140         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
40141         ... here.
40142         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
40143         Moved ...
40144         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
40145         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
40146         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
40147         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
40148         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
40149         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
40150         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
40151         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
40152         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
40153         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
40154         Moved ...
40155         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
40156         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
40157         Moved ...
40158         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
40159         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
40160         Moved ...
40161         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
40162         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
40163         Moved ...
40164         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
40165         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
40166         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
40167         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
40168         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
40169         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
40170         Moved ...
40171         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
40172         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
40173         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
40174         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
40175         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
40176         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
40177         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
40178         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
40179         Moved ...
40180         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
40181         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
40182         Moved ...
40183         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
40184         ... here.
40185         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
40186         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
40187         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
40188         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
40189         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
40190         Moved ...
40191         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
40192         ... here.
40193         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
40194         Moved ...
40195         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
40196         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
40197         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
40198         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
40199         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
40200         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
40201         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
40202         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
40203         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
40204         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
40205         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
40207         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
40208         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
40210         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
40211         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
40213         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
40214         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
40215         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
40216         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
40217         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
40218         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
40219         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
40220         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
40221         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
40222         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
40223         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
40224         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
40225         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
40226         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
40227         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
40228         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
40229         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
40230         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
40231         Moved ...
40232         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
40233         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
40234         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
40235         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
40236         Moved ...
40237         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
40238         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
40239         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
40240         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
40241         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
40242         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
40243         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
40244         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
40245         Moved ...
40246         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
40247         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
40248         Moved ...
40249         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
40250         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
40251         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
40252         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
40253         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
40254         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
40255         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
40256         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
40257         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
40258         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
40259         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
40260         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
40261         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
40262         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
40263         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
40264         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
40265         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
40267         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
40268         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
40269         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
40270         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
40271         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
40273         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
40274         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
40275         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
40276         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
40277         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
40278         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
40279         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
40280         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
40281         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
40282         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
40284         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
40285         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
40287         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
40288         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
40289         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
40290         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
40291         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
40292         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
40293         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
40294         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
40295         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
40296         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
40297         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
40298         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
40299         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
40300         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
40301         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
40302         Update #include.
40303         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
40304         Likewise.
40305         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
40306         Likewise.
40307         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
40308         Likewise.
40309         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
40310         Likewise.
40311         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
40312         Likewise.
40313         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
40314         Likewise.
40315         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
40316         Likewise.
40317         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
40318         Likewise.
40319         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
40320         Likewise.
40321         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
40322         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
40323         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
40324         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
40325         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
40326         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
40327         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
40328         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
40329         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
40330         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
40331         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
40332         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
40333         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
40334         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
40335         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
40337         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
40338         that was previously under [RESET_PID].
40339         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
40340         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
40341         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
40343         * sysdeps/i386/nptl/Implies: New file.
40344         * sysdeps/x86_64/nptl/Implies: New file.
40345         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
40346         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
40347         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
40348         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
40350         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
40351         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
40352         (__libc_vfork): New strong alias.
40353         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
40354         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
40356         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
40357         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
40358         (__libc_vfork): New strong alias.
40359         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
40360         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
40362         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
40363         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
40364         (__libc_vfork): New strong alias.
40365         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
40366         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
40367         * nptl/pt-vfork.c: New file.
40368         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
40369         (libpthread: GLIBC_2.20): New version set (empty).
40371 2014-05-14  Will Newton  <will.newton@linaro.org>
40373         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
40374         rather than #if.
40376 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
40378         [BZ #16564]
40379         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
40380         arguments with exponent 65 or above.
40381         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
40382         arguments 0x1p113L or above.
40383         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
40384         to arguments 0x1p107L or above.
40385         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
40386         positive arguments with exponent 65 or above.
40387         * math/auto-libm-test-in: Add more tests of log1p.
40388         * math/auto-libm-test-out: Regenerated.
40390         [BZ #16928]
40391         * math/s_cacos.c (__cacos): Ensure zero real part of result from
40392         non-finite arguments is +0.
40393         * math/s_cacosf.c (__cacosf): Likewise.
40394         * math/s_cacosl.c (__cacosl): Likewise.
40395         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
40396         * sysdeps/i386/fpu/libm-test-ulps: Update.
40397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40399         [BZ #16927]
40400         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
40401         value.
40402         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
40403         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
40404         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
40405         for explicit high bit of mantissa when testing for argument equal
40406         to 1.
40407         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
40408         * sysdeps/i386/fpu/libm-test-ulps: Update.
40409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40411         [BZ #16516]
40412         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
40413         (__erf): Scale by 16 instead of 8 in potentially underflowing
40414         case.  Ensure exception if result actually underflows.
40415         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
40416         (__erff): Scale by 16 instead of 8 in potentially underflowing
40417         case.  Ensure exception if result actually underflows.
40418         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
40419         (efx8): Remove variable.
40420         (__erfl): Scale by 16 instead of 8 in potentially underflowing
40421         case.  Ensure exception if result actually underflows.
40422         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
40423         (efx8): Remove variable.
40424         (__erfl): Scale by 16 instead of 8 in potentially underflowing
40425         case.  Ensure exception if result actually underflows.
40426         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
40427         (efx8): Remove variable.
40428         (__erfl): Scale by 16 instead of 8 in potentially underflowing
40429         case.  Ensure exception if result actually underflows.
40430         * math/auto-libm-test-in: Add more tests of erf.
40431         * math/auto-libm-test-out: Regenerated.
40433 2014-05-14  Andreas Schwab  <schwab@suse.de>
40435         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
40436         Remove code conditionalized on USE___THREAD.
40438         * config.h.in (HAVE_PT_CHOWN): Define as 0.
40439         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
40440         not definedness.
40442 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
40444         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
40445         Define unconditionally.
40446         (__ASSUME_O_CLOEXEC): Likewise.
40447         (__ASSUME_SOCK_CLOEXEC): Likewise.
40448         (__ASSUME_IN_NONBLOCK): Likewise.
40449         (__ASSUME_PIPE2): Likewise.
40450         (__ASSUME_EVENTFD2): Likewise.
40451         (__ASSUME_SIGNALFD4): Likewise.
40452         (__ASSUME_DUP3): Likewise.
40453         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40454         (__ASSUME_DUP3): Do not define.
40455         (__ASSUME_EVENTFD2): Likewise.
40456         (__ASSUME_IN_NONBLOCK): Likewise.
40457         (__ASSUME_O_CLOEXEC): Likewise.
40458         (__ASSUME_PIPE2): Likewise.
40459         (__ASSUME_SIGNALFD4): Likewise.
40460         (__ASSUME_SOCK_CLOEXEC): Likewise.
40461         (__ASSUME_UTIMES): Undefine.
40462         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40463         (__ASSUME_UTIMES): Do not define.
40464         (__ASSUME_O_CLOEXEC): Likewise.
40465         (__ASSUME_SOCK_CLOEXEC): Likewise.
40466         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
40467         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
40468         0x020621].
40469         (__ASSUME_PIPE2): Likewise.
40470         (__ASSUME_EVENTFD2): Likewise.
40471         (__ASSUME_SIGNALFD4): Likewise.
40472         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
40473         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
40474         Do not define.
40475         (__ASSUME_EVENTFD2): Likewise.
40476         (__ASSUME_SIGNALFD4): Likewise.
40477         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
40478         (__ASSUME_32BITUIDS): Likewise.
40479         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
40480         (__ASSUME_IPC64): Likewise.
40481         (__ASSUME_ST_INO_64_BIT): Likewise.
40482         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
40483         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
40484         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40485         (__ASSUME_UTIMES): Do not define.
40486         (__ASSUME_PSELECT): Likewise.
40487         (__ASSUME_PPOLL): Likewise.
40488         (__ASSUME_O_CLOEXEC): Likewise.
40489         (__ASSUME_SOCK_CLOEXEC): Likewise.
40490         (__ASSUME_IN_NONBLOCK): Likewise.
40491         (__ASSUME_PIPE2): Likewise.
40492         (__ASSUME_EVENTFD2): Likewise.
40493         (__ASSUME_SIGNALFD4): Likewise.
40494         (__ASSUME_DUP3): Likewise.
40495         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
40496         (__ASSUME_UTIMES): Likewise.
40497         (__ASSUME_O_CLOEXEC): Likewise.
40498         (__ASSUME_SOCK_CLOEXEC): Likewise.
40499         (__ASSUME_IN_NONBLOCK): Likewise.
40500         (__ASSUME_PIPE2): Likewise.
40501         (__ASSUME_EVENTFD2): Likewise.
40502         (__ASSUME_SIGNALFD4): Likewise.
40503         (__ASSUME_DUP3): Likewise.
40504         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40505         (__ASSUME_UTIMES): Likewise.
40506         (__ASSUME_O_CLOEXEC): Likewise.
40507         (__ASSUME_SOCK_CLOEXEC): Likewise.
40508         (__ASSUME_IN_NONBLOCK): Likewise.
40509         (__ASSUME_PIPE2): Likewise.
40510         (__ASSUME_EVENTFD2): Likewise.
40511         (__ASSUME_SIGNALFD4): Likewise.
40512         (__ASSUME_DUP3): Likewise.
40513         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
40514         Likewise.
40515         (__ASSUME_UTIMES): Likewise.
40516         (__ASSUME_EVENTFD2): Likewise.
40517         (__ASSUME_SIGNALFD4): Likewise.
40518         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40519         (__ASSUME_O_CLOEXEC): Likewise.
40520         (__ASSUME_SOCK_CLOEXEC): Likewise.
40521         (__ASSUME_IN_NONBLOCK): Likewise.
40522         (__ASSUME_PIPE2): Likewise.
40523         (__ASSUME_EVENTFD2): Likewise.
40524         (__ASSUME_SIGNALFD4): Likewise.
40525         (__ASSUME_DUP3): Likewise.
40526         (__ASSUME_UTIMES): Undefine.
40528         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
40529         feclearexcept.  Remove symbol versioning code.
40530         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
40531         symbol versioning code.
40532         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
40533         symbol versioning code.
40534         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
40535         feupdateenv.  Remove symbol versioning code.
40536         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
40537         fegetexceptflag.  Remove symbol versioning code.
40538         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
40539         fesetexceptflag.  Remove symbol versioning code.
40540         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
40541         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
40542         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
40543         (__posix_fadvise64_l32): Remove prototype.
40544         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
40545         code.
40547 2014-05-13  Roland McGrath  <roland@hack.frob.com>
40549         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
40550         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
40551         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
40552         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
40554 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
40556         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
40557         current working directory
40559 2014-05-13  Roland McGrath  <roland@hack.frob.com>
40561         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
40562         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
40563         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
40564         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
40565         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
40566         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
40567         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
40568         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
40569         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
40570         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
40571         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
40572         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
40573         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
40574         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
40575         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
40576         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
40577         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
40578         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
40579         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
40580         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
40581         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
40582         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
40583         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
40584         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
40585         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
40586         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
40587         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
40588         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
40589         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
40590         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
40591         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
40592         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
40593         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
40594         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
40595         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
40596         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
40597         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
40598         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
40599         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
40600         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
40601         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
40602         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
40604         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
40605         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
40607         * sysdeps/unix/sysv/linux/arm/Makefile
40608         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
40609         Add rt-aeabi_unwind_cpp_pr1.
40610         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
40611         Add nptl-aeabi_unwind_cpp_pr1.
40612         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
40613         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
40614         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
40615         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
40616         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
40617         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
40619         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
40620         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
40621         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
40622         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
40624         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
40625         Deconditionalize the code that was previously under [RESET_PID].
40626         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
40628         * sysdeps/generic/exit-thread.h: New file.
40629         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
40630         * include/unistd.h (__exit_thread): Remove declaration.
40631         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
40632         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
40633         * csu/libc-start.c: Include <exit-thread.h>.
40634         (LIBC_START_MAIN): Pass no argument to __exit_thread.
40635         * nptl/pthread_create.c: Include <exit-thread.h>.
40636         (start_thread): Call __exit_thread in place of __exit_thread_inline.
40637         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
40638         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
40639         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
40640         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
40641         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
40642         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
40643         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
40644         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
40645         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
40646         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
40647         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
40648         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
40649         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
40650         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
40651         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
40652         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
40654 2014-05-13  Andreas Schwab  <schwab@suse.de>
40656         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
40658 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
40660         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
40661         (__ASSUME_UTIMES): Do not condition on kernel version.
40662         (__ASSUME_PSELECT): Define unconditionally.
40663         (__ASSUME_PPOLL): Likewise.
40664         (__ASSUME_ATFCTS): Likewise.
40665         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
40666         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
40667         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
40668         (__ASSUME_UTIMENSAT): Define unconditionally.
40669         (__ASSUME_PRIVATE_FUTEX): Likewise.
40670         (__ASSUME_FALLOCATE): Likewise.
40671         (__ASSUME_O_CLOEXEC): Likewise.
40672         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
40673         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
40674         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
40675         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
40676         (__ASSUME_IN_NONBLOCK): Likewise.
40677         (__ASSUME_PIPE2): Likewise.
40678         (__ASSUME_EVENTFD2): Likewise.
40679         (__ASSUME_SIGNALFD4): Likewise.
40680         (__ASSUME_DUP3): Likewise.
40681         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
40682         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
40683         (__ASSUME_AT_RANDOM): Likewise.
40684         (__ASSUME_PREADV): Likewise.
40685         (__ASSUME_PWRITEV): Likewise.
40686         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
40687         (__ASSUME_F_GETOWN_EX): Define unconditionally.
40688         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
40689         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
40690         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
40691         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40692         (__ASSUME_O_CLOEXEC): Define unconditionally.
40693         (__ASSUME_PSELECT): Do not undefine conditionally.
40694         (__ASSUME_PPOLL): Likewise.
40695         (__ASSUME_ATFCTS): Likewise.
40696         (__ASSUME_SET_ROBUST_LIST): Likewise.
40697         (__ASSUME_UTIMENSAT): Likewise.
40698         (__ASSUME_FDATASYNC): Define unconditionally.
40699         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40700         (__ASSUME_SIGFRAME_V2): Likewise.
40701         )__ASSUME_EVENTFD2): Likewise.
40702         (__ASSUME_SIGNALFD4): Likewise.
40703         (__ASSUME_PSELECT): Do not undefine conditionally.
40704         (__ASSUME_PPOLL): Likewise.
40705         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40706         (__ASSUME_PSELECT): Define unconditionally.
40707         (__ASSUME_PPOLL): Likewise.
40708         (__ASSUME_O_CLOEXEC): Likewise.
40709         (__ASSUME_SOCK_CLOEXEC): Likewise.
40710         (__ASSUME_IN_NONBLOCK): Likewise.
40711         (__ASSUME_PIPE2): Likewise.
40712         (__ASSUME_EVENTFD2): Likewise.
40713         (__ASSUME_SIGNALFD4): Likewise.
40714         (__ASSUME_DUP3): Likewise.
40715         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
40716         (__ASSUME_O_CLOEXEC): Likewise.
40717         (__ASSUME_SOCK_CLOEXEC): Likewise.
40718         (__ASSUME_IN_NONBLOCK): Likewise.
40719         (__ASSUME_PIPE2): Likewise.
40720         (__ASSUME_EVENTFD2): Likewise.
40721         (__ASSUME_SIGNALFD4): Likewise.
40722         (__ASSUME_DUP3): Likewise.
40723         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40724         (__ASSUME_EVENTFD2): Likewise.
40725         (__ASSUME_SIGNALFD4): Likewise.
40726         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
40728 2014-05-12  Andreas Schwab  <schwab@suse.de>
40730         [BZ #16932]
40731         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
40732         (_nss_nis_gethostbyname4_r): Return error if item length is larger
40733         than maximum RPC packet size.
40734         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
40735         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
40736         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
40737         (_nss_nis_getservbyport_r): Likewise.
40739 2014-05-12  Will Newton  <will.newton@linaro.org>
40741         * malloc/Makefile (tests): Add tst-mallopt.
40742         * malloc/tst-mallopt.c: New file.
40744 2014-05-09  Roland McGrath  <roland@hack.frob.com>
40746         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
40747         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
40749 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40751         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
40752         (tst-tlsmod6.so): Likewise.
40754 2014-05-09  Roland McGrath  <roland@hack.frob.com>
40756         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
40758 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
40760         [BZ #16064]
40761         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
40762         and <dl-procinfo.h>.
40763         (__fegetenv): Save SSE state in envp->__eip if supported.
40764         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
40765         envp->__eip if supported.
40766         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
40767         and <dl-procinfo.h>.
40768         (__fesetenv): Always set __eip, __cs_selector, __opcode,
40769         __data_offset and __data_selector in environment to 0.  Set SSE
40770         state if supported.
40771         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
40772         test-fenv-sse.
40773         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
40774         -mfpmath=sse.
40775         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
40777 2014-05-09  Will Newton  <will.newton@linaro.org>
40779         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
40780         and libc_relro_required for ARM.
40781         * sysdeps/arm/preconfigure: Regenerate.
40783 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
40784             Stefan Liebler  <stli@linux.vnet.ibm.com>
40786         * config.make.in (enable-lock-elision): New Makefile variable.
40787         * configure.ac: Likewise.
40788         * configure: Regenerate.
40789         * sysdeps/s390/configure.ac:
40790         Add check for gcc transactions support.
40791         * sysdeps/s390/configure: Regenerate.
40792         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
40793         Build elision files if enabled.
40794         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
40795         Add lock elision support for s390.
40796         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
40797         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
40798         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
40799         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
40800         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
40801         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
40802         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
40803         Likewise.
40804         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
40805         Likewise.
40806         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
40807         Likewise.
40808         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
40809         Likewise.
40810         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
40811         (__lll_timedlock_elision, __lll_lock_elision)
40812         (__lll_unlock_elision, __lll_trylock_elision)
40813         (lll_timedlock_elision, lll_lock_elision)
40814         (lll_unlock_elision, lll_trylock_elision): Add.
40815         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
40816         (pthread_mutex_t): Add lock elision support for s390.
40818 2014-05-14  Wilco  <wdijkstr@arm.com>
40820         * sysdeps/arm/fclrexcpt.c: Cleanup.
40821         * sysdeps/arm/fedisblxcpt.c: Cleanup.
40822         * sysdeps/arm/feenablxcpt.c: Cleanup.
40823         * sysdeps/arm/fegetenv.c: Cleanup.
40824         * sysdeps/arm/fegetexcept.c: Cleanup.
40825         * sysdeps/arm/fegetround.c: Cleanup.
40826         * sysdeps/arm/feholdexcpt.c: Cleanup.
40827         * sysdeps/arm/fesetenv.c: Cleanup.
40828         * sysdeps/arm/fesetround.c: Cleanup.
40829         * sysdeps/arm/feupdateenv.c: Cleanup.
40830         * sysdeps/arm/fgetexcptflg.c: Cleanup.
40831         * sysdeps/arm/fraiseexcpt.c: Cleanup.
40832         * sysdeps/arm/fsetexcptflg.c: Cleanup.
40833         * sysdeps/arm/ftestexcept.c: Cleanup.
40834         * sysdeps/arm/get-rounding-mode.h: Cleanup.
40835         * sysdeps/arm/setfpucw.c: Cleanup.
40837 2014-05-09  Will Newton  <will.newton@linaro.org>
40839         * sysdeps/arm/armv7/strcmp.S: New file.
40840         * NEWS: Mention addition of ARMv7 optimized strcmp.
40842 2014-05-08  Roland McGrath  <roland@hack.frob.com>
40844         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
40845         look for %.ac rather than %.in.
40847         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
40848         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
40849         * sysdeps/mach/hurd/configure: Regenerated.
40850         * sysdeps/unix/sysv/linux/configure: Regenerated.
40852         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
40854 2014-05-07  Steve Ellcey  <sellcey@mips.com>
40856         [BZ# 16922]
40857         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
40858         (LONG_SUB): Ditto.
40859         (PTR_SUB): Ditto.
40861 2014-05-07  Andreas Schwab  <schwab@suse.de>
40863         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
40864         when skipping over non-matching result from nscd.
40866 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
40868         [BZ #16876]
40869         * nptl/sockperf.c (client): Check socket return value.
40871         [BZ #16877]
40872         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
40873         nscd security class.
40875 2014-05-06  Roland McGrath  <roland@hack.frob.com>
40877         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
40878         * sysdeps/arm/unwind.h: ... here.
40880 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
40882         [BZ# 16916]
40883         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
40884         Define.
40886 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
40888         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
40889         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
40890         multiarch strncpy for PPC64.
40891         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
40892         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
40893         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
40894         multiarch optimizations.
40895         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40896         (__libc_ifunc_impl_list): Likewise.
40897         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
40898         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
40899         multiarch stpncpy for PPC64.
40900         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
40901         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
40903 2014-05-06  Andreas Schwab  <schwab@suse.de>
40905         [BZ #16912]
40906         * gmon/mcount.c (_MCOUNT_DECL): Use
40907         atomic_compare_and_exchange_bool_acq instead of
40908         catomic_compare_and_exchange_bool_acq.
40910 2014-05-05  Roland McGrath  <roland@hack.frob.com>
40912         * elf/Makefile (others, install-bin): Remove pldd.
40913         (pldd-modules): Variable removed.
40914         ($(objpfx)pldd): Target removed.
40915         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
40916         (others, install-bin): Append pldd here.
40917         ($(objpfx)pldd): New target.
40919         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
40920         to 0, so the first #if test emitted later doesn't see it undefined.
40921         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
40922         * sysdeps/gnu/errlist.c: Regenerated.
40924 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40926         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
40927         [libc_hidden_builtin_def]: Define to empty value.
40928         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
40929         [libc_hidden_builtin_def]: Likewise.
40930         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
40931         [libc_hidden_builtin_def]: Likewise.
40932         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
40933         [libc_hidden_builtin_def]: Likewise.
40934         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
40935         __redirect_memcpy and define ifunc as default hidden symbol.
40936         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
40937         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
40939 2014-05-04  Adam Conrad  <adconrad@0c3.net>
40941         * locale/iso-4217.def: Reintroduce XDR currency.
40943 2014-05-04  Allan McRae  <allan@archlinux.org>
40945         * po/eo.po: Update Esperanto translation from translation project.
40947 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
40949         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
40950         and FEATURE_INDEX_MAX to 1.
40951         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
40953 2014-05-01  Steve Ellcey  <sellcey@mips.com>
40955         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
40956         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
40957         * iconvdata/big5.c (ONE_DIRECTION): Define.
40958         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
40959         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
40960         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
40961         * iconvdata/cp932.c (ONE_DIRECTION): Define.
40962         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
40963         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
40964         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
40965         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
40966         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
40967         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
40968         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
40969         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
40970         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
40971         * iconvdata/gbk.c (ONE_DIRECTION): Define.
40972         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
40973         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
40974         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
40975         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
40976         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
40977         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
40978         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
40979         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
40980         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
40981         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
40982         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
40983         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
40984         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
40985         * iconvdata/iso646.c (ONE_DIRECTION): Define.
40986         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
40987         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
40988         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
40989         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
40990         * iconvdata/johab.c (ONE_DIRECTION): Define.
40991         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
40992         * iconvdata/sjis.c (ONE_DIRECTION): Define.
40993         * iconvdata/t.61.c (ONE_DIRECTION): Define.
40994         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
40995         * iconvdata/tscii.c (ONE_DIRECTION): Define.
40996         * iconvdata/uhc.c (ONE_DIRECTION): Define.
40997         * iconvdata/unicode.c (ONE_DIRECTION): Define.
40998         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
40999         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
41000         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
41002 2014-05-01  Roland McGrath  <roland@hack.frob.com>
41004         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
41005         (_IO_JUMPS_OFFSET): Define to 0.
41007         * nptl/sysdeps/pthread/bits/libc-lock.h
41008         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
41009         (__libc_lock_define_initialized_recursive): Always define using
41010         initializer.  Modern compilers treat uninitialized (implicit zero) and
41011         explicit zero initializers the same (i.e. put the datum in bss).
41013 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
41015         * nscd/nscd-client.h: Include <string.h>.
41017 2014-05-01  David S. Miller  <davem@davemloft.net>
41019         [BZ #16885]
41020         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
41021         multiple zero bytes exist at the end of a string.
41022         Reported by Aurelien Jarno <aurelien@aurel32.net>
41024         * string/test-strcmp.c (check): Add explicit test for situations where
41025         there are multiple zero bytes after the first.
41027 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
41029         [BZ #16890]
41030         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
41031         when compiling wprintf.
41032         * stdio-common/tstdiomisc.c (t3): New function.
41033         (main): Call it.
41035 2014-05-01  Steve Ellcey  <sellcey@mips.com>
41037         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
41038         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
41039         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
41040         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
41042 2014-05-01  Steve Ellcey  <sellcey@mips.com>
41044         * stdlib/longlong.h: Updated from GCC.
41046 2014-05-01  Will Newton  <will.newton@linaro.org>
41047             Bernard Ogden  <bernie.ogden@linaro.org>
41049         * NEWS: Update fixed bug list.
41051         [BZ #15119]
41052         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
41054 2014-04-30  David S. Miller  <davem@davemloft.net>
41056         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
41057         (libc_feholdexcept_setround_sparc_ctx): New function.
41058         (libc_fesetenv_sparc_ctx): Likewise.
41059         (libc_feupdateenv_sparc_ctx): Likewise.
41060         (libc_feholdsetround_sparc_ctx): Likewise.
41061         (libc_feholdexcept_setround_ctx): Define.
41062         (libc_feholdexcept_setroundf_ctx): Likewise.
41063         (libc_feholdexcept_setroundl_ctx): Likewise.
41064         (libc_fesetenv_ctx): Likewise.
41065         (libc_fesetenvf_ctx): Likewise.
41066         (libc_fesetenvl_ctx): Likewise.
41067         (libc_feupdateenv_ctx): Likewise.
41068         (libc_feupdateenvf_ctx): Likewise.
41069         (libc_feupdateenvl_ctx): Likewise.
41070         (libc_feresetround_ctx): Likewise.
41071         (libc_feresetroundf_ctx): Likewise.
41072         (libc_feresetroundl_ctx): Likewise.
41073         (libc_feholdsetround_ctx): Likewise.
41074         (libc_feholdsetroundf_ctx): Likewise.
41075         (libc_feholdsetroundl_ctx): Likewise.
41077         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
41078         with __USE_GNU instead of XOPEN cpp guards.
41080         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
41081         0.
41083         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
41084         with XOPEN cpp guards.
41086 2014-04-30  Julian Brown  <julian@codesourcery.com>
41088         [BZ #16888]
41089         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
41090         handling.
41092 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
41094         [BZ #9894]
41095         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
41096         Change to 2.6.32.
41097         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
41098         * sysdeps/unix/sysv/linux/configure: Regenerated.
41099         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
41100         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
41101         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
41102         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
41103         * README: Update reference to required Linux kernel version.
41104         * manual/install.texi (Linux): Update reference to required Linux
41105         kernel headers version.
41106         * INSTALL: Regenerated.
41108         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
41109         header inclusion.
41110         [POSIX] (limits.h): Likewise.
41111         [POSIX] (math.h): Likewise.
41112         [POSIX] (sys/wait.h): Likewise.
41113         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
41114         function.
41115         [POSIX] (stddef.h): Do not allow header inclusion.
41117 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41119         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
41121 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
41123         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
41124         Return immediately after lll_futex_wake.
41126 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41128         [BZ #16791]
41129         * nscd/nscd-client.h (datahead_init_common): Initialize entire
41130         structure.
41131         (datahead_init_pos): Call datahead_init_common early.
41132         (datahead_init_neg): Likewise.
41134         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
41135         datahead_init_neg): New functions.
41136         * nscd/aicache.c (addhstaiX): Use them.
41137         * nscd/grpcache.c (cache_addgr): Likewise.
41138         * nscd/hstcache.c (cache_addhst): Likewise.
41139         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41140         * nscd/netgroupcache.c (do_notfound): Likewise.
41141         (addgetnetgrentX): Likewise.
41142         (addinnetgrX): Likewise.
41143         * nscd/pwdcache.c (cache_addpw): Likewise.
41144         * nscd/servicescache.c (cache_addserv): Likewise.
41146 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41147             Atsushi Onoe  <atsushi@onoe.org>
41149         [BZ #14308]
41150         [BZ #12994]
41151         [BZ #13651]
41152         * resolv/res_query.c (__libc_res_nsearch): Return if at least
41153         one response is valid.
41154         * resolv/res_send.c (send_dg): Check for validity of other
41155         response if the current response is a referral.
41157 2014-04-29  Steve Ellcey  <sellcey@mips.com>
41159         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
41161 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
41163         [BZ #16823]
41164         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
41165         Always divide by positive zero when computing -Inf result.
41166         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
41167         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
41169 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41171         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
41172         FPSCR if value do not change.
41173         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
41174         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
41175         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
41176         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
41177         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
41178         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
41179         function.
41181 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
41183         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
41184         * sysdeps/unix/sysv/linux/hppa: Move directory from
41185         ports/systeps/unix/sysv/linux/hppa.
41186         * README: Update listing for hppa-*-linux-gnu.
41188 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
41190         [BZ #16754]
41191         * manual/stdio.texi (Hook functions): Fix types of stream hook
41192         functions.
41193         [BZ #16854]
41194         * socket/sys/socket.h: Fix typo in comment.
41196 2014-04-28  Wilco  <wdijkstr@arm.com>
41198         * sysdeps/arm/fenv_private.h: New file.
41199         * sysdeps/arm/math_private.h: New file.
41200         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
41202 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
41204         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
41205         with __int128_t.
41206         (La_x86_64_retval): Likewise.
41208 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
41210         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
41211         fpsr if value didn't change.
41212         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
41213         to fpcr if value didn't change.
41214         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
41215         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
41216         fpsr or fpcr if value didn't change.
41217         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
41218         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
41219         fpcr if value didn't change.
41220         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
41221         to fpsr if value didn't change.
41223 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
41225         * nptl/tst-sem3.c: Use test-skeleton.c
41226         (main): Rename to do_test.  Use return instead of
41227         exit.
41228         * nptl/tst-sem4.c: Use test-skeleton.c
41229         (main): Rename to do_test.
41231 2014-04-22  David S. Miller  <davem@davemloft.net>
41233         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
41234         (struct sigaction): New struct member __glibc_reserved0, change
41235         type of sa_flags to int.
41237 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
41239         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
41240         (COUNT_LEADING_ZEROS_0): Define for AArch64.
41242 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
41244         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
41245         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
41247 2014-04-22  Will Newton  <will.newton@linaro.org>
41248             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
41250         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
41251         (__longjmp): Add longjmp and longjmp_target SystemTap
41252         probes.
41253         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
41254         (__sigsetjmp): Add setjmp SystemTap probe.
41256 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
41258         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
41259         match manual order.
41261 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41263         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
41265         * sysdeps/powerpc/fpu/fenv_private.h
41266         (libc_feholdexcept_setroundl_ctx): Define to
41267         libc_feholdexcept_setround_ppc_ctx.
41268         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
41269         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
41270         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
41271         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
41273 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
41275         * sysdeps/aarch64/math-tests.h: New file.
41277 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
41279         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
41280         New.
41281         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41282         Check and set bit_AVX2_Usable.
41283         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
41284         macro.
41285         (bit_AVX2): Likewise.
41286         (index_AVX2_Usable): Likewise.
41287         (CPUID_AVX2): Likewise.
41288         (HAS_AVX2): Likewise.
41290 2014-04-17  Will Newton  <will.newton@linaro.org>
41292         * manual/setjmp.texi (System V contexts): Add note that
41293         calling setcontext on a context created by a call to a
41294         signal handler is undefined.  Update text to note that
41295         setcontext from a signal handler is possible but not
41296         recommended.
41298         [BZ #16629]
41299         * stdlib/tst-setcontext.c: Include signal.h.
41300         (main): Check that the signal stack before and
41301         after swapcontext is the same.
41303         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
41304         Re-implement to restore registers in user code and avoid
41305         rt_sigreturn system call.
41307 2014-04-17  Wilco  <wdijkstr@arm.com>
41309         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
41310         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
41311         * math/test-fenv.c: Skip exception trap tests on targets which only
41312         support non-stop mode.
41314 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
41315             Wilco Dijkstra  <wilco.dijkstra@arm.com>
41317         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
41318         (libc_feholdsetround_aarch64_ctx)
41319         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
41320         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
41321         (libc_feresetround_ctx, libc_feresetroundf_ctx)
41322         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
41323         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
41324         (libc_feresetround_noexl_ctx): Define.
41326 2014-04-16  Richard Henderson  <rth@redhat.com>
41328         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
41330         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
41331         unwind tables.
41333         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
41334         const from the non-libc, non-ldso copy.
41336         * sysdeps/alpha/libm-test-ulps: Regenerate.
41338 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
41339             Wilco Dijkstra  <wilco.dijkstra@arm.com>
41341         * sysdeps/aarch64/fpu/math_private.h: New file.
41343 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
41345         * sysdeps/aarch64/libm-test-ulps: Regenerate.
41347 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
41349         [BZ #16275]
41350         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
41351         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
41352         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
41353         Intel MPX bound registers before _dl_profile_fixup.
41354         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
41355         registers after _dl_profile_fixup.  Save and restore bound
41356         registers bnd0/bnd1 when calling _dl_call_pltexit.
41357         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
41358         (LR_BND_OFFSET): Likewise.
41359         (LRV_BND0_OFFSET): Likewise.
41360         (LRV_BND1_OFFSET): Likewise.
41362 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41364         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
41365         to...
41366         * sysdeps/mach/hurd/i386/tls.h: ... here.
41367         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
41368         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
41369         fields.
41371 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41373         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
41375 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
41377         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41379 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
41381         [BZ #14770]
41382         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
41383         * sysdeps/s390/configure: Regenerate.
41385         [BZ #16824]
41386         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
41387         Set round-to-nearest internally to reduce error accumulation.
41389 2014-04-16  Alan Modra  <amodra@gmail.com>
41391         [BZ #16740]
41392         [BZ #16619]
41393         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
41394         * math/libm-test.inc (frexp_test_data): Add tests.
41395         * NEWS: Update fixed bug list.
41397 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41399         * benchtests/Makefile: Depend on libraries in build directory.
41400         (bench-math): Separate out math tests.
41401         (bench-pthread): Separate out pthread tests.
41402         (bench): Include math and pthread tests.
41404 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
41406         [BZ #16831]
41407         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
41408         _dl_debug_initialize.
41410         * configure.ac: Remove SELinux header check.
41411         * configure: Regenerate.
41412         * nscd/selinux.c (perms): Array of const char* to permission names.
41413         (nscd_request_avc_has_perm): Call security_deny_unknown to find
41414         default policy. Call string_to_security_class and string_to_av_perm to
41415         translate strings. Enforce default policy and call avs_has_perm with
41416         results of translated strings.
41418 2014-04-13  David S. Miller  <davem@davemloft.net>
41420         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41422 2014-04-12  Allan McRae  <allan@archlinux.org>
41424         [BZ #16838]
41425         * manual/string.texi (Collation Functions): Fix qsort argument
41426         order in example.
41427         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
41429 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
41431         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
41432         Make the test a no-op if there are no exceptions defined.
41434 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
41436         * elf/Makefile (tests): make tst-dlopen-aout conditional on
41437         enable-hardcoded-path-in-tests
41439 2014-04-11  Will Newton  <will.newton@linaro.org>
41441         * benchtests/Makefile (extra-objs): Add json-lib.o.
41442         (bench-func): Tidy up JSON output.
41443         * benchtests/bench-skeleton.c: Include json-lib.h.
41444         (main): Use JSON library functions to do output of
41445         benchmark results.
41446         * benchtests/bench-timing-type.c (main): Output the
41447         timing type simply, leaving formatting to the user.
41448         * benchtests/json-lib.c: New file.
41449         * benchtests/json-lib.h: Likewise.
41451 2014-04-11  Torvald Riegel  <triegel@redhat.com>
41453         [BZ #15215]
41454         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
41455         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
41456         memory barriers.  Add comments.
41457         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
41458         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
41459         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
41460         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
41461         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
41462         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
41464 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
41466         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
41467         * sysdeps/s390/s390-64/configure.ac: ... this ...
41468         * sysdeps/s390/configure.ac: ... to here.
41469         * sysdeps/s390/s390-32/configure: Delete file.
41470         * sysdeps/s390/s390-64/configure: Delete file.
41471         * sysdeps/s390/configure: Regenerate.
41473 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
41475         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
41477 2014-04-11  Will Newton  <will.newton@linaro.org>
41479         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
41480         to zero if it is not defined elsewhere.  (mtrim): Test
41481         the value of MALLOC_DEBUG with #if rather than #ifdef.
41483 2014-04-10 Torvald Riegel  <triegel@redhat.com>
41485         * benchtests/pthread_once-inputs: New file.
41486         * benchtests/pthread_once-source.c: New file.
41487         * benchtests/README: Update documentation.
41489 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
41490             H.J. Lu  <hongjiu.lu@intel.com>
41492         [BZ #16275]
41493         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
41494         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
41495         * sysdeps/x86_64/configure: Regenerated.
41496         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
41497         macro.
41498         (REGISTER_SAVE_RAX): Likewise.
41499         (REGISTER_SAVE_RCX): Likewise.
41500         (REGISTER_SAVE_RDX): Likewise.
41501         (REGISTER_SAVE_RSI): Likewise.
41502         (REGISTER_SAVE_RDI): Likewise.
41503         (REGISTER_SAVE_R8): Likewise.
41504         (REGISTER_SAVE_R9): Likewise.
41505         (REGISTER_SAVE_BND0): Likewise.
41506         (REGISTER_SAVE_BND1): Likewise.
41507         (REGISTER_SAVE_BND2): Likewise.
41508         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
41509         bound registers when calling _dl_fixup.
41511 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41513         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
41514         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
41515         of its definition.
41516         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
41517         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
41518         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
41519         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
41520         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
41521         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
41522         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
41524 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
41526         [BZ #15514]
41527         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
41528         pathconf(_PC_NAME_MAX).
41530 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41532         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
41533         Remove macro usage.
41534         (__PTHREAD_SPINS): Move definition to ...
41535         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
41536         (__PTHREAD_SPINS): ... here.
41537         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
41538         (__PTHREAD_SPIN): Likewise.
41539         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
41540         (__PTHREAD_SPIN): Likewise.
41541         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
41542         (__PTHREAD_SPIN): Likewise.
41543         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
41544         (__PTHREAD_SPIN): Likewise.
41545         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
41546         (__PTHREAD_SPIN): Likewise.
41547         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
41548         (__PTHREAD_SPIN): Likewise.
41549         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
41550         (__PTHREAD_SPIN): Likewise.
41551         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
41552         (__PTHREAD_SPIN): Likewise.
41553         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
41554         (__PTHREAD_SPIN): Likewise.
41555         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
41556         (__PTHREAD_SPIN): Likewise.
41557         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
41558         (__PTHREAD_SPIN): Likewise.
41559         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
41560         (__PTHREAD_SPIN): Likewise.
41562         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
41563         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
41564         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
41565         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
41566         imply folder.
41567         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
41568         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
41569         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
41570         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
41571         correct imply path.
41572         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
41573         strlen symbol for non multi-arch builds.
41574         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
41575         missing hidden_def and weak_alias.
41577 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
41579         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
41581 2014-04-07  Will Newton  <will.newton@linaro.org>
41583         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
41584         and contents.  [!_LIBC] Remove #ifndef and contents.
41585         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
41586         * string/memccpy.c (__memccpy): Use ANSI prototype.
41587         * string/memfrob.c (memfrob): Likewise.
41588         * string/strcoll.c (STRCOLL): Likewise.
41589         * string/strlen.c (strlen): Likewise.
41590         * string/strtok.c (STRTOK): Likewise.
41591         * string/strcat.c: Remove unused #include of memcopy.h.
41592         (strcat): Use ANSI prototype.
41593         * string/strchr.c: Remove unused #include of memcopy.h.
41594         (strchr): Use ANSI prototype.
41595         * string/strcmp.c: Remove unused #include of memcopy.h.
41596         (strcmp): Use ANSI prototype.
41597         * string/strcpy.c: Remove unused #include of memcopy.h.
41598         (strcpy): Use ANSI prototype.
41600 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41602         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
41603         * config.make.in (config-extra-cppflags): Set it from
41604         libc_extra_cppflags.
41605         * configure.ac (libc_extra_cflags): Make it accumulate over
41606         configure fragments.
41607         (libc_extra_cppflags): New flag.
41608         * configure. Regenerate.
41609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
41610         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
41611         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
41612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
41614         [BZ #16815]
41615         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
41616         result for FE_DOWNWARD rounding mode.
41617         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
41618         Likewise.
41619         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41621 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
41623         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
41624         in function argument name.
41626 2014-04-03  David Svoboda  <svoboda@cert.org>
41628         [BZ #5666]
41629         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
41630         explicitly.
41632 2014-04-03  Roland McGrath  <roland@hack.frob.com>
41634         * elf/dl-unmap-segments.h: New file.
41635         * sysdeps/generic/ldsodefs.h
41636         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
41637         * elf/dl-close.c: Include <dl-unmap-segments.h>.
41638         * elf/dl-fptr.c: Likewise.
41639         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
41640         * sysdeps/aarch64/tlsdesc.c: Likewise.
41641         * sysdeps/arm/tlsdesc.c: Likewise.
41642         * sysdeps/i386/tlsdesc.c: Likewise.
41643         * sysdeps/tile/dl-runtime.c: Likewise.
41644         * sysdeps/x86_64/tlsdesc.c: Likewise.
41645         * elf/dl-load.h: New file.
41646         * elf/dl-load.c: Include it.
41647         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
41648         Macros moved to dl-load.h.
41649         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
41650         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
41651         Use _dl_unmap_segments in place of __munmap.
41652         Break out segment-mapping loop into ...
41653         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
41655 2014-04-03  Will Newton  <will.newton@linaro.org>
41657         * elf/dl-lookup.c (do_lookup_x): Remove comment
41658         referring to nested function and move variable
41659         declarations down to before first use.
41661 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
41663         [BZ #16799]
41664         [BZ #16800]
41665         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
41666         with 0 numerator.
41667         * math/s_catanf.c (__catanf): Likewise.
41668         * math/s_catanh.c (__catanh): Likewise.
41669         * math/s_catanhf.c (__catanhf): Likewise.
41670         * math/s_catanhl.c (__catanhl): Likewise.
41671         * math/s_catanl.c (__catanl): Likewise.
41672         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
41673         by positive zero when computing -Inf result.
41674         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
41675         (catanh_test): Likewise.
41676         * sysdeps/i386/fpu/libm-test-ulps: Update.
41677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41679         [BZ #16789]
41680         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
41681         instead of using underflowing value in computing result.
41682         * math/s_clog10.c (__clog10): Likewise.
41683         * math/s_clog10f.c (__clog10f): Likewise.
41684         * math/s_clog10l.c (__clog10l): Likewise.
41685         * math/s_clogf.c (__clogf): Likewise.
41686         * math/s_clogl.c (__clogl): Likewise.
41687         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
41688         (clog10_test): Likewise.
41689         * sysdeps/i386/fpu/libm-test-ulps: Update.
41690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41692 2014-04-02  Alan Modra  <amodra@gmail.com>
41694         [BZ #16739]
41695         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
41696         output when value is near a power of two.  Use int64_t for lx and
41697         remove casts.  Use decimal rather than hex exponent constants.
41698         Don't use long double multiplication when double will suffice.
41699         * math/libm-test.inc (nextafter_test_data): Add tests.
41700         * NEWS: Add 16739 and 16786 to bug list.
41702         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
41704         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
41706 2014-04-01  Will Newton  <will.newton@linaro.org>
41708         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
41709         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
41711 2014-04-01  Florian Weimer  <fweimer@redhat.com>
41713         [BZ #13347]
41714         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
41715         * nptl/tst-setuid2.c: New file.
41716         * nptl/Makefile (xtests): Add tst-setuid2.
41718 2014-04-01  Alan Modra  <amodra@gmail.com>
41720         [BZ #16786]
41721         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
41723 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
41725         [BZ #6803]
41726         [BZ #6804]
41727         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
41728         set errno as appropriate.
41729         * math/w_scalbf.c (__scalbf): Likewise.
41730         * math/w_scalbl.c (__scalbl): Likewise.
41731         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
41732         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
41733         * math/libm-test.inc (scalb_test_data): Add errno expectations.
41734         Add more NaN tests.
41736         [BZ #16349]
41737         * math/w_atan2.c: Include <errno.h>.
41738         (__atan2): Set errno for result underflowing to zero.
41739         * math/w_atan2f.c: Include <errno.h>.
41740         (__atan2f): Set errno for result underflowing to zero.
41741         * math/w_atan2l.c: Include <errno.h>.
41742         (__atan2l): Set errno for result underflowing to zero.
41743         * math/auto-libm-test-in: Don't allow missing errno for some atan2
41744         tests.
41745         * math/auto-libm-test-out: Regenerated.
41747 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41749         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
41750         Encode instruction correctly in little endian.
41751         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
41752         Likewise.
41753         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
41754         Likewise.
41755         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
41756         Likewise.
41757         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
41758         Likewise.
41760 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
41762         [BZ #9894]
41763         * sysdeps/unix/sysv/linux/kernel-features.h
41764         [__sparc__ && !__arch64__ && !__sparc_v9__]
41765         (__ASSUME_SET_ROBUST_LIST): Do not define.
41766         [__sparc__ && !__arch64__ && !__sparc_v9__]
41767         (__ASSUME_FUTEX_LOCK_PI): Likewise.
41768         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
41769         Likewise.
41770         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41771         (__ASSUME_FUTEX_LOCK_PI): Undefine.
41772         (__ASSUME_REQUEUE_PI): Likewise.
41773         (__ASSUME_SET_ROBUST_LIST): Likewise.
41774         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
41775         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
41776         Undefine.
41777         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41778         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
41779         Likewise.
41780         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
41781         Likewise.
41782         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
41783         Likewise.
41784         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41785         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
41786         Undefine.
41787         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
41788         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
41789         Likewise.
41791         [BZ #16648]
41792         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41793         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
41794         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
41796 2014-03-31  Will Newton  <will.newton@linaro.org>
41798         * benchtests/Makefile (bench): Add ffs and ffsll to list
41799         of tests.
41800         * benchtests/ffs-inputs: New file.
41801         * benchtests/ffsll-inputs: Likewise.
41803 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
41805         [BZ #16770]
41806         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
41807         too large before casting to int.
41808         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
41809         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
41810         * math/libm-test.inc (scalb_test_data): Add more tests.
41812 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41814         * benchtests/Makefile (DETAILED_OPT): New make option.
41815         (bench-func): Run benchmark program with -d if DETAILED_OPT is
41816         set.
41817         * benchtests/bench-skeleton.c: Include stdbool.h.
41818         (main): Store and print timings per input.
41819         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
41820         member to each argument value.
41821         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
41822         (_print_arg_data): Initialize per-input timing to 0.
41824         * benchtests/Makefile (timing-type): New binary.
41825         (bench-clean): Also remove bench-timing-type.
41826         (bench): New target for timing-type.
41827         (bench-func): Print output in JSON format.
41828         * benchtests/bench-skeleton.c (main): Print output in JSON
41829         format.
41830         * benchtests/bench-timing-type.c: New file.
41831         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
41832         (TIMING_PRINT_STATS): Remove.
41833         * benchtests/scripts/bench.py (_print_arg_data): Store variant
41834         name separately.
41836         * benchtests/bench-modf.c: Remove.
41837         * benchtests/modf-inputs: New inputs file.
41839 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
41841         [BZ #16362]
41842         * math/s_clog10.c (M_PI_LOG10E): New macro.
41843         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
41844         imaginary parts are 0.
41845         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
41846         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
41847         imaginary parts are 0.
41848         * math/s_clog10l.c (M_PI_LOG10El): New macro.
41849         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
41850         imaginary parts are 0.
41851         * math/libm-test.inc (clog10_test_data): Update expected results
41852         for when real and imaginary parts are 0.
41854 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
41856         * elf/dl-load.c: Finish conversion of __builtin_expect into
41857         __glibc_{un}likely.
41859 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
41861         [BZ #16348]
41862         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
41863         1+x for argument with exponent below -67.
41864         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
41865         Likewise.
41866         * math/auto-libm-test-in: Add more tests of exp.
41867         * math/auto-libm-test-out: Regenerated.
41869 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41871         [BZ #16759]
41872         * inet/getnetgrent_r.c (get_nonempty_val): New function.
41873         (nscd_getnetgrent): Use it.
41875         [BZ #16760]
41876         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
41877         of stpcpy.
41879 2014-03-27  Andi Kleen  <ak@linux.intel.com>
41881         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
41882         (lll_robust_lock, lll_cond_lock, lll_timedlock)
41883         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
41884         (lll_robust_unlock): Remove out of line section. Use cfi
41885         intrinsics.
41886         (LLL_STUB_UNWIND_INFO*): Remove.
41887         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
41888         (lll_robust_lock, lll_cond_lock, lll_timedlock)
41889         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
41890         (lll_robust_unlock): Remove out of line section. Use cfi
41891         intrinsics.
41892         (LLL_STUB_UNWIND_INFO*): Remove.
41894 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41896         [BZ #16758]
41897         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
41898         blank values.
41900 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
41902         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
41904 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
41906         [BZ #16198]
41907         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
41908         fnstenv.
41909         * math/test-fenv-preserve.c: New file.
41910         * math/Makefile (tests): Add test-fenv-preserve.
41912 2014-03-26  Will Newton <will.newton@linaro.org>
41914         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
41916 2014-03-25  Roland McGrath  <roland@hack.frob.com>
41918         * scripts/versionlist.awk: Partition the version sets and emit all
41919         GLIBC_* (sorted) before all others (sorted).
41921 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
41923         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
41924         GLIBC_2.2.5 version.
41926 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41928         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
41929         calls.
41931         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
41932         previous change.
41934         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41936 2014-03-25  Andreas Schwab  <schwab@suse.de>
41938         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
41939         label to be used after in6ailist is initialized.
41941 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41943         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
41944         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
41946 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
41948         [BZ #16357]
41949         [BZ #16599]
41950         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
41951         min_plus_half.
41952         (fp_formats): Update initializers.
41953         (init_fp_formats): Initialize new field.
41954         (output_for_one_input_case): Allow underflow for results up to
41955         min_plus_half.
41956         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
41957         * math/auto-libm-test-in: Don't mark some underflows from asin and
41958         atanh as spurious.
41959         * math/auto-libm-test-out: Regenerated.
41960         * sysdeps/i386/fpu/libm-test-ulps: Update.
41961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41963 2014-03-25  Andreas Schwab  <schwab@suse.de>
41965         * libio/Makefile (tst-ftell-partial-wide-ENV)
41966         (tst-ftell-active-handler-ENV): Define.
41968 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
41970         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
41972 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
41974         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
41976 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
41978         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
41979         * sysdeps/x86_64/fpu/multiarch/e_exp.c
41980         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
41982 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
41984         [BZ #16634]
41985         * elf/dl-load.c (open_verify): Add mode parameter.
41986         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
41987         (open_path): Change from boolean 'secure' to complete flag 'mode'
41988         (_dl_map_object): Adjust.
41989         * elf/Makefile (tests): Add tst-dlopen-aout.
41990         * elf/tst-dlopen-aout.c: New test.
41992 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
41994         [BZ #16714]
41995         * sysdeps/unix/sysv/linux/s390/bits/stat.h
41996         (struct stat): Rename member pad0 to __glibc_reserved0.
41998         [BZ #16712]
41999         * sysdeps/s390/s390-32/bits/wordsize.h
42000         (__WORDSIZE32_SIZE_ULONG): New define.
42001         * sysdeps/s390/s390-64/bits/wordsize.h
42002         (__WORDSIZE32_SIZE_ULONG): Likewise.
42003         * sysdeps/generic/stdint.h (SIZE_MAX):
42004         Define as UL if __WORDSIZE32_SIZE_ULONG.
42006         [BZ #16713]
42007         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
42008         (__glibc_reserved0): New variable.
42009         (sa_flags): Change type to int.
42011         * posix/Makefile (before-compile): Use += before-compile instead
42012         of a :=.
42014         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
42015         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
42017 2014-03-20  Andreas Schwab  <schwab@suse.de>
42019         [BZ #16743]
42020         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
42021         non-matching result from nscd.
42023 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42025         * scripts/bench.py: Moved to ...
42026         * benchtests/scripts/bench.py: ... here.
42027         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
42029 2014-03-24  Andreas Schwab  <schwab@suse.de>
42031         [BZ #16002]
42032         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
42033         alloca_account and account alloca use for struct in6ailist.
42035 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
42037         [BZ #16284]
42038         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
42039         rounding mode to recompute results that overflow to infinity or
42040         underflow to zero.
42041         * math/auto-libm-test-in: Don't mark tests as expected to fail for
42042         bug 16284.
42043         * math/auto-libm-test-out: Regenerated.
42044         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
42045         (ccosh_test): Likewise.
42046         (csin_test_data): Use plus_oflow.
42047         (csin_test): Use ALL_RM_TEST.
42048         (csinh_test_data): Use plus_oflow.
42049         (csinh_test): Use ALL_RM_TEST.
42050         * sysdeps/i386/fpu/libm-test-ulps: Update.
42051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42053 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
42055         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
42056         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
42057         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
42059         [BZ #16731]
42060         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
42061         when x - 1 is zero.
42062         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
42063         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
42064         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
42065         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
42066         argument is 1.
42067         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
42068         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
42069         zero.
42070         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
42071         * sysdeps/i386/fpu/libm-test-ulps: Update.
42072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42074 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42076         * scripts/bench.pl: Remove file.
42077         * scripts/bench.py: New benchmark script.
42078         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
42079         * benchtests/README: Mention python dependency.
42080         * scripts/pylintrc: New file.
42081         * scripts/pylint: New file.
42083         * bits/mathdef.h: Use #ifdef instead of #if.
42084         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
42085         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
42086         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
42087         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
42088         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
42089         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
42091 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42092             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
42094         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
42095         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
42096         and strpbrk-ppc64 objects.
42097         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42098         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
42099         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
42100         multiarch strpbrk for POWER7.
42101         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
42102         multiarch strpbrk for PPC64.
42103         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
42104         ifunc selector.
42105         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
42106         strpbrk for POWER7.
42108 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
42110         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
42111         (atan_test): Likewise.
42112         (atanh_test_data): Use NO_TEST_INLINE for two tests.
42113         (atanh_test): Use ALL_RM_TEST.
42114         (atan2_test_data): Likewise.
42115         (cabs_test): Likewise.
42116         (cacosh_test): Likewise.
42117         (carg_test): Likewise.
42118         (casin_test): Likewise.
42119         (casinh_test): Likewise.
42120         (cbrt_test): Likewise.
42121         (csqrt_test): Likewise.
42122         (erf_test): Likewise.
42123         (erfc_test): Likewise.
42124         (pow10_test): Likewise.
42125         (exp2_test): Likewise.
42126         (hypot_test): Likewise.
42127         (j0_test): Likewise.
42128         (j1_test): Likewise.
42129         (lgamma_test): Likewise.
42130         (gamma_test): Likewise.
42131         (sincos_test): Likewise.
42132         (tanh_test): Likewise.
42133         (y0_test): Likewise.
42134         (y1_test): Likewise.
42135         * sysdeps/i386/fpu/libm-test-ulps: Update.
42136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42138 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42140         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
42141         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
42142         and strcspn-ppc64 objects.
42143         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42144         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
42145         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
42146         multiarch strcspn for POWER7.
42147         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
42148         multiarch strcspn for PPC64.
42149         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
42150         ifunc selector.
42151         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
42152         strcspn for POWER7.
42154 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
42156         * math/gen-libm-test.pl (generate_testfile): Expect only function
42157         name as argument to AUTO_TESTS_* and pass results for all rounding
42158         modes to parse_args.
42159         (parse_auto_input): Separate inputs of automatic tests from
42160         outputs before storing in %auto_tests.
42161         * math/libm-test.inc (acos_test_data): Update call to
42162         AUTO_TESTS_f_f.
42163         (acos_test): Use ALL_RM_TEST.
42164         (acos_tonearest_test_data): Remove.
42165         (acos_test_tonearest): Likewise.
42166         (acos_towardzero_test_data): Likewise.
42167         (acos_test_towardzero): Likewise.
42168         (acos_downward_test_data): Likewise.
42169         (acos_test_downward): Likewise.
42170         (acos_upward_test_data): Likewise.
42171         (acos_test_upward): Likewise.
42172         (acosh_test_data): Update call to AUTO_TESTS_f_f.
42173         (asin_test_data): Likewise.
42174         (asin_test): Use ALL_RM_TEST.
42175         (asin_tonearest_test_data): Remove.
42176         (asin_test_tonearest): Likewise.
42177         (asin_towardzero_test_data): Likewise.
42178         (asin_test_towardzero): Likewise.
42179         (asin_downward_test_data): Likewise.
42180         (asin_test_downward): Likewise.
42181         (asin_upward_test_data): Likewise.
42182         (asin_test_upward): Likewise.
42183         (asinh_test_data): Update call to AUTO_TESTS_f_f.
42184         (atan_test_data): Likewise.
42185         (atanh_test_data): Likewise.
42186         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
42187         (cabs_test_data): Update call to AUTO_TESTS_c_f.
42188         (carg_test_data): Likewise.
42189         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
42190         (ccos_test_data): Update call to AUTO_TESTS_c_c.
42191         (ccosh_test_data): Likewise.
42192         (cexp_test_data): Likewise.
42193         (clog_test_data): Likewise.
42194         (clog10_test_data): Likewise.
42195         (cos_test_data): Update call to AUTO_TESTS_f_f.
42196         (cos_test): Use ALL_RM_TEST.
42197         (cos_tonearest_test_data): Remove.
42198         (cos_test_tonearest): Likewise.
42199         (cos_towardzero_test_data): Likewise.
42200         (cos_test_towardzero): Likewise.
42201         (cos_downward_test_data): Likewise.
42202         (cos_test_downward): Likewise.
42203         (cos_upward_test_data): Likewise.
42204         (cos_test_upward): Likewise.
42205         (cosh_test_data): Update call to AUTO_TESTS_f_f.
42206         (cosh_test): Use ALL_RM_TEST.
42207         (cosh_tonearest_test_data): Remove.
42208         (cosh_test_tonearest): Likewise.
42209         (cosh_towardzero_test_data): Likewise.
42210         (cosh_test_towardzero): Likewise.
42211         (cosh_downward_test_data): Likewise.
42212         (cosh_test_downward): Likewise.
42213         (cosh_upward_test_data): Likewise.
42214         (cosh_test_upward): Likewise.
42215         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
42216         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
42217         (ctan_test_data): Likewise.
42218         (ctan_test): Use ALL_RM_TEST.
42219         (ctan_tonearest_test_data): Remove.
42220         (ctan_test_tonearest): Likewise.
42221         (ctan_towardzero_test_data): Likewise.
42222         (ctan_test_towardzero): Likewise.
42223         (ctan_downward_test_data): Likewise.
42224         (ctan_test_downward): Likewise.
42225         (ctan_upward_test_data): Likewise.
42226         (ctan_test_upward): Likewise.
42227         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
42228         (ctanh_test): Use ALL_RM_TEST.
42229         (ctanh_tonearest_test_data): Remove.
42230         (ctanh_test_tonearest): Likewise.
42231         (ctanh_towardzero_test_data): Likewise.
42232         (ctanh_test_towardzero): Likewise.
42233         (ctanh_downward_test_data): Likewise.
42234         (ctanh_test_downward): Likewise.
42235         (ctanh_upward_test_data): Likewise.
42236         (ctanh_test_upward): Likewise.
42237         (erf_test_data): Update call to AUTO_TESTS_f_f.
42238         (erfc_test_data): Likewise.
42239         (exp_test_data): Likewise.
42240         (exp_test): Use ALL_RM_TEST.
42241         (exp_tonearest_test_data): Remove.
42242         (exp_test_tonearest): Likewise.
42243         (exp_towardzero_test_data): Likewise.
42244         (exp_test_towardzero): Likewise.
42245         (exp_downward_test_data): Likewise.
42246         (exp_test_downward): Likewise.
42247         (exp_upward_test_data): Likewise.
42248         (exp_test_upward): Likewise.
42249         (exp10_test_data): Update call to AUTO_TESTS_f_f.
42250         (exp10_test): Use ALL_RM_TEST.
42251         (exp10_tonearest_test_data): Remove.
42252         (exp10_test_tonearest): Likewise.
42253         (exp10_towardzero_test_data): Likewise.
42254         (exp10_test_towardzero): Likewise.
42255         (exp10_downward_test_data): Likewise.
42256         (exp10_test_downward): Likewise.
42257         (exp10_upward_test_data): Likewise.
42258         (exp10_test_upward): Likewise.
42259         (exp2_test_data): Update call to AUTO_TESTS_f_f.
42260         (expm1_test_data): Likewise.
42261         (expm1_test): Use ALL_RM_TEST.
42262         (expm1_tonearest_test_data): Remove.
42263         (expm1_test_tonearest): Likewise.
42264         (expm1_towardzero_test_data): Likewise.
42265         (expm1_test_towardzero): Likewise.
42266         (expm1_downward_test_data): Likewise.
42267         (expm1_test_downward): Likewise.
42268         (expm1_upward_test_data): Likewise.
42269         (expm1_test_upward): Likewise.
42270         (fma_test_data): Update call to AUTO_TESTS_fff_f.
42271         (fma_test): Use ALL_RM_TEST.
42272         (fma_towardzero_test_data): Remove.
42273         (fma_test_towardzero): Likewise.
42274         (fma_downward_test_data): Likewise.
42275         (fma_test_downward): Likewise.
42276         (fma_upward_test_data): Likewise.
42277         (fma_test_upward): Likewise.
42278         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
42279         (j0_test_data): Update call to AUTO_TESTS_f_f.
42280         (j1_test_data): Likewise.
42281         (jn_test_data): Update call to AUTO_TESTS_if_f.
42282         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
42283         (log_test_data): Update call to AUTO_TESTS_f_f.
42284         (log10_test_data): Likewise.
42285         (log1p_test_data): Likewise.
42286         (log2_test_data): Likewise.
42287         (pow_test_data): Update call to AUTO_TESTS_ff_f.
42288         (pow_tonearest_test_data): Likewise.
42289         (sin_test_data): Update call to AUTO_TESTS_f_f.
42290         (sin_test): Use ALL_RM_TEST.
42291         (sin_tonearest_test_data): Remove.
42292         (sin_test_tonearest): Likewise.
42293         (sin_towardzero_test_data): Likewise.
42294         (sin_test_towardzero): Likewise.
42295         (sin_downward_test_data): Likewise.
42296         (sin_test_downward): Likewise.
42297         (sin_upward_test_data): Likewise.
42298         (sin_test_upward): Likewise.
42299         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
42300         (sinh_test_data): Update call to AUTO_TESTS_f_f.
42301         (sinh_test): Use ALL_RM_TEST.
42302         (sinh_tonearest_test_data): Remove.
42303         (sinh_test_tonearest): Likewise.
42304         (sinh_towardzero_test_data): Likewise.
42305         (sinh_test_towardzero): Likewise.
42306         (sinh_downward_test_data): Likewise.
42307         (sinh_test_downward): Likewise.
42308         (sinh_upward_test_data): Likewise.
42309         (sinh_test_upward): Likewise.
42310         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
42311         (sqrt_test): Use ALL_RM_TEST.
42312         (sqrt_tonearest_test_data): Remove.
42313         (sqrt_test_tonearest): Likewise.
42314         (sqrt_towardzero_test_data): Likewise.
42315         (sqrt_test_towardzero): Likewise.
42316         (sqrt_downward_test_data): Likewise.
42317         (sqrt_test_downward): Likewise.
42318         (sqrt_upward_test_data): Likewise.
42319         (sqrt_test_upward): Likewise.
42320         (tan_test_data): Update call to AUTO_TESTS_f_f.
42321         (tan_test): Use ALL_RM_TEST.
42322         (tan_tonearest_test_data): Remove.
42323         (tan_test_tonearest): Likewise.
42324         (tan_towardzero_test_data): Likewise.
42325         (tan_test_towardzero): Likewise.
42326         (tan_downward_test_data): Likewise.
42327         (tan_test_downward): Likewise.
42328         (tan_upward_test_data): Likewise.
42329         (tan_test_upward): Likewise.
42330         (tanh_test_data): Update call to AUTO_TESTS_f_f.
42331         (tgamma_test_data): Likewise.
42332         (y0_test_data): Likewise.
42333         (y1_test_data): Likewise.
42334         (yn_test_data): Update call to AUTO_TESTS_if_f.
42335         (main): Do not call removed functions.
42337 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
42339         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
42340         (ldexp_test_data): Remove.
42341         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
42342         scalbn_test_data.
42343         (scalb_test): Use ALL_RM_TEST.
42345 2014-03-19  Andreas Schwab  <schwab@suse.de>
42347         * nscd/nscd.service: Also invalidate netgroup cache on reload.
42349 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
42351         [BZ #16649]
42352         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42353         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
42354         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
42355         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42356         (__ASSUME_PREADV): Undefine.
42357         (__ASSUME_PWRITEV): Likewise.
42359 2014-03-18  Roland McGrath  <roland@hack.frob.com>
42361         * bits/mman-linux.h: Add comment about non-Linux use.
42362         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
42363         bits/mman-linux.h resting place.
42365         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
42366         * bits/mman-linux.h: ... here.
42368 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42370         * conform/conformtest.pl: Add standard definition when calling C
42371         preprocessor on data files.
42372         (checknamespace): Remove unused variable.
42374 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
42376         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
42377         minus_oflow, plus_uflow and minus_uflow in expected results.
42378         * math/libm-test.inc (scalbn_test_data): Add more tests of
42379         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
42380         minus_uflow.
42381         (scalbn_test): Use ALL_RM_TEST.
42382         (scalbln_test_data): Add more tests of negative arguments.  Use
42383         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
42384         (scalbln_test): Use ALL_RM_TEST.
42386 2014-03-18  Roland McGrath  <roland@hack.frob.com>
42388         * scripts/abilist.awk: Ignore symbols marked with .hidden.
42390 2014-03-18  Will Newton  <will.newton@linaro.org>
42392         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
42393         inaccurate comment.
42395 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
42397         * Makerules [!subdir] (check-abi): Exit with error status if a
42398         test failed.
42400 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
42402         * math/libm-test.inc (nearbyint_test_data): Include all tests used
42403         for rint.  Include results for all rounding modes.
42404         (nearbyint_test): Use ALL_RM_TEST.
42405         (rint_test_data): Include all tests used for nearbyint.
42407 2014-03-17  Will Newton  <will.newton@linaro.org>
42409         * nptl/sysdeps/pthread/pthread.h: Revert previous
42410         change.
42412         * sysdeps/generic/ldsodefs.h: Revert previous
42413         change.
42415         * libio/genops.c: Revert previous change.
42416         * libio/libioP.h: Likewise.
42417         * stdio-common/vfprintf.c: Likewise.
42419         * sysdeps/generic/math_private.h: Revert previous
42420         change.
42422         * sysdeps/generic/math_private.h: Check whether
42423         HAVE_RM_CTX is defined with #ifdef rather
42424         than #if.
42426         * argp/argp-fmtstream.h: Check whether
42427         __STRICT_ANSI__ is defined with #ifdef rather
42428         than #if.
42429         * argp/argp.h: Likewise.
42431         * libio/genops.c: Check whether
42432         _IO_JUMPS_OFFSET is defined with #ifdef rather
42433         than #if.
42434         * libio/libioP.h: Likewise.
42435         * stdio-common/vfprintf.c: Likewise.
42437         * sysdeps/generic/ldsodefs.h: Check whether
42438         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
42439         than #if.
42441         * nptl/sysdeps/pthread/pthread.h: Check
42442         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
42443         its value.
42445 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
42447         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
42448         setting O_APPEND.
42449         * libio/tst-ftell-active-handler.c (do_append_test): Add a
42450         test case.
42452         [BZ #16680]
42453         * libio/fileops.c (_IO_file_open): Seek to end of file but
42454         don't cache the offset.
42455         (get_file_offset): Remove function.
42456         (do_ftell): Use cached offset when available.
42457         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
42458         don't cache the offset.
42459         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
42460         case.
42461         (do_one_test): Call it.
42462         (do_ftell_test): Fix up expected old offset for a+ mode.
42463         * libio/wfileops.c (do_ftell_wide): Used cached offset when
42464         available.
42466         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
42467         up test status with function return status.
42468         (do_write_test): Likewise.
42469         (do_append_test): Likewise.
42471         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
42472         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
42473         Remove.
42475 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
42477         * math/gen-libm-test.pl (parse_args): Handle results specified for
42478         each rounding mode separately.
42479         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
42480         tests and results from lrint_tonearest_test_data,
42481         lrint_towardzero_test_data, lrint_downward_test_data and
42482         lrint_upward_test_data.
42483         (lrint_test): Use ALL_RM_TEST.
42484         (lrint_tonearest_test_data): Remove.
42485         (lrint_test_tonearest): Likewise.
42486         (lrint_towardzero_test_data): Likewise.
42487         (lrint_test_towardzero): Likewise.
42488         (lrint_downward_test_data): Likewise.
42489         (lrint_test_downward): Likewise.
42490         (lrint_upward_test_data): Likewise.
42491         (lrint_test_upward): Likewise.
42492         (llrint_test_data): Merge in per-rounding-mode tests and results
42493         from llrint_tonearest_test_data, llrint_towardzero_test_data,
42494         llrint_downward_test_data and llrint_upward_test_data.
42495         (llrint_test): Use ALL_RM_TEST.
42496         (llrint_tonearest_test_data): Remove.
42497         (llrint_test_tonearest): Likewise.
42498         (llrint_towardzero_test_data): Likewise.
42499         (llrint_test_towardzero): Likewise.
42500         (llrint_downward_test_data): Likewise.
42501         (llrint_test_downward): Likewise.
42502         (llrint_upward_test_data): Likewise.
42503         (llrint_test_upward): Likewise.
42504         (rint_test_data): Merge in per-rounding-mode tests and results
42505         from rint_tonearest_test_data, rint_towardzero_test_data,
42506         rint_downward_test_data and rint_upward_test_data.  Add
42507         per-rounding-mode results for tests not in those arrays.
42508         (rint_test): Use ALL_RM_TEST.
42509         (rint_tonearest_test_data): Remove.
42510         (rint_test_tonearest): Likewise.
42511         (rint_towardzero_test_data): Likewise.
42512         (rint_test_towardzero): Likewise.
42513         (rint_downward_test_data): Likewise.
42514         (rint_test_downward): Likewise.
42515         (rint_upward_test_data): Likewise.
42516         (rint_test_upward): Likewise.
42517         (main): Don't call removed functions.
42519 2014-03-14  Roland McGrath  <roland@hack.frob.com>
42521         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
42522         "Compiled on ..." crapola.  It is anti-useful.
42524 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
42526         * scripts/evaluate-test.sh: Handle fourth argument to determine
42527         whether test run should stop on failure.
42528         * Makeconfig (stop-on-test-failure): New variable.
42529         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
42530         $(stop-on-test-failure).
42531         * Makefile (tests): Give a summary of results from testing and
42532         exit with failure status if they include an ERROR or FAIL.
42533         (xtests): Likewise.
42534         * manual/install.texi (Configuring and compiling): Mention
42535         stop-on-test-failure=y.
42536         * INSTALL: Regenerated.
42538 2014-03-14  Roland McGrath  <roland@hack.frob.com>
42540         * scripts/versionlist.awk: New file.
42541         * Makerules [$(build-shared) = yes]
42542         (postclean-generated): Add Versions.def, not Versions.def.v and
42543         Versions.def.v.i.
42544         ($(common-objpfx)Versions.def.v.i): Target removed.
42545         ($(common-objpfx)Versions.def): New target.
42546         ($(common-objpfx)Versions.all): Depend on that rather that
42547         $(common-objpfx)Versions.def.v.
42548         * Versions.def: File removed.
42550         * Makeconfig (+gccwarn): Add -Wundef.
42551         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
42552         a dl-sysdep.h breaking its contract.
42553         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
42554         * include/stackinfo.h: New file.
42555         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
42556         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
42557         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
42558         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
42559         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
42560         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
42561         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
42562         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
42563         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
42564         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
42565         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
42566         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
42567         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
42568         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
42569         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
42571 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42573         [BZ #16707]
42574         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
42575         implementation.
42576         * math/libm-test.inc (round_test_data): Add more tests.
42578         [BZ #16706]
42579         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
42580         implementation.
42581         * math/libm-test.inc (nearbyint_test_data): Add more tests.
42583         [BZ #16701]
42584         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
42585         implementation.
42586         * math/libm-test.inc (ceil_test_data): Add more tests.
42588         * math/libm-test.inc (trunc_test_data): Add more tests related to
42589         BZ#16414.
42591 2014-03-14  Roland McGrath  <roland@hack.frob.com>
42593         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
42594         with #if rather than #ifdef.
42595         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
42597 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
42599         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
42600         first.  Disable AVX-512 GCC support if assembler doesn't support
42601         it.
42602         * sysdeps/x86_64/configure: Regenerated.
42604 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
42606         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
42607         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
42608         (__old_pthread_attr_setstack): Likewise.
42609         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
42610         [!_STACK_GROWS_DOWN]: Likewise.
42612 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
42614         * config.make.in (have-bash2): Delete.
42615         * configure.ac (libc_cv_have_bash2): Delete.
42616         * configure: Regenerate.
42617         * elf/Makefile (common-ldd-rewrite): Rename to ...
42618         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
42619         (sh-ldd-rewrite): Delete.
42620         (bash-ldd-rewrite): Delete.
42621         (have-bash2): Delete checks.
42622         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
42623         ldd-rewrite.
42625         * config.make.in (have-ksh): Delete.
42626         (KSH): Delete.
42627         * configure.ac (libc_cv_have_ksh): Delete.
42628         * configure: Regenerate.
42630         * elf/Makefile: Delete $(have-ksh) check.
42631         ($(objpfx)sotruss): Change KSH to BASH.
42632         * elf/sotruss.ksh: Rename to ...
42633         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
42634         function style to match POSIX.  Drop ksh vim mode setting.
42636         * manual/time.texi (Specifying the Time Zone with TZ): Change
42637         Tuesday to Thursday.
42639         * debug/tst-longjmp_chk2.c: Update header comment.
42640         (stackoverflow_handler): Add comment.  Call assert on pass value.
42642 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
42644         [BZ #16194]
42645         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
42646         (HAVE_AVX512_ASM_SUPPORT): Likewise.
42647         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
42648         (La_x86_64_vector): Add zmm.
42649         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
42650         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
42651         ($(objpfx)tst-audit10): New target.
42652         ($(objpfx)tst-audit10.out): Likewise.
42653         (tst-audit10-ENV): New.
42654         (AVX512-CFLAGS): Likewise.
42655         (CFLAGS-tst-audit10.c): Likewise.
42656         (CFLAGS-tst-auditmod10a.c): Likewise.
42657         (CFLAGS-tst-auditmod10b.c): Likewise.
42658         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
42659         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
42660         * sysdeps/x86_64/configure: Regenerated.
42661         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
42662         AVX-512 zmm register support.
42663         (_dl_x86_64_save_sse): Likewise.
42664         (_dl_x86_64_restore_sse): Likewise.
42665         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
42666         size vector registers.
42667         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
42668         (ZMM_SIZE): Likewise.
42669         * sysdeps/x86_64/tst-audit10.c: New file.
42670         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
42671         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
42673 2014-03-13  Roland McGrath  <roland@hack.frob.com>
42675         * configure.ac (HAVE_EHDR_START): New check.
42676         * configure: Regenerated.
42677         * config.h.in (HAVE_EHDR_START): New #undef.
42678         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
42679         assuming the lowest-addressed segment maps the start of the file.
42681 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
42683         * INSTALL: Regenerated.
42685 2014-03-13  Will Newton  <will.newton@linaro.org>
42687         * manual/setjmp.texi (System V contexts): Improve
42688         clarity and grammar of documentation.
42690 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
42692         [BZ #16381]
42693         * elf/Makefile (tests): Add tst-pie2.
42694         (tests-pie): Add tst-pie2.
42695         * elf/tst-pie2.c: New file.
42696         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
42697         for ET_EXEC.
42698         * elf/rtld.c (map_doit): Load executable as lt_executable.
42699         (dl_main): Likewise.
42701 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
42703         [BZ #16642]
42704         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42705         (__ASSUME_PSELECT): Undefine.
42707 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42709         [BZ #16689]
42710         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
42711         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
42712         static build.
42713         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
42714         selector for static builds.
42716 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42718         [BZ #16695]
42719         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
42720         key in the buffer.
42722 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42724         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
42725         IFUNC selector for static builds.
42727 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
42729         * sysdeps/mips/math_private.h [__mips_hard_float]
42730         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
42731         libc_feresetround_mips_ctx.
42732         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
42733         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
42734         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
42736         [BZ #16677]
42737         * math/s_nextafter.c (__nextafter): Do not return value from
42738         overflowing computation.
42739         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
42740         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
42741         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
42742         Likewise.
42743         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
42744         Likewise.
42745         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
42746         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
42748 2014-03-11  Roland McGrath  <roland@hack.frob.com>
42750         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
42751         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
42752         Move sfi_sp use from the load-multiple (that no longer sets sp) to
42753         the new mov targetting sp.
42755 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42757         [BZ #16683]
42758         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
42759         Define it for static builds as well.
42760         (NO_BZERO_IMPL): Likewise.
42762 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
42764         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
42765         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
42766         multiarch strspn for PPC64.
42767         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
42768         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
42769         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42770         (__libc_ifunc_impl_list): Likewise.
42771         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
42772         multiarch optimizations
42773         * string/strspn.c (strspn): Using macro to redefine symbol name.
42775 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
42776             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42778         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
42779         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
42780         multiarch strncat for PPC64.
42781         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
42782         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
42783         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42784         (__libc_ifunc_impl_list): Likewise.
42785         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
42786         multiarch optimizations
42788 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42790         [BZ #16639]
42791         * nscd/nscd.service: Make service type forking.
42793 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42795         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
42796         sign in non default rounding modes.
42797         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
42799 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
42801         * math/libm-test.inc (ALL_RM_TEST): New macro.
42802         (ceil_test): Use ALL_RM_TEST.
42803         (cimag_test): Likewise.
42804         (conj_test): Likewise.
42805         (copysign_test): Likewise.
42806         (cproj_test): Likewise.
42807         (creal_test): Likewise.
42808         (fabs_test): Likewise.
42809         (floor_test): Likewise.
42810         (fmax_test): Likewise.
42811         (fmin_test): Likewise.
42812         (fmod_test): Likewise.
42813         (fpclassify_test): Likewise.
42814         (frexp_test): Likewise.
42815         (ilogb_test): Likewise.
42816         (isfinite_test): Likewise.
42817         (finite_test): Likewise.
42818         (isgreater_test): Likewise.
42819         (isgreaterequal_test): Likewise.
42820         (isinf_test): Likewise.
42821         (isless_test): Likewise.
42822         (islessequal_test): Likewise.
42823         (islessgreater_test): Likewise.
42824         (isnan_test): Likewise.
42825         (isnormal_test): Likewise.
42826         (issignaling_test): Likewise.
42827         (isunordered_test): Likewise.
42828         (logb_test): Likewise.
42829         (logb_downward_test_data): Remove.
42830         (logb_test_downward): Likewise.
42831         (lround_test): Use ALL_RM_TEST.
42832         (llround_test): Likewise.
42833         (modf_test): Likewise.
42834         (nexttoward_test): Likewise.
42835         (remainder_test): Likewise.
42836         (drem_test): Likewise.
42837         (remainder_tonearest_test_data): Likewise.
42838         (remainder_test_tonearest): Likewise.
42839         (drem_test_tonearest): Likewise.
42840         (remainder_towardzero_test_data): Likewise.
42841         (remainder_test_towardzero): Likewise.
42842         (drem_test_towardzero): Likewise.
42843         (remainder_downward_test_data): Likewise.
42844         (remainder_test_downward): Likewise.
42845         (drem_test_downward): Likewise.
42846         (remainder_upward_test_data): Likewise.
42847         (remainder_test_upward): Likewise.
42848         (drem_test_upward): Likewise.
42849         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
42850         (round_test): Use ALL_RM_TEST.
42851         (signbit_test): Likewise.
42852         (trunc_test): Likewise.
42853         (significand_test): Likewise.
42854         (main): Don't call removed functions.
42856 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
42858         [BZ #16674]
42859         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
42860         || __USE_XOPEN2K8].
42861         (ILL_ILLOPN): Likewise.
42862         (ILL_ILLADR): Likewise.
42863         (ILL_ILLTRP): Likewise.
42864         (ILL_PRVOPC): Likewise.
42865         (ILL_PRVREG): Likewise.
42866         (ILL_COPROC): Likewise.
42867         (ILL_BADSTK): Likewise.
42868         (FPE_INTDIV): Likewise.
42869         (FPE_INTOVF): Likewise.
42870         (FPE_FLTDIV): Likewise.
42871         (FPE_FLTOVF): Likewise.
42872         (FPE_FLTUND): Likewise.
42873         (FPE_FLTRES): Likewise.
42874         (FPE_FLTINV): Likewise.
42875         (FPE_FLTSUB): Likewise.
42876         (SEGV_MAPERR): Likewise.
42877         (SEGV_ACCERR): Likewise.
42878         (BUS_ADRALN): Likewise.
42879         (BUS_ADRERR): Likewise.
42880         (BUS_OBJERR): Likewise.
42881         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42882         (TRAP_TRACE): Likewise.
42883         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42884         __USE_XOPEN2K8].
42885         (CLD_KILLED): Likewise.
42886         (CLD_DUMPED): Likewise.
42887         (CLD_TRAPPED): Likewise.
42888         (CLD_STOPPED): Likewise.
42889         (CLD_CONTINUED): Likewise.
42890         (POLL_IN): Likewise.
42891         (POLL_OUT): Likewise.
42892         (POLL_MSG): Likewise.
42893         (POLL_ERR): Likewise.
42894         (POLL_PRI): Likewise.
42895         (POLL_HUP): Likewise.
42896         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
42897         Likewise.
42898         (ILL_ILLOPN): Likewise.
42899         (ILL_ILLADR): Likewise.
42900         (ILL_ILLTRP): Likewise.
42901         (ILL_PRVOPC): Likewise.
42902         (ILL_PRVREG): Likewise.
42903         (ILL_COPROC): Likewise.
42904         (ILL_BADSTK): Likewise.
42905         (FPE_INTDIV): Likewise.
42906         (FPE_INTOVF): Likewise.
42907         (FPE_FLTDIV): Likewise.
42908         (FPE_FLTOVF): Likewise.
42909         (FPE_FLTUND): Likewise.
42910         (FPE_FLTRES): Likewise.
42911         (FPE_FLTINV): Likewise.
42912         (FPE_FLTSUB): Likewise.
42913         (SEGV_MAPERR): Likewise.
42914         (SEGV_ACCERR): Likewise.
42915         (BUS_ADRALN): Likewise.
42916         (BUS_ADRERR): Likewise.
42917         (BUS_OBJERR): Likewise.
42918         (BUS_MCEERR_AR): Likewise.
42919         (BUS_MCEERR_AO): Likewise.
42920         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42921         (TRAP_TRACE): Likewise.
42922         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42923         __USE_XOPEN2K8].
42924         (CLD_KILLED): Likewise.
42925         (CLD_DUMPED): Likewise.
42926         (CLD_TRAPPED): Likewise.
42927         (CLD_STOPPED): Likewise.
42928         (CLD_CONTINUED): Likewise.
42929         (POLL_IN): Likewise.
42930         (POLL_OUT): Likewise.
42931         (POLL_MSG): Likewise.
42932         (POLL_ERR): Likewise.
42933         (POLL_PRI): Likewise.
42934         (POLL_HUP): Likewise.
42935         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
42936         (ILL_ILLOPN): Likewise.
42937         (ILL_ILLADR): Likewise.
42938         (ILL_ILLTRP): Likewise.
42939         (ILL_PRVOPC): Likewise.
42940         (ILL_PRVREG): Likewise.
42941         (ILL_COPROC): Likewise.
42942         (ILL_BADSTK): Likewise.
42943         (FPE_INTDIV): Likewise.
42944         (FPE_INTOVF): Likewise.
42945         (FPE_FLTDIV): Likewise.
42946         (FPE_FLTOVF): Likewise.
42947         (FPE_FLTUND): Likewise.
42948         (FPE_FLTRES): Likewise.
42949         (FPE_FLTINV): Likewise.
42950         (FPE_FLTSUB): Likewise.
42951         (SEGV_MAPERR): Likewise.
42952         (SEGV_ACCERR): Likewise.
42953         (BUS_ADRALN): Likewise.
42954         (BUS_ADRERR): Likewise.
42955         (BUS_OBJERR): Likewise.
42956         (BUS_MCEERR_AR): Likewise.
42957         (BUS_MCEERR_AO): Likewise.
42958         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42959         (TRAP_TRACE): Likewise.
42960         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42961         __USE_XOPEN2K8].
42962         (CLD_KILLED): Likewise.
42963         (CLD_DUMPED): Likewise.
42964         (CLD_TRAPPED): Likewise.
42965         (CLD_STOPPED): Likewise.
42966         (CLD_CONTINUED): Likewise.
42967         (POLL_IN): Likewise.
42968         (POLL_OUT): Likewise.
42969         (POLL_MSG): Likewise.
42970         (POLL_ERR): Likewise.
42971         (POLL_PRI): Likewise.
42972         (POLL_HUP): Likewise.
42973         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
42974         Likewise.
42975         (ILL_ILLOPN): Likewise.
42976         (ILL_ILLADR): Likewise.
42977         (ILL_ILLTRP): Likewise.
42978         (ILL_PRVOPC): Likewise.
42979         (ILL_PRVREG): Likewise.
42980         (ILL_COPROC): Likewise.
42981         (ILL_BADSTK): Likewise.
42982         (ILL_BADIADDR): Likewise.
42983         (ILL_BREAK): Likewise.
42984         (FPE_INTDIV): Likewise.
42985         (FPE_INTOVF): Likewise.
42986         (FPE_FLTDIV): Likewise.
42987         (FPE_FLTOVF): Likewise.
42988         (FPE_FLTUND): Likewise.
42989         (FPE_FLTRES): Likewise.
42990         (FPE_FLTINV): Likewise.
42991         (FPE_FLTSUB): Likewise.
42992         (FPE_DECOVF): Likewise.
42993         (FPE_DECDIV): Likewise.
42994         (FPE_DECERR): Likewise.
42995         (FPE_INVASC): Likewise.
42996         (FPE_INVDEC): Likewise.
42997         (SEGV_MAPERR): Likewise.
42998         (SEGV_ACCERR): Likewise.
42999         (SEGV_PSTKOVF): Likewise.
43000         (BUS_ADRALN): Likewise.
43001         (BUS_ADRERR): Likewise.
43002         (BUS_OBJERR): Likewise.
43003         (BUS_MCEERR_AR): Likewise.
43004         (BUS_MCEERR_AO): Likewise.
43005         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43006         (TRAP_TRACE): Likewise.
43007         (TRAP_BRANCH): Likewise.
43008         (TRAP_HWBKPT): Likewise.
43009         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43010         __USE_XOPEN2K8].
43011         (CLD_KILLED): Likewise.
43012         (CLD_DUMPED): Likewise.
43013         (CLD_TRAPPED): Likewise.
43014         (CLD_STOPPED): Likewise.
43015         (CLD_CONTINUED): Likewise.
43016         (POLL_IN): Likewise.
43017         (POLL_OUT): Likewise.
43018         (POLL_MSG): Likewise.
43019         (POLL_ERR): Likewise.
43020         (POLL_PRI): Likewise.
43021         (POLL_HUP): Likewise.
43022         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
43023         (ILL_ILLOPN): Likewise.
43024         (ILL_ILLADR): Likewise.
43025         (ILL_ILLTRP): Likewise.
43026         (ILL_PRVOPC): Likewise.
43027         (ILL_PRVREG): Likewise.
43028         (ILL_COPROC): Likewise.
43029         (ILL_BADSTK): Likewise.
43030         (FPE_INTDIV): Likewise.
43031         (FPE_INTOVF): Likewise.
43032         (FPE_FLTDIV): Likewise.
43033         (FPE_FLTOVF): Likewise.
43034         (FPE_FLTUND): Likewise.
43035         (FPE_FLTRES): Likewise.
43036         (FPE_FLTINV): Likewise.
43037         (FPE_FLTSUB): Likewise.
43038         (SEGV_MAPERR): Likewise.
43039         (SEGV_ACCERR): Likewise.
43040         (BUS_ADRALN): Likewise.
43041         (BUS_ADRERR): Likewise.
43042         (BUS_OBJERR): Likewise.
43043         (BUS_MCEERR_AR): Likewise.
43044         (BUS_MCEERR_AO): Likewise.
43045         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43046         (TRAP_TRACE): Likewise.
43047         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43048         __USE_XOPEN2K8].
43049         (CLD_KILLED): Likewise.
43050         (CLD_DUMPED): Likewise.
43051         (CLD_TRAPPED): Likewise.
43052         (CLD_STOPPED): Likewise.
43053         (CLD_CONTINUED): Likewise.
43054         (POLL_IN): Likewise.
43055         (POLL_OUT): Likewise.
43056         (POLL_MSG): Likewise.
43057         (POLL_ERR): Likewise.
43058         (POLL_PRI): Likewise.
43059         (POLL_HUP): Likewise.
43060         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
43061         (ILL_ILLOPN): Likewise.
43062         (ILL_ILLADR): Likewise.
43063         (ILL_ILLTRP): Likewise.
43064         (ILL_PRVOPC): Likewise.
43065         (ILL_PRVREG): Likewise.
43066         (ILL_COPROC): Likewise.
43067         (ILL_BADSTK): Likewise.
43068         (FPE_INTDIV): Likewise.
43069         (FPE_INTOVF): Likewise.
43070         (FPE_FLTDIV): Likewise.
43071         (FPE_FLTOVF): Likewise.
43072         (FPE_FLTUND): Likewise.
43073         (FPE_FLTRES): Likewise.
43074         (FPE_FLTINV): Likewise.
43075         (FPE_FLTSUB): Likewise.
43076         (SEGV_MAPERR): Likewise.
43077         (SEGV_ACCERR): Likewise.
43078         (BUS_ADRALN): Likewise.
43079         (BUS_ADRERR): Likewise.
43080         (BUS_OBJERR): Likewise.
43081         (BUS_MCEERR_AR): Likewise.
43082         (BUS_MCEERR_AO): Likewise.
43083         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43084         (TRAP_TRACE): Likewise.
43085         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43086         __USE_XOPEN2K8].
43087         (CLD_KILLED): Likewise.
43088         (CLD_DUMPED): Likewise.
43089         (CLD_TRAPPED): Likewise.
43090         (CLD_STOPPED): Likewise.
43091         (CLD_CONTINUED): Likewise.
43092         (POLL_IN): Likewise.
43093         (POLL_OUT): Likewise.
43094         (POLL_MSG): Likewise.
43095         (POLL_ERR): Likewise.
43096         (POLL_PRI): Likewise.
43097         (POLL_HUP): Likewise.
43098         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
43099         (ILL_ILLOPN): Likewise.
43100         (ILL_ILLADR): Likewise.
43101         (ILL_ILLTRP): Likewise.
43102         (ILL_PRVOPC): Likewise.
43103         (ILL_PRVREG): Likewise.
43104         (ILL_COPROC): Likewise.
43105         (ILL_BADSTK): Likewise.
43106         (FPE_INTDIV): Likewise.
43107         (FPE_INTOVF): Likewise.
43108         (FPE_FLTDIV): Likewise.
43109         (FPE_FLTOVF): Likewise.
43110         (FPE_FLTUND): Likewise.
43111         (FPE_FLTRES): Likewise.
43112         (FPE_FLTINV): Likewise.
43113         (FPE_FLTSUB): Likewise.
43114         (SEGV_MAPERR): Likewise.
43115         (SEGV_ACCERR): Likewise.
43116         (BUS_ADRALN): Likewise.
43117         (BUS_ADRERR): Likewise.
43118         (BUS_OBJERR): Likewise.
43119         (BUS_MCEERR_AR): Likewise.
43120         (BUS_MCEERR_AO): Likewise.
43121         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43122         (TRAP_TRACE): Likewise.
43123         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43124         __USE_XOPEN2K8].
43125         (CLD_KILLED): Likewise.
43126         (CLD_DUMPED): Likewise.
43127         (CLD_TRAPPED): Likewise.
43128         (CLD_STOPPED): Likewise.
43129         (CLD_CONTINUED): Likewise.
43130         (POLL_IN): Likewise.
43131         (POLL_OUT): Likewise.
43132         (POLL_MSG): Likewise.
43133         (POLL_ERR): Likewise.
43134         (POLL_PRI): Likewise.
43135         (POLL_HUP): Likewise.
43136         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
43137         (ILL_ILLOPN): Likewise.
43138         (ILL_ILLADR): Likewise.
43139         (ILL_ILLTRP): Likewise.
43140         (ILL_PRVOPC): Likewise.
43141         (ILL_PRVREG): Likewise.
43142         (ILL_COPROC): Likewise.
43143         (ILL_BADSTK): Likewise.
43144         (ILL_DBLFLT): Likewise.
43145         (ILL_HARDWALL): Likewise.
43146         (FPE_INTDIV): Likewise.
43147         (FPE_INTOVF): Likewise.
43148         (FPE_FLTDIV): Likewise.
43149         (FPE_FLTOVF): Likewise.
43150         (FPE_FLTUND): Likewise.
43151         (FPE_FLTRES): Likewise.
43152         (FPE_FLTINV): Likewise.
43153         (FPE_FLTSUB): Likewise.
43154         (SEGV_MAPERR): Likewise.
43155         (SEGV_ACCERR): Likewise.
43156         (BUS_ADRALN): Likewise.
43157         (BUS_ADRERR): Likewise.
43158         (BUS_OBJERR): Likewise.
43159         (BUS_MCEERR_AR): Likewise.
43160         (BUS_MCEERR_AO): Likewise.
43161         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43162         (TRAP_TRACE): Likewise.
43163         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43164         __USE_XOPEN2K8].
43165         (CLD_KILLED): Likewise.
43166         (CLD_DUMPED): Likewise.
43167         (CLD_TRAPPED): Likewise.
43168         (CLD_STOPPED): Likewise.
43169         (CLD_CONTINUED): Likewise.
43170         (POLL_IN): Likewise.
43171         (POLL_OUT): Likewise.
43172         (POLL_MSG): Likewise.
43173         (POLL_ERR): Likewise.
43174         (POLL_PRI): Likewise.
43175         (POLL_HUP): Likewise.
43176         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
43177         (ILL_ILLOPN): Likewise.
43178         (ILL_ILLADR): Likewise.
43179         (ILL_ILLTRP): Likewise.
43180         (ILL_PRVOPC): Likewise.
43181         (ILL_PRVREG): Likewise.
43182         (ILL_COPROC): Likewise.
43183         (ILL_BADSTK): Likewise.
43184         (FPE_INTDIV): Likewise.
43185         (FPE_INTOVF): Likewise.
43186         (FPE_FLTDIV): Likewise.
43187         (FPE_FLTOVF): Likewise.
43188         (FPE_FLTUND): Likewise.
43189         (FPE_FLTRES): Likewise.
43190         (FPE_FLTINV): Likewise.
43191         (FPE_FLTSUB): Likewise.
43192         (SEGV_MAPERR): Likewise.
43193         (SEGV_ACCERR): Likewise.
43194         (BUS_ADRALN): Likewise.
43195         (BUS_ADRERR): Likewise.
43196         (BUS_OBJERR): Likewise.
43197         (BUS_MCEERR_AR): Likewise.
43198         (BUS_MCEERR_AO): Likewise.
43199         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43200         (TRAP_TRACE): Likewise.
43201         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43202         __USE_XOPEN2K8].
43203         (CLD_KILLED): Likewise.
43204         (CLD_DUMPED): Likewise.
43205         (CLD_TRAPPED): Likewise.
43206         (CLD_STOPPED): Likewise.
43207         (CLD_CONTINUED): Likewise.
43208         (POLL_IN): Likewise.
43209         (POLL_OUT): Likewise.
43210         (POLL_MSG): Likewise.
43211         (POLL_ERR): Likewise.
43212         (POLL_PRI): Likewise.
43213         (POLL_HUP): Likewise.
43214         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
43215         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
43217         [BZ #16670]
43218         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
43219         before #include of <time.h>.
43220         [!__USE_XOPEN2K] (__need_timespec): Likewise.
43221         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
43222         (test-xfail-UNIX98/sched.h/conform): Likewise.
43224 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
43226         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
43227         error absence of trapping exception support.
43228         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
43230 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
43232         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
43233         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
43234         * timezone/Makefile (testdata): Move definition above include of
43235         Rules.
43236         (test-zones): New variable.
43237         (tests-special): Add zone files.
43238         (build-testdata): Use $(evaluate-test).
43240         * elf/Makefile (tests-special): Rename tests to end with .out.
43241         ($(objpfx)noload-mem): Likewise.
43242         ($(objpfx)tst-leaks1-mem): Likewise.
43243         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
43244         * iconv/Makefile (xtests-special): Change test-iconvconfig to
43245         $(objpfx)test-iconvconfig.out.
43246         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
43247         set -e inside subshell and redirect output to file.
43248         * iconvdata/Makefile (generated): Rename tests to end with .out.
43249         Correct type.
43250         (tests-special): Rename tests to end with .out.
43251         ($(objpfx)mtrace-tst-loading): Likewise.
43252         * intl/Makefile (generated): Likewise.
43253         (tests-special): Likewise.
43254         ($(objpfx)mtrace-tst-gettext): Likewise.
43255         * misc/Makefile (generated): Likewise.
43256         (tests-special): Likewise.
43257         ($(objpfx)tst-error1-mem): Likewise.
43258         * nptl/Makefile (tests-special): Likewise.
43259         ($(objpfx)tst-stack3-mem): Likewise.
43260         (generated): Likewise.
43261         * posix/Makefile (generated): Likewise.
43262         (tests-special): Likewise.
43263         (xtests-special): Likewise.
43264         ($(objpfx)tst-fnmatch-mem): Likewise.
43265         ($(objpfx)bug-regex2-mem): Likewise.
43266         ($(objpfx)bug-regex14-mem): Likewise.
43267         ($(objpfx)bug-regex21-mem): Likewise.
43268         ($(objpfx)bug-regex31-mem): Likewise.
43269         ($(objpfx)tst-vfork3-mem): Likewise.
43270         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
43271         ($(objpfx)tst-pcre-mem): Likewise.
43272         ($(objpfx)tst-boost-mem): Likewise.
43273         ($(objpfx)bug-ga2-mem): Likewise.
43274         ($(objpfx)bug-glob2-mem): Likewise.
43275         * resolv/Makefile (generate): Likewise.
43276         (tests-special): Likewise.
43277         (xtests-special): Likewise.
43278         (generated): Likewise.
43279         ($(objpfx)mtrace-tst-leaks): Likewise.
43280         ($(objpfx)mtrace-tst-leaks2): Likewise.
43282         * scripts/merge-test-results.sh: New file.
43283         * Makefile (tests-special-notdir): New variable.
43284         (tests): Run merge-test-results.sh.
43285         (xtests): Likewise.
43286         * Rules (tests-special-notdir): New variable.
43287         (xtests-special-notdir): Likewise.
43288         (tests): Run merge-test-results.sh
43289         (xtests): Likewise.
43291         * Makeconfig (test-xfail-name): New variable.
43292         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
43293         compute variable name for expected failures.
43294         * conform/Makefile (conformtest-headers-data): New variable.
43295         (conformtest-standards): Likewise.
43296         (conformtest-headers-ISO): Likewise.
43297         (conformtest-headers-ISO99): Likewise.
43298         (conformtest-headers-ISO11): Likewise.
43299         (conformtest-headers-POSIX): Likewise.
43300         (conformtest-headers-XPG3): Likewise.
43301         (conformtest-headers-XPG4): Likewise.
43302         (conformtest-headers-UNIX98): Likewise.
43303         (conformtest-headers-XOPEN2K): Likewise.
43304         (conformtest-headers-POSIX2008): Likewise.
43305         (conformtest-headers-XOPEN2K8): Likewise.
43306         (conformtest-header-list-base): Likewise.
43307         (conformtest-header-list-tests): Likewise.
43308         (conformtest-header-base): Likewise.
43309         (conformtest-header-tests): Likewise.
43310         (tests-special): Add $(conformtest-header-list-tests).  If
43311         [$(fast-check) && !$(cross-compiling)], add
43312         $(conformtest-header-tests) instead of
43313         $(objpfx)run-conformtest.out.
43314         (generated): Add $(conformtest-header-list-base).  If
43315         [$(fast-check) && !$(cross-compiling)], add
43316         $(conformtest-header-base).  Remove previous setting.
43317         ($(conformtest-header-list-tests)): New target.
43318         (test-xfail-run-conformtest): Remove variable.
43319         ($(objpfx)run-conformtest.out): Remove target.
43320         (test-xfail-ISO11/complex.h/conform): New variable.
43321         (test-xfail-ISO11/stdalign.h/conform): Likewise.
43322         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
43323         (test-xfail-XPG3/varargs.h/conform): Likewise.
43324         (test-xfail-XPG4/varargs.h/conform): Likewise.
43325         (test-xfail-UNIX98/varargs.h/conform): Likewise.
43326         (test-xfail-XPG4/ndbm.h/conform): Likewise.
43327         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
43328         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
43329         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
43330         (test-xfail-XPG3/fcntl.h/conform): Likewise.
43331         (test-xfail-XPG3/ftw.h/conform): Likewise.
43332         (test-xfail-XPG3/grp.h/conform): Likewise.
43333         (test-xfail-XPG3/langinfo.h/conform): Likewise.
43334         (test-xfail-XPG3/limits.h/conform): Likewise.
43335         (test-xfail-XPG3/pwd.h/conform): Likewise.
43336         (test-xfail-XPG3/search.h/conform): Likewise.
43337         (test-xfail-XPG3/signal.h/conform): Likewise.
43338         (test-xfail-XPG3/stdio.h/conform): Likewise.
43339         (test-xfail-XPG3/stdlib.h/conform): Likewise.
43340         (test-xfail-XPG3/string.h/conform): Likewise.
43341         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
43342         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
43343         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
43344         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
43345         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
43346         (test-xfail-XPG3/sys/types.h/conform): Likewise.
43347         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
43348         (test-xfail-XPG3/termios.h/conform): Likewise.
43349         (test-xfail-XPG3/time.h/conform): Likewise.
43350         (test-xfail-XPG3/unistd.h/conform): Likewise.
43351         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
43352         (test-xfail-XPG4/fcntl.h/conform): Likewise.
43353         (test-xfail-XPG4/langinfo.h/conform): Likewise.
43354         (test-xfail-XPG4/netdb.h/conform): Likewise.
43355         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
43356         (test-xfail-XPG4/signal.h/conform): Likewise.
43357         (test-xfail-XPG4/stdio.h/conform): Likewise.
43358         (test-xfail-XPG4/stdlib.h/conform): Likewise.
43359         (test-xfail-XPG4/stropts.h/conform): Likewise.
43360         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
43361         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
43362         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
43363         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
43364         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
43365         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
43366         (test-xfail-XPG4/sys/time.h/conform): Likewise.
43367         (test-xfail-XPG4/sys/types.h/conform): Likewise.
43368         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
43369         (test-xfail-XPG4/termios.h/conform): Likewise.
43370         (test-xfail-XPG4/ucontext.h/conform): Likewise.
43371         (test-xfail-XPG4/unistd.h/conform): Likewise.
43372         (test-xfail-XPG4/utmpx.h/conform): Likewise.
43373         (test-xfail-POSIX/sched.h/conform): Likewise.
43374         (test-xfail-POSIX/signal.h/conform): Likewise.
43375         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
43376         (test-xfail-POSIX/tar.h/conform): Likewise.
43377         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
43378         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
43379         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
43380         (test-xfail-UNIX98/netdb.h/conform): Likewise.
43381         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
43382         (test-xfail-UNIX98/sched.h/conform): Likewise.
43383         (test-xfail-UNIX98/signal.h/conform): Likewise.
43384         (test-xfail-UNIX98/stdio.h/conform): Likewise.
43385         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
43386         (test-xfail-UNIX98/stropts.h/conform): Likewise.
43387         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
43388         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
43389         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
43390         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
43391         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
43392         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
43393         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
43394         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
43395         (test-xfail-UNIX98/unistd.h/conform): Likewise.
43396         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
43397         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
43398         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
43399         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
43400         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
43401         (test-xfail-XOPEN2K/math.h/conform): Likewise.
43402         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
43403         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
43404         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
43405         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
43406         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
43407         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
43408         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
43409         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
43410         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
43411         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
43412         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
43413         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
43414         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
43415         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
43416         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
43417         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
43418         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
43419         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
43420         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
43421         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
43422         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
43423         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
43424         (test-xfail-POSIX2008/signal.h/conform): Likewise.
43425         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
43426         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
43427         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
43428         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
43429         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
43430         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
43431         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
43432         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
43433         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
43434         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
43435         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
43436         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
43437         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
43438         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
43439         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
43440         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
43441         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
43442         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
43443         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
43444         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
43445         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
43446         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
43447         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
43448         (conformtest-cc-flags): Likewise.
43449         ($(conformtest-header-tests): New target.
43450         * conform/check-header-lists.sh: New file.
43451         * conform/run-conformtest.sh: Remove.
43453         * conform/conformtest.pl: Allow ' and \ in values given for
43454         constants.
43455         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
43456         inclusion.
43457         [POSIX] (sys/types.h): Likewise.
43458         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
43459         inclusion.
43460         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
43461         inclusion.
43462         * conform/data/signal.h-data (SIGIO): Remove expectation.
43463         [XPG3] (SIGBUS): Do not expect.
43464         [POSIX || XPG3] (SIGPOLL): Likewise.
43465         [POSIX || XPG3] (SIGPROF): Likewise.
43466         [POSIX || XPG3] (SIGSYS): Likewise.
43467         [XPG3] (SIGTRAP): Likewise.
43468         [POSIX || XPG3] (SIGURG): Likewise.
43469         [POSIX || XPG3] (SIGVTALRM): Likewise.
43470         [POSIX || XPG3] (SIGXCPU): Likewise.
43471         [POSIX || XPG3] (SIGXFSZ): Likewise.
43472         [POSIX] (SA_SIGINFO): Expect.
43473         [XPG3] (siginfo_t): Do not expect type or contents.
43474         [POSIX] (si_pid): Do not expect element.
43475         [POSIX] (si_uid): Likewise.
43476         [POSIX] (si_addr): Likewise.
43477         [POSIX] (si_status): Likewise.
43478         [POSIX] (si_band): Likewise.
43479         [XPG4] (si_value): Likewise.
43480         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
43481         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
43482         [POSIX || XPG3] (ILL_ILLADR): Likewise.
43483         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
43484         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
43485         [POSIX || XPG3] (ILL_PRVREG): Likewise.
43486         [POSIX || XPG3] (ILL_COPROC): Likewise.
43487         [POSIX || XPG3] (ILL_BADSTK): Likewise.
43488         [POSIX || XPG3] (FPE_INTDIV): Likewise.
43489         [POSIX || XPG3] (FPE_INTOVF): Likewise.
43490         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
43491         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
43492         [POSIX || XPG3] (FPE_FLTUND): Likewise.
43493         [POSIX || XPG3] (FPE_FLTRES): Likewise.
43494         [POSIX || XPG3] (FPE_FLTINV): Likewise.
43495         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
43496         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
43497         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
43498         [POSIX || XPG3] (BUS_ADRALN): Likewise.
43499         [POSIX || XPG3] (BUS_ADRERR): Likewise.
43500         [POSIX || XPG3] (BUS_OBJERR): Likewise.
43501         [POSIX || XPG3] (CLD_EXITED): Likewise.
43502         [POSIX || XPG3] (CLD_KILLED): Likewise.
43503         [POSIX || XPG3] (CLD_DUMPED): Likewise.
43504         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
43505         [POSIX || XPG3] (CLD_STOPPED): Likewise.
43506         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
43507         [POSIX || XPG3] (POLL_IN): Likewise.
43508         [POSIX || XPG3] (POLL_OUT): Likewise.
43509         [POSIX || XPG3] (POLL_MSG): Likewise.
43510         [POSIX || XPG3] (POLL_ERR): Likewise.
43511         [POSIX || XPG3] (POLL_PRI): Likewise.
43512         [POSIX || XPG3] (POLL_HUP): Likewise.
43513         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
43514         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
43515         (SIG*): Do not allow.
43516         [XPG3] (si_*): Likewise.
43517         [XPG3] (SI_*): Likewise.
43518         [XPG3 || XPG4] (sigev_*): Likewise.
43519         [XPG3 || XPG4] (SIGEV_*): Likewise.
43520         [XPG3 || XPG4] (sival_*): Likewise.
43521         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
43522         [POSIX || XPG3] (BUS_*): Likewise.
43523         [POSIX || XPG3] (CLD_*): Likewise.
43524         [POSIX || XPG3] (FPE_*): Likewise.
43525         [POSIX || XPG3] (ILL_*): Likewise.
43526         [POSIX || XPG3] (POLL_*): Likewise.
43527         [POSIX || XPG3] (SEGV_*): Likewise.
43528         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
43529         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
43530         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
43531         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
43532         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
43533         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
43534         Specify type and value.
43535         (TVERSLEN): Likewise.
43536         (REGTYPE): Likewise.
43537         (AREGTYPE): Likewise.
43538         (LNKTYPE): Likewise.
43539         (SYMTYPE): Likewise.
43540         (CHRTYPE): Likewise.
43541         (BLKTYPE): Likewise.
43542         (DIRTYPE): Likewise.
43543         (FIFOTYPE): Likewise.
43544         (CONTTYPE): Likewise.
43545         (TSUID): Likewise.
43546         (TSGID): Likewise.
43547         (TSVTX): Likewise.
43548         (TUREAD): Likewise.
43549         (TUWRITE): Likewise.
43550         (TUEXEC): Likewise.
43551         (TGREAD): Likewise.
43552         (TGWRITE): Likewise.
43553         (TGEXEC): Likewise.
43554         (TOREAD): Likewise.
43555         (TOWRITE): Likewise.
43556         (TOEXEC): Likewise.
43557         [POSIX] (TSVTX): Expect constant.
43559 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
43561         * Makefile (tests): Change dependencies to ....
43562         (tests-special): ... additions to this variable.
43563         (tests): Depend on $(tests-special).
43564         * Makerules (check-abi-list): New variable.
43565         (check-abi): Depend on $(check-abi-list).
43566         [$(subdir) = elf] (tests-special): Add
43567         $(objpfx)check-abi-libc.out.
43568         [$(build-shared) = yes && subdir] (tests-special): Add
43569         $(check-abi-list).
43570         [$(build-shared) = yes && subdir] (tests): Do not depend on
43571         check-abi.
43572         * Rules (tests): Depend on $(tests-special).
43573         (xtests): Depend on $(xtests-special).
43574         * catgets/Makefile (tests): Change dependencies to ....
43575         (tests-special): ... additions to this variable.
43576         * conform/Makefile (tests): Change dependencies to ....
43577         (tests-special): ... additions to this variable.
43578         * elf/Makefile (tests): Change dependencies to ....
43579         (tests-special): ... additions to this variable.
43580         * grp/Makefile (tests): Change dependencies to ....
43581         (tests-special): ... additions to this variable.
43582         * iconv/Makefile (xtests): Change dependencies to ....
43583         (xtests-special): ... additions to this variable.
43584         * iconvdata/Makefile (tests): Change dependencies to ....
43585         (tests-special): ... additions to this variable.
43586         * intl/Makefile (tests): Change dependencies to ....
43587         (tests-special): ... additions to this variable.  Also add
43588         $(objpfx)tst-gettext.out.
43589         * io/Makefile (tests): Change dependencies to ....
43590         (tests-special): ... additions to this variable.
43591         * libio/Makefile (tests): Change dependencies to ....
43592         (tests-special): ... additions to this variable.
43593         * malloc/Makefile (tests): Change dependencies to ....
43594         (tests-special): ... additions to this variable.
43595         * misc/Makefile (tests): Change dependencies to ....
43596         (tests-special): ... additions to this variable.
43597         * nptl/Makefile (tests): Change dependencies to ....
43598         (tests-special): ... additions to this variable.
43599         * nptl_db/Makefile (tests): Change dependencies to ....
43600         (tests-special): ... additions to this variable.
43601         * posix/Makefile (tests): Change dependencies to ....
43602         (tests-special): ... additions to this variable.
43603         (xtests): Change dependencies to ....
43604         (xtests-special): ... additions to this variable.
43605         * resolv/Makefile (tests): Change dependencies to ....
43606         (tests-special): ... additions to this variable.
43607         (xtests): Change dependencies to ....
43608         (xtests-special): ... additions to this variable.
43609         * stdio-common/Makefile (tests): Change dependencies to ....
43610         (tests-special): ... additions to this variable.
43611         (do-tst-unbputc): Remove target.
43612         (do-tst-printf): Likewise.
43613         * stdlib/Makefile (tests): Change dependencies to ....
43614         (tests-special): ... additions to this variable.
43615         * string/Makefile (tests): Change dependencies to ....
43616         (tests-special): ... additions to this variable.
43617         * sysdeps/x86/Makefile (tests): Change dependencies to ....
43618         (tests-special): ... additions to this variable.
43620         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
43621         whole file.
43622         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
43623         whole file.
43624         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
43625         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
43627         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
43628         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
43629         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
43630         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
43631         * conform/data/libgen.h-data [XPG3]: Likewise.
43632         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
43633         * conform/data/ndbm.h-data [XPG3]: Likewise.
43634         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
43635         * conform/data/netdb.h-data [XPG3]: Likewise.
43636         * conform/data/netinet/in.h-data [XPG3]: Likewise.
43637         * conform/data/poll.h-data [XPG3]: Likewise.
43638         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
43639         * conform/data/strings.h-data [XPG3]: Likewise.
43640         * conform/data/stropts.h-data [XPG3]: Likewise.
43641         * conform/data/sys/mman.h-data [XPG3]: Likewise.
43642         * conform/data/sys/resource.h-data [XPG3]: Likewise.
43643         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
43644         Likewise.
43645         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
43646         * conform/data/sys/time.h-data [XPG3]: Likewise.
43647         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
43648         * conform/data/sys/uio.h-data [XPG3]: Likewise.
43649         * conform/data/sys/un.h-data [XPG3]: Likewise.
43650         * conform/data/syslog.h-data [XPG3]: Likewise.
43651         * conform/data/ucontext.h-data [XPG3]: Likewise.
43652         * conform/data/utmpx.h-data [XPG3]: Likewise.
43653         * conform/data/varargs.h-data [UNIX98]: Enable file.
43655         * manual/Makefile (INSTALL_INFO): Remove variable setting.
43657         * math/libm-test.inc (struct test_f_f_data): Move expected results
43658         into structure for each rounding mode.
43659         (struct test_ff_f_data): Likewise.
43660         (struct test_ff_f_data_nexttoward): Likewise.
43661         (struct test_fi_f_data): Likewise.
43662         (struct test_fl_f_data): Likewise.
43663         (struct test_if_f_data): Likewise.
43664         (struct test_fff_f_data): Likewise.
43665         (struct test_c_f_data): Likewise.
43666         (struct test_f_f1_data): Likewise.
43667         (struct test_fF_f1_data): Likewise.
43668         (struct test_ffI_f1_data): Likewise.
43669         (struct test_c_c_data): Likewise.
43670         (struct test_cc_c_data): Likewise.
43671         (struct test_f_i_data): Likewise.
43672         (struct test_ff_i_data): Likewise.
43673         (struct test_f_l_data): Likewise.
43674         (struct test_f_L_data): Likewise.
43675         (struct test_fFF_11_data): Likewise.
43676         (RM_): New macro.
43677         (RM_FE_DOWNWARD): Likewise.
43678         (RM_FE_TONEAREST): Likewise.
43679         (RM_FE_TOWARDZERO): Likewise.
43680         (RM_FE_UPWARD): Likewise.
43681         (RUN_TEST_LOOP_f_f): Update references to expected results.
43682         (RUN_TEST_LOOP_2_f): Likewise.
43683         (RUN_TEST_LOOP_fff_f): Likewise.
43684         (RUN_TEST_LOOP_c_f): Likewise.
43685         (RUN_TEST_LOOP_f_f1): Likewise.
43686         (RUN_TEST_LOOP_fF_f1): Likewise.
43687         (RUN_TEST_LOOP_fI_f1): Likewise.
43688         (RUN_TEST_LOOP_ffI_f1): Likewise.
43689         (RUN_TEST_LOOP_c_c): Likewise.
43690         (RUN_TEST_LOOP_cc_c): Likewise.
43691         (RUN_TEST_LOOP_f_i): Likewise.
43692         (RUN_TEST_LOOP_f_i_tg): Likewise.
43693         (RUN_TEST_LOOP_ff_i_tg): Likewise.
43694         (RUN_TEST_LOOP_f_b): Likewise.
43695         (RUN_TEST_LOOP_f_b_tg): Likewise.
43696         (RUN_TEST_LOOP_f_l): Likewise.
43697         (RUN_TEST_LOOP_f_L): Likewise.
43698         (RUN_TEST_LOOP_fFF_11): Likewise.
43699         * math/gen-libm-test.pl (parse_args): Output four copies of
43700         expected results for each test.
43702         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43703         (__ASSUME_UTIMES): Remove.
43704         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43705         (__ASSUME_UTIMES): Likewise.
43707         * math/gen-auto-libm-tests.c: Update comment on output format.
43708         (output_for_one_input_case): Generate before-rounding and
43709         after-rounding information as conditions on output flags not
43710         floating-point format.
43711         * math/auto-libm-test-out: Regenerated.
43712         * math/gen-libm-test.pl (cond_value): New function.
43713         (or_cond_value): Use cond_value.
43714         (generate_testfile): Handle conditional exceptions.
43716 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
43718         * math/libm-test.inc (max_valid_error): New variable.
43719         (init_max_error): Take new argument specifying whether function
43720         results are exactly determined.  Set max_valid_error and bound
43721         other variables for errors based on this argument.
43722         (set_max_error): Do not record results above max_valid_error.
43723         (check_float_internal): Only accept errors of up to 0.5ulps if
43724         also at most max_valid_error.
43725         (START): Take new argument EXACT and pass it to init_max_error.
43726         (acos_test): Update call to START.
43727         (acos_test_tonearest): Likewise.
43728         (acos_test_towardzero): Likewise.
43729         (acos_test_downward): Likewise.
43730         (acos_test_upward): Likewise.
43731         (acosh_test): Likewise.
43732         (asin_test): Likewise.
43733         (asin_test_tonearest): Likewise.
43734         (asin_test_towardzero): Likewise.
43735         (asin_test_downward): Likewise.
43736         (asin_test_upward): Likewise.
43737         (asinh_test): Likewise.
43738         (atan_test): Likewise.
43739         (atanh_test): Likewise.
43740         (atan2_test): Likewise.
43741         (cabs_test): Likewise.
43742         (cacos_test): Likewise.
43743         (cacosh_test): Likewise.
43744         (carg_test): Likewise.
43745         (casin_test): Likewise.
43746         (casinh_test): Likewise.
43747         (catan_test): Likewise.
43748         (catanh_test): Likewise.
43749         (cbrt_test): Likewise.
43750         (ccos_test): Likewise.
43751         (ccosh_test): Likewise.
43752         (ceil_test): Likewise.
43753         (cexp_test): Likewise.
43754         (cimag_test): Likewise.
43755         (clog_test): Likewise.
43756         (clog10_test): Likewise.
43757         (conj_test): Likewise.
43758         (copysign_test): Likewise.
43759         (cos_test): Likewise.
43760         (cos_test_tonearest): Likewise.
43761         (cos_test_towardzero): Likewise.
43762         (cos_test_downward): Likewise.
43763         (cos_test_upward): Likewise.
43764         (cosh_test): Likewise.
43765         (cosh_test_tonearest): Likewise.
43766         (cosh_test_towardzero): Likewise.
43767         (cosh_test_downward): Likewise.
43768         (cosh_test_upward): Likewise.
43769         (cpow_test): Likewise.
43770         (cproj_test): Likewise.
43771         (creal_test): Likewise.
43772         (csin_test): Likewise.
43773         (csinh_test): Likewise.
43774         (csqrt_test): Likewise.
43775         (ctan_test): Likewise.
43776         (ctan_test_tonearest): Likewise.
43777         (ctan_test_towardzero): Likewise.
43778         (ctan_test_downward): Likewise.
43779         (ctan_test_upward): Likewise.
43780         (ctanh_test): Likewise.
43781         (ctanh_test_tonearest): Likewise.
43782         (ctanh_test_towardzero): Likewise.
43783         (ctanh_test_downward): Likewise.
43784         (ctanh_test_upward): Likewise.
43785         (erf_test): Likewise.
43786         (erfc_test): Likewise.
43787         (exp_test): Likewise.
43788         (exp_test_tonearest): Likewise.
43789         (exp_test_towardzero): Likewise.
43790         (exp_test_downward): Likewise.
43791         (exp_test_upward): Likewise.
43792         (exp10_test): Likewise.
43793         (exp10_test_tonearest): Likewise.
43794         (exp10_test_towardzero): Likewise.
43795         (exp10_test_downward): Likewise.
43796         (exp10_test_upward): Likewise.
43797         (pow10_test): Likewise.
43798         (exp2_test): Likewise.
43799         (expm1_test): Likewise.
43800         (expm1_test_tonearest): Likewise.
43801         (expm1_test_towardzero): Likewise.
43802         (expm1_test_downward): Likewise.
43803         (expm1_test_upward): Likewise.
43804         (fabs_test): Likewise.
43805         (fdim_test): Likewise.
43806         (floor_test): Likewise.
43807         (fma_test): Likewise.
43808         (fma_test_towardzero): Likewise.
43809         (fma_test_downward): Likewise.
43810         (fma_test_upward): Likewise.
43811         (fmax_test): Likewise.
43812         (fmin_test): Likewise.
43813         (fmod_test): Likewise.
43814         (fpclassify_test): Likewise.
43815         (frexp_test): Likewise.
43816         (hypot_test): Likewise.
43817         (ilogb_test): Likewise.
43818         (isfinite_test): Likewise.
43819         (finite_test): Likewise.
43820         (isgreater_test): Likewise.
43821         (isgreaterequal_test): Likewise.
43822         (isinf_test): Likewise.
43823         (isless_test): Likewise.
43824         (islessequal_test): Likewise.
43825         (islessgreater_test): Likewise.
43826         (isnan_test): Likewise.
43827         (isnormal_test): Likewise.
43828         (issignaling_test): Likewise.
43829         (isunordered_test): Likewise.
43830         (j0_test): Likewise.
43831         (j1_test): Likewise.
43832         (jn_test): Likewise.
43833         (ldexp_test): Likewise.
43834         (lgamma_test): Likewise.
43835         (gamma_test): Likewise.
43836         (lrint_test): Likewise.
43837         (lrint_test_tonearest): Likewise.
43838         (lrint_test_towardzero): Likewise.
43839         (lrint_test_downward): Likewise.
43840         (lrint_test_upward): Likewise.
43841         (llrint_test): Likewise.
43842         (llrint_test_tonearest): Likewise.
43843         (llrint_test_towardzero): Likewise.
43844         (llrint_test_downward): Likewise.
43845         (llrint_test_upward): Likewise.
43846         (log_test): Likewise.
43847         (log10_test): Likewise.
43848         (log1p_test): Likewise.
43849         (log2_test): Likewise.
43850         (logb_test): Likewise.
43851         (logb_test_downward): Likewise.
43852         (lround_test): Likewise.
43853         (llround_test): Likewise.
43854         (modf_test): Likewise.
43855         (nearbyint_test): Likewise.
43856         (nextafter_test): Likewise.
43857         (nexttoward_test): Likewise.
43858         (pow_test): Likewise.
43859         (pow_test_tonearest): Likewise.
43860         (pow_test_towardzero): Likewise.
43861         (pow_test_downward): Likewise.
43862         (pow_test_upward): Likewise.
43863         (remainder_test): Likewise.
43864         (drem_test): Likewise.
43865         (remainder_test_tonearest): Likewise.
43866         (drem_test_tonearest): Likewise.
43867         (remainder_test_towardzero): Likewise.
43868         (drem_test_towardzero): Likewise.
43869         (remainder_test_downward): Likewise.
43870         (drem_test_downward): Likewise.
43871         (remainder_test_upward): Likewise.
43872         (drem_test_upward): Likewise.
43873         (remquo_test): Likewise.
43874         (rint_test): Likewise.
43875         (rint_test_tonearest): Likewise.
43876         (rint_test_towardzero): Likewise.
43877         (rint_test_downward): Likewise.
43878         (rint_test_upward): Likewise.
43879         (round_test): Likewise.
43880         (scalb_test): Likewise.
43881         (scalbn_test): Likewise.
43882         (scalbln_test): Likewise.
43883         (signbit_test): Likewise.
43884         (sin_test): Likewise.
43885         (sin_test_tonearest): Likewise.
43886         (sin_test_towardzero): Likewise.
43887         (sin_test_downward): Likewise.
43888         (sin_test_upward): Likewise.
43889         (sincos_test): Likewise.
43890         (sinh_test): Likewise.
43891         (sinh_test_tonearest): Likewise.
43892         (sinh_test_towardzero): Likewise.
43893         (sinh_test_downward): Likewise.
43894         (sinh_test_upward): Likewise.
43895         (sqrt_test): Likewise.
43896         (sqrt_test_tonearest): Likewise.
43897         (sqrt_test_towardzero): Likewise.
43898         (sqrt_test_downward): Likewise.
43899         (sqrt_test_upward): Likewise.
43900         (tan_test): Likewise.
43901         (tan_test_tonearest): Likewise.
43902         (tan_test_towardzero): Likewise.
43903         (tan_test_downward): Likewise.
43904         (tan_test_upward): Likewise.
43905         (tanh_test): Likewise.
43906         (tgamma_test): Likewise.
43907         (trunc_test): Likewise.
43908         (y0_test): Likewise.
43909         (y1_test): Likewise.
43910         (yn_test): Likewise.
43911         (significand_test): Likewise.
43913         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
43914         individual tests in comment.
43915         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
43916         (prev_max_error): New variable.
43917         (prev_real_max_error): Likewise.
43918         (prev_imag_max_error): Likewise.
43919         (compare_ulp_data): Don't refer to test names in comment.
43920         (find_test_ulps): Remove function.
43921         (find_function_ulps): Likewise.
43922         (find_complex_function_ulps): Likewise.
43923         (init_max_error): Take function name as argument.  Look up ulps
43924         for that function.
43925         (print_ulps): Remove function.
43926         (print_max_error): Use prev_max_error instead of calling
43927         find_function_ulps.
43928         (print_complex_max_error): Use prev_real_max_error and
43929         prev_imag_max_error instead of calling find_complex_function_ulps.
43930         (check_float_internal): Take max_ulp parameter instead of calling
43931         find_test_ulps.  Don't call print_ulps.
43932         (check_float): Update call to check_float_internal.
43933         (check_complex): Update calls to check_float_internal.
43934         (START): Pass argument to init_max_error.
43935         * math/gen-libm-test.pl (%results): Don't include "kind"
43936         information.
43937         (parse_ulps): Don't handle ulps of individual tests.
43938         (print_ulps_file): Likewise.
43939         (output_ulps): Likewise.
43940         * math/README.libm-test: Update.
43941         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
43942         individual tests.
43943         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
43944         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
43945         * sysdeps/arm/libm-test-ulps: Likewise.
43946         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
43947         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
43948         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
43949         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
43950         * sysdeps/microblaze/libm-test-ulps: Likewise.
43951         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
43952         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
43953         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43954         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
43955         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43956         * sysdeps/sh/libm-test-ulps: Likewise.
43957         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43958         * sysdeps/tile/libm-test-ulps: Likewise.
43959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43961 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
43963         * math/libm-test.inc (print_complex_max_error): Check separately
43964         whether real and imaginary errors are within allowed range and
43965         pass 0 to print_complex_function_ulps instead of value within
43966         allowed range.
43968 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43970         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
43971         formatting.
43972         (get_handles_fopen): Likewise.
43973         (do_write_test): Likewise.
43975         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
43977         * libio/fileops.c (do_ftell): Use cached offset when
43978         available.
43979         * libio/iofwide.c (do_ftell_wide): Likewise.
43980         * libio/iofdopen.c (_IO_new_fdopen): Don't use
43981         _IO_file_attach.
43982         * libio/wfileops.c (_IO_fwide): Don't cache offset.
43984         [BZ #16532]
43985         * libio/libioP.h (get_file_offset): New function.
43986         * libio/fileops.c (get_file_offset): Likewise.
43987         (do_ftell): Likewise.
43988         (_IO_new_file_seekoff): Split out ftell logic.
43989         * libio/wfileops.c (do_ftell_wide): Likewise.
43990         (_IO_wfile_seekoff): Split out ftell logic.
43991         * libio/tst-ftell-active-handler.c: New test case.
43992         * libio/Makefile (tests): Add it.
43994 2014-03-03  Roland McGrath  <roland@hack.frob.com>
43996         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
43997         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
43999 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
44001         [BZ #16639]
44002         * nscd/connections.c (nscd_init): Call do_exit.
44003         (start_threads): Call do_exit and notify_parent.
44004         (begin_drop_privileges): Call do_exit.
44005         (finish_drop_privileges): Likewise.
44006         * nscd/selinux.c (preserve_capabilities): Likewise.
44007         (install_real_capabilities): Likewise.
44008         (nscd_selinux_enabled): Likewise.
44009         (avc_create_thread): Likewise.
44010         (avc_alloc_lock): Likewise.
44011         (nscd_avc_init): Likewise.
44012         * nscd/nscd.c (parent_fd): New static variable.
44013         (main): Create a pipe between parent and child processes.
44014         Skip closing parent_fd.
44015         (monitor_child): New function.
44016         (do_exit): Likewise.
44017         (notify_parent): Likewise.
44018         * nscd/nscd.h (notify_parent): Likewise.
44019         (do_exit): Likewise.
44021 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
44023         * malloc/malloc.c (__libc_calloc): Revert last change.
44025 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44027         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44029 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
44031         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
44032         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
44033         implementation.
44034         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44035         (__libc_ifunc_impl_list): Likewise.
44036         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
44037         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
44038         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
44039         * string/strrchr.c: Define STRRCHR.
44041 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
44043         * benchtest/bench-strtok.c (simple_strtok): Delete.
44044         (strtok_string): Use as benchmark.
44045         * string/strtok (STRTOK): New macro.
44047 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
44049         * manual/threads.texi: Add header and standard comments to all
44050         functions.
44052         * elf/dl-lookup.c (check_match): New function.
44053         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
44054         (do_lookup_x): Remove nested function check_match. Use non-nested
44055         function check_match.
44057 2014-02-28  Roland McGrath  <roland@hack.frob.com>
44059         * csu/Makefile (generated, before-compile): Use += rather than =.
44060         * catgets/Makefile (generated, generated-dirs): Likewise.
44061         * debug/Makefile (generated): Likewise.
44062         * dlfcn/Makefile (generated): Likewise.
44063         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
44064         * iconvdata/Makefile (before-compile, generated): Likewise.
44065         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
44066         * libio/Makefile (generated): Likewise.
44067         * malloc/Makefile (generated): Likewise.
44068         * manual/Makefile (generated, generated-dirs): Likewise.
44069         * misc/Makefile (generated): Likewise.
44070         * posix/Makefile (generated): Likewise.
44071         * resolv/Makefile (generated): Likewise.
44072         * sunrpc/Makefile (generated, generated-dirs): Likewise.
44073         * timezone/Makefile (generated, generated-dirs): Likewise.
44075         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
44077 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44079         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
44080         power8 implementation.
44081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
44082         file: POWER8 llround ifunc implementation.
44083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
44084         (__lllround): Add POWER8 implementation.
44085         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
44086         POWER8 llround implementation.
44088         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
44089         power8 implementation.
44090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
44091         file: POWER8 llrint ifunc implementation.
44092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
44093         Add POWER8 implementation.
44094         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
44095         POWER8 llrint implementation.
44097         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
44098         power8 implementation.
44099         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
44100         file: POWER8 finite ifunc implementation.
44101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
44102         Add POWER8 implementation.
44103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
44104         Likewise.
44105         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
44106         POWER8 finite implementation.
44107         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
44109         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
44110         power8 implementation.
44111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
44112         file: POWER8 isinf ifunc implementation.
44113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
44114         POWER8 implementation.
44115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
44116         Likewise.
44117         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
44118         isinf implementation.
44119         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
44121         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
44122         (INIT_ARCH): Add hwcap2 initialization.
44123         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
44124         power8 implementation.
44125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
44126         file: POWER8 isnan ifunc implementation.
44127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
44128         POWER8 implementation.
44129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
44130         Likewise.
44131         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
44132         isnan implementation.
44133         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
44135 2014-02-27  Joey Ye  <joey.ye@arm.com>
44137         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
44138         (_FP_NANFRAC_Q): Set to zero.
44140 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
44142         [BZ #16623]
44143         * math/auto-libm-test-in: New test inputs.
44144         * math/auto-libm-test-out: Regenerate.
44145         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
44146         and DA.
44147         (__cos): Likewise.
44148         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
44150 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
44152         * scripts/evaluate-test.sh: Take new argument indicating whether
44153         failure is expected.
44154         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
44155         indicating whether failure is expected.
44156         * conform/Makefile (test-xfail-run-conformtest): New variable.
44157         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
44158         level.
44159         * posix/Makefile (test-xfail-annexc): New variable.
44160         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
44162 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
44164         * argp/Makefile: Include Makeconfig immediately after defining
44165         subdir.
44166         * assert/Makefile: Likewise.
44167         * benchtests/Makefile: Likewise.
44168         * catgets/Makefile: Likewise.
44169         * conform/Makefile: Likewise.
44170         * crypt/Makefile: Likewise.
44171         * csu/Makefile: Likewise.
44172         (all): Remove target.
44173         * ctype/Makefile: Include Makeconfig immediately after defining
44174         subdir.
44175         * debug/Makefile: Likewise.
44176         * dirent/Makefile: Likewise.
44177         * dlfcn/Makefile: Likewise.
44178         * gmon/Makefile: Likewise.
44179         * gnulib/Makefile: Likewise.
44180         * grp/Makefile: Likewise.
44181         * gshadow/Makefile: Likewise.
44182         * hesiod/Makefile: Likewise.
44183         * hurd/Makefile: Likewise.
44184         (all): Remove target.
44185         * iconvdata/Makefile: Include Makeconfig immediately after
44186         defining subdir.
44187         * inet/Makefile: Likewise.
44188         * intl/Makefile: Likewise.
44189         * io/Makefile: Likewise.
44190         * libio/Makefile: Likewise.
44191         (all): Remove target.
44192         * locale/Makefile: Include Makeconfig immediately after defining
44193         subdir.
44194         * login/Makefile: Likewise.
44195         * mach/Makefile: Likewise.
44196         (all): Remove target.
44197         * malloc/Makefile: Include Makeconfig immediately after defining
44198         subdir.
44199         (all): Remove target.
44200         * manual/Makefile: Include Makeconfig immediately after defining
44201         subdir.
44202         * math/Makefile: Likewise.
44203         * misc/Makefile: Likewise.
44204         * nis/Makefile: Likewise.
44205         * nss/Makefile: Likewise.
44206         * po/Makefile: Likewise.
44207         (all): Remove target.
44208         * posix/Makefile: Include Makeconfig immediately after defining
44209         subdir.
44210         * pwd/Makefile: Likewise.
44211         * resolv/Makefile: Likewise.
44212         * resource/Makefile: Likewise.
44213         * rt/Makefile: Likewise.
44214         * setjmp/Makefile: Likewise.
44215         * shadow/Makefile: Likewise.
44216         * signal/Makefile: Likewise.
44217         * socket/Makefile: Likewise.
44218         * soft-fp/Makefile: Likewise.
44219         * stdio-common/Makefile: Likewise.
44220         * stdlib/Makefile: Likewise.
44221         * streams/Makefile: Likewise.
44222         * string/Makefile: Likewise.
44223         * sunrpc/Makefile: Likewise.
44224         (all): Remove target.
44225         * sysvipc/Makefile: Include Makeconfig immediately after defining
44226         subdir.
44227         * termios/Makefile: Likewise.
44228         * time/Makefile: Likewise.
44229         * timezone/Makefile: Likewise.
44230         (all): Remove target.
44231         * wcsmbs/Makefile: Include Makeconfig immediately after defining
44232         subdir.
44233         * wctype/Makefile: Likewise.
44235 2014-02-26  Steve Ellcey  <sellcey@mips.com>
44237         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
44238         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
44239         (libc_feholdexcept_setround_mips): Ditto.
44240         (libc_feholdsetround): New.
44241         (libc_feholdsetroundf): New.
44242         (libc_feholdsetroundl): New.
44243         (libc_feupdateenv_test_mips): New.
44244         (libc_feupdateenv_test): New.
44245         (libc_feupdateenv_testf): New.
44246         (libc_feupdateenv_testl): New.
44247         (libc_feresetround): New.
44248         (libc_feresetroundf): New.
44249         (libc_feresetroundl): New.
44250         (libc_fetestexcept_mips): New.
44251         (libc_fetestexcept): New.
44252         (libc_fetestexceptf): New.
44253         (libc_fetestexceptl): New.
44254         (HAVE_RM_CTX): New.
44255         (libc_feholdexcept_setround_mips_ctx): New.
44256         (libc_feholdexcept_setround_ctx): New.
44257         (libc_feholdexcept_setroundf_ctx): New.
44258         (libc_feholdexcept_setroundl_ctx): New.
44259         (libc_fesetenv_mips_ctx): New.
44260         (libc_fesetenv_ctx): New.
44261         (libc_fesetenv_ctxf): New.
44262         (libc_fesetenv_ctxl): New.
44263         (libc_feupdateenv_mips_ctx): New.
44264         (libc_feupdateenv_ctx): New.
44265         (libc_feupdateenvf_ctx): New.
44266         (libc_feupdateenvl_ctx): New.
44267         (libc_feholdsetround_mips_ctx): New.
44268         (libc_feholdsetround_ctx): New.
44269         (libc_feholdsetroundf_ctx): New.
44270         (libc_feholdsetroundl_ctx): New.
44271         (libc_feresetround_mips_ctx): New.
44272         (libc_feresetround_ctx): New.
44273         (libc_feresetroundf_ctx): New.
44274         (libc_feresetroundl_ctx): New.
44276 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
44278         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
44280         * manual/ipc.texi: New file.
44281         * manual/Makefile (chapters): Add ipc.
44282         * manual/job.texi: Add "Inter-Process Communication" to next.
44283         * manual/process.texi: Add "Inter-Process Communication" to prev.
44285 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44287         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44289 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
44291         * malloc/malloc.c (__libc_calloc): Simplify implementation.
44293         * manual/arith.texi: Fix spaces after sentences.
44294         * manual/charset.texi: Likewise.
44295         * manual/errno.texi: Likewise.
44296         * manual/install.texi: Likewise.
44297         * manual/llio.texi: Likewise.
44298         * manual/locale.texi: Likewise.
44299         * manual/maint.texi: Likewise.
44300         * manual/math.texi: Likewise.
44301         * manual/memory.texi: Likewise.
44302         * manual/message.texi: Likewise.
44303         * manual/probes.texi: Likewise.
44304         * manual/resource.texi: Likewise.
44305         * manual/signal.texi: Likewise.
44306         * manual/socket.texi: Likewise.
44307         * manual/stdio.texi: Likewise.
44308         * manual/string.texi: Likewise.
44309         * manual/time.texi: Likewise.
44310         * manual/users.texi: Likewise.
44312 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
44314         [BZ #16632]
44315         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
44316         _DEFAULT_SOURCE is defined.
44318 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
44319             Carlos O'Donell  <carlos@redhat.com>
44321         [BZ #16613]
44322         * elf/dl-tls.c (_dl_count_modids): New function.
44323         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
44324         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
44325         audit library and increment generation counter.
44326         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
44327         * elf/tst-audit9.c: New file.
44328         * elf/tst-auditmod9a.c: New file.
44329         * elf/tst-auditmod9b.c: New file.
44330         * elf/Makefile: Add rules to build and run tst-audit9.
44332 2014-02-25  Florian Weimer  <fweimer@redhat.com>
44334         [BZ #15347]
44335         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
44337 2014-02-25  Will Newton  <will.newton@linaro.org>
44339         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
44340         (__longjmp): Restore sp and lr before restoring callee
44341         saved registers.  Add longjmp and longjmp_target
44342         SystemTap probe point.
44343         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
44344         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
44345         Define to zero to match jmpbuf layout.
44346         * sysdeps/arm/setjmp.S: Include stap-probe.h.
44347         (__sigsetjmp): Save sp and lr before saving callee
44348         saved registers.  Add setjmp SystemTap probe point.
44350 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
44352         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
44354 2014-02-24  Andreas Schwab  <schwab@suse.de>
44356         [BZ #15804]
44357         * elf/pldd.c (wait_for_ptrace_stop): New function.
44358         (main): Call it after attaching.
44360 2014-02-22  Roland McGrath  <roland@hack.frob.com>
44362         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
44363         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
44364         Versions files is now verboten.
44365         * hurd/Versions (libc: GLIBC_2.0):
44366         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
44367         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
44368         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
44369         * mach/Versions: Likewise.
44371         * csu/Versions: Remove unused %include.
44372         * resolv/Versions: Likewise.
44374 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
44376         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
44377         ($(objpfx)check-local-headers.out): Likewise.
44378         ($(objpfx)begin-end-check.out): Likewise.
44379         * Makerules (check-abi-%.out): Likewise.
44380         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
44381         ($(objpfx)test2.cat): Likewise.
44382         ($(objpfx)de/libc.cat): Likewise.
44383         ($(objpfx)test-gencat.out): Likewise.
44384         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
44385         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
44386         ($(objpfx)noload-mem): Likewise.
44387         ($(objpfx)tst-pathopt.out): Likewise.
44388         ($(objpfx)tst-rtld-load-self.out): Likewise.
44389         ($(objpfx)tst-array1-cmp.out): Likewise.
44390         ($(objpfx)tst-array1-static-cmp.out): Likewise.
44391         ($(objpfx)tst-array2-cmp.out): Likewise.
44392         ($(objpfx)tst-array3-cmp.out): Likewise.
44393         ($(objpfx)tst-array4-cmp.out): Likewise.
44394         ($(objpfx)tst-array5-cmp.out): Likewise.
44395         ($(objpfx)tst-array5-static-cmp.out): Likewise.
44396         ($(objpfx)check-textrel.out): Likewise.
44397         ($(objpfx)check-execstack.out): Likewise.
44398         ($(objpfx)check-localplt.out): Likewise.
44399         ($(objpfx)order2-cmp.out): Likewise.
44400         ($(objpfx)tst-leaks1-mem): Likewise.
44401         ($(objpfx)tst-leaks1-static-mem): Likewise.
44402         ($(objpfx)tst-initorder-cmp.out): Likewise.
44403         ($(objpfx)tst-initorder2-cmp.out): Likewise.
44404         ($(objpfx)tst-unused-dep.out): Likewise.
44405         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
44406         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
44407         * iconv/Makefile (test-iconvconfig): Likewise.
44408         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
44409         ($(objpfx)iconv-test.out): Likewise.
44410         ($(objpfx)tst-tables.out): Likewise.
44411         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
44412         ($(objpfx)tst-gettext.out): Likewise.
44413         ($(objpfx)tst-translit.out): Likewise.
44414         ($(objpfx)tst-gettext2.out): Likewise.
44415         ($(objpfx)tst-gettext4.out): Likewise.
44416         ($(objpfx)tst-gettext6.out): Likewise.
44417         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
44418         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
44419         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
44420         ($(objpfx)tst-fopenloc-mem.out): Likewise.
44421         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
44422         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
44423         * posix/Makefile ($(objpfx)globtest.out): Likewise.
44424         ($(objpfx)wordexp-tst.out): Likewise.
44425         ($(objpfx)annexc.out): Likewise.
44426         ($(objpfx)tst-fnmatch-mem): Likewise.
44427         ($(objpfx)bug-regex2-mem): Likewise.
44428         ($(objpfx)bug-regex14-mem): Likewise.
44429         ($(objpfx)bug-regex21-mem): Likewise.
44430         ($(objpfx)bug-regex31-mem): Likewise.
44431         ($(objpfx)tst-vfork3-mem): Likewise.
44432         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
44433         ($(objpfx)tst-pcre-mem): Likewise.
44434         ($(objpfx)tst-boost-mem): Likewise.
44435         ($(objpfx)tst-getconf.out): Likewise.
44436         ($(objpfx)bug-ga2-mem): Likewise.
44437         ($(objpfx)bug-glob2-mem): Likewise.
44438         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
44439         ($(objpfx)mtrace-tst-leaks2): Likewise.
44440         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
44441         ($(objpfx)tst-printf.out): Likewise.
44442         ($(objpfx)tst-setvbuf1.out): Likewise.
44443         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
44444         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
44445         ($(objpfx)tst-fmtmsg.out): Likewise.
44446         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
44447         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
44449         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
44450         * bits/sigaction.h [__USE_MISC]: Likewise.
44451         * bits/waitstatus.h: Update #endif comments.
44452         * ctype/ctype.h: Likewise.
44453         * dirent/dirent.h: Likewise.
44454         [__USE_MISC]: Remove redundant conditionals.
44455         * grp/grp.h: Update #endif comments.
44456         [__USE_GNU]: Remove redundant conditionals.
44457         [__USE_MISC]: Likewise.
44458         * inet/netinet/in.h [__USE_GNU]: Likewise.
44459         * io/sys/stat.h [__USE_MISC]: Likewise.
44460         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
44461         * libio/bits/stdio.h: Update #endif comments.
44462         [__USE_MISC]: Remove redundant conditionals.
44463         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
44464         * libio/stdio.h: Update #endif comments.
44465         [__USE_MISC]: Remove redundant conditionals.
44466         * math/bits/math-finite.h [__USE_MISC]: Likewise.
44467         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
44468         * math/math.h: Update #else and #endif comments.
44469         [__USE_MISC]: Remove redundant conditionals.
44470         * misc/sys/uio.h: Update #endif comments.
44471         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
44472         * posix/glob.h [__USE_MISC]: Likewise.
44473         * posix/sys/types.h: Update #endif comments.
44474         [__USE_MISC]: Remove redundant conditionals.
44475         * posix/sys/wait.h: Update #endif comments.
44476         [__USE_MISC]: Remove redundant conditionals.
44477         * posix/unistd.h: Update #endif comments.
44478         [__USE_MISC]: Remove redundant conditionals.
44479         * pwd/pwd.h [__USE_GNU]: Likewise.
44480         [__USE_MISC]: Likewise.
44481         * resolv/netdb.h [__USE_GNU]: Likewise.
44482         * signal/signal.h: Update #endif comments.
44483         [__USE_MISC]: Remove redundant conditionals.
44484         * stdlib/stdlib.h: Update #else and #endif comments.
44485         [__USE_MISC]: Remove redundant conditionals.
44486         [__USE_GNU]: Likewise.
44487         * string/bits/string2.h [__USE_MISC]: Likewise.
44488         * string/string.h: Update #endif comments.
44489         [__USE_MISC]: Remove redundant conditionals.
44490         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
44491         Likewise.
44492         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
44493         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
44494         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
44495         Likewise.
44496         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
44497         Likewise.
44498         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
44499         comments.
44500         [__USE_MISC]: Remove redundant conditionals.
44501         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
44502         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
44503         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
44504         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
44505         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
44506         Likewise.
44507         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
44508         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
44509         Likewise.
44510         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
44511         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
44512         Likewise.
44513         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
44514         Likewise.
44515         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
44516         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
44517         Likewise.
44518         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
44519         Likewise.
44520         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
44521         * sysdeps/x86/bits/string.h: Update #endif comments.
44522         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
44523         conditionals.
44524         * time/sys/time.h: Update #endif comments.
44525         * time/time.h: Likewise.
44526         [__USE_MISC]: Remove redundant conditionals.
44528 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
44530         [BZ #16600]
44531         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
44533 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
44535         * Versions.def (librt): Add GLIBC_2.17.
44537 2014-02-21  Adam Conrad  <adconrad@0c3.net>
44539         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
44540         synonym for _SYS_AUXV_H to allow direct inclusion.
44541         * sysdeps/sparc/bits/hwcap.h: Likewise.
44542         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
44543         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
44544         * sysdeps/sparc/sysdep.h: Likewise.
44546 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44548         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
44550 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
44552         * benchtests/bench-strrchr.c: Print length instead of position.
44554 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
44556         [BZ #16611]
44557         * sysdeps/unix/sysv/linux/kernel-features.h
44558         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
44559         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
44560         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
44561         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
44562         Likewise.
44563         [__i386__ || __powerpc__ || __sh__ || __sparc__]
44564         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44565         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
44566         (__ASSUME_SENDMMSG): Define instead of using previous
44567         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
44568         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
44569         (__ASSUME_SENDMMSG_SYSCALL): Define.
44570         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
44571         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
44572         Likewise.
44573         * sysdeps/unix/sysv/linux/arm/kernel-features.h
44574         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
44575         Likewise.
44576         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
44577         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
44578         Likewise.
44579         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
44580         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
44581         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
44582         [__ASSUME_SENDMMSG]: Change conditionals to
44583         [__ASSUME_SENDMMSG_SOCKETCALL].
44584         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44585         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
44586         Define.
44587         * sysdeps/unix/sysv/linux/mips/kernel-features.h
44588         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
44589         Likewise.
44590         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
44591         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
44592         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
44593         [!__ASSUME_SENDMMSG]: Change conditional to
44594         [!__ASSUME_SENDMMSG_SOCKETCALL].
44595         * sysdeps/unix/sysv/linux/tile/kernel-features.h
44596         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
44597         Define.
44599         [BZ #16610]
44600         * sysdeps/unix/sysv/linux/kernel-features.h
44601         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
44602         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
44603         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
44604         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
44605         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
44606         [__i386__ || __sparc__]
44607         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44608         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
44609         (__ASSUME_RECVMMSG): Define instead of using previous
44610         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
44611         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
44612         (__ASSUME_RECVMMSG_SYSCALL): Define.
44613         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
44614         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
44615         Likewise.
44616         * sysdeps/unix/sysv/linux/arm/kernel-features.h
44617         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
44618         Likewise.
44619         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
44620         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
44621         Likewise.
44622         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
44623         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
44624         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
44625         [__ASSUME_RECVMMSG]: Change condition to
44626         [__ASSUME_RECVMMSG_SOCKETCALL].
44627         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44628         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
44629         Define.
44630         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44631         * sysdeps/unix/sysv/linux/mips/kernel-features.h
44632         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
44633         Likewise.
44634         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
44635         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
44636         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
44637         [!__ASSUME_RECVMMSG]: Change condition to
44638         [!__ASSUME_RECVMMSG_SOCKETCALL].
44639         * sysdeps/unix/sysv/linux/tile/kernel-features.h
44640         (__ASSUME_RECVMMSG_SYSCALL): Define.
44642         [BZ #16609]
44643         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
44644         __powerpc__ || __s390__ || __sh__ || __sparc__]
44645         (__ASSUME_SOCKETCALL): Define.
44646         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
44647         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
44648         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
44649         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
44650         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
44651         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
44652         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
44653         (__ASSUME_ACCEPT4): Define instead of using previous
44654         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
44655         __powerpc__ || __sparc__ || __s390__)] condition.
44656         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
44657         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
44658         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
44659         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
44660         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
44661         [!__ASSUME_ACCEPT4]: Change condition to
44662         [!__ASSUME_ACCEPT4_SOCKETCALL].
44663         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
44664         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
44665         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
44666         * sysdeps/unix/sysv/linux/arm/kernel-features.h
44667         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
44668         __ASSUME_ACCEPT4_SYSCALL.
44669         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
44670         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
44671         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
44672         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
44673         __ASSUME_ACCEPT4_SYSCALL.
44674         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
44675         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
44676         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
44677         [__ASSUME_ACCEPT4]: Change condition to
44678         [__ASSUME_ACCEPT4_SOCKETCALL].
44679         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
44680         (__ASSUME_SOCKETCALL): Define.
44681         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
44682         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44683         (__ASSUME_SOCKETCALL): Define.
44684         (__ASSUME_ACCEPT4): Remove.
44685         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
44686         Define.
44687         * sysdeps/unix/sysv/linux/mips/kernel-features.h
44688         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
44689         Likewise.
44690         * sysdeps/unix/sysv/linux/tile/kernel-features.h
44691         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
44693         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
44694         macro.
44695         (HWCAP_ARM_LPAE): Likewise.
44696         (HWCAP_ARM_EVTSTRM): Likewise.
44697         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
44698         Add vpfd32, lpae and evtstrm.
44699         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
44700         Increase to 22.
44702 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
44704         * math/auto-libm-test-in: Add tests of clog10.
44705         * math/auto-libm-test-out: Regenerated.
44706         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
44707         * sysdeps/i386/fpu/libm-test-ulps: Update.
44708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44710 2014-02-18  Andreas Schwab  <schwab@suse.de>
44712         [BZ #16574]
44713         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
44714         Store non-zero if the second buffer was newly allocated.
44715         (send_dg): Likewise.
44716         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
44717         to send_vc and send_dg.
44718         (res_nsend): Pass NULL for ansp2_malloced.
44719         * resolv/res_query.c (__libc_res_nquery): Add parameter
44720         answerp2_malloced and pass it down to __libc_res_nsend.
44721         (res_nquery): Pass additional NULL to __libc_res_nquery.
44722         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
44723         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
44724         second answer buffer if answerp2_malloced was set.
44725         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
44726         (__libc_res_nquerydomain): Add parameter
44727         answerp2_malloced and pass it down to __libc_res_nquery.
44728         (res_nquerydomain): Pass additional NULL to
44729         __libc_res_nquerydomain.
44730         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
44731         additional NULL to __libc_res_nsend and __libc_res_nquery.
44732         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
44733         additional NULL to __libc_res_nsearch.
44734         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
44735         parameter of __libc_res_nsearch to check for separately allocated
44736         second buffer.
44737         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
44738         __libc_res_nquery.
44739         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
44740         additional NULL to __libc_res_nquery.
44741         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
44742         __libc_res_nsearch.
44743         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
44744         * include/resolv.h: Update prototypes of __libc_res_nquery,
44745         __libc_res_nsearch, __libc_res_nsend.
44747 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
44749         * math/auto-libm-test-in: Add tests of fma.
44750         * math/auto-libm-test-out: Regenerated.
44751         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
44752         (fma_towardzero_test_data): Likewise.
44753         (fma_downward_test_data): Likewise.
44754         (fma_upward_test_data): Likewise.
44755         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
44756         mpc_mode.
44757         (rounding_modes): Add values for new field.
44758         (func_calc_method): Add value mpfr_fff_f.
44759         (func_calc_desc): Add mpfr_fff_f union field.
44760         (test_function): Add field exact_args.
44761         (FUNC): Add macro argument EXACT_ARGS.
44762         (FUNC_mpfr_f_f): Update call to FUNC.
44763         (FUNC_mpfr_f_f): Likewise.
44764         (FUNC_mpfr_ff_f): Likewise.
44765         (FUNC_mpfr_if_f): Likewise.
44766         (FUNC_mpc_c_f): Likewise.
44767         (FUNC_mpc_c_c): Likewise.
44768         (test_functions): Add fma.  Update calls to FUNC.
44769         (handle_input_arg): Add argument exact_args.
44770         (add_test): Update call to handle_input_arg.
44771         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
44772         (output_for_one_input_case): Update call to calc_generic_results.
44773         Recalculate exact zero results in each rounding mode.
44775         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
44776         non-negative before setting low bit.
44777         * math/auto-libm-test-in: Mark one asin test possibly having
44778         spurious underflow.
44779         * math/auto-libm-test-out: Regenerated.
44780         * sysdeps/i386/fpu/libm-test-ulps: Update.
44781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44783 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
44785         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
44786         * sysdeps/unix/sysv/linux/microblaze: Move directory from
44787         ports/sysdeps/unix/sysv/linux/microblaze.
44788         * README: Add missing listing for microblaze*-*-linux-gnu.
44790 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
44792         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
44793         duplicate code
44795 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
44797         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
44798         * sysdeps/unix/sysv/linux/ia64: Move directory from
44799         ports/sysdeps/unix/sysv/linux/ia64.
44800         * README: Update listing for ia64-*-linux-gnu.
44802 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
44803             Joseph Myers  <joseph@codesourcery.com>
44805         * Makeconfig (test-name): New variable.
44806         (evaluate-test): Likewise.
44807         * Makerules (do-test-clean): Remove .test-result files.
44808         (common-mostlyclean): Likewise.
44809         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
44810         * scripts/evaluate-test.sh: New file.
44812 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
44814         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
44815         separate $(objpfx)tst-fopenloc-cmp.out and
44816         $(objpfx)tst-fopenloc-mem.out targets.
44817         (tests): Update dependencies.
44818         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
44819         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
44820         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
44821         (tst-rxspencer-no-utf8-ARGS): New variable.
44822         (tst-rxspencer-no-utf8-ENV): Likewise.
44823         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
44824         instead of $(objpfx)tst-rxspencer-mem.
44825         ($(objpfx)tst-rxspencer-mem): Change target to
44826         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
44827         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
44828         * posix/tst-rxspencer-no-utf8.c: New file.
44830         * elf/Makefile ($(objpfx)order.out): Remove rule.
44831         [$(run-built-tests) = yes] (tests): Depend on
44832         $(objpfx)order-cmp.out.
44833         ($(objpfx)order-cmp.out): New rule.
44834         [$(run-built-tests) = yes] (tests): Depend on
44835         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
44836         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
44837         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
44838         $(objpfx)tst-array5-static-cmp.out.
44839         ($(objpfx)tst-array1.out): Remove rule.
44840         ($(objpfx)tst-array1-cmp.out): New rule.
44841         ($(objpfx)tst-array1-static.out): Remove rule.
44842         ($(objpfx)tst-array1-static-cmp.out): New rule.
44843         ($(objpfx)tst-array2.out): Remove rule.
44844         ($(objpfx)tst-array2-cmp.out): New rule.
44845         ($(objpfx)tst-array3.out): Remove rule.
44846         ($(objpfx)tst-array3-cmp.out): New rule.
44847         ($(objpfx)tst-array4.out): Remove rule.
44848         ($(objpfx)tst-array4-cmp.out): New rule.
44849         ($(objpfx)tst-array5.out): Remove rule.
44850         ($(objpfx)tst-array5-cmp.out): New rule.
44851         ($(objpfx)tst-array5-static.out): Remove rule.
44852         ($(objpfx)tst-array5-static-cmp.out): New rule.
44853         [$(run-built-tests) = yes] (tests): Depend on
44854         $(objpfx)order2-cmp.out.
44855         ($(objpfx)order2.out): Remove rule.
44856         ($(objpfx)order2-cmp.out): New rule.
44857         ($(objpfx)tst-initorder.out): Remove rule.
44858         [$(run-built-tests) = yes] (tests): Depend on
44859         $(objpfx)tst-initorder-cmp.out.
44860         ($(objpfx)tst-initorder-cmp.out): New rule.
44861         ($(objpfx)tst-initorder2.out): Remove rule.
44862         [$(run-built-tests) = yes] (tests): Depend on
44863         $(objpfx)tst-initorder2-cmp.out.
44864         ($(objpfx)tst-initorder2-cmp.out): New rule.
44865         [$(run-built-tests) = yes] (tests): Depend on
44866         $(objpfx)tst-unused-dep-cmp.out.
44867         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
44868         ($(objpfx)tst-unused-dep-cmp.out): New rule.
44869         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
44870         on $(objpfx)tst-setvbuf1-cmp.out.
44871         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
44872         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
44873         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
44874         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
44875         ($(objpfx)tst-svc.out): Remove rule.
44876         ($(objpfx)tst-svc-cmp.out): New rule.
44878 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
44880         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
44881         * ctype/ctype.h [__USE_MISC]: Likewise.
44882         * dirent/dirent.h [__USE_MISC]: Likewise.
44883         * grp/grp.h [__USE_MISC]: Likewise.
44884         * io/fcntl.h [__USE_MISC]: Likewise.
44885         * io/sys/stat.h [__USE_MISC]: Likewise.
44886         * libio/stdio.h [__USE_MISC]: Likewise.
44887         * posix/unistd.h [__USE_MISC]: Likewise.
44888         * pwd/pwd.h [__USE_MISC]: Likewise.
44889         * stdlib.h [__USE_MISC]: Likewise.
44890         * string/bits/string2.h [__USE_MISC]: Likewise.
44891         * string/string.h [__USE_MISC]: Likewise.
44892         * time/time.h [__USE_MISC]: Likewise.
44894 2014-02-13  Andreas Schwab  <schwab@suse.de>
44896         [BZ #16574]
44897         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
44898         second answer buffer if it was separately allocated.
44900 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
44902         * sysdeps/mips/math-tests.h: Include <features.h>.
44903         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
44904         (ROUNDING_TESTS_long_double): Do not define.
44905         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
44906         (EXCEPTION_TESTS_long_double): Likewise.
44907         * sysdeps/mips/mips64/libm-test-ulps: Update.
44909         * include/features.h (__USE_BSD): Remove macro definitions.
44910         (__USE_SVID): Likewise.
44911         (_BSD_SOURCE): Likewise.
44912         (_SVID_SOURCE): Likewise.
44913         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
44914         from definition of _DEFAULT_SOURCE.
44915         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
44916         [_DEFAULT_SOURCE].
44917         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
44918         * bits/mman.h [__USE_BSD]: Likewise.
44919         * bits/termios.h [__USE_BSD]: Likewise.
44920         * bits/waitstatus.h [__USE_BSD]: Likewise.
44921         * ctype/ctype.h [__USE_SVID]: Likewise.
44922         * dirent/dirent.h [__USE_BSD]: Likewise.
44923         * grp/grp.h [__USE_SVID]: Likewise.
44924         [__USE_BSD]: Likewise.
44925         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
44926         * io/fcntl.h [__USE_BSD]: Likewise.
44927         * io/ftw.h [__USE_BSD]: Likewise.
44928         * io/sys/stat.h [__USE_BSD]: Likewise.
44929         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
44930         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
44931         * libio/stdio.h [__USE_SVID]: Likewise.
44932         [__USE_BSD]: Likewise.
44933         * math/math.h [__USE_SVID]: Likewise.
44934         [__USE_BSD]: Likewise.
44935         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
44936         * misc/bits/syslog.h [__USE_BSD]: Likewise.
44937         * misc/search.h [__USE_SVID]: Likewise.
44938         * misc/sys/mman.h [__USE_BSD]: Likewise.
44939         * misc/sys/syslog.h [__USE_BSD]: Likewise.
44940         * misc/sys/uio.h [__USE_BSD]: Likewise.
44941         * posix/bits/unistd.h [__USE_BSD]: Likewise.
44942         * posix/glob.h [__USE_BSD]: Likewise.
44943         * posix/regex.h [__USE_BSD]: Likewise.
44944         * posix/sys/types.h [__USE_BSD]: Likewise.
44945         [__USE_SVID]: Likewise.
44946         * posix/sys/utsname.h [__USE_SVID]: Likewise.
44947         * posix/sys/wait.h [__USE_BSD]: Likewise.
44948         [__USE_SVID]: Likewise.
44949         * posix/unistd.h [__USE_BSD]: Likewise.
44950         [__USE_SVID]: Likewise.
44951         * pwd/pwd.h [__USE_SVID]: Likewise.
44952         * resolv/netdb.h [__USE_BSD]: Likewise.
44953         * setjmp/setjmp.h [__USE_BSD]: Likewise.
44954         * signal/signal.h [__USE_BSD]: Likewise.
44955         [__USE_SVID]: Likewise.
44956         * socket/sys/socket.h [__USE_BSD]: Likewise.
44957         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
44958         * stdlib/stdlib.h [__USE_BSD]: Likewise.
44959         [__USE_SVID]: Likewise.
44960         * string/bits/string2.h [__USE_BSD]: Likewise.
44961         [__USE_SVID]: Likewise.
44962         * string/bits/string3.h [__USE_BSD]: Likewise.
44963         * string/endian.h [__USE_BSD]: Likewise.
44964         * string/string.h [__USE_SVID]: Likewise.
44965         [__USE_BSD]: Likewise.
44966         * string/strings.h [__USE_BSD]: Likewise.
44967         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
44968         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
44969         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
44970         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
44971         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
44972         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
44973         Likewise.
44974         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
44975         Likewise.
44976         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
44977         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
44978         Likewise.
44979         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
44980         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
44981         Likewise.
44982         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
44983         Likewise.
44984         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
44985         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
44986         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
44987         Likewise.
44988         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
44989         Likewise.
44990         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
44991         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
44992         * termios/termios.h [__USE_BSD]: Likewise.
44993         * time/sys/time.h [__USE_BSD]: Likewise.
44994         * time/time.h [__USE_BSD]: Likewise.
44995         [__USE_SVID]: Likewise.
44997         * Makefile (subdir_targets): Remove subdir_lint.out.
44999         * stdio-common/Makefile (do-tst-unbputc): Remove target.
45000         (do-tst-printf): Likewise.
45001         (tests): Depend directly on $(objpfx)tst-unbputc.out and
45002         $(objpfx)tst-printf.out.
45004         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
45006         * Makerules (check-abi-%): Change target to
45007         $(objpfx)check-abi-%.out.
45008         (check-abi target): Update dependencies.
45009         (check-abi-pattern variable): Redirect output of diff to $@.
45010         (check-abi variable): Likewise.
45011         * elf/Makefile (check-abi): Update dependencies.
45013         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
45014         unused.
45015         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
45016         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
45017         subnormal range.
45018         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
45019         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
45020         value has largest subnormal exponent.
45021         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
45022         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
45023         * sysdeps/aarch64/soft-fp/sfp-machine.h
45024         (_FP_TININESS_AFTER_ROUNDING): New macro.
45025         * sysdeps/alpha/soft-fp/sfp-machine.h
45026         (_FP_TININESS_AFTER_ROUNDING): Likewise.
45027         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
45028         Likewise.
45029         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
45030         (_FP_TININESS_AFTER_ROUNDING): Likewise.
45031         * sysdeps/mips/soft-fp/sfp-machine.h
45032         (_FP_TININESS_AFTER_ROUNDING): Likewise.
45033         * sysdeps/powerpc/soft-fp/sfp-machine.h
45034         (_FP_TININESS_AFTER_ROUNDING): Likewise.
45035         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
45036         Likewise.
45037         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
45038         (_FP_TININESS_AFTER_ROUNDING): Likewise.
45039         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
45040         (_FP_TININESS_AFTER_ROUNDING): Likewise.
45041         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
45042         Likewise.
45044 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
45046         [BZ #16545]
45047         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
45048         model 1.
45050 2014-02-12  Richard Henderson  <rth@redhat.com>
45052         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
45053         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
45054         * sysdeps/unix/sysv/linux/alpha: Move directory from
45055         ports/sysdeps/unix/sysv/linux/alpha.
45056         * README: Update listing for alpha-*-linux-gnu.
45058 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
45060         * include/features.h: Update comment documenting feature test
45061         macros.
45062         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
45063         _DEFAULT_SOURCE.
45064         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
45065         (_SVID_SOURCE): Likewise.
45066         (_DEFAULT_SOURCE): Update description of default features.
45067         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
45068         with _GNU_SOURCE.
45069         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
45070         (S_ISVTX): Likewise.
45071         * manual/math.texi (Mathematical Constants): Likewise.
45072         * manual/signal.texi (Interrupted Primitives): Likewise.
45073         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
45074         * math/test-matherr.c (_SVID_SOURCE): Do not define.
45075         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
45076         Don't refer to _SVID_SOURCE in warning text.
45078         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45080         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
45081         already defined.
45082         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
45083         * sysdeps/mips/dl-lookup.c: Remove.
45084         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
45086 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
45088         [BZ #16447]
45089         * math/auto-libm-test-in: Add testcase for expl.
45090         * math/auto-libm-test-out: Regenerate.
45091         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
45092         calculation of unsafe.
45093         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
45095 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
45097         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
45098         * sysdeps/unix/sysv/linux/aarch64: Move directory from
45099         ports/sysdeps/unix/sysv/linux/aarch64.
45100         * README: Update listing for aarch64*-*-linux-gnu.
45102 2014-02-11  Will Newton  <will.newton@linaro.org>
45104         * manual/probes.texi (Mathematical Function Probes): Use
45105         "triggered" instead of "hit".
45107         * manual/probes.texi (Internal Probes): Add documentation
45108         of setjmp, longjmp and longjmp_target probes.
45110         * include/stap-probe.h: Add comment about probe argument
45111         format.
45113         * malloc/mtrace.c (attribute_hidden): Remove unused macro
45114         definition.  (tr_where, tr_freehook, tr_mallochook,
45115         tr_reallochook, tr_memalignhook): Use ANSI protoype.
45117 2014-02-11  David S. Miller  <davem@davemloft.net>
45119         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
45120         processing int_tests.
45122 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
45124         * sysdeps/mips: Move directory from ports/sysdeps/mips.
45125         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
45126         * sysdeps/unix/sysv/linux/mips: Move directory from
45127         ports/sysdeps/unix/sysv/linux/mips.
45128         * README: Update listing for mips-*-linux-gnu and
45129         mips64-*-linux-gnu.
45131 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
45133         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
45134         * sysdeps/unix/sysv/linux/m68k: Move directory from
45135         ports/sysdeps/unix/sysv/linux/m68k.
45136         * README: Update listing for m68k-*-linux-gnu.
45138 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
45140         * sysdeps/tile: Move directory from ports/sysdeps/tile.
45141         * sysdeps/unix/sysv/linux/generic: Move directory from
45142         ports/sysdeps/unix/sysv/linux/generic.
45143         * sysdeps/unix/sysv/linux/tile: Move directory from
45144         ports/sysdeps/unix/sysv/linux/tile.
45145         * README: Update listing for tile*-*-linux-gnu.
45147 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
45149         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
45150         __builtin_expect.
45151         * benchtests/bench-memmem.c (simple_memmem): Likewise.
45152         * catgets/open_catalog.c (__open_catalog): Likewise.
45153         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
45154         * debug/confstr_chk.c: Likewise.
45155         * debug/fread_chk.c (__fread_chk): Likewise.
45156         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
45157         * debug/getgroups_chk.c: Likewise.
45158         * debug/mbsnrtowcs_chk.c: Likewise.
45159         * debug/mbsrtowcs_chk.c: Likewise.
45160         * debug/mbstowcs_chk.c: Likewise.
45161         * debug/memcpy_chk.c: Likewise.
45162         * debug/memmove_chk.c: Likewise.
45163         * debug/mempcpy_chk.c: Likewise.
45164         * debug/memset_chk.c: Likewise.
45165         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
45166         * debug/strcat_chk.c (__strcat_chk): Likewise.
45167         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
45168         * debug/strncat_chk.c (__strncat_chk): Likewise.
45169         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
45170         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
45171         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
45172         * debug/wcpncpy_chk.c: Likewise.
45173         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
45174         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
45175         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
45176         * debug/wcsncpy_chk.c: Likewise.
45177         * debug/wcsnrtombs_chk.c: Likewise.
45178         * debug/wcsrtombs_chk.c: Likewise.
45179         * debug/wcstombs_chk.c: Likewise.
45180         * debug/wmemcpy_chk.c: Likewise.
45181         * debug/wmemmove_chk.c: Likewise.
45182         * debug/wmempcpy_chk.c: Likewise.
45183         * debug/wmemset_chk.c: Likewise.
45184         * dirent/scandirat.c (SCANDIRAT): Likewise.
45185         * dlfcn/dladdr1.c (dladdr1): Likewise.
45186         * dlfcn/dladdr.c (dladdr): Likewise.
45187         * dlfcn/dlclose.c (dlclose_doit): Likewise.
45188         * dlfcn/dlerror.c (__dlerror): Likewise.
45189         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
45190         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
45191         * dlfcn/dlopen.c (dlopen_doit): Likewise.
45192         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
45193         * dlfcn/dlsym.c (dlsym_doit): Likewise.
45194         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
45195         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
45196         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
45197         Likewise.
45198         * elf/dl-conflict.c: Likewise.
45199         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
45200         * elf/dl-dst.h: Likewise.
45201         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
45202         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
45203         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
45204         * elf/dl-init.c (call_init, _dl_init): Likewise.
45205         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
45206         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
45207         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
45208         Likewise.
45209         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
45210         Likewise.
45211         * elf/dl-minimal.c (__libc_memalign): Likewise.
45212         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
45213         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
45214         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
45215         * elf/dl-sym.c (do_sym): Likewise.
45216         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
45217         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
45218         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
45219         * elf/dl-writev.h (_dl_writev): Likewise.
45220         * elf/ldconfig.c (search_dir): Likewise.
45221         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
45222         (dl_main): Likewise.
45223         * elf/setup-vdso.h (setup_vdso): Likewise.
45224         * grp/compat-initgroups.c (compat_call): Likewise.
45225         * grp/fgetgrent.c (fgetgrent): Likewise.
45226         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
45227         * grp/putgrent.c (putgrent): Likewise.
45228         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
45229         Likewise.
45230         * hurd/hurdinit.c: Likewise.
45231         * iconvdata/8bit-gap.c (struct): Likewise.
45232         * iconvdata/ansi_x3.110.c : Likewise.
45233         * iconvdata/big5.c : Likewise.
45234         * iconvdata/big5hkscs.c : Likewise.
45235         * iconvdata/cp1255.c: Likewise.
45236         * iconvdata/cp1258.c : Likewise.
45237         * iconvdata/cp932.c : Likewise.
45238         * iconvdata/euc-cn.c: Likewise.
45239         * iconvdata/euc-jisx0213.c : Likewise.
45240         * iconvdata/euc-jp.c: Likewise.
45241         * iconvdata/euc-jp-ms.c : Likewise.
45242         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
45243         * iconvdata/gb18030.c : Likewise.
45244         * iconvdata/gbbig5.c (const): Likewise.
45245         * iconvdata/gbgbk.c: Likewise.
45246         * iconvdata/gbk.c : Likewise.
45247         * iconvdata/ibm1364.c : Likewise.
45248         * iconvdata/ibm930.c : Likewise.
45249         * iconvdata/ibm932.c: Likewise.
45250         * iconvdata/ibm933.c : Likewise.
45251         * iconvdata/ibm935.c : Likewise.
45252         * iconvdata/ibm937.c : Likewise.
45253         * iconvdata/ibm939.c : Likewise.
45254         * iconvdata/ibm943.c: Likewise.
45255         * iconvdata/iso_11548-1.c: Likewise.
45256         * iconvdata/iso-2022-cn.c : Likewise.
45257         * iconvdata/iso-2022-cn-ext.c : Likewise.
45258         * iconvdata/iso-2022-jp-3.c: Likewise.
45259         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
45260         * iconvdata/iso-2022-kr.c : Likewise.
45261         * iconvdata/iso646.c (gconv_end): Likewise.
45262         * iconvdata/iso_6937-2.c : Likewise.
45263         * iconvdata/iso_6937.c : Likewise.
45264         * iconvdata/iso8859-1.c: Likewise.
45265         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
45266         * iconvdata/shift_jisx0213.c : Likewise.
45267         * iconvdata/sjis.c : Likewise.
45268         * iconvdata/t.61.c : Likewise.
45269         * iconvdata/tcvn5712-1.c : Likewise.
45270         * iconvdata/tscii.c: Likewise.
45271         * iconvdata/uhc.c : Likewise.
45272         * iconvdata/unicode.c (gconv_end): Likewise.
45273         * iconvdata/utf-16.c (gconv_end): Likewise.
45274         * iconvdata/utf-32.c (gconv_end): Likewise.
45275         * iconvdata/utf-7.c (base64): Likewise.
45276         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
45277         * iconv/gconv_close.c (__gconv_close): Likewise.
45278         * iconv/gconv_open.c (__gconv_open): Likewise.
45279         * iconv/gconv_simple.c (internal_ucs4_loop_single)
45280         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
45281         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
45282         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
45283         (ucs4le_internal_loop_single): Likewise.
45284         * iconv/iconv.c (iconv): Likewise.
45285         * iconv/iconv_close.c: Likewise.
45286         * iconv/loop.c (SINGLE): Likewise.
45287         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
45288         * include/atomic.h: Likewise.
45289         * inet/inet6_option.c (option_alloc): Likewise.
45290         * intl/bindtextdom.c (set_binding_values): Likewise.
45291         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
45292         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
45293         * intl/localealias.c (read_alias_file): Likewise.
45294         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
45295         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
45296         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
45297         * libio/fmemopen.c (fmemopen): Likewise.
45298         * libio/iofgets.c (_IO_fgets): Likewise.
45299         * libio/iofgets_u.c (fgets_unlocked): Likewise.
45300         * libio/iofgetws.c (fgetws): Likewise.
45301         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
45302         * libio/iogetdelim.c (_IO_getdelim): Likewise.
45303         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
45304         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
45305         * locale/findlocale.c (_nl_find_locale): Likewise.
45306         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
45307         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
45308         Likewise.
45309         * locale/setlocale.c (setlocale): Likewise.
45310         * login/programs/pt_chown.c (main): Likewise.
45311         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
45312         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
45313         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
45314         (mmap, mmap64, mremap, munmap): Likewise.
45315         * math/e_exp2l.c: Likewise.
45316         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
45317         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
45318         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
45319         * math/s_catan.c (__catan): Likewise.
45320         * math/s_catanf.c (__catanf): Likewise.
45321         * math/s_catanh.c (__catanh): Likewise.
45322         * math/s_catanhf.c (__catanhf): Likewise.
45323         * math/s_catanhl.c (__catanhl): Likewise.
45324         * math/s_catanl.c (__catanl): Likewise.
45325         * math/s_ccosh.c (__ccosh): Likewise.
45326         * math/s_ccoshf.c (__ccoshf): Likewise.
45327         * math/s_ccoshl.c (__ccoshl): Likewise.
45328         * math/s_cexp.c (__cexp): Likewise.
45329         * math/s_cexpf.c (__cexpf): Likewise.
45330         * math/s_cexpl.c (__cexpl): Likewise.
45331         * math/s_clog10.c (__clog10): Likewise.
45332         * math/s_clog10f.c (__clog10f): Likewise.
45333         * math/s_clog10l.c (__clog10l): Likewise.
45334         * math/s_clog.c (__clog): Likewise.
45335         * math/s_clogf.c (__clogf): Likewise.
45336         * math/s_clogl.c (__clogl): Likewise.
45337         * math/s_csin.c (__csin): Likewise.
45338         * math/s_csinf.c (__csinf): Likewise.
45339         * math/s_csinh.c (__csinh): Likewise.
45340         * math/s_csinhf.c (__csinhf): Likewise.
45341         * math/s_csinhl.c (__csinhl): Likewise.
45342         * math/s_csinl.c (__csinl): Likewise.
45343         * math/s_csqrt.c (__csqrt): Likewise.
45344         * math/s_csqrtf.c (__csqrtf): Likewise.
45345         * math/s_csqrtl.c (__csqrtl): Likewise.
45346         * math/s_ctan.c (__ctan): Likewise.
45347         * math/s_ctanf.c (__ctanf): Likewise.
45348         * math/s_ctanh.c (__ctanh): Likewise.
45349         * math/s_ctanhf.c (__ctanhf): Likewise.
45350         * math/s_ctanhl.c (__ctanhl): Likewise.
45351         * math/s_ctanl.c (__ctanl): Likewise.
45352         * math/w_pow.c: Likewise.
45353         * math/w_powf.c: Likewise.
45354         * math/w_powl.c: Likewise.
45355         * math/w_scalb.c (sysv_scalb): Likewise.
45356         * math/w_scalbf.c (sysv_scalbf): Likewise.
45357         * math/w_scalbl.c (sysv_scalbl): Likewise.
45358         * misc/error.c (error_tail): Likewise.
45359         * misc/pselect.c (__pselect): Likewise.
45360         * nis/nis_callback.c (__nis_create_callback): Likewise.
45361         * nis/nis_call.c (__nisfind_server): Likewise.
45362         * nis/nis_creategroup.c (nis_creategroup): Likewise.
45363         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
45364         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
45365         * nis/nis_getservlist.c (nis_getservlist): Likewise.
45366         * nis/nis_lookup.c (nis_lookup): Likewise.
45367         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
45368         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
45369         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
45370         * nis/nis_xdr.c (xdr_endpoint): Likewise.
45371         * nis/nss_compat/compat-grp.c (getgrent_next_file)
45372         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
45373         * nis/nss_compat/compat-initgroups.c (add_group)
45374         (internal_getgrent_r): Likewise.
45375         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
45376         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
45377         * nis/nss_compat/compat-spwd.c (getspent_next_file)
45378         (internal_getspnam_r): Likewise.
45379         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
45380         (_nss_nis_getaliasbyname_r): Likewise.
45381         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
45382         (_nss_nis_getntohost_r): Likewise.
45383         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
45384         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
45385         (_nss_nis_getgrgid_r): Likewise.
45386         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
45387         (internal_nis_gethostent_r, internal_gethostbyname2_r)
45388         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
45389         (_nss_nis_gethostbyname4_r): Likewise.
45390         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
45391         (initgroups_netid): Likewise.
45392         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
45393         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
45394         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
45395         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
45396         (_nss_nis_getprotobynumber_r): Likewise.
45397         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
45398         (_nss_nis_getsecretkey): Likewise.
45399         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
45400         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
45401         (_nss_nis_getpwuid_r): Likewise.
45402         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
45403         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
45404         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
45405         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
45406         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
45407         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
45408         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
45409         Likewise.
45410         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
45411         (_nss_nisplus_getntohost_r): Likewise.
45412         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
45413         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
45414         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
45415         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
45416         Likewise.
45417         * nis/nss_nisplus/nisplus-initgroups.c
45418         (_nss_nisplus_initgroups_dyn): Likewise.
45419         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
45420         (_nss_nisplus_getnetbyaddr_r): Likewise.
45421         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
45422         (_nss_nisplus_getprotobynumber_r): Likewise.
45423         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
45424         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
45425         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
45426         Likewise.
45427         * nis/nss_nisplus/nisplus-service.c
45428         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
45429         (_nss_nisplus_getservbyport_r): Likewise.
45430         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
45431         (_nss_nisplus_getspnam_r): Likewise.
45432         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
45433         Likewise.
45434         * nscd/aicache.c (addhstaiX): Likewise.
45435         * nscd/cache.c (cache_search, prune_cache): Likewise.
45436         * nscd/connections.c (register_traced_file, send_ro_fd)
45437         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
45438         (main_loop_epoll): Likewise.
45439         * nscd/grpcache.c (addgrbyX): Likewise.
45440         * nscd/hstcache.c (addhstbyX): Likewise.
45441         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45442         * nscd/mem.c (gc, mempool_alloc): Likewise.
45443         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
45444         (addinnetgrX): Likewise.
45445         * nscd/nscd-client.h (__nscd_acquire_maplock)
45446         (__nscd_drop_map_ref): Likewise.
45447         * nscd/nscd_getai.c (__nscd_getai): Likewise.
45448         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
45449         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
45450         Likewise.
45451         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
45452         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45453         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
45454         (__nscd_get_map_ref): Likewise.
45455         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
45456         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
45457         Likewise.
45458         * nscd/pwdcache.c (addpwbyX): Likewise.
45459         * nscd/selinux.c (preserve_capabilities): Likewise.
45460         * nscd/servicescache.c (addservbyX): Likewise.
45461         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
45462         * posix/fnmatch.c (fnmatch): Likewise.
45463         * posix/getopt.c (_getopt_internal_r): Likewise.
45464         * posix/glob.c (glob, glob_in_dir): Likewise.
45465         * posix/wordexp.c (exec_comm_child): Likewise.
45466         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
45467         (getanswer_r, gaih_getanswer_slice): Likewise.
45468         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
45469         * resolv/res_init.c: Likewise.
45470         * resolv/res_mkquery.c (res_nmkquery): Likewise.
45471         * resolv/res_query.c (__libc_res_nquery): Likewise.
45472         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
45473         Likewise.
45474         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
45475         * stdio-common/perror.c (perror): Likewise.
45476         * stdio-common/printf_fp.c (___printf_fp): Likewise.
45477         * stdio-common/tmpnam.c (tmpnam): Likewise.
45478         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
45479         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
45480         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
45481         Likewise.
45482         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
45483         * stdlib/putenv.c (putenv): Likewise.
45484         * stdlib/setenv.c (__add_to_environ): Likewise.
45485         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
45486         * stdlib/strtol_l.c (INTERNAL): Likewise.
45487         * string/memmem.c (memmem): Likewise.
45488         * string/strerror.c (strerror): Likewise.
45489         * string/strnlen.c (__strnlen): Likewise.
45490         * string/test-memmem.c (simple_memmem): Likewise.
45491         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
45492         * sunrpc/pm_getport.c (__get_socket): Likewise.
45493         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
45494         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
45495         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
45496         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
45497         Likewise.
45498         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
45499         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
45500         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
45501         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
45502         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
45503         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
45504         Likewise.
45505         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
45506         Likewise.
45507         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
45508         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
45509         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
45510         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
45511         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
45512         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
45513         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
45514         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
45515         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
45516         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
45517         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
45518         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
45519         Likewise.
45520         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
45521         Likewise.
45522         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
45523         Likewise.
45524         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
45525         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
45526         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
45527         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
45528         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
45529         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
45530         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
45531         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
45532         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
45533         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
45534         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
45535         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45536         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
45537         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
45538         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45539         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
45540         Likewise.
45541         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
45542         Likewise.
45543         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
45544         Likewise.
45545         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
45546         Likewise.
45547         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
45548         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45549         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
45550         Likewise.
45551         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
45552         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
45553         * sysdeps/posix/opendir.c (__opendirat): Likewise.
45554         * sysdeps/posix/sleep.c: Likewise.
45555         * sysdeps/posix/tempname.c: Likewise.
45556         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
45557         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
45558         Likewise.
45559         * sysdeps/powerpc/powerpc32/dl-machine.h
45560         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
45561         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
45562         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
45563         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
45564         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
45565         Likewise.
45566         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
45567         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
45568         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
45569         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
45570         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
45571         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
45572         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
45573         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
45574         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45575         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
45576         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
45577         (elf_machine_lazy_rel): Likewise.
45578         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45579         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
45580         (elf_machine_lazy_rel): Likewise.
45581         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
45582         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
45583         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
45584         * sysdeps/unix/grantpt.c (grantpt): Likewise.
45585         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
45586         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
45587         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
45588         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45589         Likewise.
45590         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
45591         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
45592         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
45593         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
45594         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
45595         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
45596         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
45597         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
45598         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
45599         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
45600         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
45601         Likewise.
45602         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
45603         (__posix_fallocate64_l64): Likewise.
45604         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
45605         (posix_fallocate): Likewise.
45606         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
45607         Likewise.
45608         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45609         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
45610         (getifaddrs_internal): Likewise.
45611         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
45612         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
45613         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
45614         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
45615         * sysdeps/unix/sysv/linux/posix_fallocate64.c
45616         (__posix_fallocate64_l64): Likewise.
45617         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
45618         Likewise.
45619         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
45620         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
45621         (__get_clockfreq): Likewise.
45622         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
45623         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
45624         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
45625         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45626         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45627         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
45628         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
45629         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
45630         Likewise.
45631         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
45632         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
45633         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
45634         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
45635         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
45636         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
45637         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
45638         Likewise.
45639         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
45640         (posix_fallocate): Likewise.
45641         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45642         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
45643         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
45644         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
45645         (elf_machine_rela, elf_machine_rela_relative)
45646         (elf_machine_lazy_rel): Likewise.
45647         * time/asctime.c (asctime_internal): Likewise.
45648         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
45649         * time/tzset.c (__tzset_parse_tz): Likewise.
45650         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
45651         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
45652         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
45653         * wcsmbs/wcsmbsload.h: Likewise.
45655         [BZ #15894]
45656         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
45658         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
45659         (arena_get2): Remove THREAD_STATS conditionals.
45660         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
45661         (__malloc_stats, int): Likewise.
45663 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
45665         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
45666         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
45668         * manual/setjmp.texi: Fix typos/grammar errors.
45670         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
45671         Only return early when n is <= 0.  Delete unused return statement.
45673         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
45674         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
45675         * debug/tst-longjmp_chk3.c: New file.
45677         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
45678         (test_main): Replace code with set_fortify_handler call.
45679         * debug/test-strcpy_chk.c: Likewise.
45680         * debug/tst-chk1.c: Likewise.
45681         * debug/tst-longjmp_chk.c: Likewise.
45682         * test-skeleton.c: Include fcntl.h & paths.h
45683         (set_fortify_handler): Define.
45685         * debug/tst-longjmp_chk.c: Add header comment and include
45686         ../test-skeleton.c.
45687         (do_test): Mark static.
45688         (TEST_FUNCTION): Define.
45690         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
45691         (IP_PMTUDISC_INTERFACE): Likewise.
45692         (IP_MULTICAST_IF): Likewise.
45693         (IP_MULTICAST_TTL): Likewise.
45694         (IP_MULTICAST_LOOP): Likewise.
45695         (IP_ADD_MEMBERSHIP): Likewise.
45696         (IP_DROP_MEMBERSHIP): Likewise.
45697         (IP_UNBLOCK_SOURCE): Likewise.
45698         (IP_BLOCK_SOURCE): Likewise.
45699         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
45700         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
45701         (IP_MSFILTER): Likewise.
45702         (MCAST_JOIN_GROUP): Likewise.
45703         (MCAST_BLOCK_SOURCE): Likewise.
45704         (MCAST_UNBLOCK_SOURCE): Likewise.
45705         (MCAST_LEAVE_GROUP): Likewise.
45706         (MCAST_JOIN_SOURCE_GROUP): Likewise.
45707         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
45708         (MCAST_MSFILTER): Likewise.
45709         (IP_MULTICAST_ALL): Likewise.
45710         (IP_UNICAST_IF): Likewise.
45712         * timezone/Makefile: Delete $(have-ksh) check.
45713         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
45714         * timezone/tzselect.ksh: Add +x mode bits.
45716         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
45717         (ANON_INODE_FS_MAGIC): Likewise.
45718         (BDEVFS_MAGIC): Likewise.
45719         (BINFMTFS_MAGIC): Likewise.
45720         (BTRFS_TEST_MAGIC): Likewise.
45721         (CRAMFS_MAGIC_WEND): Likewise.
45722         (DEBUGFS_MAGIC): Likewise.
45723         (ECRYPTFS_SUPER_MAGIC): Likewise.
45724         (EXT3_SUPER_MAGIC): Likewise.
45725         (EXT4_SUPER_MAGIC): Likewise.
45726         (FUTEXFS_SUPER_MAGIC): Likewise.
45727         (HOSTFS_SUPER_MAGIC): Likewise.
45728         (HUGETLBFS_MAGIC): Likewise.
45729         (MINIX3_SUPER_MAGIC): Likewise.
45730         (MTD_INODE_FS_MAGIC): Likewise.
45731         (NILFS_SUPER_MAGIC): Likewise.
45732         (OPENPROM_SUPER_MAGIC): Likewise.
45733         (PIPEFS_MAGIC): Likewise.
45734         (PSTOREFS_MAGIC): Likewise.
45735         (QNX6_SUPER_MAGIC): Likewise.
45736         (RAMFS_MAGIC): Likewise.
45737         (REISERFS_SUPER_MAGIC_STRING): Likewise.
45738         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
45739         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
45740         (SECURITYFS_MAGIC): Likewise.
45741         (SELINUX_MAGIC): Likewise.
45742         (SMACK_MAGIC): Likewise.
45743         (SOCKFS_MAGIC): Likewise.
45744         (SQUASHFS_MAGIC): Likewise.
45745         (STACK_END_MAGIC): Likewise.
45746         (TMPFS_MAGIC): Likewise.
45747         (USBDEVICE_SUPER_MAGIC): Likewise.
45748         (V9FS_MAGIC): Likewise.
45749         (XENFS_SUPER_MAGIC): Likewise.
45750         (CRAMFS_MAGIC): Fix typo in comment.
45751         (EXT2_SUPER_MAGIC): Update comment.
45752         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
45754 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
45756         * sysdeps/arm: Move directory from ports/sysdeps/arm.
45757         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
45758         * sysdeps/unix/sysv/linux/arm: Move directory from
45759         ports/sysdeps/unix/sysv/linux/arm.
45760         * README: Update listing for arm-*-linux-gnueabi.
45762         * README: Remove mention of am33.
45764 2014-02-07  Roland McGrath  <roland@hack.frob.com>
45766         * bits/sigset.h (__sigemptyset): Use a statement expression rather
45767         than the comma operator, to avoid "rhs of comma has no effect"
45768         compiler warnings.
45769         (__sigfillset, __sigandset, __sigorset): Likewise.
45770         * include/signal.h (__sigemptyset): Likewise.
45771         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
45773 2014-02-07  Allan McRae  <allan@archlinux.org>
45775         * version.h (RELEASE): Set to "development".
45776         (VERSION): Set to "2.19.90"
45777         * NEWS: Add 2.20 section.
45779 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
45781         [BZ #16529]
45782         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
45784 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
45786         * manual/contrib.texi: Update entry for Carlos O'Donell,
45787         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
45789 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
45791         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
45793         * sysdeps/unix/sysv/linux/kernel-features.h
45794         [__LINUX_KERNEL_VERSION >= 0x020621]
45795         (__ASSUME_PROC_PID_TASK_COMM): Define.
45797 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45799         [BZ #16398]
45800         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
45801         conversion when destination buffer does not have enough space.
45802         * libio/tst-ftell-partial-wide.c: New test case.
45803         * libio/Makefile (tests): Add tst-ftell-partial-wide.
45805         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
45806         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
45807         Leonard and Allan McRae.
45809 2014-02-04  David S. Miller  <davem@davemloft.net>
45811         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
45812         32-bit.
45814 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
45817         New file
45818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
45819         New file
45820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
45821         New file.
45822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
45823         New file.
45824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
45825         New file.
45826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
45827         New file.
45828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
45829         New file.
45830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
45831         New file.
45832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
45833         New file.
45834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
45835         New file.
45836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
45837         New file.
45838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
45839         New file.
45840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
45841         New file.
45843 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45845         * nptl/shlib-versions: Change powerpc*le start to 2.17.
45846         * shlib-versions: Likewise.
45848 2014-02-04  Roland McGrath  <roland@hack.frob.com>
45849             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45851         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
45852         (abilist-pattern): New variable, set to %-le.abilist.
45854         * Makerules (abilist-pattern): New variable.
45855         (vpath): Use $(abilist-pattern) in place of %.abilist.
45856         (check-abi-% pattern rule): Likewise.
45857         (check-abi, update-abi): Likewise.
45859 2014-02-04  Eric Wong  <normalperson@yhbt.net>
45861         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45863 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
45865         * manual/startup.texi: Add next, previous, and top entries for
45866         the `Program Arguments' and `Environment Variables' nodes.
45868 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
45870         * manual/macros.texi: Add comments before MTASC-safety macros.
45872         * manual/users.texi: Document MTASC-safety properties.
45874         * manual/threads.texi (pthread_key_create, pthread_key_delete)
45875         (pthread_getspecific, pthread_setspecific): Format with
45876         @deftypefun, and add @safety note.
45877         * manual/signal.texi: Move comments that analyze the above
45878         functions to their home place.
45880 2014-02-03  Allan McRae  <allan@archlinux.org>
45882         * po/sl.po: Update Slovenian translation from translation project.
45884 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
45886         * manual/time.texi (timegm): Add missing blank after @c.
45887         Reported by Joseph Myers <joseph@codesourcery.com>.
45889 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
45891         * manual/check-safety.sh: New.
45892         * manual/Makefile ($(objpfx)stamp-summary): Run it.
45894         * manual/terminal.texi: Document MTASC-safety properties.
45896         * manual/filesys.texi: Document MTASC-safety properties.
45898         * manual/errno.texi: Document MTASC-safety properties.
45900         * manual/intro.texi: Document safety identifiers and
45901         conditionals.
45903         * manual/string.texi (wcstok): Fix prototype.
45904         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
45906         * manual/time.texi: Document MTASC-safety properties.
45908         * manual/string.texi: Document MTASC-safety properties.
45910         * manual/threads.texi: Document MTASC-safety properties.
45912         * manual/stdio.texi: Document MTASC-safety properties.
45914         * manual/syslog.texi: Document MTASC-safety properties.
45916         * manual/sysinfo.texi: Document MTASC-safety properties.
45918         * manual/startup.texi: Document MTASC-safety properties.
45920         * manual/socket.texi: Document MTASC-safety properties.
45922         * manual/signal.texi: Document MTASC-safety properties.
45924 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
45926         * manual/setjmp.texi: Document MTASC-safety properties.
45928         * manual/search.texi: Document MTASC-safety properties.
45930         * manual/resource.texi: Document MTASC-safety properties.
45932         * manual/process.texi: Document MTASC-safety properties.
45934         * manual/platform.texi: Document MTASC-safety properties.
45936         * manual/pipe.texi: Document MTASC-safety properties.
45938         * manual/pattern.texi: Document MTASC-safety properties.
45940         * manual/message.texi: Document MTASC-safety properties.
45942         [BZ #12751]
45943         * manual/memory.texi: Document MTASC-safety properties.
45945         * manual/math.texi: Document MTASC-safety properties.
45947         * manual/locale.texi: Document MTASC-safety properties.
45949         * manual/llio.texi: Document MTASC-safety properties.
45951         * manual/libdl.texi: New.
45953         * manual/lang.texi: Document MTASC-safety properties.
45955         * manual/job.texi: Document MTASC-safety properties.
45957         * manual/getopt.texi: Document MTASC-safety properties.
45959         * manual/ctype.texi: Document MTASC-safety properties.
45961 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
45963         [BZ #16046]
45964         * csu/libc-tls.c (static_map): Remove variable.
45965         (__libc_setup_tls): Use main executable's link map for TLS data.
45966         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
45967         casing for LM_ID_BASE and GL(dl_nns).
45968         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
45969         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
45970         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
45971         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
45972         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
45973         member.
45974         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
45975         l_phnum members.
45977 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
45979         * manual/debug.texi: Document MTASC-safety properties.
45981 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
45983         [BZ #16510]
45984         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
45985         of __x86_64__ when disabling x87 inline functions.
45987 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
45989         * manual/charset.texi: Document MTASC-safety properties.
45991         * manual/crypt.texi: Document MTASC-safety properties.
45993         * manual/conf.texi: Document MTASC-safety properties.
45995         * manual/arith.texi: Document MTASC-safety properties.
45997         * manual/argp.texi: Document MTASC-safety properties.
45999         * manual/macros.texi: Introduce macros to document multi
46000         thread, asynchronous signal and asynchronous cancellation
46001         safety properties.
46002         * manual/intro.texi: Introduce the properties themselves.
46004 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46006         * sysdeps/sh/sh4/Makefile: New file.
46008 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
46010         * math/gen-libm-test.pl ($srcdir): New variable.
46011         ($auto_input): Use it.
46013 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46015         [BZ #16506]
46016         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
46017         access beyond array bounds when parsing netgroups file.
46019         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
46020         the old buffer before realloc.
46022 2014-01-27  Allan McRae  <allan@archlinux.org>
46024         * po/fr.po: Update French translation from translation project.
46026 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46028         * sysdeps/sh/libm-test-ulps: Regenerate.
46030 2014-01-24  David S. Miller  <davem@davemloft.net>
46032         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
46034 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46036         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
46037         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
46039 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
46041         [BZ #16474]
46042         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
46043         string pointers after reallocation.
46045 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46047         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
46048         __SH4A__ instead of __SH_FPU_ANY__.
46050 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46052         * sysdeps/sh/fpu_control.h: New file.
46053         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
46054         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
46055         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
46056         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
46057         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
46058         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
46059         * sysdeps/sh/sys/ucontext.h: Remove.
46060         * sysdeps/sh/sys: Remove directory.
46062 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46064         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
46065         s390/sys/ucontext.h.
46066         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
46067         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
46069 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
46071         [BZ #15605]
46072         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
46074 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46076         [BZ#16431]
46077         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
46078         Adjust the vDSO correctly for internal calls.
46079         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
46081 2014-01-20  Allan McRae  <allan@archlinux.org>
46083         * po/ca.po: Update Catalan translation from translation project.
46085 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
46087         * sysdeps/s390/sotruss-lib.c: New file.
46089 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46091         [BZ#16430]
46092         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
46093         (__GI___gettimeofday): Alias for a different internal symbol to avoid
46094         local calls issues by not having a PLT stub required for IFUNC calls.
46095         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
46097 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
46099         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
46100         * math/test-fpucw-static.c: Likewise.
46102 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46104         [BZ #16453]
46105         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
46107 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46109         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
46110         implementation for powerpc.
46112 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
46114         [BZ #14782]
46115         * sysdeps/posix/system.c (__libc_system): Do not enable
46116         asynchronous cancellation.
46118 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46120         [BZ #16427]
46121         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
46122         handling only for numbers special also in the IEEE case.
46124 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46126         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
46128 2014-01-11  Allan McRae  <allan@archlinux.org>
46130         * po/bg.po: Update Bulgarian translation from translation project.
46132         * po/de.po: Update German translation from translation project.
46134 2014-01-10  Roland McGrath  <roland@hack.frob.com>
46136         * sysdeps/generic/gcc-compat.h: New file.
46138 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46140         * benchtests/asin-inputs: Correct slow inputs.
46141         * benchtests/acos-inputs: Likewise.
46143 2014-01-10  Allan McRae  <allan@archlinux.org>
46145         * po:sv.po: Update Swedish translation from translation project.
46147         * po/vi.po: Update Vietnamese translation from translation project.
46149         * po/eo.po: Update Esperanto translation from translation project.
46151         * po/cs.po: Update Czech translation from translation project.
46153         * po/nl.po: Update Dutch translation from translation project.
46155         * po/pl.po: Update Polish translation from translation project.
46157         * po/ru.po: Update Russian translation from translation project.
46159         * po/uk.po: Update Ukrainian translation from translation project.
46161 2014-01-08  Brooks Moses  <bmoses@google.com>
46163         * elf/dl-load.c: Fix comment typo.
46165 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
46167         * po/header.pot: Rename to...
46168         * po/pot.header: ... this.
46169         * po/Makefile: Use pot.header.
46171 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
46172             Maxim Kuvyrkov  <maxim@kugelworks.com>
46174         [BZ #16394]
46175         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
46176         SRC and DEST against LEN.
46178 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46180         [BZ #16414]
46181         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
46182         implementation.
46183         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
46185 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46187         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46189 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
46191         [BZ #16408]
46192         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
46193         for large positive arguments.
46195 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
46197         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
46199         * math/auto-libm-test-in: Mark various tests with
46200         xfail-rounding:ldbl-128ibm.
46201         * math/auto-libm-test-out: Regenerated.
46203         [BZ #16407]
46204         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
46205         Increase overflow threshold.
46207 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
46209         [BZ #14286]
46210         * stdio-common/vfprintf.c: Check for integer overflow.
46212 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46214         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
46215         the first argument and return value of __tls_get_addr_internal.
46217 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46219         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
46220         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
46222 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46224         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
46225         * sysdeps/s390/rtld-global-offsets.sym: New file.
46226         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
46227         GLIBC_2.19 symbol.
46228         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
46229         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
46230         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
46231         ... this.
46232         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
46233         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
46234         ... this.
46235         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
46236         Regenerate.
46237         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
46238         Regenerate.
46239         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
46240         halfs of GPRs for high_gprs contexts.
46241         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
46242         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
46243         field.
46244         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
46245         uc_flags field.
46246         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
46247         64 bit versions:
46248         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
46249         for high GPRs (uc_high_gprs) and for future extensions
46250         (__reserved).
46251         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
46252         for future extensions (__reserved).
46253         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
46254         64 bit versions:
46255         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
46256         SC_HIGHGPRS offset definition.
46257         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
46258         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
46260         * Versions.def: Add GLIBC_2.19 for libpthread.
46261         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
46262         siglongjmp for libpthread with GLIBC_2.19 symver.
46263         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
46264         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
46265         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
46266         * sysdeps/s390/__longjmp.c: New file.
46267         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
46268         * sysdeps/s390/longjmp.c: New file.
46269         * sysdeps/s390/setjmp.S: New file.
46270         * sysdeps/s390/sigjmp.S: New file.
46271         * sysdeps/s390/v1-longjmp.c: New file.
46272         * sysdeps/s390/v1-setjmp.h: New file.
46273         * sysdeps/s390/v1-sigjmp.c: New file.
46274         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
46275         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
46276         GLIBC_2.19 version.
46277         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
46278         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
46279         versioned symbols for ____longjmp_chk.
46280         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
46281         Likewise.
46282         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
46283         Regenerate.
46284         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46285         Regenerate.
46286         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
46287         Regenerate.
46288         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46289         Regenerate.
46290         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
46291         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
46292         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
46293         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
46294         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
46295         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
46296         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
46297         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
46298         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
46299         * sysdeps/s390/rtld-__longjmp.c: New file.
46300         * sysdeps/s390/rtld-setjmp.S: New file.
46302 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
46304         [BZ #16400]
46305         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
46306         Return -__logl (x) for small positive arguments without evaluating
46307         a polynomial.
46309 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
46311         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
46312         Rename to ...
46313         (__ptrace_peeksiginfo_args): ... this.
46314         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46315         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46316         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46318 2014-01-06  Allan McRae  <allan@archlinux.org>
46320         * inet/netinet/in.h: Fix typo in comment.
46322 2014-01-05  Andreas Jaeger  <aj@suse.de>
46324         * sysdeps/i386/fpu/libm-test-ulps: Update.
46326 2014-01-05  Allan McRae  <allan@archlinux.org>
46328         * po/libc.pot: Regenerated.
46330         * malloc/memusagestat.c: Fix gettext call formatting.
46332 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
46334         * nscd/nscd.c: Improve usage() output.
46336 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
46338         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
46339         * sysdeps/unix/sysv/linux/configure: Regenerated.
46340         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
46341         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
46343 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
46345         [BZ #16390]
46346         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
46347         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
46349 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46351         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
46352         extra tokens at end of #undef directive.
46353         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
46354         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
46355         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
46357 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
46359         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
46361         * math/auto-libm-test-in: Mark various tests with
46362         xfail-rounding:ldbl-128ibm.
46363         * math/auto-libm-test-out: Regenerated.
46365 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
46367         [BZ #16386]
46368         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
46369         numbers with subnormal high part when calculating exponent.
46371         [BZ #16385]
46372         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
46373         fabs.
46375         [BZ #16384]
46376         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
46377         M_LN2l.
46378         (__ieee754_acoshl): Use __log1pl not __log1p.
46380 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
46382         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
46383         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
46384         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
46385         (grow_heap, heap_trim, _int_new_arena, get_free_list)
46386         (reused_arena, arena_get2): Convert to GNU style.
46387         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
46388         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
46389         (memalign_check, __malloc_set_state): Likewise.
46390         * malloc/mallocbug.c (main): Likewise.
46391         * malloc/malloc.c (__malloc_assert, malloc_init_state)
46392         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
46393         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
46394         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
46395         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
46396         (__posix_memalign, malloc_info): Likewise.
46397         * malloc/malloc.h: Likewise.
46398         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
46399         (mallochook, memalignhook, reallochook, mabort): Likewise.
46400         * malloc/mcheck.h: Likewise.
46401         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
46402         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
46403         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
46404         * malloc/morecore.c (__default_morecore): Likewise.
46405         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
46406         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
46407         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
46408         (print_and_abort): Likewise.
46409         * malloc/obstack.h: Likewise.
46410         * malloc/set-freeres.c (__libc_freeres): Likewise.
46411         * malloc/tst-mallocstate.c (main): Likewise.
46412         * malloc/tst-mtrace.c (main): Likewise.
46413         * malloc/tst-realloc.c (do_test): Likewise.
46415 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46417         [BZ #16366]
46418         * nscd/netgroupcache.c (do_notfound): New function.
46419         (addgetnetgrentX): Use it.
46421         [BZ # 16365]
46422         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
46423         NSS_STATUS_NOTFOUND.
46425 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
46427         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
46428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46430 2014-01-01  Allan McRae  <allan@archlinux.org>
46432         * scripts/update-copyrights: Update configure input file suffix.
46434         * NEWS: Update copyright year.
46435         * catgets/gencat.c: Likewise.
46436         * csu/version.c: Likewise.
46437         * debug/catchsegv.sh: Likewise.
46438         * debug/pcprofiledump.c: Likewise.
46439         * debug/xtrace.sh: Likewise.
46440         * elf/ldconfig.c: Likewise.
46441         * elf/ldd.bash.in: Likewise.
46442         * elf/pldd.c: Likewise.
46443         * elf/sotruss.ksh: Likewise.
46444         * elf/sprof.c: Likewise.
46445         * iconv/iconv_prog.c: Likewise.
46446         * iconv/iconvconfig.c: Likewise.
46447         * locale/programs/locale.c: Likewise.
46448         * locale/programs/localedef.c: Likewise.
46449         * login/programs/pt_chown.c: Likewise.
46450         * malloc/memusage.sh: Likewise.
46451         * malloc/memusagestat.c: Likewise.
46452         * malloc/mtrace.pl: Likewise.
46453         * manual/libc.texinfo: Likewise.
46454         * nscd/nscd.c: Likewise.
46455         * nss/getent.c: Likewise.
46456         * nss/makedb.c: Likewise.
46457         * posix/getconf.c: Likewise.
46458         * scripts/test-installation.pl: Likewise.
46460         * All files with FSF copyright notices: Update copyright dates
46461         using scripts/update-copyrights.
46462         * intl/plural.c: Regenerated.
46463         * locale/programs/charmap-kw.h: Likewise.
46464         * locale/programs/locfile-kw.h: Likewise.
46466 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
46468         * sysdeps/unix/sysv/linux/configure: Regenerated.
46469         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
46470         the linux/fanotify.h header.
46471         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
46472         HAVE_LINUX_FANOTIFY_H is defined.
46474 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
46476         * benchtests/cos-inputs: New inputs.
46477         * benchtests/sin-inputs: Likewise.
46479         * benchtests/atan-inputs: New inputs. Fix name of multiple
46480         precision fallback inputs.
46482         * benchtests/atanh-inputs: New inputs.
46483         * benchtests/tanh-inputs: Likewise.
46485         * benchtests/acosh-inputs: New inputs.
46486         * benchtests/asinh-inputs: Likewise.
46488         * benchtests/cosh-inputs: New inputs.
46489         * benchtests/sinh-inputs: Likewise.
46491         * benchtests/acos-inputs: Add more inputs.
46492         * benchtests/asin-inputs: Likewise.
46494 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
46496         [BZ #16375]
46497         * manual/arith.texi: Fix spelling.
46498         * manual/charset.texi: Likewise.
46499         * manual/errno.texi: Likewise.
46500         * manual/filesys.texi: Likewise.
46501         * manual/lang.texi: Likewise.
46502         * manual/llio.texi: Likewise.
46503         * manual/locale.texi: Likewise.
46504         * manual/message.texi: Likewise.
46505         * manual/resource.texi: Likewise.
46506         * manual/search.texi: Likewise.
46507         * manual/setjmp.texi: Likewise.
46508         * manual/stdio.texi: Likewise.
46509         * manual/string.texi: Likewise.
46510         * manual/sysinfo.texi: Likewise.
46511         * manual/time.texi: Likewise.
46513 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
46515         * po/sl.po: New file.
46517 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
46519         * .gitignore: Add core/.gdbinit/.gdb_history.
46521 2013-12-27  Allan McRae  <allan@archlinux.org>
46523         [BZ #16369]
46524         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
46525         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
46527 2013-12-24  Brooks Moses  <bmoses@google.com>
46529         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
46530         all compilers that claim C++98 compliance, not just GCC.
46531         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
46532         Likewise.
46534 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
46536         * NEWS: Restore accidentally deleted bug-fix entries.
46538 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
46539             Ondřej Bílka  <neleai@seznam.cz>
46541         [BZ #15073]
46542         * malloc/malloc.c (_int_free): Perform sanity check only if we
46543         have_lock.
46545 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
46547         [BZ #12986]
46548         * manual/stdio.texi (String Input Conversions): Clarify that character
46549         classes are not supported.
46551 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46553         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46555 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
46557         [BZ #16337]
46558         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
46559         Calculate results for small negative arguments directly rather
46560         than using reflection formula with special underflow handling.
46562         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
46563         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
46564         sysdeps/unix/bsd/bsd4.4/syscalls.list.
46565         (fchflags): Likewise.
46566         (revoke): Likewise.
46567         (setlogin): Likewise.
46568         (sigaltstack): Likewise.
46569         (wait4): Likewise.
46570         (sigblock): Remove.
46571         (sigsetmask): Likewise.
46572         (wait3): Likewise.
46573         (waitpid): Likewise.
46574         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
46575         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
46576         file.
46577         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
46578         * sysdeps/unix/bsd/Makefile: ... here.
46579         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
46580         * sysdeps/unix/bsd/Versions: ... here.
46581         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
46582         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
46583         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
46584         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
46585         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
46586         * sysdeps/unix/bsd/sigblock.c: ... here.
46587         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
46588         * sysdeps/unix/bsd/sigsetmask.c: ... here.
46589         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
46590         * sysdeps/unix/bsd/sigvec.c: ... here.
46591         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
46592         * sysdeps/unix/bsd/tcdrain.c: ... here.
46593         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
46594         * sysdeps/unix/bsd/tcgetattr.c: ... here.
46595         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
46596         * sysdeps/unix/bsd/tcsetattr.c: ... here.
46597         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
46598         * sysdeps/unix/bsd/wait.c: ... here.
46599         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
46600         * sysdeps/unix/bsd/wait3.c: ... here.
46601         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
46602         * sysdeps/unix/bsd/waitpid.c: ... here.
46604 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
46606         [BZ #16356]
46607         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
46608         round-to-nearest for [!USE_AS_EXPM1L].
46609         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
46610         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
46611         more tests of exp and exp10.  Expect some exp10 tests to miss
46612         exceptions or fail in directed rounding modes.
46613         * math/auto-libm-test-out: Regenerated.
46614         * math/libm-test.inc (exp10_tonearest_test_data): New array.
46615         (exp10_test_tonearest): New function.
46616         (exp10_towardzero_test_data): New array.
46617         (exp10_test_towardzero): New function.
46618         (exp10_downward_test_data): New array.
46619         (exp10_test_downward): New function.
46620         (exp10_upward_test_data): New array.
46621         (exp10_test_upward): New function.
46622         (main): Call the new functions.
46623         * sysdeps/i386/fpu/libm-test-ulps: Update.
46624         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46626 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
46628         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
46629         asinh, atan, atan2, atanh, cbrt, cos and cosh.
46630         * math/auto-libm-test-out: Regenerated.
46631         * math/libm-test.inc (acosh_test_data): Add more tests.
46632         (atanh_test_data): Likewise.
46633         (ceil_test_data): Likewise.
46634         (copysign_test_data): Likewise.
46635         * sysdeps/i386/fpu/libm-test-ulps: Update.
46636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46638         * timezone/checktab.awk: Update from tzcode 2013i.
46639         * timezone/private.h: Likewise.
46640         * timezone/scheck.c: Likewise.
46641         * timezone/tzfile.h: Likewise.
46642         * timezone/tzselect.ksh: Likewise.
46643         * timezone/zdump.c: Likewise.
46644         * timezone/zic.c: Likewise.
46646         * math/auto-libm-test-in: Add tests of cpow.
46647         * math/auto-libm-test-out: Regenerated.
46648         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
46649         * math/gen-auto-libm-tests.c (func_calc_method): Add value
46650         mpc_cc_c.
46651         (func_calc_desc): Add mpc_cc_c union field.
46652         (test_functions): Add cpow.
46653         (special_fill_2pi): New function.
46654         (special_real_inputs): Add 2pi.
46655         (calc_generic_results): Handle mpc_cc_c.
46656         * sysdeps/i386/fpu/libm-test-ulps: Update.
46657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46659         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
46660         csqrt, ctan and ctanh.
46661         * math/auto-libm-test-out: Regenerated.
46662         * math/libm-test.inc (TEST_COND_x86_64): New macro.
46663         (TEST_COND_x86): Likewise.
46664         (ccos_test_data): Use AUTO_TESTS_c_c.
46665         (ccosh_test_data): Likewise.
46666         (cexp_test_data): Likewise.
46667         (clog_test_data): Likewise.
46668         (csqrt_test_data): Likewise.
46669         (ctan_test_data): Likewise.
46670         (ctan_tonearest_test_data): Likewise.
46671         (ctan_towardzero_test_data): Likewise.
46672         (ctan_downward_test_data): Likewise.
46673         (ctan_upward_test_data): Likewise.
46674         (ctanh_test_data): Likewise.
46675         (ctanh_tonearest_test_data): Likewise.
46676         (ctanh_towardzero_test_data): Likewise.
46677         (ctanh_downward_test_data): Likewise.
46678         (ctanh_upward_test_data): Likewise.
46679         * math/gen-auto-libm-tests.c (func_calc_method): Add value
46680         mpc_c_c.
46681         (func_calc_desc): Add mpc_c_c union field.
46682         (FUNC_mpc_c_c): New macro.
46683         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
46684         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
46685         ctanh.
46686         (special_fill_min_subnorm_p120): New function.
46687         (special_real_inputs): Add min_subnorm_p120.
46688         (calc_generic_results): Handle mpc_c_c.
46689         * sysdeps/i386/fpu/libm-test-ulps: Update.
46690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46692 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
46694         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
46695         (do_sin_slow): New functions.
46696         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
46697         (cslow2, csloww1, csloww2): Use the new functions.
46699         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
46700         Use M to change sign of result instead of X.  Assume X is
46701         positive.
46702         (csloww1): Likewise.
46703         (__sin): Adjust.
46704         (__cos): Adjust.
46706         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
46707         arguments A and DA.
46708         (__sin): Adjust.
46709         (__cos): Likewise.
46711         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
46712         (__cos): Likewise.
46713         (sloww1): Don't adjust sign of DX.
46714         (csloww1): Likewise.
46715         (sloww2): Use X directly and don't adjust sign of DX.
46716         (csloww2): Likewise.
46718 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
46720         * math/auto-libm-test-in: Add tests of cabs and carg.
46721         * math/auto-libm-test-out: Regenerated.
46722         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
46723         (carg_test_data): Likewise.
46724         * math/gen-auto-libm-tests.c (func_calc_method): Add value
46725         mpc_c_f.
46726         (func_calc_desc): Add mpc_c_f union field.
46727         (test_functions): Add cabs and carg.
46728         (calc_generic_results): Handle mpc_c_f.
46730         * sysdeps/powerpc/powerpc32/libgcc-compat.S
46731         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
46732         as a macro and a compat symbol.
46733         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
46734         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
46735         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
46736         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
46737         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
46738         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
46739         not use .hidden.
46740         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
46741         Likewise.
46742         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
46743         Likewise.
46744         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
46745         Likewise.
46746         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
46747         Likewise.
46748         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
46749         Likewise.
46750         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
46751         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
46752         from GLIBC_2.3.2.
46754 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46756         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46758 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
46760         * manual/texinfo.tex: Update to version 2013-11-26.10 with
46761         trailing whitespace removed.
46762         * scripts/config.guess: Update to version 2013-11-29.
46763         * scripts/config.sub: Update to version 2013-10-01.
46765         * math/auto-libm-test-in: Add tests of sincos.
46766         * math/auto-libm-test-out: Regenerated.
46767         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
46768         * math/gen-auto-libm-tests.c (func_calc_method): Add value
46769         mpfr_f_11.
46770         (func_calc_desc): Add mpfr_f_11 union field.
46771         (test_functions): Add sincos.
46772         (calc_generic_results): Handle mpfr_f_11.
46773         * sysdeps/i386/fpu/libm-test-ulps: Update.
46774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46776 2013-12-19  Andreas Schwab  <schwab@suse.de>
46778         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
46779         CALL_MCOUNT.
46780         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
46781         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
46782         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
46784 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
46786         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
46787         * sysdeps/i386/fpu/libm-test-ulps: Update.
46788         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46790         [BZ #16293]
46791         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
46792         round-to-nearest mode when using frndint.
46793         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
46794         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
46795         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
46796         Likewise.
46797         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
46798         sinh test to fail.
46799         * math/auto-libm-test-out: Regenerated.
46800         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
46801         (TEST_COND_x86): Likewise.
46802         (expm1_tonearest_test_data): New array.
46803         (expm1_test_tonearest): New function.
46804         (expm1_towardzero_test_data): New array.
46805         (expm1_test_towardzero): New function.
46806         (expm1_downward_test_data): New array.
46807         (expm1_test_downward): New function.
46808         (expm1_upward_test_data): New array.
46809         (expm1_test_upward): New function.
46810         (main): Run the new test functions.
46811         * sysdeps/i386/fpu/libm-test-ulps: Update.
46812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46814         * include/features.h: Update comment documenting feature test
46815         macros.  Mention _DEFAULT_SOURCE in comment.
46816         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
46817         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
46818         _BSD_SOURCE and _SVID_SOURCE.
46819         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
46820         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
46821         !_SVID_SOURCE]: Likewise.
46822         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
46823         (__USE_POSIX_IMPLICITLY): Define.
46824         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
46825         (_POSIX_SOURCE): Undefine and redefine.
46826         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
46827         (_POSIX_C_SOURCE): Likewise.
46828         * manual/creature.texi (_DEFAULT_SOURCE): Document.
46829         (Feature Test Macros): Update documentation of default features.
46831 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
46833         * benchtests/Makefile: Add bench-strtok.
46834         * benchtests/bench-strtok.c: New file: strtok benchtest.
46836 2013-12-19  Allan McRae  <allan@archlinux.org>
46838         * manual/install.texi: Suppress menu for plain text output.
46839         * INSTALL: Regenerated.
46841 2013-12-18  Brooks Moses  <bmoses@google.com>
46843         [BZ #15846]
46844         * misc/getauxval.c: Include errno.h.
46845         (__getauxval): Set errno to ENOENT if the requested type is not
46846         found.
46847         * misc/sys/auxv.h (getauxval): Document that it may set errno;
46848         don't declare with __attribute_const__.
46849         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
46850         * manual/startup.texi: Document that getauxval sets errno.
46852 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
46854         * math/auto-libm-test-in: Add tests of jn and yn.
46855         * math/auto-libm-test-out: Regenerated.
46856         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
46857         (yn_test_data): Likewise.
46858         * math/gen-auto-libm-tests.c (func_calc_method): Add value
46859         mpfr_if_f.
46860         (func_calc_desc): Add mpfr_if_f union field.
46861         (FUNC_mpfr_if_f): New macro.
46862         (test_functions): Add jn and yn.
46863         (calc_generic_results): Assert type of second input for
46864         mpfr_ff_f.  Handle mpfr_if_f.
46865         (output_for_one_input_case): Disable all checking for arguments
46866         fitting floating-point types in case of an integer argument.
46867         * sysdeps/i386/fpu/libm-test-ulps: Update.
46868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
46871         Don't expect fegetround reference in libm.so.
46873 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46875         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
46876         $(config-cflags-nofma).
46878 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
46880         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
46881         * math/auto-libm-test-out: Regenerated.
46883         [BZ #16338]
46884         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
46885         to determine exponent and adjust argument to have exponent of -1.
46886         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
46887         log2.
46888         * math/auto-libm-test-out: Regenerated.
46889         * sysdeps/i386/fpu/libm-test-ulps: Update.
46890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46892 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
46894         * manual/probes.texi: Remove cases when per-thread arenas are
46895         disabled.
46897 2013-12-18  Andreas Schwab  <schwab@suse.de>
46899         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
46900         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
46901         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
46902         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
46903         * sysdeps/i386/i686/multiarch/Makefile: Update.
46904         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
46906 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
46908         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
46909         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
46911 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
46913         [BZ #15968]
46914         Support TZ transition times < 00:00:00.
46915         This is needed for version-3 tz-format files; it supports time
46916         stamps past 2037 for America/Godthab (the only entry in the tz
46917         database for which this change is relevant).
46918         * manual/time.texi (TZ Variable): Document transition times
46919         from -167:59:59 through -00:00:01.
46920         * time/tzset.c (tz_rule): Time of day is now signed.
46921         (__tzset_parse_tz): Parse negative time of day.
46923         Document TZ transition times >= 25:00:00.
46924         * manual/time.texi (TZ Variable): Document transition times from
46925         25:00:00 through 167:59:59.  These are already supported, and this
46926         support will help with version-3 tz-format files.
46928         * manual/time.texi (TZ Variable): Modernize North America example
46929         to reflect current (i.e., 2007-and-later) daylight saving rules.
46931         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
46933 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
46935         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
46936         * sysdeps/unix/bsd/bits/stat.h: Likewise.
46937         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
46938         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
46939         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
46940         * sysdeps/unix/bsd/bsdstat.h: Likewise.
46941         * sysdeps/unix/bsd/clock.c: Likewise.
46942         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
46943         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
46944         * sysdeps/unix/bsd/init-posix.c: Likewise.
46945         * sysdeps/unix/bsd/poll.c: Likewise.
46946         * sysdeps/unix/bsd/ptsname.c: Likewise.
46947         * sysdeps/unix/bsd/seekdir.c: Likewise.
46948         * sysdeps/unix/bsd/setegid.c: Likewise.
46949         * sysdeps/unix/bsd/seteuid.c: Likewise.
46950         * sysdeps/unix/bsd/setgid.c: Likewise.
46951         * sysdeps/unix/bsd/setrgid.c: Likewise.
46952         * sysdeps/unix/bsd/setruid.c: Likewise.
46953         * sysdeps/unix/bsd/setsid.c: Likewise.
46954         * sysdeps/unix/bsd/setuid.c: Likewise.
46955         * sysdeps/unix/bsd/sigaction.c: Likewise.
46956         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
46957         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
46958         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
46959         * sysdeps/unix/bsd/telldir.c: Likewise.
46960         * sysdeps/unix/bsd/times.c: Likewise.
46961         * sysdeps/unix/bsd/usleep.c: Likewise.
46963         * misc/Makefile (install-lib): Remove libbsd-compat.a.
46964         ($(objpfx)libbsd-compat.a): Remove rule.
46966         * include/features.h (__FAVOR_BSD): Do not define.
46967         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
46968         features conflicting with POSIX.
46969         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
46970         (_BSD_SOURCE): Remove description of not being a subset of other
46971         feature test macros.
46972         * manual/job.texi (getpgrp): Do not document BSD version.
46973         (getpgid): Do not document by reference to BSD getpgrp.
46974         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
46975         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
46976         * signal/signal.h [__FAVOR_BSD]: Likewise.
46977         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
46978         instead of making contents conditional on [__FAVOR_BSD].
46979         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
46981 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46983         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46985 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
46987         [BZ #16314]
46988         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
46989         values below 2**-450, not 2**-500.
46990         * math/auto-libm-test-in: Don't allow spurious underflow from
46991         hypot.
46992         * math/auto-libm-test-out: Regenerated.
46994         [BZ #16316]
46995         [BZ #16330]
46996         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
46997         values of ha and hb and sort them after adjusting subnormal
46998         arguments.
46999         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
47000         Likewise.
47001         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
47002         values of ea and eb and sort them after adjusting subnormal
47003         arguments.
47004         * math/auto-libm-test-in: Do not expect some hypot tests of
47005         subnormals to fail.  Add more hypot tests.
47006         * math/auto-libm-test-out: Regenerated.
47008 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47010         [BZ #13304]
47011         * sysdeps/sh/s_fma.c: New file.
47012         * sysdeps/sh/s_fmaf.c: New file.
47013         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
47014         version.
47015         * sysdeps/sh/Implies: Add sh/soft-fp.
47017 2013-12-16  Roland McGrath  <roland@hack.frob.com>
47019         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
47020         level of indirection to members `objname', `errstring', `malloced'.
47021         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
47022         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
47023         it as the __longjmp argument (just pass 1 instead).
47024         (_dl_catch_error): Initialize C with argument pointers and address of
47025         volatile local ERRCODE rather than copying values out of C at return.
47027 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
47029         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
47030         * math/auto-libm-test-out: Regenerated.
47031         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
47032         (hypot_test_data): Likewise.
47033         (pow_test_data): Likewise.
47034         (pow_tonearest_test_data): Likewise.
47035         * math/gen-auto-libm-tests.c (func_calc_method): Add value
47036         mpfr_ff_f.
47037         (func_calc_desc): Add mpfr_ff_f union field.
47038         (FUNC_mpfr_ff_f): New macro.
47039         (test_functions): Add atan2, hypot and pow.
47040         (special_fill_min): New function.
47041         (special_fill_minus_min): Likewise.
47042         (special_fill_min_subnorm): Likewise.
47043         (special_fill_minus_min_subnorm): Likewise.
47044         (special_real_inputs): Add min, -min, min_subnorm and
47045         -min_subnorm.
47046         (calc_generic_results): Handle mpfr_ff_f.
47047         * sysdeps/i386/fpu/libm-test-ulps: Update.
47048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47050 2013-12-16  Will Newton  <will.newton@linaro.org>
47052         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
47053         (Aligned Memory Blocks): Add documentation for aligned_alloc
47054         and suggest it as an alternative to posix_memalign.
47055         (Hooks for Malloc): Document __memalign_hook is also called
47056         for aligned_alloc.  (Summary of Malloc): Add summary for
47057         aligned alloc.  Document __memalign_hook is also called
47058         for aligned_alloc.
47060 2013-12-16  Will Newton  <will.newton@linaro.org>
47062         * manual/memory.texi (Malloc Examples): Clarify default
47063         alignment documentation.  Suggest posix_memalign rather
47064         than memalign or valloc.
47065         (Aligned Memory Blocks): Remove suggestion to use memalign
47066         or valloc.  Remove obsolete comment about BSD.
47067         Document memalign errno values and mark the function obsolete.
47068         Document posix_memalign returned error codes.  Mark valloc
47069         as obsolete.  (Hooks for Malloc): __memalign_hook is also
47070         called for posix_memalign and valloc.
47071         (Summary of Malloc): Add posix_memalign to function summary.
47072         __memalign_hook is also called for posix_memalign and valloc.
47074 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
47076         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
47077         TAYLOR_SIN.
47078         (__sin): Adjust.
47079         (__cos): Likewise.
47080         (sloww): Use mynumber union.  Expand ternary operator into
47081         if-else statements.
47082         (cslow): use mynumber union.
47084 2013-12-16  Allan McRae  <allan@archlinux.org>
47086         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
47087         * configure: Regenerated.
47089         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
47091         [BZ #14120]
47092         * configure.ac: Added --enable-maintainer-mode. Check for
47093         autoconf when enabled.
47094         * configure: Regenerated.
47096         * nscd/nscd.service: New file.
47097         * nscd/nscd.tmpfiles: New file.
47099 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
47101         [BZ #12100]
47102         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
47103         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
47104         * sysdeps/x86_64/multiarch/strstr.c: ... here.
47105         (strstr): Add __strstr_sse2_unaligned ifunc.
47106         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
47107         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
47108         (strcasestr): Remove __strcasestr_sse42 ifunc.
47109         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
47110         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
47111         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
47113 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47115         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
47116         * sysdeps/sh/bits/fenv.h: ... here.
47117         * sysdeps/sh/sh4/fpu/bits: Remove directory.
47119 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47121         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
47123         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
47124         hypotf multiarch implementations.
47125         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
47126         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
47127         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
47128         multiarch hypot for PPC64.
47129         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
47130         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
47131         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
47132         multiarch hypotf for PPC64.
47134         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
47135         modff multiarch implementations.
47136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
47137         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
47138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
47139         multiarch modf for PPC64.
47140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
47141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
47142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
47143         multiarch modff for PPC64.
47145         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
47146         and logl multiarch implementations.
47147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
47148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
47149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
47150         multiarch logb for PPC64.
47151         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
47152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
47153         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
47154         multiarch logb for PPC64.
47155         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
47156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
47157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
47158         multiarch logb for PPC64.
47160         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
47161         isinff multiarch implementation.
47162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
47163         file.
47164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
47165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
47166         multiarch isinf for PPC64.
47167         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
47168         file.
47169         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
47170         multiarch isinff for PPC64.
47172         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
47173         finitef multiarch implementation.
47174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
47175         file.
47176         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
47177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
47178         multiarch finite for PPC64.
47179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
47180         file.
47181         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
47182         multiarch finitef for PPC64.
47184         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
47185         lrint multiarch implementation.
47186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
47187         file.
47188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
47189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
47190         multiarch llrint for PPC64.
47191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
47192         multiarch lrint for PPC64.
47194         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
47195         copysignf multiarch implementation.
47196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
47197         file.
47198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
47199         file.
47200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
47201         multiarch copysign for PPC64.
47202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
47203         multiarch copysignf for PPC64.
47205         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
47206         multiarch implementation.
47207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
47208         file.
47209         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
47210         file.
47211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
47212         file.
47213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
47214         file.
47215         multiarch llround for PPC64.
47216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
47217         multiarch trunc for PPC64.
47218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
47219         multiarch truncf for PPC64.
47221         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
47222         multiarch implementation.
47223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
47224         file.
47225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
47226         file.
47227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
47228         file.
47229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
47230         file.
47231         multiarch llround for PPC64.
47232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
47233         multiarch round for PPC64.
47234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
47235         multiarch roundf for PPC64.
47237         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
47238         multiarch implementation.
47239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
47240         file.
47241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
47242         file.
47243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
47244         file.
47245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
47246         file.
47247         multiarch llround for PPC64.
47248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
47249         multiarch floor for PPC64.
47250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
47251         multiarch floorf for PPC64.
47253         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
47254         multiarch implementation.
47255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
47256         file.
47257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
47258         file.
47259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
47260         file.
47261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
47262         file.
47263         multiarch llround for PPC64.
47264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
47265         multiarch ceil for PPC64.
47266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
47267         multiarch ceilf for PPC64.
47269         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
47270         multiarch implementation.
47271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
47272         file.
47273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
47274         file.
47275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
47276         file.
47277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
47278         multiarch llround for PPC64.
47279         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
47280         multiarch lround for PPC64.
47282         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
47283         multiarch implementation.
47284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
47285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
47286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
47287         file.
47288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
47289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
47290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
47291         multiarch isnan for PPC64.
47292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
47293         multiarch isnanf for PPC64.
47295         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
47296         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
47297         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
47298         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
47299         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
47300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
47302         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
47303         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47304         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47305         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47307         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
47308         multiarch implementations.
47309         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47310         (__libc_ifunc_impl_list): Likewise.
47311         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
47312         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
47313         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
47314         multiarch stpcpy for PPC64.
47316         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
47317         multiarch implementations.
47318         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47319         (__libc_ifunc_impl_list): Likewise.
47320         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
47321         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
47322         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
47323         multiarch strcpy for PPC64.
47325         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
47326         redefine function name.
47327         (_wordcopy_fwd_dest_aligned): Likewise.
47328         (_wordcopy_bwd_aligned): Likewise.
47329         (_wordcopy_bwd_dest_aligned): Likewise.
47330         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
47331         multiarch implementations.
47332         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47333         (__libc_ifunc_impl_list): Likewise.
47334         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
47335         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
47336         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
47337         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
47338         multiarch wcscpy for PPC64.
47340         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
47341         multiarch implementations.
47342         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47343         (__libc_ifunc_impl_list): Likewise.
47344         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
47345         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
47346         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
47347         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
47348         multiarch wcscpy for PPC64.
47350         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
47351         multiarch implementations.
47352         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47353         (__libc_ifunc_impl_list): Likewise.
47354         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
47355         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
47356         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
47357         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
47358         multiarch wcsrchr for PPC64.
47360         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
47361         multiarch implementations.
47362         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47363         (__libc_ifunc_impl_list): Likewise.
47364         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
47365         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
47366         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
47367         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
47368         multiarch wcschr for PPC64.
47370         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
47371         multiarch implementations.
47372         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47373         (__libc_ifunc_impl_list): Likewise.
47374         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
47375         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
47376         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
47377         multiarch strchrnul for PPC64.
47379         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
47380         implementations.
47381         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47382         (__libc_ifunc_impl_list): Likewise.
47383         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
47384         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
47385         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
47386         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
47387         strchr for PPC64.
47389         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
47390         implementations.
47391         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47392         (__libc_ifunc_impl_list): Likewise.
47393         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
47394         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
47395         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
47396         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
47397         strncmp for PPC64.
47399         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
47400         multiarch implementations.
47401         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47402         (__libc_ifunc_impl_list): Likewise.
47403         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
47404         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
47405         strncasecmp for PPC64.
47406         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
47407         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
47408         multiarch strncasecmp_l for PPC64.
47410         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
47411         multiarch implementations.
47412         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47413         (__libc_ifunc_impl_list): Likewise.
47414         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
47415         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
47416         multiarch strcasecmp for PPC64.
47417         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
47418         file.
47419         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
47420         multiarch strcasecmp_l for PPC64.
47422         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
47423         implementations.
47424         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47425         (__libc_ifunc_impl_list): Likewise.
47426         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
47427         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
47428         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
47429         strnlen for PPC64.
47431         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
47432         implementations.
47433         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47434         (__libc_ifunc_impl_list): Likewise.
47435         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
47436         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
47437         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
47438         strlen for PPC64.
47440         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
47441         implementations.
47442         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47443         (__libc_ifunc_impl_list): Likewise.
47444         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
47445         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
47446         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
47447         rawmemrchr for PPC64.
47449         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
47450         implementation.
47451         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47452         (__libc_ifunc_impl_list): Likewise.
47453         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
47454         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
47455         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
47456         memrchr for PPC64.
47458         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
47459         implementation.
47460         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47461         (__libc_ifunc_impl_list): Likewise.
47462         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
47463         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
47464         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
47465         memchr for PPC64.
47467         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
47468         implementation.
47469         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47470         (__libc_ifunc_impl_list): Likewise.
47471         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
47472         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
47473         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
47474         mempcpy for PPC64.
47476         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
47477         avoid cretion of __bzero symbol.
47478         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
47479         Likewise.
47480         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
47481         Likewise.
47482         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
47483         Likewise.
47484         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
47485         multiarch implementations.
47486         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47487         (__libc_ifunc_impl_list): Likewise.
47488         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
47489         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
47490         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
47491         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
47492         bzero for PPC32.
47493         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
47494         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
47495         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
47496         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
47497         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
47498         memset for PPC64.
47499         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
47501         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
47502         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
47503         implementations.
47504         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47505         (__libc_ifunc_impl_list): Likewise.
47506         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
47507         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
47508         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
47509         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
47510         memcmp for PPC64.
47512         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
47513         multiarch for POWER/PPC64.
47514         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
47515         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
47516         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
47517         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
47518         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
47519         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
47520         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
47521         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
47522         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
47523         memcpy for PPC64.
47525         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
47526         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
47527         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
47528         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
47529         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
47530         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
47531         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
47532         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
47533         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
47534         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
47535         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
47536         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
47537         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
47538         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
47539         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
47540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
47541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
47542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
47543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
47544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
47545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
47546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
47548 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47550         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
47552 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
47554         * benchtests/Makefile (bench): Add exp2 and log2.
47555         (LDLIBS-bench-exp2): Add -lm.
47556         (LDLIBS-bench-log2): Likewise.
47557         * benchtests/exp2-inputs: New inputs file.
47558         * benchtests/log2-inputs: New inputs file.
47559         * benchtests/log-inputs: Add new inputs.
47560         * benchtests/tan-inputs: Likewise.
47562 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47564         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
47565         definition...
47566         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
47567         (csloww2): ... from here.
47569         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
47570         instead of structures.
47571         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
47572         (POLYNOMIAL): Likewise.
47573         (TAYLOR_SLOW): Likewise.
47574         (__sin): Likewise.
47575         (__cos): Likewise.
47576         (slow1): Likewise.
47577         (slow2): Likewise.
47578         (sloww): Likewise.
47579         (sloww1); Likewise.
47580         (sloww2): Likewise.
47581         (bsloww1): Likewise.
47582         (bsloww2): Likewise.
47583         (cslow2): Likewise.
47584         (csloww): Likewise.
47585         (csloww1): Likewise.
47586         (csloww2): Likewise.
47588 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
47590         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
47591         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
47592         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
47593         * malloc/hooks.c (realloc_check): Likewise.
47595         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
47596         * malloc/arena.c: Remove PER_THREAD conditional.
47597         [!PER_THREAD]: Remove code.
47598         (ptmalloc_unlock_all2): Likewise.
47599         (ptmalloc_init): Likewise.
47600         (_int_new_arena): Likewise.
47601         (arena_get2): Likewise.
47602         * malloc/hooks.c (__malloc_get_state): Likewise.
47603         (__malloc_set_state): Likewise.
47604         * malloc/malloc.c: Likewise.
47605         (struct malloc_state): Likewise.
47606         (struct malloc_par): Likewise.
47607         (__libc_realloc): Likewise.
47608         (__libc_mallopt): Likewise.
47610 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47612         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
47614 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
47616         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
47617         macro to a function.  Check for zero perturb_byte.
47618         (_int_malloc, _int_free): Remove zero perturb_byte checks.
47620         * malloc/malloc.c: (force_reg): Remove.
47621         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
47622         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
47623         force_reg by atomic_forced_read.
47624         * malloc/arena.c (ptmalloc_init): Likewise.
47625         * malloc/hooks.c (top_check): Likewise.
47627 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47629         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47631 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
47633         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47635 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
47637         * math/auto-libm-test-in: Add tests of lgamma.
47638         * math/auto-libm-test-out: Regenerated.
47639         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
47640         (M_LOG_2_SQRT_PIl): Likewise.
47641         (lgamma_test_data): Use AUTO_TESTS_f_f1.
47642         * math/gen-auto-libm-tests.c (func_calc_method): Add value
47643         mpfr_f_f1.
47644         (func_calc_desc): Add mpfr_f_f1 union field.
47645         (ARGS1): New macro.
47646         (ARGS2): Likewise.
47647         (ARGS3): Likewise.
47648         (ARGS4): Likewise.
47649         (RET1): Likewise.
47650         (RET2): Likewise.
47651         (CALC): Likewise.
47652         (FUNC): Likewise.
47653         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
47654         (test_functions): Add lgamma.
47655         (calc_generic_results): Handle mpfr_f_f1.
47656         * sysdeps/i386/fpu/libm-test-ulps: Update.
47657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47659 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47661         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
47662         __mpn_add_n for PowerPC64/POWER7.
47663         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
47664         __mpn_sub_n for PowerPC64/POWER7.
47666         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
47667         __mpn_addmul_1 for PowerPC64.
47668         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
47669         __mpn_submul_1 for PowerPC64.
47670         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
47671         for PowerPC64.
47672         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
47673         for PowerPC64.
47675 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
47677         [BZ #15089]
47678         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
47680 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47682         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
47684         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
47685         add multiarch folders.
47686         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
47687         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
47688         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
47689         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
47690         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
47691         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
47692         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
47693         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
47694         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
47695         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
47696         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
47697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
47698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
47699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
47700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
47701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
47702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
47704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
47705         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
47706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
47707         New file.
47708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
47709         New file.
47710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
47711         multiarch __ieee754_hypot for PowerPC32.
47712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
47713         New file.
47714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
47715         New file.
47716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
47717         multiarch __ieee754_hypotf for PowerPC32.
47719         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
47720         long_double_symbol only if __logbl is defined.
47721         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
47722         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
47723         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
47724         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
47725         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
47726         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
47727         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
47728         path for implementation.
47729         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
47730         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
47731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
47732         logb, and logbl multiarch implementations for PowerPC32.
47733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
47734         file.
47735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
47736         file.
47737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
47738         multiarch logb for PowerPC32.
47739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
47740         file.
47741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
47742         file.
47743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
47744         multiarch logbf for PowerPC32.
47745         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
47746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
47747         file.
47748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
47749         multiarch logbl implementation for PowerPC32.
47751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
47752         and modff multiarch implementations.
47753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
47754         New file.
47755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
47756         New file.
47757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
47758         multiarch modf for PowerPC32.
47759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
47760         New file.
47761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
47762         New file.
47763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
47764         multiarch modff for PowerPC32.
47766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
47767         and lrintf multiarch implementations.
47768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
47769         New file.
47770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
47771         New file.
47772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
47773         multiarch lrint for PowerPC32.
47774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
47775         file: multiarch lrintf for PowerPC32.
47777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
47778         and lroundf multiarch implementations.
47779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
47780         New file.
47781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
47782         New file.
47783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
47784         New file.
47785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
47786         multiarch lround for PowerPC32.
47787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
47788         file: multiarch lroundf for PowerPC32.
47790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
47791         copysign and copysignf multiarch implementations.
47792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
47793         New file.
47794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
47795         New file.
47796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
47797         file: multiarch copysign for PowerPC32.
47798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
47799         file: multiarch copysignf for PowerPC32.
47801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
47802         and truncf multiarch implementations.
47803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
47804         New file.
47805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
47806         file.
47807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
47808         multiarch trunc for PowerPC32.
47809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
47810         New file.
47811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
47812         New file.
47813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
47814         multiarch truncf for PowerPC32.
47816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
47817         and roundf multiarch implementations.
47818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
47819         New file.
47820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
47821         file.
47822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
47823         multiarch round for PowerPC32.
47824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
47825         New file.
47826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
47827         New file.
47828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
47829         multiarch roundf for PowerPC32.
47831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
47832         and floorf multiarch implementations.
47833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
47834         New file.
47835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
47836         file.
47837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
47838         multiarch floor for PowerPC32.
47839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
47840         New file.
47841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
47842         New file.
47843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
47844         multiarch floorf for PowerPC32.
47846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
47847         and ceilf multiarch implementations.
47848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
47849         New file.
47850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
47851         file.
47852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
47853         multiarch ceil for PowerPC32.
47854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
47855         New file.
47856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
47857         file.
47858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
47859         multiarch ceilf for PowerPC32.
47861         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
47862         is defined.
47863         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
47864         FINITEF is defined.
47865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
47866         and finitef multiarch implementations.
47867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
47868         New file.
47869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
47870         file.
47871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
47872         multiarch finite for PowerPC32.
47873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
47874         New file.
47875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
47876         file: multiarch finitef for PowerPC32.
47878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
47879         and isinff multiarch implementations.
47880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
47881         file.
47882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
47883         file.
47884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
47885         multiarch isinf for PowerPC32.
47886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
47887         New file.
47888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
47889         multiarch isinff for PowerPC32.
47891         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
47892         alias when __isnan is defined.
47893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
47894         and isnanf multiarch implementations.
47895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
47896         file.
47897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
47898         file.
47899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
47900         file.
47901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
47902         file.
47903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
47904         multiarch isnan for PowerPC32.
47905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
47906         New file.
47907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
47908         New file.
47909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
47910         multiarch isnanf for PowerPC32.
47912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
47913         and sqrtf multiarch implementations.
47914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
47915         file.
47916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
47917         file.
47918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
47919         multiarch sqrt for PowerPC32.
47920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
47921         file.
47922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
47923         file.
47924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
47925         multiarch sqrtf for PowerPC32.
47927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
47928         and llroundf multiarch implementations.
47929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
47930         New file.
47931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
47932         New file.
47933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
47934         New file.
47935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
47936         file: multiarch llround for PowerPC32.
47937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
47938         file: multiarch llroundf for PowerPC32.
47940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
47941         multiarch PowerPC32 fpu implementations.
47942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
47943         New file.
47944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
47945         New file.
47946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
47947         multiarch llrint for PowerPC32.
47948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
47949         New file.
47950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
47951         New file.
47952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
47953         file.
47955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
47957         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
47958         file.
47959         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
47960         file.
47961         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
47962         file.
47963         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
47964         multiarch wordcopy for PPC32.
47965         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
47966         wordcopy objects.
47967         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47968         (__libc_ifunc_impl_list): Likewise.
47969         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
47970         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
47971         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
47972         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
47973         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
47974         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
47976         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
47977         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
47978         file.
47979         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
47980         file.
47981         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
47982         file.
47983         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
47984         multiarch wcscpy for PPC32.
47985         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
47986         multiarch objects.
47987         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47988         (__libc_ifunc_impl_list): Likewise.
47989         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
47990         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
47991         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
47992         sysdeps/powerpc/power6/wcscpy.c.
47994         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
47995         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
47996         file.
47997         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
47998         file.
47999         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
48000         file.
48001         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
48002         multiarch wcsrchr for PPC32.
48003         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
48004         multiarch objects.
48005         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48006         (__libc_ifunc_impl_list): Likewise.
48007         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
48008         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
48009         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
48010         sysdeps/powerpc/power6/wcsrchr.c.
48012         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
48013         file.
48014         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
48015         file.
48016         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
48017         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
48018         multiarch wcschr for PPc32.
48019         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
48020         multiarch objects.
48021         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48022         (__libc_ifunc_impl_list): Likewise.
48023         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
48024         * sysdeps/powerpc/power6/wcschr.c: ... to here.
48025         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
48026         sysdeps/powerpc/power6/wcschr.c.
48028         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
48029         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
48030         file.
48031         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
48032         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
48033         file: multiarch strchr for PPC32.
48034         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
48035         multiarch objects.
48036         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48037         (__libc_ifunc_impl_list): Likewise.
48039         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
48040         name.
48041         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
48042         file.
48043         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
48044         file.
48045         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
48046         multiarch strchrnul for PPC32.
48047         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
48048         multiarch objects.
48049         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48050         (__libc_ifunc_impl_list): Likewise.
48052         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
48053         file.
48054         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
48055         multiarch strncasecmp for PPC32.
48056         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
48057         file.
48058         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
48059         multiarch strncasecmp_l for PPC32.
48060         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
48061         strncasecmp multiarch objects.
48062         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48063         (__libc_ifunc_impl_list): Likewise.
48065         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
48066         file.
48067         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
48068         multiarch strncasecmp for PPC32.
48069         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
48070         New file.
48071         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
48072         multiarch strcasecmp_l for PPC32.
48073         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
48074         multiarch objects.
48075         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48076         (__libc_ifunc_impl_list): Likewise.
48078         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
48079         file.
48080         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
48081         file.
48082         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
48083         multiarch strncmp for PPC32.
48084         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
48085         multiarch objects.
48086         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48087         (__libc_ifunc_impl_list): Likewise.
48089         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
48090         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
48091         file.
48092         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
48093         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
48094         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
48095         multiarch objects.
48096         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48097         (__libc_ifunc_impl_list): Likewise.
48099         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
48100         file.
48101         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
48102         file.
48103         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
48104         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
48105         multiarch objects.
48106         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48107         (__libc_ifunc_impl_list): Likewise.
48109         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
48110         file.
48111         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
48112         file.
48113         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
48114         multiarch rawmemchr for PPC32.
48115         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
48116         multiarch objects.
48117         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48118         (__libc_ifunc_impl_list): Likewise.
48120         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
48121         file.
48122         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
48123         file.
48124         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
48125         file: memrchr multiarch for PPC32.
48126         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
48127         multiarch objects.
48128         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48129         (__libc_ifunc_impl_list): Likewise.
48131         * string/memchr.c (__memchr): Using macro to redefine symbol name.
48132         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
48133         file.
48134         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
48135         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
48136         multiarch memchr for PPC32.
48137         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
48138         multiarch objects.
48139         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
48140         (__libc_ifunc_impl_list): Likewise.
48142         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
48143         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
48144         file.
48145         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
48146         file.
48147         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
48148         file: multiarch mempcpy for PPC32.
48149         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
48150         multiarch objects.
48151         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
48152         (__libc_ifunc_impl_list): Likewise.
48154         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
48155         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
48156         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
48157         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
48158         multiarch bzero for PPC32.
48159         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
48160         file.
48161         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
48162         file.
48163         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
48164         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
48165         file: multiarch memset for PPC32.
48166         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
48167         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
48168         memset multiarch objects.
48169         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
48170         (__libc_ifunc_impl_list): Likewise.
48172         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
48173         file.
48174         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
48175         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
48176         memcmp for PPC32.
48177         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
48178         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
48179         multiarch objects.
48180         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
48181         (__libc_ifunc_impl_list): Likewise.
48183         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
48184         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
48185         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
48186         file.
48187         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
48188         file.
48189         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
48190         file.
48191         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
48192         multiarch memcpy for PPC32.
48193         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
48194         multiarch objects.
48195         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
48196         (__libc_ifunc_impl_list): Likewise.
48198         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
48199         support multiarch for POWER/PPC32.
48200         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
48201         Likewise.
48202         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
48203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
48204         Implies file to make multiarch folder appers before the fpu and
48205         default folder for power4 configuration.
48207 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
48209         * scripts/bench.pl: Append volatile keyword to type.
48211 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48213         * sysdeps/sh/sotruss-lib.c: New file.
48214         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
48216 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48218         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48220 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
48222         [BZ #6810]
48223         * math/w_tgamma.c: Include <errno.h>.
48224         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
48225         * math/w_tgammaf.c: Include <errno.h>.
48226         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
48227         * math/w_tgammal.c: Include <errno.h>.
48228         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
48229         * math/auto-libm-test-in: Do not allow missing errno on tgamma
48230         underflow.  Add more tgamma tests.
48231         * math/auto-libm-test-out: Regenerated.
48232         * sysdeps/i386/fpu/libm-test-ulps: Update.
48233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48235         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
48236         sin, sinh, tan, tanh, tgamma, y0 and y1.
48237         * math/auto-libm-test-out: Regenerated.
48238         * math/libm-test.inc (TEST_COND_x86_64): New macro.
48239         (TEST_COND_x86): Likewise.
48240         (M_E2l): Remove macro.
48241         (M_E3l): Likewise.
48242         (M_2_SQRT_PIl): Likewise.
48243         (M_SQRT_PIl): Likewise.
48244         (M_1_DIV_El): Likewise.
48245         (log_test_data): Use AUTO_TESTS_f_f.
48246         (log10_test_data): Likewise.
48247         (log1p_test_data): Likewise.
48248         (log2_test_data): Likewise.
48249         (sin_test_data): Likewise.
48250         (sin_tonearest_test_data): Likewise.
48251         (sin_towardzero_test_data): Likewise.
48252         (sin_downward_test_data): Likewise.
48253         (sin_upward_test_data): Likewise.
48254         (sinh_test_data): Likewise.
48255         (sinh_tonearest_test_data): Likewise.
48256         (sinh_towardzero_test_data): Likewise.
48257         (sinh_downward_test_data): Likewise.
48258         (sinh_upward_test_data): Likewise.
48259         (tan_test_data): Likewise.
48260         (tan_tonearest_test_data): Likewise.
48261         (tan_towardzero_test_data): Likewise.
48262         (tan_downward_test_data): Likewise.
48263         (tan_upward_test_data): Likewise.
48264         (tanh_test_data): Likewise.
48265         (tgamma_test_data): Likewise.
48266         (y0_test_data): Likewise.
48267         (y1_test_data): Likewise.
48268         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
48269         (special_real_inputs): Add pi/4.
48270         * sysdeps/i386/fpu/libm-test-ulps: Update.
48271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48273 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48275         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
48276         "longjmp_target" static probes.
48277         (__longjmp): Rename to __longjmp_symbol.
48278         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
48279         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
48280         on which longjmp to generate.
48281         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
48282         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
48283         probe.
48284         (__sigsetjmp): Rename to __sigsetjmp_symbol.
48285         (__sigjmp_save): Rename to __sigjmp_save_symbol.
48286         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
48287         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
48288         and __sigjmp_save_symbol based on which sigsetjmp to generated.
48289         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
48290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
48291         __longjmp_symbol based on which __longjmp to generate.
48292         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
48293         probe.
48294         (setjmp): Rename to setjmp_symbol.
48295         (__sigsetjmp): Rename to __sigsetjmp_symbol.
48296         (_setjmp): Rename to _setjmp_symbol.
48297         (__sigsetjmp): Rename to __sigsetjmp_symbol.
48298         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
48299         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
48300         which setjmp to generate.
48301         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
48302         "longjmp_target" static probes.
48304 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
48306         * benchtests/README: Add note about output arguments.
48307         * benchtests/bench-sincos.c: Remove file.
48308         * benchtests/sincos-inputs: New file.
48309         * scripts/bench.pl: Identify output arguments and define
48310         static variables for them.
48312         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
48314         [BZ #15941]
48315         * Makefile (INSTALL): Add install-plain.texi as the primary
48316         dependency.
48317         * manual/install-plain.texi: New file.
48318         * manual/install.texi: Include node directive only for
48319         non-plaintext output.
48321 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
48323         * stdlib/longlong.h: Update from GCC.
48325         [BZ #6807]
48326         [BZ #15901]
48327         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
48328         * math/w_j0f.c (y0f): Likewise.
48329         * math/w_j0l.c (__y0l): Likewise.
48330         * math/w_j1.c (y1): Likewise.
48331         * math/w_j1f.c (y1f): Likewise.
48332         * math/w_j1l.c (__y1l): Likewise.
48333         * math/w_jn.c (yn): Likewise.
48334         * math/w_jnf.c (ynf): Likewise.
48335         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
48336         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
48337         value for Bessel function domain errors outside _SVID_ mode.
48338         Adjust sign of return value for yn (negative integer, 0).
48339         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
48340         by zero in return for negative x and set sign appropriately for
48341         negative n.
48342         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
48343         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
48344         * math/libm-test.inc (y0_test_data): Add more tests and adjust
48345         expectations in error cases.
48346         (y1_test_data): Likewise.
48347         (yn_test_data): Likewise.
48348         * sysdeps/i386/fpu/libm-test-ulps: Update.
48349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48351 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
48353         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
48354         "64" to "64-v1".  Add "64-v2".
48355         (abi-64-options): Rename to ...
48356         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
48357         (abi-64-condition): Rename to ...
48358         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
48359         (abi-64-ld-soname): Rename to ...
48360         (abi-64-v1-ld-soname): ... this.
48361         (abi-64-v2-options): Define.
48362         (abi-64-v2-condition): Likewise.
48363         (abi-64-v2-ld-soname): Likewise.
48364         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
48365         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
48366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
48367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
48368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
48370 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
48371             Alan Modra  <amodra@gmail.com>
48373         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
48374         New versions for use with the ELFv2 ABI.
48375         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
48376         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
48377         declaration.
48378         (struct La_ppc64v2_retval): Likewise.
48379         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
48380         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
48381         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
48382         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
48383         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
48384         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
48385         Do not save or restore CR.
48386         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
48387         (_dl_profile_resolve): Do no save or restore CR.  Support extended
48388         return values for ELFv2 ABI.  Fix location of FPR return registers.
48389         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
48390         updated values for _CALL_ELF == 2.
48391         (La_regs, La_retval, int_retval): Likewise.
48393 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
48395         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
48396         (FRAME_MIN_SIZE_PARM): Likewise.
48397         (FRAME_BACKCHAIN): Likewise.
48398         (FRAME_CR_SAVE): Likewise.
48399         (FRAME_LR_SAVE): Likewise.
48400         (FRAME_TOC_SAVE): Likewise.
48401         (FRAME_PARM_SAVE): Likewise.
48402         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
48403         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
48404         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
48405         (call_mcount_parm_offset): New macro.
48406         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
48407         (PROF): Use symbolic stack frame offsets.
48408         (TAIL_CALL_SYSCALL_ERROR): Likewise.
48409         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
48410         Redefine in terms of FRAME_MIN_SIZE.
48411         (_dl_runtime_resolve): Use symbolic stack frame offsets.
48412         (_dl_profile_resolve): Likewise.  Update comment.
48413         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
48414         symbols stack frame offsets.
48415         (__sigsetjmp): Likewise.
48416         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
48417         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
48418         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
48419         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
48421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
48422         (FRAME_BACKCHAIN): Remove.
48423         (FRAME_CR_SAVE): Likewise.
48424         (FRAME_LR_SAVE): Likewise.
48425         (FRAME_COMPILER_DW): Likewise.
48426         (FRAME_LINKER_DW): Likewise.
48427         (FRAME_TOC_SAVE): Likewise.
48428         (FRAME_PARM_SAVE): Likewise.
48429         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
48430         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
48431         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
48432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
48433         (CHECK_SP): Use symbolic stack frame offsets.
48434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
48435         zone" instead of caller's parameter save area for temp storage.
48436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48437         Likewise.  Also, use symbolic stack frame offsets.
48438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
48439         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
48440         our own stack frame instead of the caller's.
48441         (__socket): Use symbolic stack frame offsets.
48443 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
48444             Alan Modra  <amodra@gmail.com>
48446         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
48447         Define.
48448         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
48449         (PPC64_LOCAL_ENTRY_OFFSET): Define.
48450         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
48451         New function.
48452         (elf_machine_fixup_plt): Call it.
48453         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
48454         reloc arguments.
48455         (elf_machine_rela): Update call to elf_machine_plt_conflict.
48456         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
48457         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
48458         r2 before calling target.
48460 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
48461             Alan Modra  <amodra@gmail.com>
48463         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
48464         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
48465         versions of macros to support ELFv2 ABI.
48466         (LOCALENTRY): New macro.
48467         (ENTRY, EALIGN): Use it.
48468         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
48469         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
48470         fall through into ENTRY entry point.
48471         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
48472         Only define if _CALL_ELF != 2.
48474         (elf_machine_matches_host): Verify ABI version matches.
48475         (RTLD_START): Use LOCALENTRY.
48476         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
48477         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
48478         (PLT_ENTRY_WORDS): New macro.
48479         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
48480         (elf_machine_runtime_setup): Support ELFv2 ABI.
48481         (elf_machine_fixup_plt): Likewise.
48482         (elf_machine_plt_conflict): Likewise.
48483         (resolve_ifunc): Likewise.
48484         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
48485         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
48486         Likewise.
48487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
48488         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
48489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48490         (makecontext): Support ELFv2 ABI.
48491         * elf/elf.h (EF_PPC64_ABI): Define.
48493 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
48495         * sysdeps/powerpc/powerpc64/sysdep.h
48496         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
48497         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
48498         (ENTRY) [ASSEMBLER]: ... but instead here ...
48499         (EALIGN) [ASSEMBLER]: ... and here.
48500         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
48501         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
48502         (ENTRY_2) [!ASSEMBLER]: Use it.
48503         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
48504         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
48505         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
48506         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
48507         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
48508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
48509         Use PPC64_LOAD_FUNCPTR.
48511         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
48513 2013-12-04  Alan Modra  <amodra@gmail.com>
48515         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
48516         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
48517         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
48518         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
48520         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
48521         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
48522         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
48523         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
48524         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
48525         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
48527 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
48529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48530         (__makecontext): Fix incorrect CFI when backtracing out of
48531         context created via makecontext.
48532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
48533         (__setcontext): Fix incorrect CFI during switch to new context.
48534         (__novec_setcontext): Likewise.
48536 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
48538         [BZ #4772]
48539         * time/strptime_l.c (__strptime_internal): Allow modifiers
48540         in strptime.
48541         * time/tst-strptime.c (day_tests): Add testcase.
48543 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48545         * scripts/bench.pl: Skip over blank lines.
48547 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
48549         [BZ #926]
48550         * manual/time.texi (Calendar Time): Clarify what timezone functions
48551         use.
48553 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48555         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48557 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
48559         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
48560         implementation.
48561         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
48562         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
48563         * debug/memset_chk.c (__memset_chk): Likewise.
48564         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
48565         * debug/strncpy_chk.c: Likewise.
48567 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
48569         [BZ #15268]
48570         [BZ #15425]
48571         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
48572         (__ieee754_exp): For possibly underflowing results, check size of
48573         result and force underflow exception if required.
48574         * math/auto-libm-test-in: Add more tests of exp.
48575         * math/auto-libm-test-out: Regenerated.
48576         * sysdeps/i386/fpu/libm-test-ulps: Update.
48577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48579         [BZ #16283]
48580         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
48581         * math/w_exp2f.c (__exp2f): Likewise.
48582         * math/w_exp2l.c (__exp2l): Likewise.
48583         * math/auto-libm-test-in: Do not allow missing errno on exp2
48584         underflow.
48585         * math/auto-libm-test-out: Regenerated.
48587 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
48589         [BZ #16274]
48590         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
48591         handle filename validation.
48592         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
48593         (do_open): Delete.
48595 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
48597         [BZ #6786]
48598         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
48599         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
48600         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
48601         <float.h>.
48602         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
48603         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
48604         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
48605         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
48606         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
48607         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
48608         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
48609         * math/auto-libm-test-in: Don't allow missing errno from erfc.
48610         Add more erfc tests.
48611         * math/auto-libm-test-out: Regenerated.
48612         * sysdeps/i386/fpu/libm-test-ulps: Update.
48613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48615         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
48616         exp2, expm1, j0 and j1.
48617         * math/auto-libm-test-out: Regenerated.
48618         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
48619         (erfc_test_data): Likewise.
48620         (exp_test_data): Likewise.
48621         (exp_tonearest_test_data): Likewise.
48622         (exp_towardzero_test_data): Likewise.
48623         (exp_downward_test_data): Likewise.
48624         (exp_upward_test_data): Likewise.
48625         (exp10_test_data): Likewise.
48626         (exp2_test_data): Likewise.
48627         (expm1_test_data): Likewise.
48628         (j0_test_data): Likewise.
48629         (j1_test_data): Likewise.
48630         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
48631         (input_flag_type): Add flag_xfail_rounding.
48632         (input_flags): Add xfail-rounding.
48633         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
48634         (output_for_one_input_case): Handle flag_xfail_rounding.
48635         * sysdeps/i386/fpu/libm-test-ulps: Update.
48636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48638 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
48640         [BZ #16289]
48641         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
48642         division by 0.
48644 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
48646         [BZ #16195]
48647         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
48648         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
48649         (STAP_PROBE0): New macro.
48650         (STAP_PROBE1): Likewise.
48651         (STAP_PROBE2): Likewise.
48652         (STAP_PROBE3): Likewise.
48653         (STAP_PROBE4): Likewise.
48655 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
48657         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
48659 2013-12-02  Steve Ellcey  <sellcey@mips.com>
48661         * benchtests/Makefile (bench): Add sqrt.
48662         (LDLIBS-bench-sqrt): New.
48663         * benchtests/sqrt-input: New.
48665 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
48667         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
48668         (GAIH_EAI): Likewise.
48669         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
48670         (gaih_inet): Likewise.
48671         (getaddrinfo): Don't use GAIH_EAI.
48673         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
48674         (struct gaih): Remove definition.
48676 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48678         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
48679         Use HERRNOP directly.
48681 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48683         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48685 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
48687         * math/gen-auto-libm-tests.c (test_functions): Add more
48688         single-argument functions.
48689         (special_fill_pi_2): New function.
48690         (special_fill_minus_pi_2): Likewise.
48691         (special_fill_pi_6): Likewise.
48692         (special_fill_minus_pi_6): Likewise.
48693         (special_fill_pi_3): Likewise.
48694         (special_fill_2pi_3): Likewise.
48695         (special_fill_e): Likewise.
48696         (special_fill_1_e): Likewise.
48697         (special_fill_e_minus_1): Likewise.
48698         (special_real_inputs): Add more special inputs.
48699         (output_for_one_input_case): Do not require ERANGE on underflow to
48700         zero if round-to-nearest result does not underflow to zero, unless
48701         exact results required.
48702         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
48703         atan, atanh, cbrt, cos and cosh.
48704         * math/auto-libm-test-out: Regenerated.
48705         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
48706         (acos_tonearest_test_data): Likewise.
48707         (acos_towardzero_test_data): Likewise.
48708         (acos_downward_test_data): Likewise.
48709         (acos_upward_test_data): Likewise.
48710         (acosh_test_data): Likewise.
48711         (asin_test_data): Likewise.
48712         (asin_tonearest_test_data): Likewise.
48713         (asin_towardzero_test_data): Likewise.
48714         (asin_upward_test_data): Likewise.
48715         (asinh_test_data): Likewise.
48716         (atan_test_data): Likewise.
48717         (atanh_test_data): Likewise.
48718         (cbrt_test_data): Likewise.
48719         (cos_test_data): Likewise.
48720         (cos_tonearest_test_data): Likewise.
48721         (cos_towardzero_test_data): Likewise.
48722         (cos_downward_test_data): Likewise.
48723         (cos_upward_test_data): Likewise.
48724         (cosh_test_data): Likewise.
48725         (cosh_tonearest_test_data): Likewise.
48726         (cosh_towardzero_test_data): Likewise.
48727         (cosh_downward_test_data): Likewise.
48728         (cosh_upward_test_data): Likewise.
48729         * sysdeps/i386/fpu/libm-test-ulps: Update.
48730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48732 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
48734         [BZ #6787]
48735         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
48736         * math/w_exp10f.c (__exp10f): Likewise.
48737         * math/w_exp10l.c (__exp10l): Likewise.
48738         * math/libm-test.inc (exp10_test_data): Add more tests and expect
48739         errno settings in existing tests.
48741         [BZ #14032]
48742         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
48743         precision control set to double precision.
48744         * sysdeps/i386/fpu/w_sqrt.c: New file.
48745         * math/auto-libm-test-in: Add more tests.
48746         * math/auto-libm-test-out: Update.
48748         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
48749         (sqrt_test_tonearest): New function.
48750         (sqrt_towardzero_test_data): New variable.
48751         (sqrt_test_towardzero): New function.
48752         (sqrt_downward_test_data): New variable.
48753         (sqrt_test_downward): New function.
48754         (sqrt_upward_test_data): New variable.
48755         (sqrt_test_upward): New function.
48756         (main): Call the new functions.
48758         * math/gen-auto-libm-tests.c: New file.
48759         * math/auto-libm-test-in: Likewise.
48760         * math/auto-libm-test-out: New generated file.
48761         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
48762         variables.
48763         (%beautify): Add generated representations of zero.
48764         (top level): Set $auto_input and call parse_auto_input.
48765         (beautify): Remove trailing "f" from hex float constants.
48766         (parse_args): Handle XFAIL_TEST.
48767         (convert_condition): New function.
48768         (or_value): Likewise.
48769         (or_cond_value): Likewise.
48770         (generate_testfile): Handle AUTO_TESTS_* lines.
48771         (parse_auto_input): New function.
48772         * math/libm-test.inc (XFAIL_TEST): New macro.
48773         (ERRNO_UNCHANGED): Update value.
48774         (ERRNO_EDOM): Likewise.
48775         (ERRNO_ERANGE): Likewise.
48776         (IGNORE_RESULT): Likewise.
48777         (TEST_COND_flt_32): New macro.
48778         (TEST_COND_dbl_64): Likewise.
48779         (TEST_COND_ldbl_96_intel): Likewise.
48780         (TEST_COND_ldbl_96_m68k): Likewise.
48781         (TEST_COND_ldbl_128): Likewise.
48782         (TEST_COND_ldbl_128ibm): Likewise.
48783         (TEST_COND_long32): Likewise.
48784         (TEST_COND_long64): Likewise.
48785         (TEST_COND_before_rounding): Likewise.
48786         (TEST_COND_after_rounding): Likewise.
48787         (enable_test): Handle XFAIL_TEST flag.
48788         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
48789         with finite results.
48790         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
48791         auto-libm-test-out.
48793 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48794             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48796         [BZ #16214]
48797         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
48798         __tls_get_addr_internal instead of __tls_get_offset in order to
48799         avoid GOT pointer dependency.  Make rtld export
48800         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
48801         __tls_get_addr since we are a __tls_get_offset platform.
48802         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
48803         GOT pointer being set up before.
48804         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
48806 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
48808         * manual/math.texi (Errors in Math Functions): Document accuracy
48809         goals.
48811         [BZ #15004]
48812         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
48813         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
48814         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48815         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48816         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48817         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48818         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48819         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
48820         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
48821         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48822         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48823         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48824         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48825         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48826         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48827         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
48829         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
48830         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
48831         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
48832         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
48833         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
48834         Likewise.
48835         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
48836         Likewise.
48837         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
48838         Likewise.
48839         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
48840         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
48841         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
48842         atomic-feupdateenv and flt-rounds.
48843         * sysdeps/powerpc/nofpu/Versions (libc): Add
48844         __atomic_feholdexcept, __atomic_feclearexcept,
48845         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
48846         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
48847         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
48848         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
48849         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
48850         here.
48851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
48852         Update.
48854         * manual/arith.texi (FP Exceptions): Document that exceptions may
48855         not be raised when matherr is used.
48856         (Math Error Reporting): Document overflow in directed rounding
48857         modes.  Document that errno may not be set when finite values are
48858         returned on overflow.  Document intent to set errno on underflow
48859         only for underflow to zero.
48861         [BZ #16271]
48862         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
48863         round-to-nearest then adjust result for other rounding modes.
48864         * include/fenv.h (fegetround): Use libm_hidden_proto.
48865         * math/fegetround.c (fegetround): Use libm_hidden_def.
48866         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
48867         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
48868         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
48869         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
48870         Likewise.
48871         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
48872         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
48873         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
48874         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
48876 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48878         [BZ #16077]
48879         * nss/Versions (libnss_files): Add
48880         _nss_files_gethostbyname3_r.
48881         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
48882         New function.
48883         (HOST_DB_LOOKUP): Remove macro.
48884         (_nss_files_gethostbyname_r): Implement function without the
48885         HOST_DB_LOOKUP macro.
48886         (_nss_files_gethostbyname2_r): Likewise.
48888 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
48890         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
48892 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
48894         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
48895         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
48896         warning.
48898 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48900         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
48901         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
48902         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
48903         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
48904         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
48905         __fe_nomask_env_priv and attribute_hidden.
48906         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
48907         (libc_feupdateenv_test_ppc): Likewise.
48908         (libc_feresetround_ppc): Likewise.
48909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48910         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
48911         compat_symbol macro.
48912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48913         (__fe_nomask_env): Likewise.
48914         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
48916 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
48918         * string/Makefile: Remove ifunc tests.
48919         * string/test-string.h: Define TEST_IFUNC.
48920         * string/test-bcopy-ifunc.c: Remove.
48921         * string/test-bzero-ifunc.c: Likewise.
48922         * string/test-memccpy-ifunc.c: Likewise.
48923         * string/test-memchr-ifunc.c: Likewise.
48924         * string/test-memcmp-ifunc.c: Likewise.
48925         * string/test-memcpy-ifunc.c: Likewise.
48926         * string/test-memmem-ifunc.c: Likewise.
48927         * string/test-memmove-ifunc.c: Likewise.
48928         * string/test-mempcpy-ifunc.c: Likewise.
48929         * string/test-memrchr-ifunc.c: Likewise.
48930         * string/test-memset-ifunc.c: Likewise.
48931         * string/test-rawmemchr-ifunc.c: Likewise.
48932         * string/test-stpcpy-ifunc.c: Likewise.
48933         * string/test-stpncpy-ifunc.c: Likewise.
48934         * string/test-strcasecmp-ifunc.c: Likewise.
48935         * string/test-strcasestr-ifunc.c: Likewise.
48936         * string/test-strcat-ifunc.c: Likewise.
48937         * string/test-strchr-ifunc.c: Likewise.
48938         * string/test-strchrnul-ifunc.c: Likewise.
48939         * string/test-strcmp-ifunc.c: Likewise.
48940         * string/test-strcpy-ifunc.c: Likewise.
48941         * string/test-strcspn-ifunc.c: Likewise.
48942         * string/test-strlen-ifunc.c: Likewise.
48943         * string/test-strncasecmp-ifunc.c: Likewise.
48944         * string/test-strncat-ifunc.c: Likewise.
48945         * string/test-strncmp-ifunc.c: Likewise.
48946         * string/test-strncpy-ifunc.c: Likewise.
48947         * string/test-strnlen-ifunc.c: Likewise.
48948         * string/test-strpbrk-ifunc.c: Likewise.
48949         * string/test-strrchr-ifunc.c: Likewise.
48950         * string/test-strspn-ifunc.c: Likewise.
48951         * string/test-strstr-ifunc.c: Likewise.
48953 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
48955         * benchtests/Makefile: Remove ifunc tests.
48956         * benchtests/bench-string.h: Define TEST_IFUNC.
48957         * benchtests/bench-bcopy-ifunc.c: Remove.
48958         * benchtests/bench-bzero-ifunc.c: Likewise.
48959         * benchtests/bench-memccpy-ifunc.c: Likewise.
48960         * benchtests/bench-memchr-ifunc.c: Likewise.
48961         * benchtests/bench-memcmp-ifunc.c: Likewise.
48962         * benchtests/bench-memcpy-ifunc.c: Likewise.
48963         * benchtests/bench-memmem-ifunc.c: Likewise.
48964         * benchtests/bench-memmove-ifunc.c: Likewise.
48965         * benchtests/bench-mempcpy-ifunc.c: Likewise.
48966         * benchtests/bench-memrchr-ifunc.c: Likewise.
48967         * benchtests/bench-memset-ifunc.c: Likewise.
48968         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
48969         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
48970         * benchtests/bench-stpcpy-ifunc.c: Likewise.
48971         * benchtests/bench-stpncpy-ifunc.c: Likewise.
48972         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
48973         * benchtests/bench-strcasestr-ifunc.c: Likewise.
48974         * benchtests/bench-strcat-ifunc.c: Likewise.
48975         * benchtests/bench-strchr-ifunc.c: Likewise.
48976         * benchtests/bench-strchrnul-ifunc.c: Likewise.
48977         * benchtests/bench-strcmp-ifunc.c: Likewise.
48978         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
48979         * benchtests/bench-strcpy-ifunc.c: Likewise.
48980         * benchtests/bench-strcspn-ifunc.c: Likewise.
48981         * benchtests/bench-strlen-ifunc.c: Likewise.
48982         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
48983         * benchtests/bench-strncat-ifunc.c: Likewise.
48984         * benchtests/bench-strncmp-ifunc.c: Likewise.
48985         * benchtests/bench-strncpy-ifunc.c: Likewise.
48986         * benchtests/bench-strnlen-ifunc.c: Likewise.
48987         * benchtests/bench-strpbrk-ifunc.c: Likewise.
48988         * benchtests/bench-strrchr-ifunc.c: Likewise.
48989         * benchtests/bench-strsep-ifunc.c: Likewise.
48990         * benchtests/bench-strspn-ifunc.c: Likewise.
48991         * benchtests/bench-strstr-ifunc.c: Likewise.
48993 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
48995         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
48997 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
48999         * resolv/netdb.h: Use __glibc_reserved instead __unused.
49000         * rt/aio.h: Likewise.
49001         * sysdeps/gnu/bits/utmp.h: Likewise.
49002         * sysdeps/gnu/bits/utmpx.h: Likewise.
49003         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
49004         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
49005         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
49006         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
49007         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
49008         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
49009         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
49010         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
49011         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
49012         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
49013         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
49014         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
49015         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
49016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
49017         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
49018         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
49019         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
49020         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
49021         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
49022         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
49023         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
49024         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
49025         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
49026         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49027         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
49028         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49029         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
49030         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
49031         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
49032         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
49033         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
49034         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
49035         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
49036         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
49037         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
49038         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
49039         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
49040         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
49041         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
49042         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
49043         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
49044         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
49046 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
49048         [BZ #16245]
49049         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
49050         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
49052 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
49054         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
49055         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
49056         Likewise.
49058 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49060         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
49061         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
49062         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
49063         (__fesetround): Remove define.
49064         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
49065         rounding and exceptions handling.
49066         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
49067         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
49068         (__fe_nomask_env): Likewise.
49069         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
49070         __fegetround instead of fegetround.
49071         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
49072         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
49074 2013-11-21  Roland McGrath  <roland@hack.frob.com>
49076         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
49077         it's there.
49079         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
49081 2013-11-21  Meador Inge  <meadori@codesourcery.com>
49083         [BZ #11157]
49084         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
49085         (encrypt_r): Likewise.
49086         * malloc/obstack.h (obstack_free): Likewise.
49087         * posix/unistd.h (encrypt): Likewise.
49089 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
49091         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
49092         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
49093         DL_CALL_DT_FINI() that call the functions directly.
49094         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
49095         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
49096         * elf/dl-fini.c: Likewise.
49098 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
49100         * malloc/hooks.c (memalign_check): Add alignment rounding.
49101         * malloc/malloc.c (_mid_memalign): New function.
49102         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
49103         Implement by calling _mid_memalign.
49104         * manual/probes.texi (Memory Allocation Probes): Remove
49105         memory_valloc_retry and memory_pvalloc_retry.
49107 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
49109         * locale/programs/locarchive.c (open_archive): Add const
49110         qualifier to ARCHIVEFNAME and copy default fname to
49111         DEFAULT_FNAME.
49113         [BZ #15601]
49114         * libio/tst-widetext.input: Rename Oriya to Odia.
49115         * locale/iso-639.def: Likewise.
49117         * manual/probes.texi (Mathematical Function Probes): Add
49118         documentation for sin, cos, asin and acos probes.
49119         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
49120         (__sin32): Add slowasin probe.
49121         (__cos32): Add slowacos probe.
49122         (__mpsin): Add slowsin probe.
49123         (__mpcos): Add slowcos probe.
49125 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
49127         [BZ #15483]
49128         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
49129         thread-local __sim_exceptions_thread and global
49130         __sim_exceptions_global.
49131         (__sim_disabled_exceptions): Change to thread-local
49132         __sim_disabled_exceptions_thread and global
49133         __sim_disabled_exceptions_global.
49134         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
49135         and global __sim_round_mode_global.
49136         (__simulate_exceptions): Use thread-local floating-point state and
49137         set global state from it as needed.
49138         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
49139         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
49140         __sim_round_mode_thread.
49141         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
49142         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
49143         and global __sim_exceptions_global.
49144         (__sim_disabled_exceptions): Change to thread-local
49145         __sim_disabled_exceptions_thread and global
49146         __sim_disabled_exceptions_global.
49147         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
49148         and global __sim_round_mode_global.
49149         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
49150         (SIM_SET_GLOBAL): Likewise.
49151         * sysdeps/powerpc/soft-fp/sfp-machine.h
49152         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
49153         __sim_round_mode_thread.
49154         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
49155         __sim_disabled_exceptions_thread.
49156         (__sim_exceptions): Change to __sim_exceptions_thread.
49157         (__sim_disabled_exceptions): Change to
49158         __sim_disabled_exceptions_thread.
49159         (__sim_round_mode): Change to __sim_round_mode_thread.
49160         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
49161         thread-local floating-point state and set global state from it as
49162         needed.
49163         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
49164         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
49165         (__sim_disabled_exceptions): Remove extern declaration.
49166         (feenableexcept): Use thread-local floating-point state and set
49167         global state from it as needed.
49168         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
49169         extern declaration.
49170         (__sim_disabled_exceptions): Likewise.
49171         (__sim_round_mode): Likewise.
49172         (__fegetenv): Use thread-local floating-point state.
49173         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
49174         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
49175         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
49176         floating-point state and set global state from it as needed.
49177         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
49178         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
49179         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
49180         Likewise.
49181         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
49182         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
49183         Likewise.
49184         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
49185         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
49186         Use __sim_round_mode_thread.
49187         * math/test-fenv-tls.c: New file.
49188         * math/Makefile (tests): Add test-fenv-tls.
49189         ($(objpfx)test-fenv-tls): Depend on
49190         $(common-objpfx)nptl/libpthread.so.
49192 2013-11-19  Andreas Schwab  <schwab@suse.de>
49194         * locale/programs/locale.c (show_info): Decode wordarray elements.
49195         * locale/categories.def (LC_MONETARY): Add element for
49196         _NL_MONETARY_CRNCYSTR.
49197         * locale/C-monetary.c (conversion_rate): New variable.
49198         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
49199         element.
49201 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
49203         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
49204         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
49206 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
49208         * elf/Makefile (tst-auxv): New test.
49209         * elf/tst-auxv.c: New
49210         * elf/rtld.c (dl_main): Adjust AT_EXECFN
49212 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
49214         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
49215         (hidden_proto): Caller changed.
49216         (hidden_tls_proto): New macro.
49217         (libc_hidden_tls_proto): Likewise.
49218         (rtld_hidden_tls_proto): Likewise.
49219         (libm_hidden_tls_proto): Likewise.
49220         (libresolv_hidden_tls_proto): Likewise.
49221         (librt_hidden_tls_proto): Likewise.
49222         (libdl_hidden_tls_proto): Likewise.
49223         (libnss_files_hidden_tls_proto): Likewise.
49224         (libnsl_hidden_tls_proto): Likewise.
49225         (libnss_nisplus_hidden_tls_proto): Likewise.
49226         (libutil_hidden_tls_proto): Likewise.
49228 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
49230         [BZ #10253]
49231         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
49232         (decompose_rpath): Defer expansion to fillin_rpath.
49233         (_dl_init_paths): Pass linkmap to fillin_rpath.
49235 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
49237         * benchtests/Makefile: Add strsep.
49238         * benchtests/bench-strsep.c: New file: strsep benchtest.
49239         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
49241 2013-11-18  Andreas Schwab  <schwab@suse.de>
49243         * locale/programs/locale.c (show_info) [case byte]: Check for
49244         '\377' instead of '\177'.
49245         * locale/C-monetary.c (not_available): Always use "\377".
49246         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
49247         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
49248         detect unavailable sign_posn locale elements.
49249         * locale/localeconv.c (__localeconv): For grouping and
49250         mon_grouping handle "\177" and "\377" like no grouping.
49251         (INT_ELEM): New macro.  Use it to set all numeric members.
49252         * locale/programs/ld-monetary.c (monetary_read)
49253         <tok_mon_grouping>: Normalize single -1 to the empty string.
49254         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
49255         Likewise.
49257 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
49259         [BZ #16055]
49260         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
49261         when we match (nil).
49262         * stdio-common/tst-sscanf.c (struct test): Add testcase.
49264 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
49266         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
49267         (NO_TEST_INLINE): Update value.
49268         (ERRNO_UNCHANGED): Likewise.
49269         (ERRNO_EDOM): Likewise.
49270         (ERRNO_ERANGE): Likewise.
49271         (IGNORE_RESULT): Likewise.
49272         (check_float_internal): Check signs of NaN results if
49273         TEST_NAN_SIGN used.
49274         (check_complex): Pass TEST_NAN_SIGN flag through to second
49275         check_float_internal call.
49276         (copysign_test_data): Add tests with quiet NaNs as second
49277         argument.  Use TEST_NAN_SIGN.
49278         (fabs_test_data): Add test of negative quiet NaN argument.  Use
49279         TEST_NAN_SIGN.
49280         (signbit_test_data): Add tests of quiet NaN argument.
49281         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
49283         * math/gen-libm-test.pl (show_exceptions): Take extra argument
49284         $ignore_result.
49285         (parse_args): Handle function results specified as IGNORE.
49286         * math/libm-test.inc (IGNORE_RESULT): New macro.
49287         (check_float_internal): Do not check numerical result if flag
49288         IGNORE_RESULT set.
49289         (check_complex): Pass through IGNORE_RESULT to second
49290         check_float_internal call.
49291         (check_int): Do not check numerical result if flag IGNORE_RESULT
49292         set.
49293         (check_long): Likewise.
49294         (check_bool): Likewise.
49295         (check_longlong): Likewise.
49296         (lrint_test_data): Add tests of infinite and NaN arguments.
49297         (lrint_tonearest_test_data): Likewise.
49298         (lrint_towardzero_test_data): Likewise.
49299         (lrint_downward_test_data): Likewise.
49300         (lrint_upward_test_data): Likewise.
49301         (llrint_test_data): Likewise.
49302         (llrint_tonearest_test_data): Likewise.
49303         (llrint_towardzero_test_data): Likewise.
49304         (llrint_downward_test_data): Likewise.
49305         (llrint_upward_test_data): Likewise.
49306         (lround_test_data): Likewise.
49307         (llround_test_data): Likewise.
49309         * math/libm-test.inc (NO_TEST_INLINE): New macro.
49310         (ERRNO_UNCHANGED): Update value.
49311         (ERRNO_EDOM): Likewise.
49312         (ERRNO_ERANGE): Likewise.
49313         (NO_TEST_INLINE_FLOAT): New macro.
49314         (NO_TEST_INLINE_DOUBLE): Likewise.
49315         (enable_test): New function.
49316         (RUN_TEST_f_f): Check enable_test before running test.
49317         (RUN_TEST_2_f): Likewise.
49318         (RUN_TEST_fff_f): Likewise.
49319         (RUN_TEST_c_f): Likewise.
49320         (RUN_TEST_f_f1): Likewise.
49321         (RUN_TEST_fF_f1): Likewise.
49322         (RUN_TEST_fI_f1): Likewise.
49323         (RUN_TEST_ffI_f1): Likewise.
49324         (RUN_TEST_c_c): Likewise.
49325         (RUN_TEST_cc_c): Likewise.
49326         (RUN_TEST_f_i): Likewise.
49327         (RUN_TEST_f_i_tg): Likewise.
49328         (RUN_TEST_ff_i_tg): Likewise.
49329         (RUN_TEST_f_b): Likewise.
49330         (RUN_TEST_f_b_tg): Likewise.
49331         (RUN_TEST_f_l): Likewise.
49332         (RUN_TEST_f_L): Likewise.
49333         (RUN_TEST_fFF_11): Likewise.
49334         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
49335         conditionals.
49336         (cosh_test_data): Likewise.
49337         (exp_test_data): Likewise.
49338         (expm1_test_data): Likewise.
49339         (hypot_test_data): Likewise.
49340         (pow_test_data): Likewise.
49341         (sinh_test_data): Likewise.
49342         (tanh_test_data): Likewise.
49343         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
49344         flags argument.
49346         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
49347         tests with quiet NaN input and output.
49348         (acosh_test_data): Likewise.
49349         (asin_test_data): Likewise.
49350         (asinh_test_data): Likewise.
49351         (atan_test_data): Likewise.
49352         (atanh_test_data): Likewise.
49353         (atan2_test_data): Likewise.
49354         (cbrt_test_data): Likewise.
49355         (cos_test_data): Likewise.
49356         (cosh_test_data): Likewise.
49357         (erf_test_data): Likewise.
49358         (erfc_test_data): Likewise.
49359         (exp_test_data): Likewise.
49360         (exp10_test_data): Likewise.
49361         (exp2_test_data): Likewise.
49362         (expm1_test_data): Likewise.
49363         (hypot_test_data): Likewise.
49364         (j0_test_data): Likewise.
49365         (j1_test_data): Likewise.
49366         (jn_test_data): Likewise.
49367         (lgamma_test_data): Likewise.
49368         (log_test_data): Likewise.
49369         (log10_test_data): Likewise.
49370         (log1p_test_data): Likewise.
49371         (log2_test_data): Likewise.
49372         (pow_test_data): Likewise.
49373         (scalb_test_data): Likewise.
49374         (sin_test_data): Likewise.
49375         (sincos_test_data): Likewise.
49376         (sinh_test_data): Likewise.
49377         (tan_test_data): Likewise.
49378         (tanh_test_data): Likewise.
49379         (tgamma_test_data): Likewise.
49380         (y0_test_data): Likewise.
49381         (y1_test_data): Likewise.
49382         (yn_test_data): Likewise.
49384         [BZ #16167]
49385         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
49386         argument being NaN and avoid computations with second argument in
49387         that case.
49388         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
49389         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
49390         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
49392 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
49394         * locale/iso-639.def: Add Chitwani Tharu (the).
49396 2013-11-14  Andreas Schwab  <schwab@suse.de>
49398         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
49399         word instead of empty string.
49401 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
49404         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
49405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
49406         (__fe_nomask_env): Likewise.
49408 2013-11-13  Steve Ellcey  <sellcey@mips.com>
49410         * benchtests/bench-timing.h: Include time.h.
49412 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
49414         [BZ #15997]
49415         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
49416         to 3.4.0 for x32.
49417         * sysdeps/unix/sysv/linux/configure: Regenerated.
49419 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
49421         [BZ #16151]
49422         * stdlib/strtod_l.c (round_and_return): Do not consider
49423         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
49424         exponent one less than half the least subnormal exponent.
49425         * stdlib/test-strtod-round-data: Add more tests.
49426         * stdlib/tst-strtod-round.c (tests): Regenerated.
49428 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49430         [BZ #14143]
49431         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
49432         (__fe_mask_env): Likewise.
49433         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
49434         libm_hidden_proto and add function prototype.
49435         (__fe_mask_env): Add function prototype.
49436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
49437         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
49438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
49439         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
49440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
49441         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
49443 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49445         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
49446         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
49448 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49450         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
49451         of htab_find_slot().
49453 2013-11-11  David S. Miller  <davem@davemloft.net>
49455         [BZ #16150]
49456         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
49457         symbol in the non-vis3 case in static builds.
49458         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
49459         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
49460         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
49461         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
49463 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
49465         [BZ #387]
49466         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
49467         it is empty.
49469 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49471         * benchtests/Makefile: Add bench-strtod.
49472         * benchtests/bench-strtod.c: New file: strtod benchtest
49474 2013-11-11  Andreas Schwab  <schwab@suse.de>
49476         [BZ #16153]
49477         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
49478         terminating NUL in key length.
49480 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49482         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
49483         Add artificial ODP entry for vDSO symbol for PPC64.
49484         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
49485         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
49487 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
49489         [BZ #15374]
49490         * nss/getent.c (services_keys): Recognize services starting with digit.
49492 2013-11-06  David S. Miller  <davem@davemloft.net>
49494         [BZ #15985]
49495         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
49496         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
49498 2013-11-06  Will Newton  <will.newton@linaro.org>
49500         * manual/memory.texi (Malloc Examples): Remove register
49501         keyword from examples.
49503 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
49505         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
49507 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
49509         [BZ #6981]
49510         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
49511         depending on [__GCC_IEC_559 > 0].
49512         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
49513         depending on [__GCC_IEC_559_COMPLEX > 0].
49515 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
49517         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
49518         to iso-639.def.
49520 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
49522         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
49524 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
49526         [BZ #16112]
49527         * malloc/malloc (malloc_info): Do not handle first bin as
49528         special case.
49530 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
49532         * locale/iso-639.def: Add Central Nahuatl (nhn).
49534 2013-11-01  Bruno Haible  <bruno@clisp.org>
49536         [BZ #7003]
49537         * manual/math.texi (BSD Random): Specify range upper bound as
49538         in POSIX.
49540 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
49542         * locale/iso-639.def: Add Meadow Mari (mhr).
49544 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
49546         [BZ #14752], [BZ #15763]
49547         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
49548         Validate name.
49549         * rt/tst_shm.c: Add test for escaping directory.
49551 2013-10-31  Andreas Schwab  <schwab@suse.de>
49553         [BZ #15917]
49554         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
49555         followed by 'x' as part of digit sequence.
49556         * stdio-common/tst-sscanf.c (double_tests2): New tests.
49558 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
49560         [BZ #16037]
49561         * configure.ac: allow GNU Make 4.0 and greater.
49562         * configure: Regenerated.
49564 2013-10-30  Will Newton  <will.newton@linaro.org>
49566         [BZ #16038]
49567         * malloc/hooks.c (memalign_check): Limit alignment to the
49568         maximum representable power of two.
49569         * malloc/malloc.c (__libc_memalign): Likewise.
49570         * malloc/tst-memalign.c (do_test): Add test for very
49571         large alignment values.
49572         * malloc/tst-posix_memalign.c (do_test): Likewise.
49574 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
49576         [BZ #11087]
49577         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
49578         (munmap_chunk): Likewise.
49579         (mremap_chunk): Likewise.
49581 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
49583         [BZ #15799]
49584         * stdlib/div.c (div): Remove obsolete code.
49585         * stdlib/ldiv.c (ldiv): Likewise.
49586         * stdlib/lldiv.c (lldiv): Likewise.
49588 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49590         [BZ #16071]
49591         * nss/nss_files/files-XXX.c (get_contents_ret): New
49592         enumerator.
49593         (get_contents): New function.
49594         (internal_getent): Use it.  Expand size of LINEBUFLEN.
49596 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
49598         * configure.in: Moved to ...
49599         * configure.ac: ... here. Change reference to configure.in
49600         to configure.ac.
49601         * sysdeps/arm/preconfigure.ac: ... here.
49602         configure.in to configure.ac.
49603         * sysdeps/gnu/configure.in: Moved to ...
49604         * sysdeps/gnu/configure.ac: ... here.
49605         * sysdeps/i386/configure.in: Moved to ...
49606         * sysdeps/i386/configure.ac: ... here.
49607         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
49608         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
49609         * sysdeps/mach/configure.in: Moved to ...
49610         * sysdeps/mach/configure.ac: ... here.
49611         * sysdeps/mach/hurd/configure.in: Moved to ...
49612         * sysdeps/mach/hurd/configure.ac: ... here.
49613         * sysdeps/powerpc/configure.in: Moved to ...
49614         * sysdeps/powerpc/configure.ac: ... here.
49615         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
49616         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
49617         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
49618         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
49619         * sysdeps/s390/s390-32/configure.in: Moved to ...
49620         * sysdeps/s390/s390-32/configure.ac: ... here.
49621         * sysdeps/s390/s390-64/configure.in: Moved to ...
49622         * sysdeps/s390/s390-64/configure.ac: ... here.
49623         * sysdeps/sh/configure.in: Moved to ...
49624         * sysdeps/sh/configure.ac: ... here.
49625         * sysdeps/sparc/configure.in: Moved to ...
49626         * sysdeps/sparc/configure.ac: ... here.
49627         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
49628         * sysdeps/unix/sysv/linux/configure.ac: ... here.
49629         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
49630         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
49631         * sysdeps/x86_64/configure.in: Moved to ...
49632         * sysdeps/x86_64/configure.ac: ... here.
49633         * sysdeps/x86_64/preconfigure.in: Moved to ...
49634         * sysdeps/x86_64/preconfigure.ac: ... here.
49635         * aclocal.m4: Change reference to configure.in to configure.ac.
49636         * config.h.in: Likewise.
49637         * manual/install.texi: Likewise.
49638         * manual/maint.texi: Likewise.
49639         * Makefile: Likewise.
49640         * malloc/Makefile: Likewise.
49641         * nscd/Makefile: Likewise.
49642         * Makeconfig: Change reference to configure.in and
49643         preconfigure.in to configure.ac and preconfigure.ac
49644         respectively.
49645         * INSTALL: Regenerated.
49646         * configure: Likewise.
49647         * sysdeps/gnu/configure: Likewise.
49648         * sysdeps/i386/configure: Likewise.
49649         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
49650         * sysdeps/mach/configure: Likewise.
49651         * sysdeps/mach/hurd/configure: Likewise.
49652         * sysdeps/powerpc/configure: Likewise.
49653         * sysdeps/powerpc/powerpc32/configure: Likewise.
49654         * sysdeps/powerpc/powerpc64/configure: Likewise.
49655         * sysdeps/s390/s390-32/configure: Likewise.
49656         * sysdeps/s390/s390-64/configure: Likewise.
49657         * sysdeps/sh/configure: Likewise.
49658         * sysdeps/sparc/configure: Likewise.
49659         * sysdeps/unix/sysv/linux/configure: Likewise.
49660         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
49661         * sysdeps/x86_64/configure: Likewise.
49662         * sysdeps/x86_64/preconfigure: Likewise.
49664 2013-10-29  Andreas Schwab  <schwab@suse.de>
49666         * stdio-common/Makefile (tst-swscanf-ENV): Define.
49668 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49670         * benchtests/pow-inputs: Add new inputs.
49672         * benchtests/exp-inputs: Add new inputs.
49674         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
49675         conditional check for return value.
49676         (__cos32): Likewise.
49678 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49680         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
49681         to provide a boost for large inputs with word alignment.
49682         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
49683         implementation based on optimized PPC64 strcpy.
49684         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
49685         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
49686         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
49687         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
49689 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
49691         [BZ #2801]
49692         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
49694 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
49696         [BZ #14876]
49697         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
49698         * time/tst-strptime.c (day_tests): Add testcase.
49700 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
49702         [BZ #14029]
49703         * manual/pattern.texi: Acknowledge that fnmatch can fail.
49705 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
49707         [BZ #16074]
49708         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
49709         MAP_FAILED on error.
49711 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
49713         [BZ #16072]
49714         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
49715         heap for large requests.
49717 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
49719         [BZ #9954]
49720         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
49721         result if the result has no associated interface.
49722         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
49723         interface for all 127.X.Y.Z addresses.
49725 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
49727         * locale/iso-639.def: Add Ligurian (lij)
49729 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
49731         [BZ #15825]
49732         * sunrpc/rpc_main.c: Document rpcgen -5.
49734 2013-10-19  Michael Stahl  <mstahl@redhat.com>
49736         * elf/rtld.c (do_preload): Print the reason why preloading failed.
49738 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
49740         [BZ #10278]
49741         * posix/glob.c: Match only directories when trailing slash is present.
49742         * posix/tst-gnuglob.c (my_opendir): Do not open files.
49743         (main): Add testcase.
49745 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
49747         [BZ #15670]
49748         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
49750 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
49752         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
49753         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
49754         AUTH_DES and cindex for FIPS 140-2.
49755         (DES Encryption): Add cindex FIPS 46-3.
49757         * locale/locarchive.h (struct locarhandle): Add fname.
49758         * locale/programs/localedef.c (main): Pass ARGV[remaining]
49759         if an optional argument was specified to --list-archive,
49760         otherwise NULL.
49761         * locale/programs/locarchive.c (show_archive_content): Take new
49762         argument fname and pass it via ah.fname to open_archive.
49763         * locale/programs/localedef.h: Update decl.
49764         (open_archive): If AH->fname is non-null, open that file
49765         rather than the default file name, and don't ignore ENOENT.
49766         (create_archive): Set AH.fname to NULL.
49767         (delete_locales_from_archive): Likewise.
49768         (add_locales_to_archive): Likewise.
49769         * locale/programs/locfile.c (write_all_categories): Likewise.
49771 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
49772             Aldy Hernandez  <aldyh@redhat.com>
49774         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
49775         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
49776         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
49777         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
49778         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
49779         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
49780         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
49781         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
49782         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
49783         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
49784         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
49785         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
49786         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
49787         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
49788         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
49789         Likewise.
49790         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
49791         Likewise.
49792         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
49793         Likewise.
49794         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
49795         Likewise.
49796         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
49797         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
49798         Likewise.
49799         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
49800         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
49801         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
49802         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
49803         Likewise.
49804         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
49805         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
49806         * sysdeps/powerpc/preconfigure: Likewise.
49807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
49808         Likewise.
49809         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
49810         Replace contents of file by #include of <fenv_libc.h>.
49811         * sysdeps/powerpc/soft-fp/sfp-machine.h
49812         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
49813         and <sys/prctl.h>.
49814         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
49815         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
49816         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
49817         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
49818         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
49819         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
49820         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
49821         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
49822         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
49823         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
49824         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
49825         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
49826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
49827         Allow copysignl PLT reference to be missing.
49829 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
49830             Joseph Myers  <joseph@codesourcery.com
49832         [BZ #15948]
49833         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
49834         single character.
49835         (add_to_tablewc): Assert sequence of wide characters is nonempty.
49837 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
49839         * elf/tst-tls-dlinfo.c: Don't include tls.h.
49840         * elf/tst-tls1.c: Likewise.
49841         * elf/tst-tls10.h: Likewise.
49842         * elf/tst-tls14.c: Likewise.
49843         * elf/tst-tls2.c: Likewise.
49844         * elf/tst-tls3.c: Likewise.
49845         * elf/tst-tls4.c: Likewise.
49846         * elf/tst-tls5.c: Likewise.
49847         * elf/tst-tls6.c: Likewise.
49848         * elf/tst-tls7.c: Likewise.
49849         * elf/tst-tls8.c: Likewise.
49850         * elf/tst-tls9.c: Likewise.
49851         * elf/tst-tlsmod1.c: Likewise.
49852         * elf/tst-tlsmod13.c: Likewise.
49853         * elf/tst-tlsmod13a.c: Likewise.
49854         * elf/tst-tlsmod14a.c: Likewise.
49855         * elf/tst-tlsmod16a.c: Likewise.
49856         * elf/tst-tlsmod16b.c: Likewise.
49857         * elf/tst-tlsmod2.c: Likewise.
49858         * elf/tst-tlsmod3.c: Likewise.
49859         * elf/tst-tlsmod4.c: Likewise.
49860         * elf/tst-tlsmod5.c: Likewise.
49861         * elf/tst-tlsmod6.c: Likewise.
49863 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
49865         [BZ #12486]
49866         * malloc/malloc.c: remove checks for statistics.
49868 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
49870         [BZ #15277]
49871         * inet/inet_net.c (inet_network): Detect additional invalid strings.
49872         * inet/tst-network.c: Add testcase.
49874 2013-10-17  Andreas Schwab  <schwab@suse.de>
49876         [BZ #15218]
49877         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
49878         to determine canonical name.
49880 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
49882         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
49883         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
49884         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49885         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
49886         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49887         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49888         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49889         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49890         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
49891         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49892         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
49893         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49894         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49895         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49896         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49897         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49898         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49899         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49900         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
49901         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49902         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49903         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49904         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49905         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
49906         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
49907         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49908         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49909         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
49910         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49911         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
49912         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49913         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49914         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
49915         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49916         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49917         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49918         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49919         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49920         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49921         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49922         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49923         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
49924         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
49925         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49926         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
49927         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49928         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49929         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
49930         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
49931         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49932         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
49933         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49934         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
49935         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
49936         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49937         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
49938         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49939         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49941 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
49943         [BZ #16041]
49944         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
49945         make result into a quiet NaN.
49947 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
49949         * soft-fp/adddf3.c: Fix horizontal whitespace.
49950         * soft-fp/addsf3.c: Likewise.
49951         * soft-fp/addtf3.c: Likewise.
49952         * soft-fp/divdf3.c: Likewise.
49953         * soft-fp/divsf3.c: Likewise.
49954         * soft-fp/divtf3.c: Likewise.
49955         * soft-fp/double.h: Likewise.
49956         * soft-fp/eqdf2.c: Likewise.
49957         * soft-fp/eqsf2.c: Likewise.
49958         * soft-fp/eqtf2.c: Likewise.
49959         * soft-fp/extenddftf2.c: Likewise.
49960         * soft-fp/extended.h: Likewise.
49961         * soft-fp/extendsfdf2.c: Likewise.
49962         * soft-fp/extendsftf2.c: Likewise.
49963         * soft-fp/extendxftf2.c: Likewise.
49964         * soft-fp/fixdfdi.c: Likewise.
49965         * soft-fp/fixdfsi.c: Likewise.
49966         * soft-fp/fixdfti.c: Likewise.
49967         * soft-fp/fixsfdi.c: Likewise.
49968         * soft-fp/fixsfsi.c: Likewise.
49969         * soft-fp/fixsfti.c: Likewise.
49970         * soft-fp/fixtfdi.c: Likewise.
49971         * soft-fp/fixtfsi.c: Likewise.
49972         * soft-fp/fixtfti.c: Likewise.
49973         * soft-fp/fixunsdfdi.c: Likewise.
49974         * soft-fp/fixunsdfsi.c: Likewise.
49975         * soft-fp/fixunsdfti.c: Likewise.
49976         * soft-fp/fixunssfdi.c: Likewise.
49977         * soft-fp/fixunssfsi.c: Likewise.
49978         * soft-fp/fixunssfti.c: Likewise.
49979         * soft-fp/fixunstfdi.c: Likewise.
49980         * soft-fp/fixunstfsi.c: Likewise.
49981         * soft-fp/fixunstfti.c: Likewise.
49982         * soft-fp/floatdidf.c: Likewise.
49983         * soft-fp/floatdisf.c: Likewise.
49984         * soft-fp/floatditf.c: Likewise.
49985         * soft-fp/floatsidf.c: Likewise.
49986         * soft-fp/floatsisf.c: Likewise.
49987         * soft-fp/floatsitf.c: Likewise.
49988         * soft-fp/floattidf.c: Likewise.
49989         * soft-fp/floattisf.c: Likewise.
49990         * soft-fp/floattitf.c: Likewise.
49991         * soft-fp/floatundidf.c: Likewise.
49992         * soft-fp/floatundisf.c: Likewise.
49993         * soft-fp/floatunditf.c: Likewise.
49994         * soft-fp/floatunsidf.c: Likewise.
49995         * soft-fp/floatunsisf.c: Likewise.
49996         * soft-fp/floatunsitf.c: Likewise.
49997         * soft-fp/floatuntidf.c: Likewise.
49998         * soft-fp/floatuntisf.c: Likewise.
49999         * soft-fp/floatuntitf.c: Likewise.
50000         * soft-fp/fmadf4.c: Likewise.
50001         * soft-fp/fmasf4.c: Likewise.
50002         * soft-fp/fmatf4.c: Likewise.
50003         * soft-fp/gedf2.c: Likewise.
50004         * soft-fp/gesf2.c: Likewise.
50005         * soft-fp/getf2.c: Likewise.
50006         * soft-fp/ledf2.c: Likewise.
50007         * soft-fp/lesf2.c: Likewise.
50008         * soft-fp/letf2.c: Likewise.
50009         * soft-fp/muldf3.c: Likewise.
50010         * soft-fp/mulsf3.c: Likewise.
50011         * soft-fp/multf3.c: Likewise.
50012         * soft-fp/negdf2.c: Likewise.
50013         * soft-fp/negsf2.c: Likewise.
50014         * soft-fp/negtf2.c: Likewise.
50015         * soft-fp/op-1.h: Likewise.
50016         * soft-fp/op-2.h: Likewise.
50017         * soft-fp/op-4.h: Likewise.
50018         * soft-fp/op-8.h: Likewise.
50019         * soft-fp/op-common.h: Likewise.
50020         * soft-fp/quad.h: Likewise.
50021         * soft-fp/single.h: Likewise.
50022         * soft-fp/soft-fp.h: Likewise.
50023         * soft-fp/sqrtdf2.c: Likewise.
50024         * soft-fp/sqrtsf2.c: Likewise.
50025         * soft-fp/sqrttf2.c: Likewise.
50026         * soft-fp/subdf3.c: Likewise.
50027         * soft-fp/subsf3.c: Likewise.
50028         * soft-fp/subtf3.c: Likewise.
50029         * soft-fp/truncdfsf2.c: Likewise.
50030         * soft-fp/trunctfdf2.c: Likewise.
50031         * soft-fp/trunctfsf2.c: Likewise.
50032         * soft-fp/trunctfxf2.c: Likewise.
50033         * soft-fp/unorddf2.c: Likewise.
50034         * soft-fp/unordsf2.c: Likewise.
50035         * soft-fp/unordtf2.c: Likewise.
50037 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
50039         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
50040         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
50042 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
50044         * elf/dl-libc.c: Clear initfini list after freeing.
50046 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
50048         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
50049         * soft-fp/addsf3.c: Likewise.
50050         * soft-fp/addtf3.c: Likewise.
50051         * soft-fp/divdf3.c: Likewise.
50052         * soft-fp/divsf3.c: Likewise.
50053         * soft-fp/divtf3.c: Likewise.
50054         * soft-fp/double.h: Likewise.
50055         * soft-fp/eqdf2.c: Likewise.
50056         * soft-fp/eqsf2.c: Likewise.
50057         * soft-fp/eqtf2.c: Likewise.
50058         * soft-fp/extenddftf2.c: Likewise.
50059         * soft-fp/extended.h: Likewise.
50060         * soft-fp/extendsfdf2.c: Likewise.
50061         * soft-fp/extendsftf2.c: Likewise.
50062         * soft-fp/extendxftf2.c: Likewise.
50063         * soft-fp/fixdfdi.c: Likewise.
50064         * soft-fp/fixdfsi.c: Likewise.
50065         * soft-fp/fixdfti.c: Likewise.
50066         * soft-fp/fixsfdi.c: Likewise.
50067         * soft-fp/fixsfsi.c: Likewise.
50068         * soft-fp/fixsfti.c: Likewise.
50069         * soft-fp/fixtfdi.c: Likewise.
50070         * soft-fp/fixtfsi.c: Likewise.
50071         * soft-fp/fixtfti.c: Likewise.
50072         * soft-fp/fixunsdfdi.c: Likewise.
50073         * soft-fp/fixunsdfsi.c: Likewise.
50074         * soft-fp/fixunsdfti.c: Likewise.
50075         * soft-fp/fixunssfdi.c: Likewise.
50076         * soft-fp/fixunssfsi.c: Likewise.
50077         * soft-fp/fixunssfti.c: Likewise.
50078         * soft-fp/fixunstfdi.c: Likewise.
50079         * soft-fp/fixunstfsi.c: Likewise.
50080         * soft-fp/fixunstfti.c: Likewise.
50081         * soft-fp/floatdidf.c: Likewise.
50082         * soft-fp/floatdisf.c: Likewise.
50083         * soft-fp/floatditf.c: Likewise.
50084         * soft-fp/floatsidf.c: Likewise.
50085         * soft-fp/floatsisf.c: Likewise.
50086         * soft-fp/floatsitf.c: Likewise.
50087         * soft-fp/floattidf.c: Likewise.
50088         * soft-fp/floattisf.c: Likewise.
50089         * soft-fp/floattitf.c: Likewise.
50090         * soft-fp/floatundidf.c: Likewise.
50091         * soft-fp/floatundisf.c: Likewise.
50092         * soft-fp/floatunsidf.c: Likewise.
50093         * soft-fp/floatunsisf.c: Likewise.
50094         * soft-fp/floatuntidf.c: Likewise.
50095         * soft-fp/floatuntisf.c: Likewise.
50096         * soft-fp/floatuntitf.c: Likewise.
50097         * soft-fp/fmadf4.c: Likewise.
50098         * soft-fp/fmasf4.c: Likewise.
50099         * soft-fp/fmatf4.c: Likewise.
50100         * soft-fp/gedf2.c: Likewise.
50101         * soft-fp/gesf2.c: Likewise.
50102         * soft-fp/getf2.c: Likewise.
50103         * soft-fp/ledf2.c: Likewise.
50104         * soft-fp/lesf2.c: Likewise.
50105         * soft-fp/letf2.c: Likewise.
50106         * soft-fp/muldf3.c: Likewise.
50107         * soft-fp/mulsf3.c: Likewise.
50108         * soft-fp/multf3.c: Likewise.
50109         * soft-fp/negdf2.c: Likewise.
50110         * soft-fp/negsf2.c: Likewise.
50111         * soft-fp/negtf2.c: Likewise.
50112         * soft-fp/op-1.h: Likewise.
50113         * soft-fp/op-2.h: Likewise.
50114         * soft-fp/op-4.h: Likewise.
50115         * soft-fp/op-8.h: Likewise.
50116         * soft-fp/op-common.h: Likewise.
50117         * soft-fp/quad.h: Likewise.
50118         * soft-fp/single.h: Likewise.
50119         * soft-fp/soft-fp.h: Likewise.
50120         * soft-fp/sqrtdf2.c: Likewise.
50121         * soft-fp/sqrtsf2.c: Likewise.
50122         * soft-fp/sqrttf2.c: Likewise.
50123         * soft-fp/subdf3.c: Likewise.
50124         * soft-fp/subsf3.c: Likewise.
50125         * soft-fp/subtf3.c: Likewise.
50126         * soft-fp/truncdfsf2.c: Likewise.
50127         * soft-fp/trunctfdf2.c: Likewise.
50128         * soft-fp/trunctfsf2.c: Likewise.
50129         * soft-fp/trunctfxf2.c: Likewise.
50130         * soft-fp/unorddf2.c: Likewise.
50131         * soft-fp/unordsf2.c: Likewise.
50132         * soft-fp/unordtf2.c: Likewise.
50134 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
50136         [BZ #15672]
50137         * misc/error.c (error_tail): Fix possible buffer overflow.
50139 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
50141         [BZ #13028]
50142         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
50143         address.
50145 2013-10-14  P. J. McDermott  <pj@pehjota.net>
50147         [BZ #832]
50148         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
50149         testing pipefail option.
50151 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
50153         * soft-fp/double.h: Indent preprocessor directives inside #if.
50154         * soft-fp/extended.h: Likewise.
50155         * soft-fp/op-2.h: Likewise.
50156         * soft-fp/op-4.h: Likewise.
50157         * soft-fp/op-common.h: Likewise.
50158         * soft-fp/quad.h: Likewise.
50159         * soft-fp/single.h: Likewise.
50160         * soft-fp/soft-fp.h: Likewise.
50162 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
50164         * iconv/iconv_prog.c: Fix typos.
50165         * stdio-common/psiginfo-data.h: Likewise.
50167 2013-10-12   Reuben Thomas <rrt@sc3d.org>
50169         [BZ #15764]
50170         * locale/setlocale.c: Fix typo.
50172 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
50174         [BZ #16036]
50175         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
50176         signaling NaN arguments.
50177         * soft-fp/unordsf2.c (__unordsf2): Likewise.
50178         * soft-fp/unordtf2.c (__unordtf2): Likewise.
50180         [BZ #14910]
50181         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
50182         unordered operands.
50183         * soft-fp/gesf2.c (__gesf2): Likewise.
50184         * soft-fp/getf2.c (__getf2): Likewise.
50185         * soft-fp/ledf2.c (__ledf2): Likewise.
50186         * soft-fp/lesf2.c (__lesf2): Likewise.
50187         * soft-fp/letf2.c (__letf2): Likewise.
50189         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
50190         * soft-fp/eqsf2.c (__eqsf2): Likewise.
50191         * soft-fp/eqtf2.c (__eqtf2): Likewise.
50192         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
50193         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
50194         * soft-fp/fixdfti.c (__fixdfti): Likewise.
50195         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
50196         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
50197         * soft-fp/fixsfti.c (__fixsfti): Likewise.
50198         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
50199         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
50200         * soft-fp/fixtfti.c (__fixtfti): Likewise.
50201         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
50202         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
50203         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
50204         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
50205         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
50206         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
50207         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
50208         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
50209         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
50210         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
50211         * soft-fp/floatdisf.c (__floatdisf): Likewise.
50212         * soft-fp/floatsisf.c (__floatsisf): Likewise.
50213         * soft-fp/floattidf.c (__floattidf): Likewise.
50214         * soft-fp/floattisf.c (__floattisf): Likewise.
50215         * soft-fp/floattitf.c (__floattitf): Likewise.
50216         * soft-fp/floatundidf.c (__floatundidf): Likewise.
50217         * soft-fp/floatundisf.c (__floatundisf): Likewise.
50218         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
50219         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
50220         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
50221         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
50222         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
50223         * soft-fp/gesf2.c (__gesf2): Likewise.
50224         * soft-fp/getf2.c (__getf2): Likewise.
50225         * soft-fp/ledf2.c (__ledf2): Likewise.
50226         * soft-fp/lesf2.c (__lesf2): Likewise.
50227         * soft-fp/letf2.c (__letf2): Likewise.
50229         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
50230         Undefine and redefine.
50231         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
50232         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
50233         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
50234         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
50235         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
50236         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
50237         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
50238         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
50239         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
50240         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
50241         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
50242         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
50243         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
50244         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
50245         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
50247         [BZ #16032]
50248         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
50249         without decrementing exponent if mantissa >= that for the
50250         denominator, not >.
50251         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
50252         denominator, not >.  Decrement exponent in < case instead of
50253         incrementing in >= case.
50254         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
50255         without decrementing exponent if mantissa >= that for the
50256         denominator, not >.
50258         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
50259         computing saturated result for unsigned overflow.
50261 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50262             Jeff Law  <law@redhat.com>
50264         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
50265         (atan2Mp): Add systemtap probe marker.
50266         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
50267         (__ieee754_log): Add systemtap probe marker.
50268         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
50269         (atanMp): Add systemtap probe marker.
50270         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
50271         (tanMp): Add systemtap probe marker.
50272         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
50273         (__slowexp): Add systemtap probe marker.
50274         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
50275         (__slowpow): Add systemtap probe marker.
50276         * manual/probes.texi: Document probes.
50278 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
50280         [BZ #15362]
50281         * libio/fileops.c (_IO_new_file_write): Return count of bytes
50282         written.
50283         (_IO_new_file_xsputn): Don't return EOF if nothing has been
50284         written.
50285         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
50286         written to buffer but not flushed.
50287         * libio/iofwrite_u.c:  Likewise.
50288         * libio/iopadn.c:  Return bytes returned even if EOF was
50289         encountered.
50290         * libio/iowpadn.c:  Likewise.
50291         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
50292         if _IO_padn does not write the whole buffer.
50293         [!COMPILE_WPRINTF] (PAD): Likewise.
50295 2013-10-10  David S. Miller  <davem@davemloft.net>
50297         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
50298         directory block.
50300 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
50302         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
50303         instead of FSF address.
50304         * soft-fp/fixdfti.c: Likewise.
50305         * soft-fp/fixsfti.c: Likewise.
50306         * soft-fp/fixtfti.c: Likewise.
50307         * soft-fp/fixunsdfti.c: Likewise.
50308         * soft-fp/fixunssfti.c: Likewise.
50309         * soft-fp/fixunstfti.c: Likewise.
50310         * soft-fp/floattidf.c: Likewise.
50311         * soft-fp/floattisf.c: Likewise.
50312         * soft-fp/floattitf.c: Likewise.
50313         * soft-fp/floatuntidf.c: Likewise.
50314         * soft-fp/floatuntisf.c: Likewise.
50315         * soft-fp/floatuntitf.c: Likewise.
50316         * soft-fp/trunctfxf2.c: Likewise.
50318         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
50319         * soft-fp/fixdfti.c: Likewise.
50320         * soft-fp/fixsfti.c: Likewise.
50321         * soft-fp/fixtfti.c: Likewise.
50322         * soft-fp/fixunsdfti.c: Likewise.
50323         * soft-fp/fixunssfti.c: Likewise.
50324         * soft-fp/fixunstfti.c: Likewise.
50325         * soft-fp/floattidf.c: Likewise.
50326         * soft-fp/floattisf.c: Likewise.
50327         * soft-fp/floattitf.c: Likewise.
50328         * soft-fp/floatuntidf.c: Likewise.
50329         * soft-fp/floatuntisf.c: Likewise.
50330         * soft-fp/floatuntitf.c: Likewise.
50331         * soft-fp/trunctfxf2.c: Likewise.
50333 2013-10-10  David S. Miller  <davem@davemloft.net>
50335         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50337 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
50339         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
50340         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
50341         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
50342         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
50343         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
50344         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
50345         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
50347         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
50348         for NaNs before doing comparisons on argument.
50349         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
50350         Likewise.
50352 2013-10-10  Will Newton  <will.newton@linaro.org>
50354         * malloc/hooks.c (memalign_check): Ensure the value of bytes
50355         passed to _int_memalign does not overflow.
50357 2013-10-10  Torvald Riegel  <triegel@redhat.com>
50359         * scripts/bench.pl: Add include-sources directive.
50360         * benchtests/README: Update documentation.
50362 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
50364         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
50365         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
50366         instead of FP_INIT_ROUNDMODE.
50367         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
50368         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
50370         [BZ #16034]
50371         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
50372         copy class of input value.
50373         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
50374         not handle exceptions.
50375         * soft-fp/negsf2.c (__negsf2): Likewise.
50376         * soft-fp/negtf2.c (__negtf2): Likewise.
50377         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
50379 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
50381         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
50382         semicolon.  From Linux kernel.
50384 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
50386         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
50388 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
50390         [BZ #156]
50391         * manual/socket.texi: Added statement about buffer
50392         for gethostbyname2_r.
50394 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
50396         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
50397         Use .p2align directive instead, throughout.
50398         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
50399         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
50400         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
50401         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
50402         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
50403         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
50404         * sysdeps/x86_64/strchr.S: Likewise.
50405         * sysdeps/x86_64/strrchr.S: Likewise.
50407 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
50409         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
50411         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
50413         * sysdeps/generic/math_private.h (__mpsin1): Remove
50414         declaration.
50415         (__mpcos1): Likewise.
50416         (__mpsin): New argument __range_reduce.
50417         (__mpcos): Likewise.
50418         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50419         (slow): Use __mpsin and __mpcos.
50420         (slow1): Likewise.
50421         (slow2): Likewise.
50422         (sloww): Likewise.
50423         (sloww1): Likewise.
50424         (sloww2): Likewise.
50425         (bsloww): Likewise.
50426         (bsloww1): Likewise.
50427         (bsloww2): Likewise.
50428         (cslow2): Likewise.
50429         (csloww): Likewise.
50430         (csloww1): Likewise.
50431         (csloww2): Likewise.
50432         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
50433         range_reduce.  Merge in __mpsin1.
50434         (__mpcos): Likewise.
50435         (__mpsin1): Remove.
50436         (__mpcos1): Likewise.
50438 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
50440         * locale/loadlocale.c (_nl_intern_locale_data): Use
50441         LOCFILE_ALIGNED_P.
50442         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
50443         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
50444         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
50445         obstack data is appropriately aligned.
50446         (obstack_int32_grow_fast): Likewise.
50447         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
50448         * locale/programs/locfile.c (add_locale_uint32): Likewise.
50449         (add_locale_uint32_array): Likewise.
50451 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
50453         * benchtests/Makefile: Remove ARGLIST and RET variables.
50454         ($(objpfx)bench-%.c): Pass only function name to the script.
50455         * benchtests/README: Update documentation.
50456         * benchtests/acos-inputs: Add new directives.
50457         * benchtests/acosh-inputs: Likewise.
50458         * benchtests/asin-inputs: Likewise.
50459         * benchtests/asinh-inputs: Likewise.
50460         * benchtests/atan-inputs: Likewise.
50461         * benchtests/atanh-inputs: Likewise.
50462         * benchtests/cos-inputs: Likewise.
50463         * benchtests/cosh-inputs: Likewise.
50464         * benchtests/exp-inputs: Likewise.
50465         * benchtests/log-inputs: Likewise.
50466         * benchtests/pow-inputs: Likewise.
50467         * benchtests/rint-inputs: Likewise.
50468         * benchtests/sin-inputs: Likewise.
50469         * benchtests/sinh-inputs: Likewise.
50470         * benchtests/tan-inputs: Likewise.
50471         * benchtests/tanh-inputs: Likewise.
50472         * scripts/bench.pl: Add support for new directives.
50474 2013-10-07  Alan Modra  <amodra@gmail.com>
50476         * README: Fix careless merge.
50478 2013-10-05  Alan Modra  <amodra@gmail.com>
50480         * NEWS: Mention powerpc64le support and bugs fixed.
50481         * README: Both big-endian and little-endian powerpc64 supported.
50483 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50485         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
50486         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
50487         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
50488         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
50490 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
50492         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
50493         match prototype.
50495 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
50497         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
50498         Move -mhard-float appending from
50499         ports/sysdeps/powerpc/powerpc32/Makefile.
50500         [$(with-fp) = yes] (ASFLAGS): Likewise.
50501         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
50502         * sysdeps/powerpc/nofpu: Move directory from
50503         ports/sysdeps/powerpc/nofpu.
50504         * sysdeps/powerpc/soft-fp: Move directory from
50505         ports/sysdeps/powerpc/soft-fp.
50506         * sysdeps/powerpc/powerpc32/405: Move directory from
50507         ports/sysdeps/powerpc/powerpc32/405.
50508         * sysdeps/powerpc/powerpc32/440: Move directory from
50509         ports/sysdeps/powerpc/powerpc32/440.
50510         * sysdeps/powerpc/powerpc32/464: Move directory from
50511         ports/sysdeps/powerpc/powerpc32/464.
50512         * sysdeps/powerpc/powerpc32/476: Move directory from
50513         ports/sysdeps/powerpc/powerpc32/476.
50514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
50515         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
50516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
50517         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
50518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
50519         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
50520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
50521         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
50522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
50523         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
50524         * README: Update for powerpc-*-linux-gnu software floating point
50525         support in libc.
50527         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
50528         case to powerpc/powerpc32*.
50529         * sysdeps/unix/sysv/linux/configure: Regenerated.
50531         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
50532         (_FPU_MASK_OM): Define as 0x04.
50533         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
50534         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
50535         0x00c10080.
50536         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
50537         0x0000003c.
50538         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
50540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
50541         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
50542         getcontext_e500.
50543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
50544         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
50545         setcontext_e500.
50546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
50547         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
50548         and setcontext_e500.
50550 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
50552         * locale/iso-3166.def: Update iso-1366.def and related occurrences
50554 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
50556         * manual/threads.texi (Default Thread Attributes): Fix typo.
50558 2013-10-04  Will Newton  <will.newton@linaro.org>
50560         * malloc/Makefile: Add tst-memalign.
50561         * malloc/tst-memalign.c: New file.
50563         * malloc/tst-posix_memalign.c: Add comments.
50564         (do_test): Add comments and call free on all potentially
50565         allocated pointers. Add space after cast.
50567         * malloc/tst-pvalloc.c: Add comments.
50568         (do_test): Add comments and call free on all potentially
50569         allocated pointers. Remove duplicate check for NULL pointer.
50570         Add space after cast.
50572         * malloc/tst-valloc.c: Add comments.
50573         (do_test): Add comments and call free on all potentially
50574         allocated pointers. Remove duplicate check for NULL pointer.
50575         Add space after cast.
50577 2013-10-04  Alan Modra  <amodra@gmail.com>
50579         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
50580         Use stdint types in rather than __attribute__((mode())).
50581         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
50583 2013-10-04  Alan Modra  <amodra@gmail.com>
50585         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
50586         Correct handling of unaligned relocs for little-endian.
50587         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
50589 2013-10-04  Alan Modra  <amodra@gmail.com>
50591         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
50592         * configure: Regenerate.
50593         * nptl/shlib-versions: Powerpc*le starts at 2.18.
50594         * shlib-versions: Likewise.
50596 2013-10-04  Alan Modra  <amodra@gmail.com>
50598         * string/tester.c (test_memrchr): Increment reported test cycle.
50600 2013-10-04  Alan Modra  <amodra@gmail.com>
50602         * string/test-memcpy.c (do_one_test): When reporting errors, print
50603         string address and don't overrun end of string.
50605 2013-10-04  Alan Modra  <amodra@gmail.com>
50607         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
50608         insrdi.  Make better use of reg selection to speed exit slightly.
50609         Schedule entry path a little better.  Remove useless "are we done"
50610         checks on entry to main loop.  Handle wrapping around zero address.
50611         Correct main loop count.  Handle single left-over word from main
50612         loop inline rather than by using loop_small.  Remove extra word
50613         case in loop_small caused by wrong loop count.  Add little-endian
50614         support.
50615         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
50616         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
50617         cache hint.
50618         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
50619         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
50620         support.  Avoid rlwimi.
50621         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
50623 2013-10-04  Alan Modra  <amodra@gmail.com>
50625         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
50626         insrdi.  Formatting.
50627         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
50628         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
50629         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
50630         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
50631         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
50632         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
50634 2013-10-04  Alan Modra  <amodra@gmail.com>
50636         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
50637         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
50638         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
50639         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
50640         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
50641         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
50642         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
50643         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
50644         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
50645         use of regs.  Use power7 mtocrf.  Tidy function tails.
50647 2013-10-04  Alan Modra  <amodra@gmail.com>
50649         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
50650         Formatting.  Consistently use rXXX register defines or rN defines.
50651         Use early exit labels that avoid restoring unused non-volatile regs.
50652         Make cr field use more consistent with rWORDn compares.  Rename
50653         regs used as shift registers for unaligned loop, using rN defines
50654         for short lifetime/multiple use regs.
50655         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
50656         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
50657         addi 1,1,64 to pop stack frame.  Simplify return value code.
50658         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
50660 2013-10-04  Alan Modra  <amodra@gmail.com>
50662         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
50663         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
50664         rather than rlwimi.
50665         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
50666         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
50667         little-endian support.  Correct typos.
50668         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
50669         rather than rlwimi.
50670         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
50671         in loop and entry code to keep "and." results.
50672         (strchr): Add little-endian support.  Comment.  Move cntlzd
50673         earlier in tail.
50674         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
50676 2013-10-04  Alan Modra  <amodra@gmail.com>
50678         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
50679         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
50680         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
50681         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
50683 2013-10-04  Alan Modra  <amodra@gmail.com>
50685         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
50686         (rTMP): Define as r11.
50687         (strcmp): Add little-endian support.  Optimise tail.
50688         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
50689         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
50690         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
50691         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
50692         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
50693         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50694         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
50696 2013-10-04  Alan Modra  <amodra@gmail.com>
50698         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
50699         little-endian support.  Remove unnecessary "are we done" tests.
50700         Handle "s" wrapping around zero and extremely large "size".
50701         Correct main loop count.  Handle single left-over word from main
50702         loop inline rather than by using small_loop.  Correct comments.
50703         Delete "zero" tail, use "end_max" instead.
50704         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
50706 2013-10-04  Alan Modra  <amodra@gmail.com>
50708         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
50709         support.  Don't branch over align.
50710         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
50711         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
50712         support.  Rearrange tmp reg use to suit.  Comment.
50713         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
50715 2013-10-04  Alan Modra  <amodra@gmail.com>
50717         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
50719 2013-10-04  Alan Modra  <amodra@gmail.com>
50721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
50722         conditional form of branch and link when obtaining pc.
50723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
50725 2013-10-04  Alan Modra  <amodra@gmail.com>
50727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
50728         HIWORD/LOWORD.
50729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
50730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
50732 2013-10-04  Alan Modra  <amodra@gmail.com>
50734         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
50735         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
50736         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
50737         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
50738         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
50739         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
50740         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
50741         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
50742         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
50743         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
50745 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
50746             Alistair Popple <alistair@ozlabs.au.ibm.com>
50747             Alan Modra <amodra@gmail.com>
50749         [BZ #15723]
50750         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
50751         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
50752         _dl_hwcap access for little-endian.
50753         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
50754         destroy vmx regs when saving unaligned.
50755         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
50756         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
50757         destroy vmx regs when saving unaligned.
50759 2013-10-04  Alan Modra  <amodra@gmail.com>
50761         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
50762         Don't use a union to pack hi/low value.
50764 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
50766         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
50767         for little-endian.
50768         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
50769         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
50770         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
50771         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
50772         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
50774 2013-10-04  Alan Modra  <amodra@gmail.com>
50776         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
50777         constants to usual value for .cst8 section, and remove redundant
50778         high address load.
50779         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
50780         constant for 0x1p52.  Load little-endian words of double from
50781         correct stack offsets.
50783 2013-10-04  Alan Modra  <amodra@gmail.com>
50785         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
50786         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
50787         words of double from correct stack offsets.
50788         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
50789         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
50790         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
50791         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
50792         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
50793         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
50794         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
50795         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
50796         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
50797         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
50798         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
50799         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
50800         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
50801         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
50802         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
50803         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
50804         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
50806 2013-10-04  Alan Modra  <amodra@gmail.com>
50808         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
50809         64-bit int/double union.
50810         (_FPU_SETCW): Likewise.
50811         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
50812         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
50814 2013-10-04  Alan Modra  <amodra@gmail.com>
50816         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
50817         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
50819 2013-10-04  Alan Modra  <amodra@gmail.com>
50821         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
50822         use vector int constants.
50823         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
50825 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
50827         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
50828         array with long long.
50829         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
50830         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
50831         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
50832         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
50833         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
50834         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
50835         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
50836         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
50837         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
50838         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
50839         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
50840         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
50841         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
50843 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
50845         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
50846         (__signbit): Likewise.  Correct for little-endian.
50847         (__signbitl): Call __signbit.
50848         (lrint): Correct for little-endian.
50849         (lrintf): Call lrint.
50851 2013-10-04  Alan Modra  <amodra@gmail.com>
50853         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
50854         union 32-bit int array member with 64-bit int array.
50855         (t515, tm256): Double rather than long double.
50856         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
50858 2013-10-04  Alan Modra  <amodra@gmail.com>
50860         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
50861         Delete.
50862         (IEEE854_LONG_DOUBLE_BIAS): Delete.
50863         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
50864         version of math_ldbl.h.
50866 2013-10-04  Alan Modra  <amodra@gmail.com>
50868         [BZ #15734], [BZ #15735]
50869         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
50870         all uses of ieee875 long double macros and unions.  Simplify test
50871         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
50872         ldbl_extract_mantissa value for ix,iy exponents.  Properly
50873         normalize after ldbl_extract_mantissa, and don't add hidden bit
50874         already handled.  Don't treat low word of ieee854 mantissa like
50875         low word of IBM long double and mask off bit when testing for
50876         zero.
50877         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
50878         all uses of ieee875 long double macros and unions.  Simplify tests
50879         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
50880         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
50881         two1022, instead use their values.  Recognise that tests for large
50882         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
50883         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
50884         Rewrite all uses of ieee875 long double macros and unions.  Simplify
50885         test for 0.0L and nan.  Correct negation.
50886         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
50887         ieee875 long double macros and unions.  Correct output for large
50888         magnitude x.  Correct absolute value calculation.
50889         (__erfcl): Likewise.
50890         * math/libm-test.inc: Add tests for errors discovered in IBM long
50891         double versions of fmodl, remainderl, erfl and erfcl.
50893 2013-10-04  Alan Modra  <amodra@gmail.com>
50895         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
50896         all uses of ieee854 long double macros and unions.  Simplify tests
50897         for long doubles that are fully specified by the high double.
50898         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
50899         Likewise.
50900         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
50901         Remove dead code too.
50902         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
50903         (__ieee754_ynl): Likewise.
50904         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
50905         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
50906         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
50907         Remove dead code too.
50908         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
50909         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
50910         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
50911         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
50912         Simplify.
50913         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
50914         Simplify.
50915         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
50916         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
50917         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
50918         Comment on variable precision.
50919         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
50920         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
50921         Likewise.
50922         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
50923         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
50924         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
50925         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
50926         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
50928 2013-10-04  Alan Modra  <amodra@gmail.com>
50930         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
50931         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
50932         all uses of ieee854 long double macros and unions.
50933         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
50934         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
50935         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
50936         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
50937         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
50938         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
50939         Likewise.
50940         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
50941         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
50942         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
50943         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
50944         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
50945         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
50946         Simplify sign and nan test too.
50947         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
50948         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
50949         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
50950         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
50951         Likewise.
50952         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
50953         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
50954         Likewise.
50955         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50956         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
50957         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
50958         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
50959         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
50960         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
50962 2013-10-04  Alan Modra  <amodra@gmail.com>
50964         * stdio-common/printf_size.c (__printf_size): Don't use
50965         union ieee854_long_double in fpnum union.
50966         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
50967         signbit macro to retrieve sign from long double.
50968         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
50969         retrieve sign from long double.
50970         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
50971         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
50972         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
50973         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
50974         * math/test-misc.c (main): Don't use union ieee854_long_double.
50976 2013-10-04  Alan Modra  <amodra@gmail.com>
50978         [BZ #15680]
50979         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
50980         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
50981         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
50982         calculation.  Remove unnecessary test for denormal exponent.
50983         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
50984         Correct handling of denormals.  Avoid undefined shift behaviour.
50985         Correct normalisation of low mantissa when low double is denormal.
50986         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
50987         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
50988         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
50989         Correct normalisation of low mantissa.  Test for overflow of high
50990         mantissa and normalise.
50991         (ldbl_nearbyint): Use more readable constant for two52.
50992         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
50993         (__mpn_construct_long_double): Fix test for overflow of high
50994         mantissa and correct normalisation.  Avoid undefined shift.
50996 2013-10-04  Alan Modra  <amodra@gmail.com>
50998         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
50999         (union ibm_extended_long_double): Define as an array of ieee754_double.
51000         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
51001         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
51002         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
51003         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
51004         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51005         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
51006         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
51007         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
51008         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
51009         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
51010         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
51012 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
51014         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
51015         page size instead of calling getpagesize.
51017         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
51018         (LOCFILE_ALIGN_MASK): Likewise.
51019         (LOCFILE_ALIGN_UP): Likewise.
51020         (LOCFILE_ALIGNED_P): Likewise.
51021         * locale/programs/ld-collate.c (collate_output): Use the new
51022         macros instead of __alignof__ (int32_t).
51023         * locale/weight.h (findidx): Likewise.
51025 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
51027         [BZ #431]
51028         * manual/string.texi: Fix strncat and wcsncat.
51030 2013-10-03  Brooks Moses  <bmoses@google.com>
51032         [BZ #15915]
51033         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
51034         * Makerules: ...here, and adjust associated comments.
51036 2013-10-02  Will Newton  <will.newton@linaro.org>
51038         * malloc/Makefile: Add tst-pvalloc.
51039         * malloc/tst-pvalloc.c: New file.
51041 2013-10-02  Will Newton  <will.newton@linaro.org>
51043         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
51044         improve test coverage.
51046 2013-10-02  Will Newton  <will.newton@linaro.org>
51048         * malloc/Makefile: Add tst-posix_memalign.
51049         * malloc/tst-posix_memalign.c: New file.
51051 2013-10-01  Eric Blake  <eblake@redhat.com>
51053         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
51054         Use __THROWNL rather than __THROW on static functions.
51056 2013-09-30  Petr Machata  <pmachata@redhat.com>
51058         * elf/elf.h (R_AARCH64_ABS16): New macro.
51059         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
51060         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
51061         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
51062         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
51063         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
51064         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
51065         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
51066         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
51067         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
51068         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
51069         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
51070         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
51071         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
51072         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
51073         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
51074         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
51075         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
51076         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
51077         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
51078         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
51079         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
51080         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
51081         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
51082         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
51083         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
51084         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
51085         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
51086         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
51087         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
51088         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
51089         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
51090         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
51091         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
51092         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
51093         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
51094         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
51095         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
51096         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
51097         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
51098         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
51099         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
51100         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
51101         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
51102         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
51103         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
51104         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
51105         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
51106         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
51107         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
51108         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
51109         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
51110         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
51111         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
51112         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
51113         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
51114         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
51115         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
51116         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
51117         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
51118         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
51119         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
51120         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
51121         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
51122         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
51123         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
51124         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
51125         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
51126         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
51127         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
51128         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
51129         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
51130         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
51131         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
51132         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
51133         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
51134         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
51135         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
51136         (R_AARCH64_TLSDESC_LDR): Likewise.
51137         (R_AARCH64_TLSDESC_ADD): Likewise.
51138         (R_AARCH64_TLSDESC_CALL): Likewise.
51140 2013-09-30  Andreas Schwab  <schwab@suse.de>
51142         [BZ #15048]
51143         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
51144         the nss database lookup.
51145         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51146         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51148 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
51150         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
51152 2013-09-28  P. J. McDermott  <pj@pehjota.net>
51154         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
51155         ${Bash-specific parameter/pattern/string} parameter expansion.
51156         * sysdeps/unix/make-syscalls.sh: Likewise.
51158 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51160         * sysdeps/sh/stackguard-macros.h: New file.
51162 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
51164         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
51165         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
51166         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
51167         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
51168         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51169         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
51171 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51173         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
51174         Fix thread ID register.
51176 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
51178         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
51179         [POSIX || UNIX98]: Require rather than permitting all symbols from
51180         <time.h>.
51181         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
51182         element of struct sched_param.
51183         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
51184         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
51185         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
51186         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
51187         constant.
51189 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
51191         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
51192         argument calculation.
51194 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
51196         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
51197         Expect macro.
51198         [POSIX] (pthread_attr_t): Do not require type.
51199         [POSIX] (pthread_cond_t): Likewise.
51200         [POSIX] (pthread_condattr_t): Likewise.
51201         [POSIX] (pthread_key_t): Likewise.
51202         [POSIX] (pthread_mutex_t): Likewise.
51203         [POSIX] (pthread_mutexattr_t): Likewise.
51204         [POSIX] (pthread_once_t): Likewise.
51205         [POSIX] (pthread_t): Likewise.
51206         [POSIX-based standards] (pthread_atfork): Expect function.
51208 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
51209             Richard Sandiford  <richard@codesourcery.com>
51211         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
51212         (swap_endianness_p): New extern variable.
51213         (set_big_endian): New inline function.
51214         (maybe_swap_uint32): Likewise.
51215         (maybe_swap_uint32_array): Likewise.
51216         (maybe_swap_uint32_obstack): Likewise.
51217         * locale/programs/locfile.c: Include <stdbool.h>.
51218         (swap_endianness_p): New variable.
51219         (add_locale_uint32): Call maybe_swap_uint32.
51220         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
51221         (write_locale_data): Call maybe_swap_uint32_array.
51222         * locale/programs/ld-collate.c (obstack_int32_grow): Call
51223         maybe_swap_uint32.
51224         (obstack_int32_grow_fast): Likewise.
51225         (output_weightwc): Call maybe_swap_uint32_obstack.
51226         (collate_output): Likewise.
51227         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
51228         (OPT_LITTLE_ENDIAN): Likewise.
51229         (options): Add --little-endian and --big-endian options.
51230         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
51231         * locale/programs/locarchive.c: Include "locfile.h".
51232         (GET): New macro.
51233         (SET): Likewise.
51234         (INC): Likewise.
51235         (create_archive): Use the new macros to access fields of
51236         structures directly mapped from or written to locale archives.
51237         (oldlocrecentcmp): Likewise.
51238         (enlarge_archive): Likewise.
51239         (insert_name): Likewise.
51240         (add_alias): Likewise.
51241         (add_locale): Likewise.
51242         (delete_locales_from_archive): Likewise.
51243         (show_archive_content): Likewise.
51244         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
51245         locale data.
51247 2013-09-24  Roland McGrath  <roland@hack.frob.com>
51249         * manual/freemanuals.texi: Updated from (newly) canonical copy at
51250         http://www.gnu.org/doc/freemanuals.texi.
51251         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
51253 2013-09-24  Will Newton  <will.newton@linaro.org>
51255         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
51256         macro.
51258 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
51260         * locale/hashval.h (compute_hashval): Interpret bytes of key as
51261         unsigned char.
51263 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
51265         * manual/threads.texi (POSIX Threads): Fix a typo.
51267 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
51269         [BZ #14547]
51270         * string/tst-strcoll-overflow.c: New test case.
51271         * string/Makefile (xtests): Add tst-strcoll-overflow.
51272         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
51273         cache if string sizes may cause integer overflow.
51275         [BZ #14547]
51276         * string/strcoll_l.c (coll_seq): New members rule, idx,
51277         save_idx and back_us.
51278         (get_next_seq_nocache): New function.
51279         (do_compare_nocache): New function.
51280         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
51281         when malloc fails.
51283 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
51285         [BZ #15754]
51286         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
51287         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
51288         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
51290         [BZ #15754]
51291         * elf/Makefile (tests): Add tst-ptrguard1.
51292         (tests-static): Add tst-ptrguard1-static.
51293         (tst-ptrguard1-ARGS): Define.
51294         (tst-ptrguard1-static-ARGS): Define.
51295         * elf/tst-ptrguard1.c: New file.
51296         * elf/tst-ptrguard1-static.c: New file.
51297         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
51298         * sysdeps/i386/stackguard-macros.h: Likewise.
51299         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
51300         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
51301         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
51302         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
51303         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
51304         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
51306 2013-09-23  Hector Marco  <hecmargi@upv.es>
51307             Ismael Ripoll  <iripoll@disca.upv.es>
51308             Carlos O'Donell  <carlos@redhat.com>
51310         [BZ #15754]
51311         * sysdeps/generic/stackguard-macros.h: Define
51312         __pointer_chk_guard_local and POINTER_CHK_GUARD.
51313         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
51314         Define __pointer_chk_guard_local.
51315         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
51316         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
51318 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
51320         [BZ #15859]
51321         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
51323 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
51325         * include/string.h (__ffs): Declare as hidden.
51326         * string/ffs.c (__ffs): Define as hidden.
51327         * sysdeps/i386/ffs.c (__ffs): Likewise.
51328         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
51329         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
51330         * sysdeps/s390/ffs.c (__ffs): Likewise.
51331         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
51333 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
51335         * NEWS: Mention malloc probes.
51337         * malloc/arena.c (new_heap): New memory_heap_new probe.
51338         (grow_heap): New memory_heap_more probe.
51339         (shrink_heap): New memory_heap_less probe.
51340         (heap_trim): New memory_heap_free probe.
51341         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
51342         (systrim): New memory_sbrk_less probe.
51343         * manual/probes.texi: Document them.
51345         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
51346         * manual/probes.texi: Document it.
51348         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
51349         (__libc_realloc): Add memory_realloc_retry probe.
51350         (__libc_memalign): Add memory_memalign_retry probe.
51351         (__libc_valloc): Add memory_valloc_retry probe.
51352         (__libc_pvalloc): Add memory_pvalloc_retry probe.
51353         (__libc_calloc): Add memory_calloc_retry probe.
51354         * manual/probes.texi: Document them.
51356         * malloc/arena.c (get_free_list): Add probe
51357         memory_arena_reuse_free_list.
51358         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
51359         and memory_arena_reuse.
51360         (arena_get2) [!PER_THREAD]: Likewise.
51361         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
51362         memory_arena_reuse_realloc.
51363         * manual/probes.texi: Document them.
51365         * malloc/malloc.c (__libc_free): Add
51366         memory_mallopt_free_dyn_thresholds probe.
51367         (__libc_mallopt): Add multiple memory_mallopt probes.
51368         * manual/probes.texi: Document them.
51370         * malloc/malloc.c: Include stap-probe.h.
51371         (__libc_mallopt): Add memory_mallopt probe.
51372         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
51373         * manual/probes.texi: New.
51374         * manual/Makefile (chapters): Add probes.
51375         * manual/threads.texi: Set next node.
51377 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
51379         [BZ #15963, #13985]
51380         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
51381         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
51382         Add `Chinese' to `nan' entry name.
51384 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
51386         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
51387         (POLYNOMIAL): Likewise.
51388         (TAYLOR_SINCOS): Likewise.
51389         (TAYLOR_SLOW): Likewise.
51390         (__sin): Use TAYLOR_SINCOS.
51391         (__cos): Likewise.
51392         (slow): Use TAYLOR_SLOW.
51393         (sloww): Likewise.
51394         (bsloww): Likewise.
51395         (csloww): Likewise.
51397 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51399         * stdlib/strtod_l.c: Fix buffer overrun.
51401 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
51403         * benchtests/Makefile (bench): Add sincos.
51404         * benchtests/bench-sincos.c: New file.
51406         * math/libm-test.inc (cos_test_data): New test inputs.
51407         (sin_test_data): Likewise.
51409         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
51410         macro.
51411         (__sin): Use it.
51412         (__cos): Likewise.
51413         (slow1): Likewise.
51414         (slow2): Likewise.
51415         (sloww1): Likewise.
51416         (sloww2): Likewise.
51417         (bsloww1): Likewise.
51418         (bsloww2): Likewise.
51419         (cslow2): Likewise.
51420         (csloww1): Likewise.
51421         (csloww2): Likewise.
51423         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
51424         function.
51425         (__sin): Use it.
51426         (__cos): Likewise.
51428         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
51429         gotos.
51430         (__cos): Likewise.
51432 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
51434         * config.h.in (HAVE_MIPS_NAN2008): New macro.
51435         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
51436         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
51437         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
51438         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
51439         * elf/cache.c (print_entry): Handle the new cache flags.
51441 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
51442             Aldy Hernandez  <aldyh@redhat.com>
51444         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
51445         Change condition to [_SOFT_FLOAT].
51446         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
51447         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
51448         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
51449         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
51450         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
51451         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
51452         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
51453         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
51454         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
51455         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
51456         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
51457         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
51458         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
51459         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
51460         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
51461         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
51462         declaration.
51464 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
51466         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
51467         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
51468         (__longjmp): Use LOAD_GP to load saved GPRs.
51469         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
51470         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
51471         (__sigsetjmp): Use SAVE_GP to save GPRs.
51473         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
51474         Do not append -msoft-float.
51475         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
51477 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
51479         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
51481 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
51483         [BZ #15966]
51484         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
51485         (_FPU_GETCW): Use initial "__" on variable and field names but not
51486         on macro parameter name.
51487         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
51488         parentheses around reference to macro parameter.
51490 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
51492         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
51493         prototype.
51494         (ctype_startup): Use uint32_t in cast and sizeof for
51495         ctype->charnames.
51497 2013-09-11  Jia Liu  <proljc@gmail.com>
51499         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
51500         __daddr_t_defined.
51501         [__FreeBSD__]: Likewise.
51503 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
51505         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
51506         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
51507         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
51508         (strchr): Remove __strchr_sse42 ifunc selection.
51509         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
51510         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
51512 2013-09-11  Will Newton  <will.newton@linaro.org>
51514         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
51515         parameter to RES. Remove hardcoded 1000 value.
51516         * benchtests/bench-skeleton.c (main): Pass RES parameter
51517         to TIMING_INIT and multiply result by 1000.
51519 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51521         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51523 2013-09-11  Andreas Schwab  <schwab@suse.de>
51525         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
51526         if not defined.
51527         (O_TMPFILE) [__USE_GNU]: Define.
51528         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
51529         Define.
51531 2013-09-11  Will Newton  <will.newton@linaro.org>
51533         [BZ #15857]
51534         * malloc/malloc.c (__libc_memalign): Check the value of bytes
51535         does not overflow.
51537 2013-09-11  Will Newton  <will.newton@linaro.org>
51539         [BZ #15856]
51540         * malloc/malloc.c (__libc_valloc): Check the value of bytes
51541         does not overflow.
51543 2013-09-11  Will Newton  <will.newton@linaro.org>
51545         [BZ #15855]
51546         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
51547         does not overflow.
51549 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
51551         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
51552         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51553         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
51554         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51555         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51557 2013-09-10  Allan McRae  <allan@archlinux.org>
51559         [BZ #15748]
51560         * manual/arith.texi (Parsing of Floats): Clarify
51561         cross-reference.
51563         [BZ #15849]
51564         * manual/install.texi (Running make install): Mention
51565         --enable-pt-chown.
51566         * INSTALL: Regenerated.
51568 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
51570         * csu/init-first.c (_init): Remove the !SHARED condition around
51571         FPU control word initialization.
51572         * elf/dl-support.c (_dl_fpu_control): New variable.
51573         (_dl_aux_init) <AT_FPUCW>: Initialize it.
51574         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
51575         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
51576         * math/test-fpucw-static.c: New file.
51577         * math/test-fpucw-ieee.c: New file.
51578         * math/test-fpucw-ieee-static.c: New file.
51579         * math/Makefile (tests): Add `test-fpucw-ieee' and
51580         `$(tests-static)'.
51581         (tests-static): New variable.
51582         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
51583         dependency to...
51584         [($(build-shared),yes)]
51585         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
51586         ... this.
51587         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
51588         New dependency.
51590 2013-09-09  Allan McRae  <allan@archlinux.org>
51592         [BZ #15939]
51593         * manual/string.texi (Collation Functions): Fix typo in
51594         strcoll example.
51595         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
51597         [BZ #15893]
51598         * stdlib/isomac.c (get_null_defines): Fix memory leak.
51600         [BZ #15892]
51601         * libio/memstream.c (open_memstream): Fix memory leak.
51602         * libio/wmemstream.c (open_wmemstream): Likewise.
51604         [BZ #15895]
51605         * nscd/netgroupcache.c: Fix nesting of ifdefs.
51607 2013-09-09  Will Newton  <will.newton@linaro.org>
51609         * malloc/Makefile: Add tst-realloc to tests.
51610         * malloc/tst-realloc.c: New file.
51612 2013-09-09  Allan McRae  <allan@archlinux.org>
51614         [BZ #15844]
51615         * COPYING: Update from GNU website to fix FSF address.
51616         * COPYING.LIB: Likewise.
51618 2013-09-06  David S. Miller  <davem@davemloft.net>
51620         * po/zh_TW.po: Update Chinese (traditional) translation from
51621         translation project.
51623 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
51624             Joseph Myers  <joseph@codesourcery.com>
51626         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
51627         "localeinfo.h".
51628         (obstack_chunk_alloc): New macro.
51629         (obstack_chunk_free): Likewise.
51630         (record_offset): New function.
51631         (init_locale_data): Likewise.
51632         (align_locale_data): Likewise.
51633         (add_locale_empty): Likewise.
51634         (add_locale_raw_data): Likewise.
51635         (add_locale_raw_obstack): Likewise.
51636         (add_locale_string): Likewise.
51637         (add_locale_wstring): Likewise.
51638         (add_locale_uint32): Likewise.
51639         (add_locale_uint32_array): Likewise.
51640         (add_locale_char): Likewise.
51641         (start_locale_structure): Likewise.
51642         (end_locale_structure): Likewise.
51643         (start_locale_prelude): Likewise.
51644         (end_locale_prelude): Likewise.
51645         (write_locale_data): Take locale_file structure rather than an
51646         iovec.
51647         * locale/programs/locfile.h: Include "obstack.h".
51648         (struct locale_file): Change to store locale file contents instead
51649         of header.
51650         (init_locale_data): New prototype.
51651         (align_locale_data): Likewise.
51652         (add_locale_empty): Likewise.
51653         (add_locale_raw_data): Likewise.
51654         (add_locale_raw_obstack): Likewise.
51655         (add_locale_string): Likewise.
51656         (add_locale_wstring): Likewise.
51657         (add_locale_uint32): Likewise.
51658         (add_locale_uint32_array): Likewise.
51659         (add_locale_char): Likewise.
51660         (start_locale_structure): Likewise.
51661         (end_locale_structure): Likewise.
51662         (start_locale_prelude): Likewise.
51663         (end_locale_prelude): Likewise.
51664         (write_locale_data): Update prototype.
51665         * locale/programs/3level.h (struct TABLE): Remove result field.
51666         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
51667         Use new locale_file interface.
51668         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
51669         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
51670         * locale/programs/ld-address.c (address_output): Use new
51671         locale_file interface.
51672         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
51673         NO_ADD_LOCALE.
51674         (collate_finish): Don't call collseq_table_finalize.
51675         (collate_output): Use new locale_file interface.
51676         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
51677         in file.
51678         (NO_FINALIZE): Change to NO_ADD_LOCALE.
51679         (TABLE): Move defines earlier in file.
51680         (ELEMENT): Likewise.
51681         (DEFAULT): Likewise.
51682         (wctrans_table_add): Move macro and inline function earlier in
51683         file.
51684         (struct wctype_table): Move type earlier in file.
51685         (add_locale_wctype_table): New static prototype.
51686         (struct locale_ctype_t): Use logical types instead of struct iovec
51687         pointers for members.
51688         (ctype_output): Use new locale_file interface.
51689         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
51690         new locale_file interface.
51691         (allocate_arrays): Update for use of new locale_file interface.
51692         * locale/programs/ld-identification.c (identification_output): Use
51693         new locale_file interface.
51694         * locale/programs/ld-measurement.c (measurement_output): Likewise.
51695         * locale/programs/ld-messages.c (messages_output): Likewise.
51696         * locale/programs/ld-monetary.c (monetary_output): Likewise.
51697         * locale/programs/ld-name.c (name_output): Likewise.
51698         * locale/programs/ld-numeric.c (numeric_output): Likewise.
51699         * locale/programs/ld-paper.c (paper_output): Likewise.
51700         * locale/programs/ld-telephone.c (telephone_output): Likewise.
51701         * locale/programs/ld-time.c (time_output): Likewise.
51703 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51705         * benchtests/Makefile: Add memrchr benchmark.
51706         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
51707         benchmark as memrchr.
51708         * benchtests/bench-memrchr-ifunc.c: New file.
51709         * benchtests/bench-memrchr.c: New file.
51711 2013-09-06   Will Newton  <will.newton@linaro.org>
51713         * benchtests/Makefile (string-bench): Add memcpy.
51715 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
51716             Cong Wang  <amwang@redhat.com>
51718         [BZ #15850]
51719         * sysdeps/unix/sysv/linux/bits/in.h
51720         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
51721         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
51722         before __USE_KERNEL_IPV6_DEFS uses.
51723         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
51724         IPPROTO_BEETPH.
51725         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
51726         sockaddr_in6, or ipv6_mreq.
51728 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51730         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
51731         memory access for final bytes in some large inputs.
51732         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
51734 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51736         * string/test-memrchr.c: New file.
51737         * string/test-memrchr-ifunc.c: New file.
51738         * string/Makefile: Add new memrchr testcase.
51740 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
51742         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
51743         fanotify_init returns EPERM.
51745 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
51747         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
51748         errors.
51749         (top level): Treat second token from macro or constant entries for
51750         allowed headers as allowed.
51751         * include/complex.h: Condition internal declarations on
51752         [!_ISOMAC].
51753         * include/fenv.h: Condition include of <stdbool.h> and internal
51754         declarations on [!_ISOMAC].
51756 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
51758         [BZ #15923]
51759         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
51761 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
51763         * configure.in (--enable-versioning): Remove configure option.
51764         (libc_cv_asm_symver_directive): Remove configure test.
51765         (libc_cv_ld_version_script_option): Likewise.
51766         (VERSIONING): Remove variable and AC_SUBST.
51767         (DO_VERSIONING): Remove AC_DEFINE.
51768         * configure: Regenerated.
51769         * config.h.in (DO_VERSIONING): Remove macro.
51770         * Makerules [$(versioning) = yes]: Change conditionals to
51771         [$(build-shared) = yes].
51772         * config.make.in (versioning): Remove variable.
51773         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
51774         [$(build-shared) = yes].
51775         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
51776         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
51777         * elf/Makefile [$(versioning) = yes]: Change conditionals to
51778         [$(build-shared) = yes].
51779         * extra-lib.mk [$(versioning) = yes]: Likewise.
51780         * hurd/Makefile [$(versioning) = yes]: Likewise.
51781         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
51782         [SHARED].
51783         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
51784         [SHARED].
51785         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
51786         [SHARED && !NO_HIDDEN].
51787         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
51788         [SHARED].
51789         [SHARED && DO_VERSIONING]: Likewise..
51790         * libio/Makefile [$(versioning) = yes]: Change conditionals to
51791         [$(build-shared) = yes].
51792         * manual/install.texi (--disable-versioning): Remove
51793         documentation.
51794         * INSTALL: Regenerated.
51795         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
51796         to [SHARED].
51797         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
51798         [$(build-shared) = yes].
51799         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
51800         * sysdeps/i386/i686/multiarch/strstr-c.c
51801         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
51802         [SHARED && !NO_HIDDEN].
51803         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
51804         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
51805         * sysdeps/powerpc/powerpc32/dl-machine.c
51806         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
51807         * sysdeps/powerpc/powerpc32/sysdep.h
51808         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
51809         to [SHARED && PIC && !NO_HIDDEN].
51810         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
51811         conditional to [SHARED].
51813 2013-09-04   Will Newton  <will.newton@linaro.org>
51815         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
51816         * benchtests/bench-string.h: Include bench-timing.h instead
51817         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
51818         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
51819         call to HP_TIMING_DIFF_INIT.
51820         * benchtests/bench-memccpy.c: Use bench-timing.h macros
51821         instead of hp-timing.h macros.
51822         * benchtests/bench-memchr.c: Likewise.
51823         * benchtests/bench-memcmp.c: Likewise.
51824         * benchtests/bench-memcpy.c: Likewise.
51825         * benchtests/bench-memmem.c: Likewise.
51826         * benchtests/bench-memmove.c: Likewise.
51827         * benchtests/bench-memset.c: Likewise.
51828         * benchtests/bench-rawmemchr.c: Likewise.
51829         * benchtests/bench-strcasecmp.c: Likewise.
51830         * benchtests/bench-strcasestr.c: Likewise.
51831         * benchtests/bench-strcat.c: Likewise.
51832         * benchtests/bench-strchr.c: Likewise.
51833         * benchtests/bench-strcmp.c: Likewise.
51834         * benchtests/bench-strcpy.c: Likewise.
51835         * benchtests/bench-strcpy_chk.c: Likewise.
51836         * benchtests/bench-strlen.c: Likewise.
51837         * benchtests/bench-strncasecmp.c: Likewise.
51838         * benchtests/bench-strncat.c: Likewise.
51839         * benchtests/bench-strncmp.c: Likewise.
51840         * benchtests/bench-strncpy.c: Likewise.
51841         * benchtests/bench-strnlen.c: Likewise.
51842         * benchtests/bench-strpbrk.c: Likewise.
51843         * benchtests/bench-strrchr.c: Likewise.
51844         * benchtests/bench-strspn.c: Likewise.
51845         * benchtests/bench-strstr.c: Likewise.
51847 2013-09-04  Will Newton  <will.newton@linaro.org>
51849         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
51851 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
51853         [BZ #15427]
51854         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
51855         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
51856         * math/libm-test.inc (lgamma_test_data): Add more tests.
51857         * sysdeps/i386/fpu/libm-test-ulps: Update.
51858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51860 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
51862         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
51863         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
51864         Add ifunc.
51865         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
51866         Add strcmp-sse2-unaligned
51867         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
51869 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
51871         * Versions.def (libc): Add GLIBC_2.19.
51873 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
51875         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
51876         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
51878 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
51880         [BZ #14155]
51881         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
51882         intermediate calculations in recurrence.
51883         (__ieee754_ynf): Likewise.
51884         * math/libm-test.inc (jn_test_data): Do not allow spurious
51885         underflow exception.  Add more tests.
51886         (yn_test_data): Add more tests.
51887         * sysdeps/i386/fpu/libm-test-ulps: Update.
51888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51890 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
51892         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
51894 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
51896         * csu/init-first.c: Fix then/than typos.
51897         * locale/programs/ld-collate.c: Likewise.
51898         * locale/programs/linereader.h: Likewise.
51899         * manual/charset.texi: Likewise.
51900         * manual/filesys.texi: Likewise.
51901         * manual/stdio.texi: Likewise.
51902         * manual/string.texi: Likewise.
51903         * stdlib/fmtmsg.c: Likewise.
51904         * sysdeps/i386/stpncpy.S: Likewise.
51905         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
51906         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
51907         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
51908         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
51910 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
51912         * elf/dl-open.c: Fix typos.
51913         * iconvdata/gbbig5.c: Likewise.
51914         * iconvdata/iso-2022-jp.c: Likewise.
51915         * iconv/gconv_int.h: Likewise.
51916         * iconv/loop.c: Likewise.
51917         * nis/rpcsvc/nis.h: Likewise.
51918         * resolv/ns_name.c: Likewise.
51919         * stdio-common/vfscanf.c: Likewise.
51920         * streams/stropts.h: Likewise.
51921         * sunrpc/rpc_thread.c: Likewise.
51922         * sysdeps/i386/strpbrk.S: Likewise.
51923         * sysdeps/ieee754/k_standard.c: Likewise.
51924         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51925         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51926         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
51927         * sysdeps/mach/hurd/profil.c: Likewise.
51928         * sysdeps/s390/dl-procinfo.h: Likewise.
51929         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
51930         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
51931         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
51932         * sysdeps/x86_64/dl-trampoline.S: Likewise.
51933         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
51935 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
51937         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
51938         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
51940 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
51942         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
51943         aix specific files.
51944         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
51945         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
51946         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
51947         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
51948         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
51949         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
51950         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
51951         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
51953 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
51954             Roland McGrath  <roland@hack.frob.com>
51956         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
51957         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
51959 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51961         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
51962         __executable_start symbol instead of _start.
51964 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
51966         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
51967         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
51968         Move macros to...
51969         * sysdeps/gnu/ldsodefs.h: ... this new file.
51971         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
51972         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
51973         instead of ELFOSABI_LINUX.
51975         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
51976         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
51977         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
51978         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
51979         Likewise.
51980         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
51981         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
51982         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
51983         Likewise.
51984         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
51985         (ibm_extended_long_double): Add ieee_nan member.
51986         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
51987         (do_test): New function.
51989         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
51990         TEST_TRUNC.
51991         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
51992         functions, renamed from truncdfsf_test, trunctfsf_test,
51993         trunctfdf_test.
51994         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
51995         functions.
51996         (do_test): Run all these.
51998 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
52000         * argp/argp-help.c: Fix typos.
52001         * argp/argp-parse.c: Likewise.
52002         * debug/backtracesyms.c: Likewise.
52003         * elf/elf.h: Likewise.
52004         * malloc/malloc.c: Likewise.
52005         * nis/nis_print.c: Likewise.
52006         * resolv/res_comp.c: Likewise.
52007         * stdlib/stdlib.h: Likewise.
52008         * sunrpc/clnt_tcp.c: Likewise.
52009         * sunrpc/clnt_udp.c: Likewise.
52010         * sunrpc/clnt_unix.c: Likewise.
52011         * sysdeps/unix/bsd/ptsname.c: Likewise.
52012         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
52013         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
52014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
52015         Likewise.
52016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
52017         Likewise.
52018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
52019         Likewise.
52020         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
52022 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52024         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
52025         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52027 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
52029         [BZ #15897]
52030         * dlfcn/Makefile (tests): Add bug-dl-leaf.
52031         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
52032         ($(objpfx)bug-dl-leaf): New rule.
52033         ($(objpfx)bug-dl-leaf.so): Likewise.
52034         ($(objpfx)bug-dl-leaf.out): Likewise.
52035         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
52036         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
52037         * dlfcn/bug-dl-leaf.c: New test.
52038         * dlfcn/bug-dl-leaf-lib.c: Likewise.
52039         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
52040         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
52041         (dlclose): Likewise.
52042         (dlmopen): Likewise.
52044 2013-08-27  Roland McGrath  <roland@hack.frob.com>
52046         * include/netdb.h [!_ISOMAC]:
52047         Don't include <tls.h>.
52048         (h_errno, __libc_h_errno): Move declaration and macros out of
52049         [_LIBC_REENTRANT].
52051         * include/resolv.h [_RESOLV_H_]:
52052         Don't include <tls.h>.
52053         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
52054         * resolv/res_libc.c: Don't include <tls.h>.
52055         (_res): Use __attribute__ ((nocommon)) in place of
52056         __attribute__ ((section (".bss"))).
52058         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
52059         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
52061         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
52063         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
52064         only under [SIOCGIFCONF && SIOCGIFNETMASK].
52066         * resolv/res_mkquery.c: Include <sys/time.h>.
52068         * inet/ifreq.c: Moved to ...
52069         * sysdeps/unix/ifreq.c: ... here.
52070         * inet/ifreq.c: New file, true stub version.
52072         * socket/sa_len.c: New file.
52073         * socket/Makefile (aux): Add it.
52074         * sysdeps/unix/sysv/linux/Makefile
52075         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
52076         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
52077         and #include <socket/sa_len.c>.
52078         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
52079         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
52081         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
52082         * bits/socket.h: ... here.
52084         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
52085         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
52086         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
52088 2013-08-27  Andreas Schwab  <schwab@suse.de>
52090         [BZ #15736]
52091         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
52092         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
52093         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
52094         * string/test-strcasecmp.c (test_main): Run tests in several
52095         locales.
52096         * string/test-strncasecmp.c (test_main): Likewise.
52098         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
52099         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
52100         to __strcasecmp_nonascii and __strncasecmp_nonascii.
52101         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
52102         (__strncasecmp_ssse3) [PIC]: Likewise.
52104 2013-08-26  Roland McGrath  <roland@hack.frob.com>
52106         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
52108         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
52109         instead of explicitly declaring xdecrypt.
52110         * nis/nss_nis/nis-publickey.c: Likewise.
52112 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52114         [BZ #15890]
52115         * nscd/aicache.c: Include res_hconf.h.
52116         (addhstaiX): Initialize res_hconf.
52118 2013-08-26  Andreas Schwab  <schwab@suse.de>
52120         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
52121         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
52123 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52125         * nscd/aicache.c (addhstaiX): Fix indentation.
52127 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
52129         * configure.ac: Quote $build_pt_chown test.
52130         * configure: Regenerated.
52132 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
52134         [BZ #15532]
52135         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
52136         * math/s_cexpf.c (__cexpf): Likewise.
52137         * math/s_cexpl.c (__cexpl): Likewise.
52138         * math/libm-test.inc (cexp_test_data): Correct expected return
52139         value for NaN + i0.  Add another test.
52141 2013-08-22  David S. Miller  <davem@davemloft.net>
52143         * po/ca.po: Update Catalan translation from translation project.
52144         * po/uk.po: Add Ukrainian translations from translation project.
52146 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
52148         [BZ #15797]
52149         * math/s_fdim.c (__fdim): Check for infinite arguments if result
52150         is infinite, not alongside NaN test.
52151         * math/s_fdimf.c (__fdimf): Likewise.
52152         * math/s_fdiml.c (__fdiml): Likewise.
52153         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
52154         errno is unchanged.
52156 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
52158         * argp/argp-help.c: Fix typos.
52159         * crypt/speeds.c: Likewise.
52160         * csu/check_fds.c: Likewise.
52161         * elf/dl-load.c: Likewise.
52162         * elf/dl-open.c: Likewise.
52163         * elf/reldep3.c: Likewise.
52164         * elf/reldep.c: Likewise.
52165         * elf/sprof.c: Likewise.
52166         * iconv/iconv_charmap.c: Likewise.
52167         * iconv/skeleton.c: Likewise.
52168         * iconv/strtab.c: Likewise.
52169         * io/lockf64.c: Likewise.
52170         * libio/libioP.h: Likewise.
52171         * resolv/gai_notify.c: Likewise.
52172         * resolv/ns_name.c: Likewise.
52173         * resolv/ns_samedomain.c: Likewise.
52174         * resolv/res_send.c: Likewise.
52175         * stdlib/random.c: Likewise.
52176         * sunrpc/rpc/xdr.h: Likewise.
52177         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
52178         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
52179         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
52180         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
52181         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
52182         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
52183         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
52184         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
52185         * sysdeps/mach/hurd/check_fds.c: Likewise.
52186         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
52187         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
52188         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
52189         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
52190         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
52191         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
52192         * sysdeps/pthread/aio_notify.c: Likewise.
52193         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
52194         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
52195         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
52196         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
52197         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
52199 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52201         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
52202         version if bit_Slow_SSE4_2 is set.
52203         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52204         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
52206 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52208         [BZ #15867]
52209         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
52210         trampoline stack frame information.
52211         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
52212         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
52213         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
52214         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
52215         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
52216         * sysdeps/unix/sysv/linux/powerpc/init-first.c
52217         (_libc_vdso_platform_setup): Initialize the signal trampolines.
52218         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
52219         sa_flags value.
52220         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
52221         interrupting a syscall and set with option SA_SIGINFO.
52223 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
52225         [BZ #15531]
52226         * math/s_cproj.c (__cproj): Only return an infinity if one part of
52227         argument is infinite.
52228         * math/s_cprojf.c (__cprojf): Likewise.
52229         * math/s_cprojl.c (__cprojl): Likewise.
52230         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
52231         * math/libm-test.inc (cproj_test_data): Add more tests.
52233         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
52235         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
52236         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
52237         size.  Use __ffs to determine corresponding shift.
52239 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
52240             Roland McGrath  <roland@hack.frob.com>
52242         * Makefile (INSTALL): Remove trailing blank lines from output of
52243         makeinfo.
52245 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52247         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
52248         Align 32 bit compat elf_greg to 8 bytes.
52250 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
52252         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
52254 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
52256         * string/strcoll_l.c (coll_seq): New structure.
52257         (get_next_seq_cached): New function.
52258         (get_next_seq): New function.
52259         (do_compare): New function.
52260         (STRCOLL): Use GNU style definition.  Simplify implementation
52261         by using get_next_seq, get_next_seq_cached and do_compare.
52263 2013-08-16  Florian Weimer  <fweimer@redhat.com>
52265         [BZ #14699]
52266         CVE-2013-4237
52267         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
52268         member.
52269         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
52270         member.
52271         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
52272         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
52273         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
52274         conditional.
52275         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
52276         GETDENTS_64BIT_ALIGNED.
52277         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
52278         * manual/filesys.texi (Reading/Closing Directory): Document
52279         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
52280         strongly.
52281         * manual/conf.texi (Limits for Files): Add portability note to
52282         NAME_MAX, PATH_MAX.
52283         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
52285 2013-08-13  Andreas Schwab  <schwab@suse.de>
52287         [BZ #15749]
52288         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
52289         of fabs.
52290         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
52291         LDBL_MAX_EXP >= 16384]: Add tests for it.
52293 2013-08-12  David S. Miller  <davem@davemloft.net>
52295         * version.h (RELEASE): Set to "development".
52296         (VERSION): Set to "2.18.90".
52297         * NEWS: Add 2.19 section.
52299 2013-08-03  David S. Miller  <davem@davemloft.net>
52301         * po/ko.po: Update Korean translation from translation project.
52303 2013-08-01  David S. Miller  <davem@davemloft.net>
52305         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
52306         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
52307         Bilka.
52309 2013-07-30  David S. Miller  <davem@davemloft.net>
52311         * po/fr.po: Update French translation from translation project.
52313 2013-07-28  David S. Miller  <davem@davemloft.net>
52315         * po/cs.po: Update Czech translation from translation project.
52317         * po/sv.po: Update Swedish translation from translation project.
52319 2013-07-27  David S. Miller  <davem@davemloft.net>
52321         * po/eo.po: Update Esperanto translation from translation project.
52323         * po/vi.po: Update Vietnamese translation from translation project.
52325         * po/de.po: Update German translation from translation project.
52327 2013-07-26  David S. Miller  <davem@davemloft.net>
52329         * po/bg.po: Update Bulgarian translation from translation project.
52331         * po/nl.po: Update Dutch translation from translation project.
52332         * po/pl.po: Update Polish translation from translation project.
52333         * po/ru.po: Update Russian translation from translation project.
52335 2013-07-24  David S. Miller  <davem@davemloft.net>
52337         * po/libc.pot: Update.
52339 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52341         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
52342         variable page size.
52343         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
52344         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
52345         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
52347 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52349         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
52351 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52352             Andreas Schwab  <schwab@suse.de>
52353             Roland McGrath  <roland@hack.frob.com>
52354             Joseph Myers  <joseph@codesourcery.com>
52355             Carlos O'Donell  <carlos@redhat.com>
52357         [BZ #15755]
52358         * config.h.in: Define HAVE_PT_CHOWN.
52359         * config.make.in (build-pt-chown): New variable.
52360         * configure.in (--enable-pt_chown): New configure option.
52361         * configure: Regenerate.
52362         * login/Makefile: Include Makeconfig.  Build pt_chown only if
52363         build-pt-chown is enabled.
52364         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
52365         pt_chown to fix pty ownership.
52366         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
52367         CLOSE_ALL_FDS.
52368         * manual/install.texi (Configuring and compiling): Mention
52369         --enable-pt_chown. Add @findex for grantpt.
52370         * INSTALL: Regenerate.
52372 2013-07-20  David S. Miller  <davem@davemloft.net>
52374         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
52375         difference between 32-bit and 64-bit.
52377 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
52379         [BZ #15711]
52380         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
52381         Avoid system header dependency with -ffreestanding.
52382         ($(objpfx)bits/syscall%d): Likewise.
52384 2013-07-13  David S. Miller  <davem@davemloft.net>
52386         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
52387         underflows from atanl/atan2l due to bug 15319.
52388         (casinh_test_data): Likewise.
52390 2013-07-07  David S. Miller  <davem@davemloft.net>
52392         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
52394 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
52396         * sysdeps/i386/fpu/libm-test-ulps: Update.
52397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52399 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52401         * configure.in (--enable-lock-elision): Fix message text.
52402         * INSTALL: Regenerate.
52403         * configure: Regenerate.
52405 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52407         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52409 2013-07-03  Andreas Jaeger  <aj@suse.de>
52411         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
52412         define.
52413         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
52414         (ptrace_peeksiginfo_args): Add.
52415         (__ptrace_peeksiginfo_flags): Add.
52416         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52417         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52418         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52420 2013-07-03  Allan McRae  <allan@archlinux.org>
52422         * sysdeps/i386/fpu/libm-test-ulps: Update.
52424 2013-07-02  David S. Miller  <davem@davemloft.net>
52426         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52428 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
52430         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52432 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
52434         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
52435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52437 2013-07-02  Andi Kleen <ak@linux.intel.com>
52439         * config.h.in (ENABLE_LOCK_ELISION): Add.
52440         * configure.in (--enable-lock-elision): Add option.
52441         * manual/install.texi: Document --enable lock elision.
52442         * configure: Regenerate
52443         * INSTALL: Regenerate.
52445 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
52447         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
52448         SSE4.2 strcasecmp for libc.a.
52449         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
52451 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
52453         [BZ #13304]
52454         * soft-fp/op-common.h (_FP_FMA): New macro.
52455         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
52456         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
52457         (_FP_MUL_MEAT_1_imm): ... here.
52458         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
52459         (_FP_MUL_MEAT_1_wide): ... here.
52460         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
52461         (_FP_MUL_MEAT_1_hard): ... here.
52462         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
52463         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
52464         (_FP_MUL_MEAT_2_wide): ... here.
52465         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
52466         (_FP_MUL_MEAT_2_wide_3mul): ... here.
52467         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
52468         (_FP_MUL_MEAT_2_gmp): ... here.
52469         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
52470         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
52471         (_FP_MUL_MEAT_4_wide): ... here.
52472         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
52473         (_FP_MUL_MEAT_4_gmp): ... here.
52474         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
52475         (_FP_WFRACBITS_DW_S): Likewise.
52476         (_FP_WFRACXBITS_DW_S): Likewise.
52477         (_FP_HIGHBIT_DW_S): Likewise.
52478         (FP_FMA_S): Likewise.
52479         (_FP_FRAC_HIGH_DW_S): Likewise.
52480         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
52481         (_FP_WFRACBITS_DW_D): Likewise.
52482         (_FP_WFRACXBITS_DW_D): Likewise.
52483         (_FP_HIGHBIT_DW_D): Likewise.
52484         (FP_FMA_D): Likewise.
52485         (_FP_FRAC_HIGH_DW_D): Likewise.
52486         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
52487         (_FP_WFRACBITS_DW_E): Likewise.
52488         (_FP_WFRACXBITS_DW_E): Likewise.
52489         (_FP_HIGHBIT_DW_E): Likewise.
52490         (FP_FMA_E): Likewise.
52491         (_FP_FRAC_HIGH_DW_E): Likewise.
52492         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
52493         (_FP_WFRACBITS_DW_Q): Likewise.
52494         (_FP_WFRACXBITS_DW_Q): Likewise.
52495         (_FP_HIGHBIT_DW_Q): Likewise.
52496         (FP_FMA_Q): Likewise.
52497         (_FP_FRAC_HIGH_DW_Q): Likewise.
52498         * soft-fp/fmasf4.c: New file.
52499         * soft-fp/fmadf4.c: Likewise.
52500         * soft-fp/fmatf4.c: Likewise.
52502 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52504         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
52505         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
52506         Silvermont.
52507         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
52508         macro.
52509         (index_Slow_SSE4_2): Likewise.
52510         (index_Prefer_PMINUB_for_stringop): Likewise.
52511         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
52512         bit_Slow_SSE4_2 is set.
52513         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
52514         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52516 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52518         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
52519         rtld_global._dl_hwcap2.
52520         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
52521         POWER8.
52522         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
52523         POWER8 feature descriptions defined in _dl_hwcap2.
52524         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
52525         string handling for POWER8 feature bits.
52526         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
52527         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
52528         _dl_powerpc_cap_flags.
52529         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
52530         * sysdeps/powerpc/rtld-global-offsets.sym
52531         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
52532         _dl_hwcap2 in the rtld_global_ro structure.
52534 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52536         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
52537         hardware capabilities in support of AT_HWCAP2.
52538         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
52539         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
52540         GLRO(dl_hwcap2).
52541         (_dl_show_auxv): Add support for calling _dl_procinfo to display
52542         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
52543         explicitly the unknown a_type display mechanism is used.
52544         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
52545         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
52546         struct member.
52547         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
52548         to macro prototype for AT_HWCAP2 support.
52549         * sysdeps/i386/dl-procinfo.h: Likewise.
52550         * sysdeps/s390/dl-procinfo.h: Likewise.
52551         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
52552         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
52553         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
52554         return -1 for unknown a_type display fallback.
52555         * sysdeps/sparc/dl-procinfo.h: Likewise.
52556         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
52557         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
52559 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
52561         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
52562         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
52564 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
52566         [BZ #12492]
52567         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
52568         mprotect making __stack_prot writable.
52570 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
52571             Joseph Myers  <joseph@codesourcery.com>
52573         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
52574         as being properly aligned.
52576 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
52578         * dlfcn/modstatic5.c: New file.
52579         * dlfcn/tststatic5.c: New file.
52580         * dlfcn/Makefile (tests): Add tststatic5.
52581         (tests-static): Likewise.
52582         (modules-names): Add modstatic5.
52583         (tststatic5-ENV): New variable.
52584         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
52586         [BZ #15022]
52587         * elf/dl-support.c (_dl_main_map): New variable.
52588         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
52589         (_dl_nns, _dl_load_adds): Set to 1.
52590         (_dl_initial_searchlist): Refer to _dl_main_map.
52591         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
52592         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
52593         call to _dl_get_origin.
52594         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
52595         around call_map.
52596         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
52597         * dlfcn/modstatic3.c: New file.
52598         * dlfcn/tststatic3.c: New file.
52599         * dlfcn/tststatic4.c: New file.
52600         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
52601         (tests-static): Likewise.
52602         (modules-names): Add modstatic3.
52603         (tststatic3-ENV, tststatic4-ENV): New variables.
52604         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
52605         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
52607 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
52609         * configure.in (CC): Require GCC version 4.4 or later.
52610         * configure: Regenerated.
52611         * manual/install.texi (Tools for Compilation): Update GCC version
52612         requirement.
52613         * INSTALL: Regenerated.
52615 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52617         [BZ #15674]
52618         * string/test-memcmp.c (check2): New.
52619         (main): Call check2.
52621         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
52623 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
52625         [BZ #15022]
52626         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
52627         over to...
52628         (dl_open_worker) [!SHARED]: ... here.
52630 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52632         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
52634 2013-06-25  Richard Henderson  <rth@redhat.com>
52636         * locale/programs/locarchive.c: Include <libc-internal.h>
52638 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
52640         * manual/texinfo.tex: Update to version 2013-06-21.17, with
52641         trailing whitespace removed.
52643 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
52645         [BZ #10283]
52646         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
52647         * locale/programs/locarchive.c: Include libc-mmap.h.
52648         (prepare_address_space): Take two new outputs (the mmap base and len).
52649         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
52650         values.
52651         (create_archive): Declare new mmap base and len values for
52652         prepare_address_space, and store the result in ah.
52653         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
52654         (enlarge_archive): If ah->mmap_base is not NULL, use that and
52655         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
52656         Declare new mmap base and len values for
52657         prepare_address_space, and store the result in new_ah.
52658         (open_archive): Declare new mmap base and len values for
52659         prepare_address_space, and store the result in ah.
52660         (close_archive): If ah->mmap_base is not NULL, use that and
52661         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
52662         * sysdeps/generic/libc-mmap.h: New file.
52664 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
52666         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
52667         (ALIGN_UP): Likewise.
52668         (PTR_ALIGN_DOWN): Likewise.
52669         (PTR_ALIGN_UP): Likewise.
52671 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52673         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
52674         entry mapped to PPC_PLATFORM_POWER8.
52675         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
52676         POWER8.
52677         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
52678         (_dl_string_platform): Add case for exporting platform position for
52679         POWER8.
52680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
52681         search path to sysdeps/powerpc/powerpc32/power8 directory.
52682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
52683         search path to sysdeps/powerpc/powerpc64/power8 directory.
52684         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
52685         power7 directories.
52686         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
52687         power7 directories.
52689 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
52691         * INSTALL: Regenerate.
52693         * nscd/connections.c (nscd_init): Fix comment.
52695 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
52697         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
52699         [BZ #15667]
52700         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
52701         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
52703 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
52705         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
52706         DL_DST_REQ_STATIC.
52707         (DL_DST_REQ_STATIC): Remove macro.
52709 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
52711         [BZ #7006]
52712         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
52713         with a shift of 0 bits.
52715 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
52717         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
52718         $(tststatic-ENV).
52720 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52722         [BZ #15655]
52723         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
52725 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52727         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
52728         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
52729         accepts -fno-tree-loop-distribute-patterns.
52730         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
52731         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
52732         recursive call.
52733         * string/memset.c (memset): Likewise.
52734         * string/test-memmove.c (simple_memmove): Disable loop transformation
52735         to library calls.
52736         * string/test-memset.c (simple_memset): Likewise.
52737         * benchtests/bench-memmove.c (simple_memmove): Likewise.
52738         * benchtests/bench-memset.c (simple_memset): Likewise.
52739         * configure: Regenerated.
52741 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
52743         * math/test-misc.c (main): Ignore fesetround failure when failures
52744         of subsequent rounding tests would be ignored.
52746         [BZ #15654]
52747         * math/fedisblxcpt.c (fedisableexcept): Return 0.
52748         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
52749         * math/fegetenv.c (__fegetenv): Return 0.
52750         * math/fegetexcept.c (fegetexcept): Return 0.
52751         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
52752         FE_TONEAREST.
52753         * math/feholdexcpt.c (feholdexcept): Return 0.
52754         * math/fesetenv.c (__fesetenv): Return 0.
52755         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
52756         argument FE_TONEAREST.
52757         * math/feupdateenv.c (__feupdateenv): Return 0.
52758         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
52760 2013-06-18  Roland McGrath  <roland@hack.frob.com>
52762         * elf/rtld-Rules (rtld-compile-command.S): New variable.
52763         (rtld-compile-command.s, rtld-compile-command.c): New variables.
52764         ($(objpfx)rtld-%.os rules): Use them.
52766 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52768         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
52769         fields.
52771 2013-06-17  Roland McGrath  <roland@hack.frob.com>
52773         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
52774         length of target pattern, then descending length of dependency pattern.
52775         * configure.in (AWK): Require gawk 3.1.2 or newer.
52776         * manual/install.texi (Tools for Compilation): Say that we do.
52777         * configure: Regenerated.
52779         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
52780         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
52781         * scripts/sysd-rules.awk: ... this new script.
52782         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
52783         than a glob-style pattern.
52785 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
52787         * math/test-misc.c (main): Do not treat incorrectly rounded
52788         conversions as failure unless ROUNDING_TESTS passes.
52790 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
52792         [BZ #15631]
52793         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
52794         restore exception state around main square root computation, then
52795         check for inexactness explicitly.
52797         * math/libm-test.inc (fma_test_data): Add another test.
52799 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52801         * manual/threads.texi (Non-POSIX Extensions): New document
52802         node.  Document pthread_getattr_default_np and
52803         pthread_setattr_default_np.
52805         * Versions.def (libpthread): Add GLIBC_2.18.
52806         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
52807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
52808         Likewise.
52809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
52810         Likewise.
52811         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
52812         Likewise.
52813         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
52814         Likewise.
52815         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
52816         Likewise.
52817         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
52818         Likewise.
52819         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
52820         Likewise.
52821         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
52822         Likewise.
52823         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
52824         Likewise.
52826 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52828         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52829         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
52831 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
52832             H.J. Lu  <hjl.tools@gmail.com>
52834         [BZ #15627]
52835         * sysdeps/x86_64/rtld-memset.c: Remove file.
52836         * sysdeps/x86_64/rtld-memset.S: New file.
52838 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
52840         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
52841         (test_in_one_mode): Take arguments for whether the rounding mode
52842         is supported for each floating-point type.
52843         (do_test): Pass new arguments to test_in_one_mode using
52844         ROUNDING_TESTS.
52846 2013-06-13  Roland McGrath  <roland@hack.frob.com>
52848         * posix/tst-waitid.c (do_test): Distinguish different instances of
52849         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
52850         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
52851         before entering the kernel for waitpid.
52853 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
52855         * NEWS: Fix note on clock function precision.  Text by Roland
52856         McGrath.
52858 2013-06-13  Roland McGrath  <roland@hack.frob.com>
52860         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
52861         it into place only when and if the sanity check passes.
52863 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
52865         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
52866         output for whether conversion result is exact.  Take argument
52867         indicating whether type is IBM long double.
52868         (round_for_all): Change need_exact field to ibm_ld.
52869         * stdlib/tst-strtod-round.c (struct exactness): New type.
52870         (struct test): Change bool ld_ok field to struct exactness exact.
52871         (TEST): Update all definitions for change to field.
52872         (tests): Regenerate array contents.
52873         (test_in_one_mode): Take pointer to new field instead of old ld_ok
52874         field value.  Check for IBM long double here.
52875         (do_test): Update calls to test_in_one_mode.
52877 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
52879         [BZ #12515]
52880         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
52881         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
52883 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52885         [BZ #15605]
52886         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
52887         generated by the compiler on loop optimizations.
52888         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
52889         general definitions.
52891 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
52893         * math/bug-nextafter.c: Include <math-tests.h>.
52894         (main): Only test for exceptions if EXCEPTION_TESTS is true for
52895         the relevant type.
52896         * math/bug-nexttoward.c: Include <math-tests.h>.
52897         (main): Only test for exceptions if EXCEPTION_TESTS is true for
52898         the relevant type.
52899         * math/test-misc.c: Include <math-tests.h>.
52900         (main): Only test for exceptions if EXCEPTION_TESTS is true for
52901         the relevant type.
52903 2013-06-12  Andreas Jaeger  <aj@suse.de>
52905         * po/ia.po: Update Interlingua translation from translation
52906         project.
52908 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
52910         * include/fenv.h: Include stdbool.h.
52911         (struct rm_ctx): New structure.
52912         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
52913         Define macro.
52914         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
52915         (SET_RESTORE_ROUNDF): Likewise.
52916         (SET_RESTORE_ROUNDL): Likewise.
52917         (SET_RESTORE_ROUND_NOEX): Likewise.
52918         (SET_RESTORE_ROUND_NOEXF): Likewise.
52919         (SET_RESTORE_ROUND_NOEXL): Likewise.
52920         (SET_RESTORE_ROUND_53BIT): Likewise.
52921         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
52922         (libc_feresetround_noexf_ctx): Likewise.
52923         (libc_feresetround_noexl_ctx): Likewise.
52924         (libc_feholdsetround_53bit_ctx): Likewise.
52925         (libc_feresetround_53bit_ctx): Likewise.
52926         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
52927         (libc_feholdexcept_setround_sse_ctx): New function.
52928         (libc_fesetenv_sse_ctx): Likewise.
52929         (libc_feupdateenv_sse_ctx): Likewise.
52930         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
52931         (libc_feholdexcept_setround_387_ctx): Likewise.
52932         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
52933         (libc_feholdsetround_387_prec_ctx): Likewise.
52934         (libc_feholdsetround_387_ctx): Likewise.
52935         (libc_feholdsetround_387_53bit_ctx): Likewise.
52936         (libc_feholdsetround_sse_ctx): Likewise.
52937         (libc_feresetround_sse_ctx): Likewise.
52938         (libc_feresetround_387_ctx): Likewise.
52939         (libc_feupdateenv_387_ctx): Likewise.
52940         (libc_feholdexcept_setroundf_ctx): Define macro.
52941         (libc_fesetenvf_ctx): Likewise.
52942         (libc_feupdateenvf_ctx): Likewise.
52943         (libc_feholdsetroundf_ctx): Likewise.
52944         (libc_feresetroundf_ctx): Likewise.
52945         (libc_feholdexcept_setround_ctx): Likewise.
52946         (libc_fesetenv_ctx): Likewise.
52947         (libc_feupdateenv_ctx): Likewise.
52948         (libc_feholdsetround_ctx): Likewise.
52949         (libc_feresetround_ctx): Likewise.
52950         (libc_feholdexcept_setroundl_ctx): Likewise.
52951         (libc_feupdateenvl_ctx): Likewise.
52952         (libc_feholdsetroundl_ctx): Likewise.
52953         (libc_feresetroundl_ctx): Likewise.
52954         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
52955         (libc_feresetround_53bit_ctx): Likewise.
52957 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52959         * locale/iso-639.def: Convert to UTF-8.
52961 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
52963         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
52964         (EXCEPTION_TESTS_double): Likewise.
52965         (EXCEPTION_TESTS_long_double): Likewise.
52966         (EXCEPTION_TESTS): Likewise.
52967         * math/libm-test.inc (test_exceptions): Only test exceptions if
52968         EXCEPTION_TESTS (FLOAT).
52970 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52972         * benchtests/Makefile (string-bench): Add strcpy_chk and
52973         stpcpy_chk.
52974         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
52975         * benchtests/bench-stpcpy_chk.c: New file.
52976         * benchtests/bench-strcpy_chk-ifunc.c: New file.
52977         * benchtests/bench-strcpy_chk.c: New file.
52978         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
52979         code.
52980         (do_test): Likewise.
52982 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52984         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
52985         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
52986         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
52987         with tabs where appropriate.
52988         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
52989         dl-procinfo.h.
52990         [PPC_PLATFORM_PPC440]: Likewise.
52991         [PPC_PLATFORM_PPC464]: Likewise.
52992         [PPC_PLATFORM_PPC476]: Likewise.
52993         (_dl_string_platform): Add support for detecting ppc405, ppc440,
52994         ppc464, and ppc476 platform strings merging from ports/
52995         dl-procinfo.h.
52997 2013-06-11  Andreas Schwab  <schwab@suse.de>
52999         [BZ #14991]
53000         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
53001         (from_ucs4_idx): Regenerate.
53002         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
53003         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
53004         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
53005         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
53006         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
53007         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
53008         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
53009         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
53010         from FROM_LOOP and TO_LOOP specific macros.
53011         (BODY): Handle combining characters.
53012         * iconvdata/BIG5HKSCS.irreversible: Update.
53013         * iconvdata/BIG5HKSCS.precomposed: New file.
53014         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
53015         characters.
53016         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
53018 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53020         * include/sys/time.h: Fix indentation and add copyright header.
53022         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
53023         (do_test): Likewise.
53024         * string/test-memchr.c (do_one_test): Likewise.
53025         (do_test): Likewise.
53026         * string/test-memcmp.c (do_one_test): Likewise.
53027         (do_test): Likewise.
53028         * string/test-memcpy.c (do_one_test): Likewise.
53029         (do_test): Likewise.
53030         * string/test-memmem.c (do_one_test): Likewise.
53031         (do_test): Likewise.
53032         (do_random_tests): Likewise.
53033         * string/test-memmove.c (do_one_test): Likewise.
53034         (do_test): Likewise.
53035         * string/test-memset.c (do_one_test): Likewise.
53036         (do_test): Likewise.
53037         * string/test-rawmemchr.c (do_one_test): Likewise.
53038         (do_test): Likewise.
53039         * string/test-strcasecmp.c (do_one_test): Likewise.
53040         (do_test): Likewise.
53041         * string/test-strcasestr.c (do_one_test): Likewise.
53042         (do_test): Likewise.
53043         * string/test-strcat.c (do_one_test): Likewise.
53044         (do_test): Likewise.
53045         * string/test-strchr.c (do_one_test): Likewise.
53046         (do_test): Likewise.
53047         * string/test-strcmp.c (do_one_test): Likewise.
53048         (do_test): Likewise.
53049         * string/test-strcpy.c (do_one_test): Likewise.
53050         (do_test): Likewise.
53051         * string/test-string.h: Likewise.
53052         (test_init): Likewise.
53053         * string/test-strlen.c (do_one_test): Likewise.
53054         (do_test): Likewise.
53055         * string/test-strncasecmp.c (do_one_test): Likewise.
53056         (do_test): Likewise.
53057         * string/test-strncat.c (do_one_test): Likewise.
53058         (do_test): Likewise.
53059         * string/test-strncmp.c (do_one_test): Likewise.
53060         (do_test_limit): Likewise.
53061         (do_test): Likewise.
53062         * string/test-strncpy.c (do_one_test): Likewise.
53063         (do_test): Likewise.
53064         * string/test-strnlen.c (do_one_test): Likewise.
53065         (do_test): Likewise.
53066         * string/test-strpbrk.c (do_one_test): Likewise.
53067         (do_test): Likewise.
53068         * string/test-strrchr.c (do_one_test): Likewise.
53069         (do_test): Likewise.
53070         * string/test-strspn.c (do_one_test): Likewise.
53071         (do_test): Likewise.
53072         * string/test-strstr.c (do_one_test): Likewise.
53073         (do_test): Likewise.
53075         * benchtests/Makefile (string-bench): Add string benchmarks.
53076         * benchtests/bench-bcopy-ifunc.c: New file.
53077         * benchtests/bench-bcopy.c: New file.
53078         * benchtests/bench-bzero-ifunc.c: New file.
53079         * benchtests/bench-bzero.c: New file.
53080         * benchtests/bench-memccpy-ifunc.c: New file.
53081         * benchtests/bench-memccpy.c: New file.
53082         * benchtests/bench-memchr-ifunc.c: New file.
53083         * benchtests/bench-memchr.c: New file.
53084         * benchtests/bench-memcmp-ifunc.c: New file.
53085         * benchtests/bench-memcmp.c: New file.
53086         * benchtests/bench-memmem-ifunc.c: New file.
53087         * benchtests/bench-memmem.c: New file.
53088         * benchtests/bench-memmove-ifunc.c: New file.
53089         * benchtests/bench-memmove.c: New file.
53090         * benchtests/bench-mempcpy-ifunc.c: New file.
53091         * benchtests/bench-mempcpy.c: New file.
53092         * benchtests/bench-memset-ifunc.c: New file.
53093         * benchtests/bench-memset.c: New file.
53094         * benchtests/bench-rawmemchr-ifunc.c: New file.
53095         * benchtests/bench-rawmemchr.c: New file.
53096         * benchtests/bench-stpcpy-ifunc.c: New file.
53097         * benchtests/bench-stpcpy.c: New file.
53098         * benchtests/bench-stpncpy-ifunc.c: New file.
53099         * benchtests/bench-stpncpy.c: New file.
53100         * benchtests/bench-strcasecmp-ifunc.c: New file.
53101         * benchtests/bench-strcasecmp.c: New file.
53102         * benchtests/bench-strcasestr-ifunc.c: New file.
53103         * benchtests/bench-strcasestr.c: New file.
53104         * benchtests/bench-strcat-ifunc.c: New file.
53105         * benchtests/bench-strcat.c: New file.
53106         * benchtests/bench-strchr-ifunc.c: New file.
53107         * benchtests/bench-strchr.c: New file.
53108         * benchtests/bench-strchrnul-ifunc.c: New file.
53109         * benchtests/bench-strchrnul.c: New file.
53110         * benchtests/bench-strcmp-ifunc.c: New file.
53111         * benchtests/bench-strcmp.c: New file.
53112         * benchtests/bench-strcpy-ifunc.c: New file.
53113         * benchtests/bench-strcpy.c: New file.
53114         * benchtests/bench-strcspn-ifunc.c: New file.
53115         * benchtests/bench-strcspn.c: New file.
53116         * benchtests/bench-strlen-ifunc.c: New file.
53117         * benchtests/bench-strlen.c: New file.
53118         * benchtests/bench-strncasecmp-ifunc.c: New file.
53119         * benchtests/bench-strncasecmp.c: New file.
53120         * benchtests/bench-strncat-ifunc.c: New file.
53121         * benchtests/bench-strncat.c: New file.
53122         * benchtests/bench-strncmp-ifunc.c: New file.
53123         * benchtests/bench-strncmp.c: New file.
53124         * benchtests/bench-strncpy-ifunc.c: New file.
53125         * benchtests/bench-strncpy.c: New file.
53126         * benchtests/bench-strnlen-ifunc.c: New file.
53127         * benchtests/bench-strnlen.c: New file.
53128         * benchtests/bench-strpbrk-ifunc.c: New file.
53129         * benchtests/bench-strpbrk.c: New file.
53130         * benchtests/bench-strrchr-ifunc.c: New file.
53131         * benchtests/bench-strrchr.c: New file.
53132         * benchtests/bench-strspn-ifunc.c: New file.
53133         * benchtests/bench-strspn.c: New file.
53134         * benchtests/bench-strstr-ifunc.c: New file.
53135         * benchtests/bench-strstr.c: New file.
53137         * benchtests/Makefile: Disable parallel execution of targets.
53138         (string-bench): Add memcpy.
53139         (benchset): New variable to store a list of benchmark sets.
53140         (bench-func): Renamed from bench.
53141         (bench-set): New target.
53142         (bench): Depend on bench-func and bench-set.
53143         * benchtests/README: Add section on benchmark sets.
53144         * benchtests/bench-memcpy-ifunc.c: New file.
53145         * benchtests/bench-memcpy.c: New file.
53146         * benchtests/bench-string.h: New file.
53148 2013-06-11  Andreas Schwab  <schwab@suse.de>
53150         [BZ #15577]
53151         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
53152         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
53153         values in the triple.
53154         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
53155         terminator in the group key.
53157 2013-06-11  Andreas Jaeger  <aj@suse.de>
53159         * po/zh_TW.po: Update Chinese (traditional) translation from
53160         translation project.
53162 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53164         * include/time.h (__clock_gettime): Add libc_hidden_proto.
53165         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
53166         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
53167         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
53168         (clock_getcpuclockid): Likewise.
53169         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
53170         Add weak_alias and libc_hidden_def.
53171         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
53172         * rt/clock_gettime.c (clock_gettime): Rename to
53173         __clock_gettime.  Add weak_alias and libc_hidden_def.
53174         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
53175         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
53176         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
53177         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
53178         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
53179         Likewise.
53180         * rt/clock_settime.c (clock_settime): Rename to
53181         __clock_settime.  Add weak_alias and libc_hidden_def.
53182         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
53184 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
53186         * mach/err_boot.sub: Remove trailing whitespace.
53187         * mach/err_ipc.sub: Likewise.
53188         * mach/err_mach.sub: Likewise.
53190         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
53191         (ROUNDING_TESTS_double): Likewise.
53192         (ROUNDING_TESTS_long_double): Likewise.
53193         (ROUNDING_TESTS): Likewise.
53194         * math/libm-test.inc: Include <math-tests.h>.
53195         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
53196         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
53197         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
53198         (IF_ROUND_INIT_FE_UPWARD): Likewise.
53200 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53202         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
53203         of assigning.
53205 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
53207         * sysdeps/gnu/errlist.awk: Do not generate space at end of
53208         otherwise empty TRANS lines.
53209         * sysdeps/gnu/errlist.c: Regenerated.
53211         * catgets/gencat.c (error_print): Use (void) in function
53212         definition.
53213         * crypt/crypt_util.c (__init_des): Likewise.
53214         * crypt/speeds.c (Stop): Likewise.
53215         (main): Likewise.
53216         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
53217         * inet/ruserpass.c (token): Likewise.
53218         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
53219         * intl/localealias.c (extend_alias_table): Likewise.
53220         * intl/plural-exp.c (init_germanic_plural): Likewise.
53221         * libio/fcloseall.c (__fcloseall): Likewise.
53222         * libio/genops.c (_IO_flush_all): Likewise.
53223         (_IO_flush_all_linebuffered): Likewise.
53224         (_IO_cleanup): Likewise.
53225         (_IO_iter_begin): Likewise.
53226         (_IO_iter_end): Likewise.
53227         (_IO_list_lock): Likewise.
53228         (_IO_list_unlock): Likewise.
53229         (_IO_list_resetlock): Likewise.
53230         * libio/getchar.c (getchar): Likewise.
53231         * libio/getchar_u.c (getchar_unlocked): Likewise.
53232         * libio/getwchar.c (getwchar): Likewise.
53233         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
53234         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
53235         * login/getpt.c (__getpt): Likewise.
53236         * login/tst-utmp.c (main): Likewise.
53237         * malloc/hooks.c (__malloc_check_init): Likewise.
53238         * malloc/malloc.c (__malloc_stats): Likewise.
53239         * malloc/mtrace.c (tr_break): Likewise.
53240         (mtrace): Likewise.
53241         (muntrace): Likewise.
53242         * misc/fstab.c (endfsent): Likewise.
53243         * misc/getclktck.c (__getclktck): Likewise.
53244         * misc/getdtsz.c (__getdtablesize): Likewise.
53245         * misc/gethostid.c (gethostid): Likewise.
53246         * misc/getpagesize.c (__getpagesize): Likewise.
53247         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
53248         (__get_nprocs): Likewise.
53249         (__get_phys_pages): Likewise.
53250         (__get_avphys_pages): Likewise.
53251         * misc/getttyent.c (getttyent): Likewise.
53252         (setttyent): Likewise.
53253         (endttyent): Likewise.
53254         * misc/getusershell.c (getusershell): Likewise.
53255         (endusershell): Likewise.
53256         (setusershell): Likewise.
53257         (initshells): Likewise.
53258         * misc/hsearch.c (__hdestroy): Likewise.
53259         * misc/sync.c (sync): Likewise.
53260         * misc/syslog.c (closelog_internal): Likewise.
53261         (closelog): Likewise.
53262         * misc/ttyslot.c (ttyslot): Likewise.
53263         * misc/vhangup.c (vhangup): Likewise.
53264         * posix/fork.c (__fork): Likewise.
53265         * posix/getegid.c (__getegid): Likewise.
53266         * posix/geteuid.c (__geteuid): Likewise.
53267         * posix/getgid.c (__getgid): Likewise.
53268         * posix/getpid.c (__getpid): Likewise.
53269         * posix/getppid.c (__getppid): Likewise.
53270         * posix/getuid.c (__getuid): Likewise.
53271         * posix/pause.c (pause): Likewise.
53272         * posix/setpgrp.c (setpgrp): Likewise.
53273         * posix/setsid.c (__setsid): Likewise.
53274         * posix/test-vfork.c (noop): Likewise.
53275         * resolv/gethnamaddr.c (_endhtent): Likewise.
53276         (_gethtent): Likewise.
53277         (ht_endhostent): Likewise.
53278         (gethostent): Likewise.
53279         (dns_service): Likewise.
53280         * stdlib/drand48.c (drand48): Likewise.
53281         * stdlib/lrand48.c (lrand48): Likewise.
53282         * stdlib/mrand48.c (mrand48): Likewise.
53283         * stdlib/rand.c (rand): Likewise.
53284         * stdlib/random.c (__random): Likewise.
53285         * stdlib/setenv.c (clearenv): Likewise.
53286         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
53287         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
53288         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
53289         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
53290         (__get_nprocs): Likewise.
53291         (__get_phys_pages): Likewise.
53292         (__get_avphys_pages): Likewise.
53293         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
53294         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
53295         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
53296         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
53297         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
53298         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
53299         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
53300         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
53301         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
53302         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
53303         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
53304         * sysdeps/mach/hurd/sync.c (sync): Likewise.
53305         * sysdeps/posix/clock.c (clock): Likewise.
53306         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
53307         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
53308         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
53309         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
53310         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
53311         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
53312         (__get_nprocs_conf): Likewise.
53313         (__get_phys_pages): Likewise.
53314         (__get_avphys_pages): Likewise.
53315         * time/clock.c (clock): Likewise.
53316         * time/tzset.c (__tzname_max): Likewise.
53318 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
53320         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
53321         (__bswap_32): Do not use "register".
53322         * crypt/crypt.c (_ufc_doit_r): Likewise.
53323         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
53324         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
53325         * gmon/gmon.c (__monstartup): Likewise.
53326         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
53327         * hurd/hurdmalloc.c (more_memory): Likewise.
53328         (malloc): Likewise.
53329         (free): Likewise.
53330         (realloc): Likewise.
53331         (malloc_fork_prepare): Likewise.
53332         (malloc_fork_parent): Likewise.
53333         (malloc_fork_child): Likewise.
53334         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
53335         (_svcauth_des): Likewise.
53336         * inet/inet_lnaof.c (inet_lnaof): Likewise.
53337         * inet/inet_net.c (inet_network): Likewise.
53338         * inet/inet_netof.c (inet_netof): Likewise.
53339         * inet/rcmd.c (__validuser2_sa): Likewise.
53340         * io/fts.c (fts_open): Likewise.
53341         (fts_load): Likewise.
53342         (fts_close): Likewise.
53343         (fts_read): Likewise.
53344         (fts_children): Likewise.
53345         (fts_build): Likewise.
53346         (fts_stat): Likewise.
53347         (fts_sort): Likewise.
53348         (fts_alloc): Likewise.
53349         (fts_lfree): Likewise.
53350         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
53351         (_IO_file_xsgetn): Likewise.
53352         (_IO_file_xsgetn_mmap): Likewise.
53353         * libio/iofopncook.c (_IO_cookie_read): Likewise.
53354         (_IO_cookie_write): Likewise.
53355         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
53356         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
53357         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
53358         * malloc/obstack.c (_obstack_begin): Likewise.
53359         (_obstack_begin_1): Likewise.
53360         (_obstack_newchunk): Likewise.
53361         (_obstack_allocated_p): Likewise.
53362         (obstack_free): Likewise.
53363         (_obstack_memory_used): Likewise.
53364         * misc/getttyent.c (getttynam): Likewise.
53365         (getttyent): Likewise.
53366         (skip): Likewise.
53367         (value): Likewise.
53368         * misc/getusershell.c (initshells): Likewise.
53369         * misc/syslog.c (__vsyslog_chk): Likewise.
53370         * misc/ttyslot.c (ttyslot): Likewise.
53371         * nis/nis_hash.c (__nis_hash): Likewise.
53372         * posix/fnmatch_loop.c (FCT): Likewise.
53373         * posix/getconf.c (print_all): Likewise.
53374         (main): Likewise.
53375         * posix/getopt.c (exchange): Likewise.
53376         * posix/glob.c (globfree): Likewise.
53377         (prefix_array): Likewise.
53378         (__glob_pattern_type): Likewise.
53379         * resolv/arpa/nameser.h (NS_GET16): Likewise.
53380         (NS_GET32): Likewise.
53381         (NS_PUT16): Likewise.
53382         (NS_PUT32): Likewise.
53383         * resolv/gethnamaddr.c (getanswer): Likewise.
53384         (gethostbyname2): Likewise.
53385         (gethostbyaddr): Likewise.
53386         (_gethtent): Likewise.
53387         (_gethtbyname2): Likewise.
53388         (_gethtbyaddr): Likewise.
53389         * resolv/ns_print.c (dst_s_get_int16): Likewise.
53390         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
53391         * resolv/res_init.c (__res_vinit): Likewise.
53392         (net_mask): Likewise.
53393         * resolv/res_mkquery.c (outchar): Likewise.
53394         (PRINT): Likewise.
53395         * stdio-common/printf_fp.c (outchar): Likewise.
53396         (PRINT): Likewise.
53397         * stdio-common/printf_fphex.c (outchar): Likewise.
53398         (PRINT): Likewise.
53399         * stdio-common/printf_size.c (outchar): Likewise.
53400         (PRINT): Likewise.
53401         * stdio-common/test_rdwr.c (main): Likewise.
53402         * stdio-common/tfformat.c (matches): Likewise.
53403         * stdio-common/vfprintf.c (outchar): Likewise.
53404         (printf_unknown): Likewise.
53405         (buffered_vfprintf): Likewise.
53406         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
53407         * stdio-common/xbug.c (AppendToBuffer): Likewise.
53408         (ReadFile): Likewise.
53409         * stdlib/qsort.c (SWAP): Likewise.
53410         (_quicksort): Likewise.
53411         * stdlib/setenv.c (__add_to_environ): Likewise.
53412         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
53413         * stdlib/strtol_l.c (__strtol_l): Likewise.
53414         * stdlib/tst-strtod.c (main): Likewise.
53415         * stdlib/tst-strtol.c (main): Likewise.
53416         * stdlib/tst-strtoll.c (main): Likewise.
53417         * string/bits/string2.h (__strcmp_cc): Likewise.
53418         (__strcmp_cg): Likewise.
53419         (__strcspn_c1): Likewise.
53420         (__strcspn_c2): Likewise.
53421         (__strcspn_c3): Likewise.
53422         (__strspn_c1): Likewise.
53423         (__strspn_c2): Likewise.
53424         (__strspn_c3): Likewise.
53425         (__strsep_1c): Likewise.
53426         (__strsep_2c): Likewise.
53427         (__strsep_3c): Likewise.
53428         * string/memccpy.c (__memccpy): Likewise.
53429         * string/stpcpy.c (__stpcpy): Likewise.
53430         * string/strcmp.c (strcmp): Likewise.
53431         * string/strrchr.c (strrchr): Likewise.
53432         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
53433         Likewise.
53434         * sysdeps/mach/hurd/getcwd.c
53435         (_hurd_canonicalize_directory_name_internal): Likewise.
53436         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
53437         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
53438         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
53439         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
53440         Likewise, in both definitions.
53441         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
53442         definitions.
53443         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
53444         64] (__bswap_64): Likewise.
53445         * time/test_time.c (main): Likewise.
53446         * time/tzfile.c (__tzfile_read): Likewise.
53447         (__tzfile_compute): Likewise.
53448         * time/tzset.c (__tzset_parse_tz): Likewise.
53449         (tzset_internal): Likewise.
53450         (compute_change): Likewise.
53451         * wcsmbs/wcscat.c (__wcscat): Likewise.
53452         * wcsmbs/wcschr.c (wcschr): Likewise.
53453         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
53454         * wcsmbs/wcscspn.c (wcscspn): Likewise.
53455         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
53456         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
53457         * wcsmbs/wcsspn.c (wcsspn): Likewise.
53458         * wcsmbs/wcsstr.c (wcsstr): Likewise.
53459         * wcsmbs/wmemchr.c (wmemchr): Likewise.
53460         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
53461         * wcsmbs/wmemset.c (wmemset): Likewise.
53463 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
53465         * scripts/config.guess: Update to version 2013-05-16.
53466         * scripts/config.sub: Update to version 2013-04-24.
53467         * scripts/install-sh: Update to version 2011-11-20.07.
53468         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
53469         * scripts/move-if-change: Update to version 2012-01-06 07:23.
53471 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
53473         * debug/fgetws_u_chk.c: Fix leading whitespaces.
53474         * elf/sln.c: Likewise.
53475         * hurd/hurd/ioctl.h: Likewise.
53476         * hurd/hurdmalloc.c: Likewise.
53477         * hurd/xattr.c: Likewise.
53478         * include/shlib-compat.h: Likewise.
53479         * inet/ruserpass.c: Likewise.
53480         * libio/iofgets_u.c: Likewise.
53481         * libio/iofgetws_u.c: Likewise.
53482         * locale/programs/ld-identification.c: Likewise.
53483         * locale/programs/ld-time.c: Likewise.
53484         * mach/msg-destroy.c: Likewise.
53485         * nss/nss_files/files-netgrp.c: Likewise.
53486         * resolv/res_data.c: Likewise.
53487         * soft-fp/op-1.h: Likewise.
53488         * soft-fp/op-2.h: Likewise.
53489         * soft-fp/op-4.h: Likewise.
53490         * soft-fp/op-common.h: Likewise.
53491         * stdio-common/printf_fphex.c: Likewise.
53492         * stdlib/strtod_l.c: Likewise.
53493         * sunrpc/rpc/clnt.h: Likewise.
53494         * sysdeps/generic/framestate.c: Likewise.
53495         * sysdeps/i386/bsd-_setjmp.S: Likewise.
53496         * sysdeps/i386/bsd-setjmp.S: Likewise.
53497         * sysdeps/i386/__longjmp.S: Likewise.
53498         * sysdeps/i386/setjmp.S: Likewise.
53499         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
53500         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
53501         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
53502         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
53503         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
53504         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
53505         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
53506         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
53507         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
53508         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
53509         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
53510         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
53511         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
53512         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
53513         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
53514         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
53515         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
53516         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
53517         * sysdeps/ieee754/support.c: Likewise.
53518         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
53519         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
53520         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
53521         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
53522         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
53523         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
53524         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
53525         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
53526         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
53527         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
53528         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
53529         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
53530         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
53531         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
53532         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
53533         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
53534         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
53535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
53537 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
53539         * posix/transbug.c: Remove executable mode.
53541 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
53543         * crypt/speeds.c: Remove trailing whitespace.
53544         * dlfcn/default.c: Likewise.
53545         * elf/ifuncdep2.c: Likewise.
53546         * elf/ifuncmain1.c: Likewise.
53547         * elf/ifuncmain1vis.c: Likewise.
53548         * elf/testobj.h: Likewise.
53549         * elf/tst-stackguard1.c: Likewise.
53550         * gmon/sys/gmon.h: Likewise.
53551         * hurd/hurdmsg.c: Likewise.
53552         * hurd/new-fd.c: Likewise.
53553         * hurd/ports-get.c: Likewise.
53554         * iconvdata/ibm1008_420.c: Likewise.
53555         * inet/tst-getni1.c: Likewise.
53556         * inet/tst-getni2.c: Likewise.
53557         * libio/ioungetc.c: Likewise.
53558         * libio/wfiledoalloc.c: Likewise.
53559         * manual/libm-err-tab.pl: Likewise.
53560         * math/w_dremf.c: Likewise.
53561         * misc/ftruncate.c: Likewise.
53562         * posix/bug-glob2.c: Likewise.
53563         * posix/tst-pcre.c: Likewise.
53564         * posix/wait4.c: Likewise.
53565         * resolv/README: Likewise.
53566         * resolv/res_debug.h: Likewise.
53567         * resolv/tst-inet_ntop.c: Likewise.
53568         * setjmp/bug269-setjmp.c: Likewise.
53569         * soft-fp/extended.h: Likewise.
53570         * soft-fp/op-1.h: Likewise.
53571         * soft-fp/op-2.h: Likewise.
53572         * soft-fp/op-4.h: Likewise.
53573         * soft-fp/op-8.h: Likewise.
53574         * soft-fp/testit.c: Likewise.
53575         * stdio-common/bug16.c: Likewise.
53576         * stdlib/random.c: Likewise.
53577         * sunrpc/rpcsvc/rquota.x: Likewise.
53578         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
53579         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
53580         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
53581         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
53582         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
53583         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
53584         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
53585         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
53586         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
53587         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
53588         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
53589         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
53590         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
53591         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
53592         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
53593         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
53594         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
53595         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
53596         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
53597         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
53598         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
53599         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
53600         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
53601         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
53602         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
53603         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
53604         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
53605         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
53606         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
53607         * sysdeps/ieee754/s_lib_version.c: Likewise.
53608         * sysdeps/mach/hurd/check_fds.c: Likewise.
53609         * sysdeps/mach/hurd/getsockname.c: Likewise.
53610         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
53611         * sysdeps/mach/hurd/recvfrom.c: Likewise.
53612         * sysdeps/powerpc/bits/link.h: Likewise.
53613         * sysdeps/powerpc/dl-procinfo.c: Likewise.
53614         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
53615         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
53616         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
53617         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
53618         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
53619         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
53620         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
53621         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
53622         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
53623         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
53624         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
53625         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
53626         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
53627         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
53628         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
53629         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
53630         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
53631         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
53632         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
53633         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
53634         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
53635         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
53636         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
53637         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
53638         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
53639         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
53640         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
53641         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
53642         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
53643         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
53644         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
53645         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
53646         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
53647         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
53648         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
53649         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
53650         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
53651         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
53652         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
53653         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
53654         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
53655         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
53656         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
53657         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
53658         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
53659         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
53660         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
53661         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
53662         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
53663         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53664         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53665         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
53666         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
53667         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
53668         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
53669         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
53670         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
53671         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
53672         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
53673         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
53674         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
53675         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
53676         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
53677         * sysdeps/powerpc/sysdep.h: Likewise.
53678         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
53679         * sysdeps/s390/s390-64/sub_n.S: Likewise.
53680         * sysdeps/sh/dl-trampoline.S: Likewise.
53681         * sysdeps/sh/memset.S: Likewise.
53682         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
53683         * sysdeps/sh/strlen.S: Likewise.
53684         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
53685         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
53686         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
53687         * sysdeps/sparc/sparc32/rem.S: Likewise.
53688         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
53689         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
53690         * sysdeps/sparc/sparc32/strchr.S: Likewise.
53691         * sysdeps/sparc/sparc32/udiv.S: Likewise.
53692         * sysdeps/sparc/sparc32/urem.S: Likewise.
53693         * sysdeps/sparc/sparc64/add_n.S: Likewise.
53694         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
53695         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
53696         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
53697         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
53698         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
53699         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
53700         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
53701         * sysdeps/unix/bsd/times.c: Likewise.
53702         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
53703         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
53704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
53705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
53706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
53707         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
53708         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
53709         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
53710         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
53711         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
53712         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
53713         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
53714         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
53715         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
53716         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
53717         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
53718         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
53719         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
53720         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
53721         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
53722         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
53723         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
53724         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
53725         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
53726         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
53727         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
53728         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
53729         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53730         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
53731         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
53732         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
53733         * sysdeps/x86_64/strcspn.S: Likewise.
53735 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53737         * locale/C-translit.h: Revert #include <stdint.h> because this is a
53738         generated file.  Regenerate properly from gen-translit.pl.
53739         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
53740         locale/C-translit.h.
53742 2013-06-05  Andreas Schwab  <schwab@suse.de>
53744         [BZ #15100]
53745         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
53746         week as 6 instead of -1.
53747         * time/tst-strptime.c (day_tests): Add test case.
53749 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
53751         * sysdeps/generic/math_private.h
53752         (libc_feholdexcept_setround_53bit): Replace with
53753         libc_feholdsetround_53bit.
53754         (libc_feupdateenv_53bit): Replace with
53755         libc_feresetround_53bit.
53756         (SET_RESTORE_ROUND_53BIT): Adjust.
53758 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
53760         * string/test-strchrnul.c: Add copyright header.
53762         * posix/tst-getaddrinfo4.c: Increase test timeout.
53764 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
53766         [BZ #15536]
53767         * math/libm-test.inc (MAX_EXP): Remove
53768         (MIN_EXP): Define.
53769         (ulp): Use MIN_EXP - MANT_DIG.
53770         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
53772 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
53774         * po/be.po: Revert last change.
53775         * po/zh_CN.po: Likewise.
53776         * po/header.pot: Likewise.
53778 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
53780         * Makefile ($(common-objpfx)linkobj/libc.so): Define
53781         link-libc-deps to empty as target-specific variable.
53782         * Makerules (link-libc-args): New variable.
53783         (libc-for-link): Likewise.
53784         (link-libc-deps): Likewise.
53785         (lib%.so): Depend on $(link-libc-deps).  Link with
53786         $(link-libc-args).
53787         (build-module): Link with $(link-libc-args).
53788         (build-module-asneeded): Likewise.
53789         (build-module-helper-objlist): Filter out $(link-libc-deps) from
53790         list of objects.
53791         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
53792         target-specific variable.
53793         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
53794         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
53795         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
53796         libc.
53797         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
53798         libc and ld.so.
53799         ($(objpfx)libpcprofile.so): Likewise.
53800         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
53801         libc_nonshared.a.
53802         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
53803         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
53804         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
53805         $(link-libc-deps).
53806         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
53807         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
53808         * login/Makefile ($(objpfx)libutil.so): Likewise.
53809         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
53810         * math/Makefile ($(objpfx)libm.so): Likewise.
53811         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
53812         $(objpfx)libnsl.so): Define libc-for-link as target-specific
53813         variable instead of depending directly on libc.
53814         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
53815         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
53816         $(link-libc-deps).
53817         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
53818         libc.
53819         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
53820         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
53821         ($(objpfx)libanl.so): Likewise.
53822         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
53823         ld.so.
53824         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
53825         $(link-libc-deps).
53826         * sysdeps/i386/fpu/Makefile: Remove file.
53827         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
53828         ($(objpfx)libm.so): Remove dependency on ld.so.
53830 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
53832         [BZ # 15553]
53833         * nis/yp_xdr.c (XDRMAXNAME): Define.
53834         (XDRMAXRECORD): Define.
53835         (xdr_domainname): Use XDRMAXNAME.
53836         (xdr_mapname): Likewise.
53837         (xdr_peername): Likewise.
53838         (xdr_keydat): Use XDRMAXRECORD.
53839         (xdr_valdat): Likewise.
53841 2013-05-30  Jeff Law  <law@redhat.com>
53843         [BZ #14256]
53844         * manual/errno.texi (ESTALE): Update to account for more than
53845         just NFS file systems.
53846         * sysdeps/gnu/errlist.c: Regenerated.
53848 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53850         [BZ #15465]
53851         * elf/Makefile (tests): Add tst-null-argv.
53852         (modules-names):  Add tst-null-argv-lib.
53853         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
53854         (tst-null-argv-ENV): Set environment for tst-null-argv.
53855         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
53856         (RTLD_PROGNAME): New macro.
53857         * elf/tst-null-argv.c: New test case.
53858         * elf/tst-null-argv-lib.c: Library for test case.
53859         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
53860         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
53861         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
53862         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
53863         * elf/dl-init.c (call_init): Likewise.
53864         (_dl_init): Likewise.
53865         * elf/dl-load.c (print_search_path): Likewise.
53866         (_dl_map_object): Likewise.
53867         * elf/dl-lookup.c (do_lookup_x): Likewise.
53868         (add_dependency): Likewise.
53869         (_dl_lookup_symbol_x): Likewise.
53870         (_dl_debug_bindings): Likewise.
53871         * elf/dl-open.c (_dl_show_scope): Likewise.
53872         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
53873         * elf/dl-version.c (match_symbol): Likewise.
53874         (_dl_check_map_versions): Likewise.
53875         * elf/rtld.c (dl_main): Likewise.
53876         (print_unresolved): Use RTLD_PROGNAME.
53877         (print_missing_version): Likewise.
53878         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
53879         (elf_machine_rela): Likewise.
53880         * sysdeps/powerpc/powerpc32/dl-machine.c
53881         (__process_machine_rela): Likewise.
53882         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53883         Likewise.
53884         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
53885         Likewise.
53886         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
53887         Likewise.
53888         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53889         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
53890         Likewise.
53891         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
53892         Likewise.
53893         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
53895 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
53897         * po/be.po: Add descriptive title.
53898         * po/zh_CN.po: Likewise.
53899         * po/header.pot: Likewise.
53901 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
53903         * locale/programs/locarchive.c (create_archive): Inlucde fname in
53904         error message.
53905         (enlarge_archive): Likewise.
53907 2013-05-28  Ben North  <ben@redfrontdoor.org>
53909         * manual/arith.texi (frexp): It is the magnitude of the return
53910         value which lies in [0.5, 1), not the return value itself.
53912 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53914         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53916 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
53918         * stdio-common/bug26.c (main): Correct fscanf template.
53920         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
53921         declare _dl_skip_args.
53923         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
53924         Don't declare.
53926         * manual/platform.texi: Add missing @end deftypefun.
53928 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
53930         [BZ #15529]
53931         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
53932         bit of mantissa of 2^16382.
53933         * math/libm-test.inc (hypot_test_data): Add more tests.
53935         * math/libm-test.inc: Add drem and pow10 to list of tested
53936         functions.
53937         (pow10_test): New function.
53938         (drem_test): Likewise.
53939         (drem_test_tonearest): Likewise.
53940         (drem_test_towardzero): Likewise.
53941         (drem_test_downward): Likewise.
53942         (drem_test_upward): Likewise.
53943         (main): Call the new functions.
53945         * math/libm-test.inc (finite_test_data): Remove.
53946         (finite_test): Run tests from isfinite_test_data.
53947         (gamma_test_data): Remove.
53948         (gamma_test): Run tests from lgamma_test_data.
53949         * sysdeps/i386/fpu/libm-test-ulps: Update.
53950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53952 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53954         * manual/platform.texi: Add PowerPC PPR function set documentation.
53955         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
53956         implementation.
53958 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
53960         * math/libm-test.inc (MAX_EXP): Define.
53961         (ULPDIFF): Define.
53962         (ulp): New function.
53963         (check_float_internal): Use ULPDIFF.
53964         (cpow_test): Disable failing test.
53965         (check_ulp): Test ulp() implementation.
53966         (main): Call check_ulp before starting tests.
53968 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
53970         * math/gen-libm-test.pl (generate_testfile): Do not handle
53971         START_DATA and END_DATA.
53972         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
53973         END_DATA.
53974         (acos_tonearest_test_data): Likewise.
53975         (acos_towardzero_test_data): Likewise.
53976         (acos_downward_test_data): Likewise.
53977         (acos_upward_test_data): Likewise.
53978         (acosh_test_data): Likewise.
53979         (asin_test_data): Likewise.
53980         (asin_tonearest_test_data): Likewise.
53981         (asin_towardzero_test_data): Likewise.
53982         (asin_downward_test_data): Likewise.
53983         (asin_upward_test_data): Likewise.
53984         (asinh_test_data): Likewise.
53985         (atan_test_data): Likewise.
53986         (atanh_test_data): Likewise.
53987         (atan2_test_data): Likewise.
53988         (cabs_test_data): Likewise.
53989         (cacos_test_data): Likewise.
53990         (cacosh_test_data): Likewise.
53991         (carg_test_data): Likewise.
53992         (casin_test_data): Likewise.
53993         (casinh_test_data): Likewise.
53994         (catan_test_data): Likewise.
53995         (catanh_test_data): Likewise.
53996         (cbrt_test_data): Likewise.
53997         (ccos_test_data): Likewise.
53998         (ccosh_test_data): Likewise.
53999         (ceil_test_data): Likewise.
54000         (cexp_test_data): Likewise.
54001         (cimag_test_data): Likewise.
54002         (clog_test_data): Likewise.
54003         (clog10_test_data): Likewise.
54004         (conj_test_data): Likewise.
54005         (copysign_test_data): Likewise.
54006         (cos_test_data): Likewise.
54007         (cos_tonearest_test_data): Likewise.
54008         (cos_towardzero_test_data): Likewise.
54009         (cos_downward_test_data): Likewise.
54010         (cos_upward_test_data): Likewise.
54011         (cosh_test_data): Likewise.
54012         (cosh_tonearest_test_data): Likewise.
54013         (cosh_towardzero_test_data): Likewise.
54014         (cosh_downward_test_data): Likewise.
54015         (cosh_upward_test_data): Likewise.
54016         (cpow_test_data): Likewise.
54017         (cproj_test_data): Likewise.
54018         (creal_test_data): Likewise.
54019         (csin_test_data): Likewise.
54020         (csinh_test_data): Likewise.
54021         (csqrt_test_data): Likewise.
54022         (ctan_test_data): Likewise.
54023         (ctan_tonearest_test_data): Likewise.
54024         (ctan_towardzero_test_data): Likewise.
54025         (ctan_downward_test_data): Likewise.
54026         (ctan_upward_test_data): Likewise.
54027         (ctanh_test_data): Likewise.
54028         (ctanh_tonearest_test_data): Likewise.
54029         (ctanh_towardzero_test_data): Likewise.
54030         (ctanh_downward_test_data): Likewise.
54031         (ctanh_upward_test_data): Likewise.
54032         (erf_test_data): Likewise.
54033         (erfc_test_data): Likewise.
54034         (exp_test_data): Likewise.
54035         (exp_tonearest_test_data): Likewise.
54036         (exp_towardzero_test_data): Likewise.
54037         (exp_downward_test_data): Likewise.
54038         (exp_upward_test_data): Likewise.
54039         (exp10_test_data): Likewise.
54040         (exp2_test_data): Likewise.
54041         (expm1_test_data): Likewise.
54042         (fabs_test_data): Likewise.
54043         (fdim_test_data): Likewise.
54044         (finite_test_data): Likewise.
54045         (floor_test_data): Likewise.
54046         (fma_test_data): Likewise.
54047         (fma_towardzero_test_data): Likewise.
54048         (fma_downward_test_data): Likewise.
54049         (fma_upward_test_data): Likewise.
54050         (fmax_test_data): Likewise.
54051         (fmin_test_data): Likewise.
54052         (fmod_test_data): Likewise.
54053         (fpclassify_test_data): Likewise.
54054         (frexp_test_data): Likewise.
54055         (gamma_test_data): Likewise.
54056         (hypot_test_data): Likewise.
54057         (ilogb_test_data): Likewise.
54058         (isfinite_test_data): Likewise.
54059         (isgreater_test_data): Likewise.
54060         (isgreaterequal_test_data): Likewise.
54061         (isinf_test_data): Likewise.
54062         (isless_test_data): Likewise.
54063         (islessequal_test_data): Likewise.
54064         (islessgreater_test_data): Likewise.
54065         (isnan_test_data): Likewise.
54066         (isnormal_test_data): Likewise.
54067         (issignaling_test_data): Likewise.
54068         (isunordered_test_data): Likewise.
54069         (j0_test_data): Likewise.
54070         (j1_test_data): Likewise.
54071         (jn_test_data): Likewise.
54072         (ldexp_test_data): Likewise.
54073         (lgamma_test_data): Likewise.
54074         (lrint_test_data): Likewise.
54075         (lrint_tonearest_test_data): Likewise.
54076         (lrint_towardzero_test_data): Likewise.
54077         (lrint_downward_test_data): Likewise.
54078         (lrint_upward_test_data): Likewise.
54079         (llrint_test_data): Likewise.
54080         (llrint_tonearest_test_data): Likewise.
54081         (llrint_towardzero_test_data): Likewise.
54082         (llrint_downward_test_data): Likewise.
54083         (llrint_upward_test_data): Likewise.
54084         (log_test_data): Likewise.
54085         (log10_test_data): Likewise.
54086         (log1p_test_data): Likewise.
54087         (log2_test_data): Likewise.
54088         (logb_test_data): Likewise.
54089         (logb_downward_test_data): Likewise.
54090         (lround_test_data): Likewise.
54091         (llround_test_data): Likewise.
54092         (modf_test_data): Likewise.
54093         (nearbyint_test_data): Likewise.
54094         (nextafter_test_data): Likewise.
54095         (nexttoward_test_data): Likewise.
54096         (pow_test_data): Likewise.
54097         (pow_tonearest_test_data): Likewise.
54098         (pow_towardzero_test_data): Likewise.
54099         (pow_downward_test_data): Likewise.
54100         (pow_upward_test_data): Likewise.
54101         (remainder_test_data): Likewise.
54102         (remainder_tonearest_test_data): Likewise.
54103         (remainder_towardzero_test_data): Likewise.
54104         (remainder_downward_test_data): Likewise.
54105         (remainder_upward_test_data): Likewise.
54106         (remquo_test_data): Likewise.
54107         (rint_test_data): Likewise.
54108         (rint_tonearest_test_data): Likewise.
54109         (rint_towardzero_test_data): Likewise.
54110         (rint_downward_test_data): Likewise.
54111         (rint_upward_test_data): Likewise.
54112         (round_test_data): Likewise.
54113         (scalb_test_data): Likewise.
54114         (scalbn_test_data): Likewise.
54115         (scalbln_test_data): Likewise.
54116         (signbit_test_data): Likewise.
54117         (sin_test_data): Likewise.
54118         (sin_tonearest_test_data): Likewise.
54119         (sin_towardzero_test_data): Likewise.
54120         (sin_downward_test_data): Likewise.
54121         (sin_upward_test_data): Likewise.
54122         (sincos_test_data): Likewise.
54123         (sinh_test_data): Likewise.
54124         (sinh_tonearest_test_data): Likewise.
54125         (sinh_towardzero_test_data): Likewise.
54126         (sinh_downward_test_data): Likewise.
54127         (sinh_upward_test_data): Likewise.
54128         (sqrt_test_data): Likewise.
54129         (tan_test_data): Likewise.
54130         (tan_tonearest_test_data): Likewise.
54131         (tan_towardzero_test_data): Likewise.
54132         (tan_downward_test_data): Likewise.
54133         (tan_upward_test_data): Likewise.
54134         (tanh_test_data): Likewise.
54135         (tgamma_test_data): Likewise.
54136         (trunc_test_data): Likewise.
54137         (y0_test_data): Likewise.
54138         (y1_test_data): Likewise.
54139         (yn_test_data): Likewise.
54140         (significand_test_data): Likewise.
54142         * math/gen-libm-test.pl (@functions): Remove variable.
54143         (generate_testfile): Don't handle START and END lines.
54144         * math/libm-test.inc (START): New macro.
54145         (END): Likewise.
54146         (END_COMPLEX): Likewise.
54147         (acos_test): Use END macro without arguments.
54148         (acos_test_tonearest): Likewise.
54149         (acos_test_towardzero): Likewise.
54150         (acos_test_downward): Likewise.
54151         (acos_test_upward): Likewise.
54152         (acosh_test): Likewise.
54153         (asin_test): Likewise.
54154         (asin_test_tonearest): Likewise.
54155         (asin_test_towardzero): Likewise.
54156         (asin_test_downward): Likewise.
54157         (asin_test_upward): Likewise.
54158         (asinh_test): Likewise.
54159         (atan_test): Likewise.
54160         (atanh_test): Likewise.
54161         (atan2_test): Likewise.
54162         (cabs_test): Likewise.
54163         (cacos_test): Use END_COMPLEX macro without arguments.
54164         (cacosh_test): Likewise.
54165         (carg_test): Use END macro without arguments.
54166         (casin_test): Use END_COMPLEX macro without arguments.
54167         (casinh_test): Likewise.
54168         (catan_test): Likewise.
54169         (catanh_test): Likewise.
54170         (cbrt_test): Use END macro without arguments.
54171         (ccos_test): Use END_COMPLEX macro without arguments.
54172         (ccosh_test): Likewise.
54173         (ceil_test): Use END macro without arguments.
54174         (cexp_test): Use END_COMPLEX macro without arguments.
54175         (cimag_test): Use END macro without arguments.
54176         (clog_test): Use END_COMPLEX macro without arguments.
54177         (clog10_test): Likewise.
54178         (conj_test): Likewise.
54179         (copysign_test): Use END macro without arguments.
54180         (cos_test): Likewise.
54181         (cos_test_tonearest): Likewise.
54182         (cos_test_towardzero): Likewise.
54183         (cos_test_downward): Likewise.
54184         (cos_test_upward): Likewise.
54185         (cosh_test): Likewise.
54186         (cosh_test_tonearest): Likewise.
54187         (cosh_test_towardzero): Likewise.
54188         (cosh_test_downward): Likewise.
54189         (cosh_test_upward): Likewise.
54190         (cpow_test): Use END_COMPLEX macro without arguments.
54191         (cproj_test): Likewise.
54192         (creal_test): Use END macro without arguments.
54193         (csin_test): Use END_COMPLEX macro without arguments.
54194         (csinh_test): Likewise.
54195         (csqrt_test): Likewise.
54196         (ctan_test): Likewise.
54197         (ctan_test_tonearest): Likewise.
54198         (ctan_test_towardzero): Likewise.
54199         (ctan_test_downward): Likewise.
54200         (ctan_test_upward): Likewise.
54201         (ctanh_test): Likewise.
54202         (ctanh_test_tonearest): Likewise.
54203         (ctanh_test_towardzero): Likewise.
54204         (ctanh_test_downward): Likewise.
54205         (ctanh_test_upward): Likewise.
54206         (erf_test): Use END macro without arguments.
54207         (erfc_test): Likewise.
54208         (exp_test): Likewise.
54209         (exp_test_tonearest): Likewise.
54210         (exp_test_towardzero): Likewise.
54211         (exp_test_downward): Likewise.
54212         (exp_test_upward): Likewise.
54213         (exp10_test): Likewise.
54214         (exp2_test): Likewise.
54215         (expm1_test): Likewise.
54216         (fabs_test): Likewise.
54217         (fdim_test): Likewise.
54218         (finite_test): Likewise.
54219         (floor_test): Likewise.
54220         (fma_test): Likewise.
54221         (fma_test_towardzero): Likewise.
54222         (fma_test_downward): Likewise.
54223         (fma_test_upward): Likewise.
54224         (fmax_test): Likewise.
54225         (fmin_test): Likewise.
54226         (fmod_test): Likewise.
54227         (fpclassify_test): Likewise.
54228         (frexp_test): Likewise.
54229         (gamma_test): Likewise.
54230         (hypot_test): Likewise.
54231         (ilogb_test): Likewise.
54232         (isfinite_test): Likewise.
54233         (isgreater_test): Likewise.
54234         (isgreaterequal_test): Likewise.
54235         (isinf_test): Likewise.
54236         (isless_test): Likewise.
54237         (islessequal_test): Likewise.
54238         (islessgreater_test): Likewise.
54239         (isnan_test): Likewise.
54240         (isnormal_test): Likewise.
54241         (issignaling_test): Likewise.
54242         (isunordered_test): Likewise.
54243         (j0_test): Likewise.
54244         (j1_test): Likewise.
54245         (jn_test): Likewise.
54246         (ldexp_test): Likewise.
54247         (lgamma_test): Likewise.
54248         (lrint_test): Likewise.
54249         (lrint_test_tonearest): Likewise.
54250         (lrint_test_towardzero): Likewise.
54251         (lrint_test_downward): Likewise.
54252         (lrint_test_upward): Likewise.
54253         (llrint_test): Likewise.
54254         (llrint_test_tonearest): Likewise.
54255         (llrint_test_towardzero): Likewise.
54256         (llrint_test_downward): Likewise.
54257         (llrint_test_upward): Likewise.
54258         (log_test): Likewise.
54259         (log10_test): Likewise.
54260         (log1p_test): Likewise.
54261         (log2_test): Likewise.
54262         (logb_test): Likewise.
54263         (logb_test_downward): Likewise.
54264         (lround_test): Likewise.
54265         (llround_test): Likewise.
54266         (modf_test): Likewise.
54267         (nearbyint_test): Likewise.
54268         (nextafter_test): Likewise.
54269         (nexttoward_test): Likewise.
54270         (pow_test): Likewise.
54271         (pow_test_tonearest): Likewise.
54272         (pow_test_towardzero): Likewise.
54273         (pow_test_downward): Likewise.
54274         (pow_test_upward): Likewise.
54275         (remainder_test): Likewise.
54276         (remainder_test_tonearest): Likewise.
54277         (remainder_test_towardzero): Likewise.
54278         (remainder_test_downward): Likewise.
54279         (remainder_test_upward): Likewise.
54280         (remquo_test): Likewise.
54281         (rint_test): Likewise.
54282         (rint_test_tonearest): Likewise.
54283         (rint_test_towardzero): Likewise.
54284         (rint_test_downward): Likewise.
54285         (rint_test_upward): Likewise.
54286         (round_test): Likewise.
54287         (scalb_test): Likewise.
54288         (scalbn_test): Likewise.
54289         (scalbln_test): Likewise.
54290         (signbit_test): Likewise.
54291         (sin_test): Likewise.
54292         (sin_test_tonearest): Likewise.
54293         (sin_test_towardzero): Likewise.
54294         (sin_test_downward): Likewise.
54295         (sin_test_upward): Likewise.
54296         (sincos_test): Likewise.
54297         (sinh_test): Likewise.
54298         (sinh_test_tonearest): Likewise.
54299         (sinh_test_towardzero): Likewise.
54300         (sinh_test_downward): Likewise.
54301         (sinh_test_upward): Likewise.
54302         (sqrt_test): Likewise.
54303         (tan_test): Likewise.
54304         (tan_test_tonearest): Likewise.
54305         (tan_test_towardzero): Likewise.
54306         (tan_test_downward): Likewise.
54307         (tan_test_upward): Likewise.
54308         (tanh_test): Likewise.
54309         (tgamma_test): Likewise.
54310         (trunc_test): Likewise.
54311         (y0_test): Likewise.
54312         (y1_test): Likewise.
54313         (yn_test): Likewise.
54314         (significand_test): Likewise.
54316 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
54318         [BZ #15381]
54319         * libio/genops.c (_IO_no_init): Initialize wide struct info.
54321 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
54323         [BZ #14894]
54324         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
54325         __ppc_mdoio and __ppc_mdoom.
54326         * manual/platform.texi: Document new functions __ppc_yield,
54327         __ppc_mdoio and __ppc_mdoom.
54329 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
54331         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
54332         (main): Mention "tls" pseudo-hwcap is legacy.
54333         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
54335 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
54337         * math/gen-libm-test.pl (parse_args): Output only string of
54338         arguments as text for test name, not full call or descriptions of
54339         tests for extra outputs.
54340         (generate_testfile): Do not pass function name to parse_args.
54341         Generate this_func variable from START.
54342         * math/libm-test.inc (struct test_f_f_data): Rename test_name
54343         field to arg_str.
54344         (struct test_ff_f_data): Likewise.
54345         (test_ff_f_data_nexttoward): Likewise.
54346         (struct test_fi_f_data): Likewise.
54347         (struct test_fl_f_data): Likewise.
54348         (struct test_if_f_data): Likewise.
54349         (struct test_fff_f_data): Likewise.
54350         (struct test_c_f_data): Likewise.
54351         (struct test_f_f1_data): Likewise.  Remove field extra_name.
54352         (struct test_fF_f1_data): Likewise.
54353         (struct test_ffI_f1_data): Likewise.
54354         (struct test_c_c_data): Rename test_name field to arg_str.
54355         (struct test_cc_c_data): Likewise.
54356         (struct test_f_i_data): Likewise.
54357         (struct test_ff_i_data): Likewise.
54358         (struct test_f_l_data): Likewise.
54359         (struct test_f_L_data): Likewise.
54360         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
54361         and extra2_name.
54362         (COMMON_TEST_SETUP): New macro.
54363         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
54364         (COMMON_TEST_CLEANUP): Likewise.
54365         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
54366         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
54367         macros.
54368         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
54369         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
54370         macros.
54371         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
54372         (RUN_TEST_fff_f): Take argument string.  Call new setup and
54373         cleanup macros.
54374         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
54375         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
54376         macros.
54377         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
54378         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
54379         macros.
54380         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
54381         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
54382         cleanup macros.
54383         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
54384         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
54385         cleanup macros.
54386         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
54387         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
54388         cleanup macros.
54389         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
54390         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
54391         macros.
54392         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
54393         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
54394         macros.
54395         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
54396         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
54397         macros.
54398         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
54399         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
54400         cleanup macros.
54401         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
54402         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
54403         cleanup macros.
54404         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
54405         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
54406         macros.
54407         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
54408         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
54409         cleanup macros.
54410         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
54411         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
54412         macros.
54413         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
54414         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
54415         macros.
54416         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
54417         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
54418         cleanup macros.
54419         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
54421 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
54423         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
54424         to _sifields.sigfault.
54425         (si_addr_lsb): Define new macro.
54426         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
54427         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54428         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
54430 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
54432         [BZ #15441]
54433         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
54434         returns -1.
54435         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
54436         null return -1.
54437         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
54438         loading the domain.
54440 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
54442         * math/gen-libm-test.pl (parse_args): Do not include expected
54443         result in test name.
54444         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
54445         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54446         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
54447         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
54448         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
54449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54451 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
54453         * benchtests/Makefile: Sort function entries.
54455         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
54456         tanh, asinh, acosh, atanh.
54457         * benchtests/acos-inputs: New file.
54458         * benchtests/acosh-inputs: New file.
54459         * benchtests/asin-inputs: New file.
54460         * benchtests/asinh-inputs: New file.
54461         * benchtests/atanh-inputs: New file.
54462         * benchtests/cosh-inputs: New file.
54463         * benchtests/log-inputs: New file.
54464         * benchtests/sinh-inputs: New file.
54465         * benchtests/tanh-inputs: New file.
54467 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
54469         [BZ #15339]
54470         * posix/tst-getaddrinfo4.c: New test.
54471         * posix/Makefile (tests): Add it.
54473 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54475         [BZ #15339]
54476         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
54477         when no services were used.
54478         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
54479         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
54481 2013-05-21  Andreas Schwab  <schwab@suse.de>
54483         [BZ #15014]
54484         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
54485         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
54486         successful.
54487         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
54488         redundant variable declarations and reallocation of buffer when
54489         parsing as IPv6 address.  Always set NSS status when called from
54490         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
54491         buffer too small.  Correct computation of needed size.
54492         * nss/Makefile (tests): Add test-digits-dots.
54493         * nss/test-digits-dots.c: New test.
54495 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54497         * benchtests/Makefile: Remove instructions for adding
54498         benchmark tests.
54499         * benchtests/README: New file to explain how to execute and
54500         enhance the benchmark tests.
54502 2013-05-21  Andreas Schwab  <schwab@suse.de>
54504         [BZ #15493]
54505         * setjmp/Makefile (tests): Add tst-sigsetjmp.
54506         * setjmp/tst-sigsetjmp.c: New test.
54508 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
54510         * sysdeps/x86_64/memset.S (memset): New implementation.
54511         (__bzero): Likewise.
54512         (__memset_tail): New function.
54514 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
54516         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
54517         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
54518         __memcpy_sse2_unaligned ifunc selection.
54519         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
54520         Add memcpy-sse2-unaligned.S.
54521         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
54522         Add: __memcpy_sse2_unaligned.
54524 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
54526         [BZ #15490]
54527         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
54528         math_force_eval before restoring floating-point envrionment.
54529         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
54530         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
54531         Likewise.
54532         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
54533         <math_private.h>.
54534         (__nearbyintl): Use math_force_eval before restoring
54535         floating-point environment.
54536         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
54538         * math/gen-libm-test.pl (special_functions): Remove.
54539         (parse_args): Don't handle TEST_extra.  Handle functions with no
54540         return value.
54541         * math/libm-test.inc (struct test_sincos_data): Replace with
54542         struct test_fFF_11_data.
54543         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
54544         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
54545         (sincos_test_data): Change element type to struct
54546         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
54547         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
54548         RUN_TEST_LOOP_sincos.
54549         * math/README.libm-test: Don't mention special handling of
54550         individual functions.
54551         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
54552         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54553         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
54554         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
54555         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
54556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54558         * math/gen-libm-test.pl (get_variable): Remove function.
54559         (parse_args): Don't show pointer parameters to call in test
54560         names.  Use "extra output N" in test names for extra outputs
54561         rather than naming variables.
54563 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
54565         [BZ #15488]
54566         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
54567         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
54568         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
54569         double tests.
54570         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
54571         disable.
54572         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
54573         check_long_double.
54575         * math/gen-libm-test.pl (@tests): Remove variable.
54576         ($count): Likewise.
54577         (new_test): Remove function.
54578         (show_exceptions): New function.
54579         (special_functions): Use show_exceptions instead of new_test.
54580         (parse_args): Likewise.
54581         (generate_testfile): Pass only function name in generated call to
54582         print_max_error or print_complex_max_error.
54583         (get_ulps): Do not handle complex tests specially.
54584         (output_test): Rename to ...
54585         (get_all_ulps_for_test): ... this.  Return a string rather than
54586         printing to a file.  Require ulps to be present.
54587         (output_ulps): Generate arrays rather than #defines.
54588         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
54589         (struct ulp_data): New type.
54590         (BUILD_COMPLEX_ULP): Remove macro.
54591         (compare_ulp_data): New function.
54592         (find_ulps): Likewise.
54593         (find_test_ulps): Likewise.
54594         (find_function_ulps): Likewise.
54595         (find_complex_function_ulps): Likewise.
54596         (print_max_error): Determine allowed ulps using
54597         find_function_ulps.
54598         (print_complex_max_error): Determine allowed ulps using
54599         find_complex_function_ulps.
54600         (check_float_internal): Determine max ulps using find_test_ulps.
54601         (check_float): Do not take max_ulp parameter.  Update call to
54602         check_float_internal.
54603         (check_complex): Likewise.
54604         (check_int): Do not take max_ulp parameter.
54605         (check_long): Likewise.
54606         (check_bool): Likewise.
54607         (check_longlong): Likewise.
54608         (struct test_f_f_data): Remove max_ulp field.
54609         (struct test_ff_f_data): Likewise.
54610         (struct test_ff_f_data_nexttoward): Likewise.
54611         (struct test_fi_f_data): Likewise.
54612         (struct test_fl_f_data): Likewise.
54613         (struct test_if_f_data): Likewise.
54614         (struct test_fff_f_data): Likewise.
54615         (struct test_c_f_data): Likewise.
54616         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
54617         (struct test_fF_f1_data): Likewise.
54618         (struct test_ffI_f1_data): Likewise.
54619         (struct test_c_c_data): Remove max_ulp field.
54620         (struct test_cc_c_data): Likewise.
54621         (struct test_f_i_data): Likewise.
54622         (struct test_ff_i_data): Likewise.
54623         (struct test_f_l_data): Likewise.
54624         (struct test_f_L_data): Likewise.
54625         (struct test_sincos_data): Likewise.
54626         (RUN_TEST_f_f): Do not handle ulps.
54627         (RUN_TEST_LOOP_f_f): Likewise.
54628         (RUN_TEST_2_f): Likewise.
54629         (RUN_TEST_LOOP_2_f): Likewise.
54630         (RUN_TEST_fff_f): Likewise.
54631         (RUN_TEST_LOOP_fff_f): Likewise.
54632         (RUN_TEST_c_f): Likewise.
54633         (RUN_TEST_LOOP_c_f): Likewise.
54634         (RUN_TEST_f_f1): Likewise.
54635         (RUN_TEST_LOOP_f_f1): Likewise.
54636         (RUN_TEST_fF_f1): Likewise.
54637         (RUN_TEST_LOOP_fF_f1): Likewise.
54638         (RUN_TEST_fI_f1): Likewise.
54639         (RUN_TEST_LOOP_fI_f1): Likewise.
54640         (RUN_TEST_ffI_f1): Likewise.
54641         (RUN_TEST_LOOP_ffI_f1): Likewise.
54642         (RUN_TEST_c_c): Likewise.
54643         (RUN_TEST_LOOP_c_c): Likewise.
54644         (RUN_TEST_cc_c): Likewise.
54645         (RUN_TEST_LOOP_cc_c): Likewise.
54646         (RUN_TEST_f_i): Likewise.
54647         (RUN_TEST_LOOP_f_i): Likewise.
54648         (RUN_TEST_f_i_tg): Likewise.
54649         (RUN_TEST_LOOP_f_i_tg): Likewise.
54650         (RUN_TEST_ff_i_tg): Likewise.
54651         (RUN_TEST_LOOP_ff_i_tg): Likewise.
54652         (RUN_TEST_f_b): Likewise.
54653         (RUN_TEST_LOOP_f_b): Likewise.
54654         (RUN_TEST_f_b_tg): Likewise.
54655         (RUN_TEST_LOOP_f_b_tg): Likewise.
54656         (RUN_TEST_f_l): Likewise.
54657         (RUN_TEST_LOOP_f_l): Likewise.
54658         (RUN_TEST_f_L): Likewise.
54659         (RUN_TEST_LOOP_f_L): Likewise.
54660         (RUN_TEST_sincos): Likewise.
54661         (RUN_TEST_LOOP_sincos): Likewise.
54663 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
54665         [BZ #15480]
54666         [BZ #15485]
54667         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
54668         main case of finite arguments, set rounding mode to FE_TONEAREST
54669         and discard exceptions.
54670         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
54671         exceptions.
54672         (remainder_tonearest_test_data): New variable.
54673         (remainder_test_tonearest): New function.
54674         (remainder_towardzero_test_data): New variable.
54675         (remainder_test_towardzero): New function.
54676         (remainder_downward_test_data): New variable.
54677         (remainder_test_downward): New function.
54678         (remainder_upward_test_data): New variable.
54679         (remainder_test_upward): New function.
54680         (main): Call the new test functions.
54682         * math/libm-test.inc (struct test_f_f1_data): Remove field
54683         extra_init.
54684         (struct test_fF_f1_data): Likewise.
54685         (struct test_ffI_f1_data): Likewise.
54686         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
54687         based on value of EXTRA_EXPECTED.
54688         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
54689         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
54690         EXTRA_VAR based on value of EXTRA_EXPECTED.
54691         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
54692         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
54693         EXTRA_VAR based on value of EXTRA_EXPECTED.
54694         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
54695         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
54696         EXTRA_VAR based on value of EXTRA_EXPECTED.
54697         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
54698         * math/gen-libm-test.pl (parse_args): Don't output initializers
54699         for extra output values.
54701         * math/libm-test.inc (check_int): Expect result to be exactly
54702         equal to expected value and do not handle ulps.
54703         (check_long): Likewise.
54704         (check_longlong): Likewise.
54706         * math/libm-test.inc (ceil_test_data): Test for "inexact"
54707         exceptions.
54708         (cimag_test_data): Likewise.
54709         (conj_test_data): Likewise.
54710         (copysign_test_data): Likewise.
54711         (cproj_test_data): Likewise.
54712         (creal_test_data): Likewise.
54713         (fabs_test_data): Likewise.
54714         (fdim_test_data): Likewise.
54715         (finite_test_data): Likewise.
54716         (floor_test_data): Likewise.
54717         (fmax_test_data): Likewise.
54718         (fmin_test_data): Likewise.
54719         (fmod_test_data): Likewise.
54720         (fpclassify_test_data): Likewise.
54721         (frexp_test_data): Likewise.
54722         (ilogb_test_data): Likewise.
54723         (isfinite_test_data): Likewise.
54724         (isgreater_test_data): Likewise.
54725         (isgreaterequal_test_data): Likewise.
54726         (isinf_test_data): Likewise.
54727         (isless_test_data): Likewise.
54728         (islessequal_test_data): Likewise.
54729         (islessgreater_test_data): Likewise.
54730         (isnan_test_data): Likewise.
54731         (isnormal_test_data): Likewise.
54732         (issignaling_test_data): Likewise.
54733         (isunordered_test_data): Likewise.
54734         (ldexp_test_data): Likewise.
54735         (lrint_test_data): Likewise.
54736         (lrint_test_data) [TEST_FLOAT]: Disable one test.
54737         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
54738         (lrint_tonearest_test_data): Test for "inexact" exceptions.
54739         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
54740         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
54741         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
54742         test input.
54743         (lrint_towardzero_test_data): Test for "inexact" exceptions.
54744         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
54745         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
54746         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
54747         that test input.
54748         (lrint_downward_test_data): Test for "inexact" exceptions.
54749         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
54750         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
54751         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
54752         test input.
54753         (lrint_upward_test_data): Test for "inexact" exceptions.
54754         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
54755         test input.
54756         (llrint_test_data): Test for "inexact" exceptions.
54757         (llrint_test_data) [TEST_FLOAT]: Disable one test.
54758         (llrint_tonearest_test_data): Test for "inexact" exceptions.
54759         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
54760         (llrint_towardzero_test_data): Test for "inexact" exceptions.
54761         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
54762         (llrint_downward_test_data): Test for "inexact" exceptions.
54763         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
54764         (llrint_upward_test_data): Test for "inexact" exceptions.
54765         (logb_test_data): Likewise.
54766         (logb_downward_test_data): Likewise.
54767         (nextafter_test_data): Likewise.
54768         (nexttoward_test_data): Likewise.
54769         (remainder_test_data): Likewise.
54770         (remquo_test_data): Likewise.
54771         (scalbn_test_data): Likewise.
54772         (scalbln_test_data): Likewise.
54773         (signbit_test_data): Likewise.
54774         (sqrt_test_data): Likewise.
54775         (significand_test_data): Likewise.
54777 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
54779         [BZ #15424]
54780         * benchtests/bench-modf.c (struct args): Mark arg0 as
54781         volatile.
54782         * scripts/bench.pl: Mark members of struct args as volatile.
54784 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54786         [BZ # 15497]
54787         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
54788         negative infinity on POWER6 or lower.
54789         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
54791 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
54793         [BZ #15442]
54794         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
54795         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
54796         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
54797         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
54798         (_FP_SETQNAN): New macro.
54799         (_FP_SETQNAN_SEMIRAW): Likewise.
54800         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
54801         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
54802         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
54803         (FP_EXTEND): Use _FP_FRAC_SNANP.
54804         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
54805         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
54806         into account.
54807         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
54808         New macro.
54809         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
54810         Likewise.
54812 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
54814         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
54815         with DIVIDE_BY_ZERO_EXCEPTION.
54816         (gamma_test_data): Likewise.
54817         (lgamma_test_data): Likewise.
54818         (log_test_data): Likewise.
54819         (log10_test_data): Likewise.
54820         (log2_test_data): Likewise.
54821         (tgamma_test_data): Likewise.
54823         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
54824         (acos_test_tonearest): Likewise.
54825         (acos_test_towardzero): Likewise.
54826         (acos_test_downward): Likewise.
54827         (acos_test_upward): Likewise.
54828         (acosh_test): Likewise.
54829         (asin_test): Likewise.
54830         (asin_test_tonearest): Likewise.
54831         (asin_test_towardzero): Likewise.
54832         (asin_test_downward): Likewise.
54833         (asin_test_upward): Likewise.
54834         (asinh_test): Likewise.
54835         (atan_test): Likewise.
54836         (atanh_test): Likewise.
54837         (atan2_test): Likewise.
54838         (cabs_test): Likewise.
54839         (cacos_test): Likewise.
54840         (cacosh_test): Likewise.
54841         (casin_test): Likewise.
54842         (casinh_test): Likewise.
54843         (catan_test): Likewise.
54844         (catanh_test): Likewise.
54845         (cbrt_test): Likewise.
54846         (ccos_test): Likewise.
54847         (ccosh_test): Likewise.
54848         (cexp_test): Likewise.
54849         (clog_test): Likewise.
54850         (clog10_test): Likewise.
54851         (cos_test): Likewise.
54852         (cos_test_tonearest): Likewise.
54853         (cos_test_towardzero): Likewise.
54854         (cos_test_downward): Likewise.
54855         (cos_test_upward): Likewise.
54856         (cosh_test): Likewise.
54857         (cosh_test_tonearest): Likewise.
54858         (cosh_test_towardzero): Likewise.
54859         (cosh_test_downward): Likewise.
54860         (cosh_test_upward): Likewise.
54861         (cpow_test): Likewise.
54862         (csin_test): Likewise.
54863         (csinh_test): Likewise.
54864         (csqrt_test): Likewise.
54865         (ctan_test): Likewise.
54866         (ctan_test_tonearest): Likewise.
54867         (ctan_test_towardzero): Likewise.
54868         (ctan_test_downward): Likewise.
54869         (ctan_test_upward): Likewise.
54870         (ctanh_test): Likewise.
54871         (ctanh_test_tonearest): Likewise.
54872         (ctanh_test_towardzero): Likewise.
54873         (ctanh_test_downward): Likewise.
54874         (ctanh_test_upward): Likewise.
54875         (erf_test): Likewise.
54876         (erfc_test): Likewise.
54877         (exp_test): Likewise.
54878         (exp_test_tonearest): Likewise.
54879         (exp_test_towardzero): Likewise.
54880         (exp_test_downward): Likewise.
54881         (exp_test_upward): Likewise.
54882         (exp10_test): Likewise.
54883         (exp2_test): Likewise.
54884         (expm1_test): Likewise.
54885         (fmod_test): Likewise.
54886         (gamma_test): Likewise.
54887         (hypot_test): Likewise.
54888         (j0_test): Likewise.
54889         (j1_test): Likewise.
54890         (jn_test): Likewise.
54891         (lgamma_test): Likewise.
54892         (log_test): Likewise.
54893         (log10_test): Likewise.
54894         (log1p_test): Likewise.
54895         (log2_test): Likewise.
54896         (logb_test_downward): Likewise.
54897         (pow_test): Likewise.
54898         (pow_test_tonearest): Likewise.
54899         (pow_test_towardzero): Likewise.
54900         (pow_test_downward): Likewise.
54901         (pow_test_upward): Likewise.
54902         (remainder_test): Likewise.
54903         (remquo_test): Likewise.
54904         (sin_test): Likewise.
54905         (sin_test_tonearest): Likewise.
54906         (sin_test_towardzero): Likewise.
54907         (sin_test_downward): Likewise.
54908         (sin_test_upward): Likewise.
54909         (sincos_test): Likewise.
54910         (sinh_test): Likewise.
54911         (sinh_test_tonearest): Likewise.
54912         (sinh_test_towardzero): Likewise.
54913         (sinh_test_downward): Likewise.
54914         (sinh_test_upward): Likewise.
54915         (sqrt_test): Likewise.
54916         (tan_test): Likewise.
54917         (tan_test_tonearest): Likewise.
54918         (tan_test_towardzero): Likewise.
54919         (tan_test_downward): Likewise.
54920         (tan_test_upward): Likewise.
54921         (tanh_test): Likewise.
54922         (tgamma_test): Likewise.
54923         (y0_test): Likewise.
54924         (y1_test): Likewise.
54925         (yn_test): Likewise.
54927         * math/gen-libm-test.pl (adjust_arg): Remove function.
54928         (special_function): Remove argument $in_func.  Only handle
54929         generating output for tables of tests, not inside functions.
54930         (parse_args): Likewise.
54931         (generate_testfile): Remove variable $in_func.  Update call to
54932         parse_args.
54933         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
54934         (MINUS_ZERO_INIT): Rename macro to minus_zero.
54935         (PLUS_INFTY_INIT): Rename macro to plus_infty.
54936         (MINUS_INFTY_INIT): Rename macro to minus_infty.
54937         (QNAN_VALUE_INIT): Rename macro to qnan_value.
54938         (MAX_VALUE_INIT): Rename macro to max_value.
54939         (MIN_VALUE_INIT): Rename macro to min_value.
54940         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
54941         (plus_zero): Remove variable.
54942         (minus_zero): Likewise.
54943         (plus_infty): Likewise.
54944         (minus_infty): Likewise.
54945         (qnan_value): Likewise.
54946         (max_value): Likewise.
54947         (min_value): Likewise.
54948         (min_subnorm_value): Likewise.
54950 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54952         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
54953         uint64_t or uint32_t usage.
54954         * crypt/sha256-block.c: Likewise.
54955         * crypt/sha256-crypt.c: Likewise.
54956         * crypt/sha256.c: Likewise.
54957         * crypt/sha512-block.c: Likewise.
54958         * crypt/sha512-crypt.c: Likewise.
54959         * crypt/sha512.c: Likewise.
54960         * debug/backtrace-tst.c: Likewise.
54961         * debug/pcprofiledump.c: Likewise.
54962         * elf/cache.c: Likewise.
54963         * elf/dl-cache.c: Likewise.
54964         * elf/dl-misc.c: Likewise.
54965         * elf/dl-profile.c: Likewise.
54966         * elf/dl-support.c: Likewise.
54967         * elf/ldconfig.c: Likewise.
54968         * elf/sprof.c: Likewise.
54969         * iconv/dummy-repertoire.c: Likewise.
54970         * iconv/iconv_charmap.c: Likewise.
54971         * iconv/skeleton.c: Likewise.
54972         * iconvdata/8bit-generic.c: Likewise.
54973         * iconvdata/cp737.h: Likewise.
54974         * iconvdata/cp775.h: Likewise.
54975         * iconvdata/ibm1008.h: Likewise.
54976         * iconvdata/ibm1025.h: Likewise.
54977         * iconvdata/ibm1046.h: Likewise.
54978         * iconvdata/ibm1097.h: Likewise.
54979         * iconvdata/ibm1112.h: Likewise.
54980         * iconvdata/ibm1122.h: Likewise.
54981         * iconvdata/ibm1123.h: Likewise.
54982         * iconvdata/ibm1124.h: Likewise.
54983         * iconvdata/ibm1129.h: Likewise.
54984         * iconvdata/ibm1130.h: Likewise.
54985         * iconvdata/ibm1132.h: Likewise.
54986         * iconvdata/ibm1133.h: Likewise.
54987         * iconvdata/ibm1137.h: Likewise.
54988         * iconvdata/ibm1140.h: Likewise.
54989         * iconvdata/ibm1141.h: Likewise.
54990         * iconvdata/ibm1142.h: Likewise.
54991         * iconvdata/ibm1143.h: Likewise.
54992         * iconvdata/ibm1144.h: Likewise.
54993         * iconvdata/ibm1145.h: Likewise.
54994         * iconvdata/ibm1146.h: Likewise.
54995         * iconvdata/ibm1147.h: Likewise.
54996         * iconvdata/ibm1148.h: Likewise.
54997         * iconvdata/ibm1149.h: Likewise.
54998         * iconvdata/ibm1153.h: Likewise.
54999         * iconvdata/ibm1154.h: Likewise.
55000         * iconvdata/ibm1155.h: Likewise.
55001         * iconvdata/ibm1156.h: Likewise.
55002         * iconvdata/ibm1157.h: Likewise.
55003         * iconvdata/ibm1158.h: Likewise.
55004         * iconvdata/ibm1160.h: Likewise.
55005         * iconvdata/ibm1161.h: Likewise.
55006         * iconvdata/ibm1162.h: Likewise.
55007         * iconvdata/ibm1163.h: Likewise.
55008         * iconvdata/ibm1164.h: Likewise.
55009         * iconvdata/ibm1166.h: Likewise.
55010         * iconvdata/ibm1167.h: Likewise.
55011         * iconvdata/ibm12712.h: Likewise.
55012         * iconvdata/ibm1390.h: Likewise.
55013         * iconvdata/ibm1399.h: Likewise.
55014         * iconvdata/ibm16804.h: Likewise.
55015         * iconvdata/ibm4517.h: Likewise.
55016         * iconvdata/ibm4899.h: Likewise.
55017         * iconvdata/ibm4909.h: Likewise.
55018         * iconvdata/ibm4971.h: Likewise.
55019         * iconvdata/ibm5347.h: Likewise.
55020         * iconvdata/ibm803.h: Likewise.
55021         * iconvdata/ibm856.h: Likewise.
55022         * iconvdata/ibm901.h: Likewise.
55023         * iconvdata/ibm902.h: Likewise.
55024         * iconvdata/ibm9030.h: Likewise.
55025         * iconvdata/ibm9066.h: Likewise.
55026         * iconvdata/ibm921.h: Likewise.
55027         * iconvdata/ibm922.h: Likewise.
55028         * iconvdata/ibm9448.h: Likewise.
55029         * iconvdata/isiri-3342.h: Likewise.
55030         * iconvdata/jis0201.h: Likewise.
55031         * include/link.h: Likewise.
55032         * include/netdb.h: Likewise.
55033         * inet/check_native.c: Likewise.
55034         * inet/check_pf.c: Likewise.
55035         * inet/getipv4sourcefilter.c: Likewise.
55036         * inet/getnameinfo.c: Likewise.
55037         * inet/getsourcefilter.c: Likewise.
55038         * inet/htonl.c: Likewise.
55039         * inet/setipv4sourcefilter.c: Likewise.
55040         * inet/setsourcefilter.c: Likewise.
55041         * inet/test-inet6_opt.c: Likewise.
55042         * inet/tst-network.c: Likewise.
55043         * locale/C-collate.c: Likewise.
55044         * locale/C-ctype.c: Likewise.
55045         * locale/C-time.c: Likewise.
55046         * locale/C-translit.h: Likewise.
55047         * locale/loadarchive.c: Likewise.
55048         * locale/programs/3level.h: Likewise.
55049         * locale/programs/charmap.c: Likewise.
55050         * locale/programs/charmap.h: Likewise.
55051         * locale/programs/ld-address.c: Likewise.
55052         * locale/programs/ld-collate.c: Likewise.
55053         * locale/programs/ld-ctype.c: Likewise.
55054         * locale/programs/ld-identification.c: Likewise.
55055         * locale/programs/ld-measurement.c: Likewise.
55056         * locale/programs/ld-messages.c: Likewise.
55057         * locale/programs/ld-monetary.c: Likewise.
55058         * locale/programs/ld-name.c: Likewise.
55059         * locale/programs/ld-numeric.c: Likewise.
55060         * locale/programs/ld-paper.c: Likewise.
55061         * locale/programs/ld-telephone.c: Likewise.
55062         * locale/programs/ld-time.c: Likewise.
55063         * locale/programs/linereader.c: Likewise.
55064         * locale/programs/locale.c: Likewise.
55065         * locale/programs/locarchive.c: Likewise.
55066         * locale/programs/locfile.h: Likewise.
55067         * locale/programs/repertoire.c: Likewise.
55068         * locale/programs/simple-hash.c: Likewise.
55069         * locale/programs/simple-hash.h: Likewise.
55070         * malloc/memusage.c: Likewise.
55071         * malloc/memusagestat.c: Likewise.
55072         * nis/nis_defaults.c: Likewise.
55073         * nis/nis_hash.c: Likewise.
55074         * nis/nis_print.c: Likewise.
55075         * nis/nis_xdr.c: Likewise.
55076         * nscd/connections.c: Likewise.
55077         * nscd/hstcache.c: Likewise.
55078         * nscd/nscd_gethst_r.c: Likewise.
55079         * nscd/nscd_getserv_r.c: Likewise.
55080         * nscd/nscd_helper.c: Likewise.
55081         * nscd/servicescache.c: Likewise.
55082         * nss/makedb.c: Likewise.
55083         * nss/nss_db/db-XXX.c: Likewise.
55084         * nss/nss_db/db-initgroups.c: Likewise.
55085         * nss/nss_db/db-netgrp.c: Likewise.
55086         * nss/nss_files/files-network.c: Likewise.
55087         * nss/nss_files/files-parse.c: Likewise.
55088         * posix/bug-regex5.c: Likewise.
55089         * posix/fnmatch_loop.c: Likewise.
55090         * posix/regcomp.c: Likewise.
55091         * posix/regexec.c: Likewise.
55092         * posix/tst-rfc3484-2.c: Likewise.
55093         * posix/tst-rfc3484-3.c: Likewise.
55094         * posix/tst-rfc3484.c: Likewise.
55095         * resolv/nss_dns/dns-canon.c: Likewise.
55096         * resolv/nss_dns/dns-network.c: Likewise.
55097         * resolv/res_init.c: Likewise.
55098         * resolv/res_mkquery.c: Likewise.
55099         * resolv/tst-aton.c: Likewise.
55100         * stdlib/cxa_atexit.c: Likewise.
55101         * stdlib/cxa_finalize.c: Likewise.
55102         * stdlib/gen-fpioconst.c: Likewise.
55103         * stdlib/strtol_l.c: Likewise.
55104         * string/tst-endian.c: Likewise.
55105         * sunrpc/auth_des.c: Likewise.
55106         * sunrpc/clnt_udp.c: Likewise.
55107         * sunrpc/rtime.c: Likewise.
55108         * sunrpc/svcauth_des.c: Likewise.
55109         * sunrpc/xdr.c: Likewise.
55110         * sunrpc/xdr_intXX_t.c: Likewise.
55111         * sunrpc/xdr_rec.c: Likewise.
55112         * sysdeps/generic/ldconfig.h: Likewise.
55113         * sysdeps/generic/ldsodefs.h: Likewise.
55114         * sysdeps/generic/memusage.h: Likewise.
55115         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
55116         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
55117         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
55118         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
55119         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55120         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55121         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
55122         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
55123         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55124         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
55125         * sysdeps/posix/getaddrinfo.c: Likewise.
55126         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55127         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55128         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
55129         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55130         * sysdeps/powerpc/test-gettimebase.c: Likewise.
55131         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
55132         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
55133         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
55134         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
55135         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
55136         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
55137         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
55138         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
55139         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
55140         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
55141         * sysdeps/x86_64/dl-tls.h: Likewise.
55142         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
55143         * time/alt_digit.c: Likewise.
55144         * time/era.c: Likewise.
55145         * wcsmbs/tst-c16c32-1.c: Likewise.
55147 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
55149         * math/libm-test.inc (struct test_sincos_data): New type.
55150         (RUN_TEST_LOOP_sincos): New macro.
55151         (sincos_test_data): New variable.
55152         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
55154 2013-05-16  Richard Henderson  <rth@redhat.com>
55156         * math/atest-exp2.c (LIMB64): New macro.
55157         (CONSTSZ): New macro.
55158         (mp_exp1, mp_exp_m1, mp_log2): New variables.
55159         (hexdig): Move ...
55160         (print_mpn_fp): ... to function scope.
55161         (read_mpn_hex): Remove.
55162         (get_log2): Remove.
55163         (exp2_mpn): Use mp_log2.
55164         (main): Use mp_exp1.
55166 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
55168         * math/libm-test.inc: Remove comment about not testing "inexact"
55169         exceptions.
55170         (INEXACT_EXCEPTION): New macro.
55171         (NO_INEXACT_EXCEPTION): Likewise.
55172         (INVALID_EXCEPTION_OK): Update value.
55173         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
55174         (OVERFLOW_EXCEPTION_OK): Likewise.
55175         (UNDERFLOW_EXCEPTION_OK): Likewise.
55176         (IGNORE_ZERO_INF_SIGN): Likewise.
55177         (ERRNO_UNCHANGED): Likewise.
55178         (ERRNO_EDOM): Likewise.
55179         (ERRNO_ERANGE): Likewise.
55180         (test_exceptions): Handle testing "inexact" exceptions.
55181         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
55182         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
55183         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
55184         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
55185         INEXACT_EXCEPTION.
55186         (rint_towardzero_test_data): Likewise.
55187         (rint_downward_test_data): Likewise.
55188         (rint_upward_test_data): Likewise.
55190         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
55191         with OVERFLOW_EXCEPTION.
55192         (exp10_test_data): Likewise.
55193         (exp2_test_data): Likewise.
55194         (expm1_test_data): Likewise.
55195         (lgamma_test_data): Likewise.
55196         (pow_test_data): Likewise.
55197         (tgamma_test_data): Likewise.
55198         (yn_test_data): Remove duplicate test of overflow.
55200         * math/libm-test.inc (struct test_cc_c_data): New type.
55201         (RUN_TEST_LOOP_cc_c): New macro.
55202         (cpow_test_data): New variable.
55203         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
55205         * math/libm-test.inc (struct test_f_L_data): New type.
55206         (RUN_TEST_LOOP_f_L): New macro.
55207         (llrint_test_data): New variable.
55208         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
55209         (llrint_tonearest_test_data): New variable.
55210         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
55211         (llrint_towardzero_test_data): New variable.
55212         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
55213         (llrint_downward_test_data): New variable.
55214         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
55215         (llrint_upward_test_data): New variable.
55216         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
55217         (llround_test_data): New variable.
55218         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
55220 2013-05-13  Peter Collingbourne  <pcc@google.com>
55222         * math/atest-exp2.c (get_log2): Remove const attribute.
55224 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
55226         * math/libm-test.inc (struct test_f_l_data): New type.
55227         (RUN_TEST_LOOP_f_l): New macro.
55228         (lrint_test_data): New variable.
55229         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
55230         (lrint_tonearest_test_data): New variable.
55231         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
55232         (lrint_towardzero_test_data): New variable.
55233         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
55234         (lrint_downward_test_data): New variable.
55235         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
55236         (lrint_upward_test_data): New variable.
55237         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
55238         (lround_test_data): New variable.
55239         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
55241 2013-05-15  Peter Collingbourne  <pcc@google.com>
55243         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
55244         (EXTRACT_WORDS64) Use where appropriate.
55245         (INSERT_WORDS64) Likewise.
55247         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
55248         constraints with x constraints.
55249         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
55251         * malloc/obstack.c (_obstack_compat): Add initializer.
55253 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
55255         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
55256         si_trapno and add si_addr_lsb to _sifields.sigfault.
55257         (si_trapno): Remove macro.
55258         (si_addr_lsb): Define new macro.
55259         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
55261 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
55263         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
55264         instead of TEST_f_l.
55265         (llrint_test_tonearest): Likewise.
55266         (llrint_test_towardzero): Likewise.
55267         (llrint_test_downward): Likewise.
55268         (llrint_test_upward): Likewise.
55269         (llround_test): Likewise.
55271         * math/libm-test.inc (struct test_f_i_data): Add comment.
55272         (RUN_TEST_LOOP_f_b): New macro.
55273         (RUN_TEST_LOOP_f_b_tg): Likewise.
55274         (finite_test_data): New variable.
55275         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
55276         (isfinite_test_data): New variable.
55277         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
55278         (isinf_test_data): New variable.
55279         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
55280         (isnan_test_data): New variable.
55281         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
55282         (isnormal_test_data): New variable.
55283         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
55284         (issignaling_test_data): New variable.
55285         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
55286         (signbit_test_data): New variable.
55287         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
55289         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
55290         with INVALID_EXCEPTION.
55291         (acosh_test_data): Likewise.
55292         (asin_test_data): Likewise.
55293         (atanh_test_data): Likewise.
55294         (fmod_test_data): Likewise.
55295         (log_test_data): Likewise.
55296         (log10_test_data): Likewise.
55297         (log2_test_data): Likewise.
55298         (pow_test_data): Likewise.
55299         (sqrt_test_data): Likewise.
55300         (y0_test_data): Likewise.
55301         (y1_test_data): Likewise.
55302         (yn_test_data): Likewise.
55304         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
55305         function contents.
55307         * math/libm-test.inc (struct test_ff_i_data): New type.
55308         (RUN_TEST_LOOP_ff_i_tg): New macro.
55309         (isgreater_test_data): New variable.
55310         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
55311         (isgreaterequal_test_data): New variable.
55312         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
55313         (isless_test_data): New variable.
55314         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
55315         (islessequal_test_data): New variable.
55316         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
55317         (islessgreater_test_data): New variable.
55318         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
55319         (isunordered_test_data): New variable.
55320         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
55322 2013-05-14  David S. Miller  <davem@davemloft.net>
55324         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55326 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
55328         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
55330         * math/libm-test.inc (struct test_fF_f1_data): Change type of
55331         extra_test to int.
55332         (struct test_f_i_data): Change type of max_ulp to int.
55334         * math/libm-test.inc (test_ffI_f1_data): New type.
55335         (RUN_TEST_LOOP_ffI_f1): New macro.
55336         (remquo_test_data): New variable.
55337         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
55339         * setjmp/tst-setjmp-fp.c: New file.
55340         * setjmp/Makefile (tests): Add tst-setjmp-fp.
55341         (link-libm): New variable.
55342         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
55344         * math/libm-test.inc (struct test_f_i_data): New type.
55345         (RUN_TEST_LOOP_f_i): New macro.
55346         (RUN_TEST_LOOP_f_i_tg): Likewise.
55347         (fpclassify_test_data): New variable.
55348         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
55349         (ilogb_test_data): New variable.
55350         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
55352         * math/libm-test.inc (scalbln_test): Correct function name in END
55353         call.
55355         * math/libm-test.inc (struct test_f_f1_data): Add comment.
55356         (RUN_TEST_LOOP_fI_f1): New macro.
55357         (frexp_test_data): New variable.
55358         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
55360         * math/libm-test.inc (struct test_fF_f1_data): New type.
55361         (RUN_TEST_LOOP_fF_f1): New macro.
55362         (modf_test_data): New variable.
55363         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
55365         * math/libm-test.inc (struct test_f_f1_data): New type.
55366         (RUN_TEST_LOOP_f_f1): New macro.
55367         (gamma_test_data): New variable.
55368         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
55369         (lgamma_test_data): New variable.
55370         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
55372 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
55374         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
55375         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
55376         (main): Comment "tls" pseudo-hwcap.
55378 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
55380         * math/libm-test.inc (struct test_fl_f_data): New type.
55381         (RUN_TEST_LOOP_fl_f): New variable.
55382         (scalbln_test_data): New variable.
55383         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
55385         * math/libm-test.inc (struct test_fi_f_data): New type.
55386         (RUN_TEST_LOOP_fi_f): New macro.
55387         (ldexp_test_data): New variable.
55388         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
55389         (scalbn_test_data): New variable.
55390         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
55392         * math/libm-test.inc (struct test_c_f_data): New type.
55393         (RUN_TEST_LOOP_c_f): New macro.
55394         (cabs_test_data): New variable.
55395         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
55396         (carg_test_data): New variable.
55397         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
55398         (cimag_test_data): New variable.
55399         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
55400         (creal_test_data): New variable.
55401         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
55403         * math/libm-test.inc (struct test_if_f_data): New type.
55404         (RUN_TEST_LOOP_if_f): New macro.
55405         (jn_test_data): New variable.
55406         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
55407         (yn_test_data): New variable.
55408         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
55410         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
55412 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55414         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
55415         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
55417 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
55419         * benchtests/Makefile (CPPFLAGS-nonlib): Add
55420         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
55421         (bench-deps): Add bench-timing.h.
55422         * benchtests-bench-skeleton.c: Include bench-timing.h.
55423         (main): Use TIMING_* macros instead of clock_gettime.
55424         * benchtests/bench-timing.h: New file.
55426         [BZ #14582]
55427         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
55428         Renamed from _LIB_VERSION.
55429         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
55431 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
55433         * math/libm-test.inc (struct test_fff_f_data): New type.
55434         (RUN_TEST_LOOP_fff_f): New macro.
55435         (fma_test_data): New variable.
55436         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
55437         (fma_towardzero_test_data): New variable.
55438         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
55439         (fma_downward_test_data): New variable.
55440         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
55441         (fma_upward_test_data): New variable.
55442         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
55444         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
55445         (struct test_c_c_data): New type.
55446         (RUN_TEST_LOOP_c_c): New macro.
55447         (cacos_test_data): New variable.
55448         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
55449         (cacosh_test_data): New variable.
55450         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
55451         (casin_test_data): New variable.
55452         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
55453         (casinh_test_data): New variable.
55454         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
55455         (catan_test_data): New variable.
55456         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
55457         (catanh_test_data): New variable.
55458         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
55459         (ccos_test_data): New variable.
55460         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
55461         (ccosh_test_data): New variable.
55462         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
55463         (cexp_test_data): New variable.
55464         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
55465         (clog_test_data): New variable.
55466         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
55467         (clog10_test_data): New variable.
55468         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
55469         (conj_test_data): New variable.
55470         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
55471         (cproj_test_data): New variable.
55472         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
55473         (csin_test_data): New variable.
55474         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
55475         (csinh_test_data): New variable.
55476         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
55477         (csqrt_test_data): New variable.
55478         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
55479         (ctan_test_data): New variable.
55480         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
55481         (ctan_tonearest_test_data): New variable.
55482         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
55483         (ctan_towardzero_test_data): New variable.
55484         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
55485         (ctan_downward_test_data): New variable.
55486         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
55487         (ctan_upward_test_data): New variable.
55488         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
55489         (ctanh_test_data): New variable.
55490         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
55491         (ctanh_tonearest_test_data): New variable.
55492         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
55493         (ctanh_towardzero_test_data): New variable.
55494         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
55495         (ctanh_downward_test_data): New variable.
55496         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
55497         (ctanh_upward_test_data): New variable.
55498         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
55499         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
55500         of BUILD_COMPLEX.
55502         * math/libm-test.inc (struct test_ff_f_data): New type.
55503         (struct test_ff_f_data_nexttoward): Likewise.
55504         (RUN_TEST_LOOP_2_f): New macro.
55505         (RUN_TEST_LOOP_ff_f): Likewise.
55506         (atan2_test_data): New variable.
55507         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
55508         (copysign_test_data): New variable.
55509         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
55510         (fdim_test_data): New variable.
55511         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
55512         (fmax_test_data): New variable.
55513         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
55514         (fmin_test_data): New variable.
55515         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
55516         (fmod_test_data): New variable.
55517         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
55518         (hypot_test_data): New variable.
55519         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
55520         (nextafter_test_data): New variable.
55521         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
55522         (nexttoward_test_data): New variable.
55523         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
55524         (pow_test_data): New variable.
55525         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
55526         (pow_tonearest_test_data): New variable.
55527         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
55528         (pow_towardzero_test_data): New variable.
55529         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
55530         (pow_downward_test_data): New variable.
55531         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
55532         (pow_upward_test_data): New variable.
55533         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
55534         (remainder_test_data): New variable.
55535         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
55536         (scalb_test_data): New variable.
55537         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
55538         * sysdeps/i386/fpu/libm-test-ulps: Update.
55540 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
55542         * math/libm-test.inc (fma_test): Use max_value instead of local
55543         variable fltmax.
55544         (nextafter_test): Likewise.
55546         * math/libm-test.inc (acos_towardzero_test_data): New variable.
55547         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
55548         (acos_downward_test_data): New variable.
55549         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
55550         (acos_upward_test_data): New variable.
55551         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
55552         (acosh_test_data): New variable.
55553         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
55554         (asin_test_data): New variable.
55555         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
55556         (asin_tonearest_test_data): New variable.
55557         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
55558         (asin_towardzero_test_data): New variable.
55559         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
55560         (asin_downward_test_data): New variable.
55561         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
55562         (asin_upward_test_data): New variable.
55563         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
55564         (asinh_test_data): New variable.
55565         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
55566         (atan_test_data): New variable.
55567         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
55568         (atanh_test_data): New variable.
55569         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
55570         (cbrt_test_data): New variable.
55571         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
55572         (ceil_test_data): New variable.
55573         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
55574         (cos_test_data): New variable.
55575         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
55576         (cos_tonearest_test_data): New variable.
55577         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
55578         (cos_towardzero_test_data): New variable.
55579         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
55580         (cos_downward_test_data): New variable.
55581         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
55582         (cos_upward_test_data): New variable.
55583         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
55584         (cosh_test_data): New variable.
55585         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
55586         (cosh_tonearest_test_data): New variable.
55587         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
55588         (cosh_towardzero_test_data): New variable.
55589         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
55590         (cosh_downward_test_data): New variable.
55591         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
55592         (cosh_upward_test_data): New variable.
55593         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
55594         (erf_test_data): New variable.
55595         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
55596         (erfc_test_data): New variable.
55597         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
55598         (exp_test_data): New variable.
55599         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
55600         (exp_tonearest_test_data): New variable.
55601         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
55602         (exp_towardzero_test_data): New variable.
55603         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
55604         (exp_downward_test_data): New variable.
55605         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
55606         (exp_upward_test_data): New variable.
55607         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
55608         (exp10_test_data): New variable.
55609         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
55610         (exp2_test_data): New variable.
55611         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
55612         (expm1_test_data): New variable.
55613         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
55614         (fabs_test_data): New variable.
55615         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
55616         (floor_test_data): New variable.
55617         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
55618         (j0_test_data): New variable.
55619         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
55620         (j1_test_data): New variable.
55621         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
55622         (log_test_data): New variable.
55623         (log_test): Run tests with RUN_TEST_LOOP_f_f.
55624         (log10_test_data): New variable.
55625         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
55626         (log1p_test_data): New variable.
55627         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
55628         (log2_test_data): New variable.
55629         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
55630         (logb_test_data): New variable.
55631         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
55632         (logb_downward_test_data): New variable.
55633         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
55634         (nearbyint_test_data): New variable.
55635         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
55636         (rint_test_data): New variable.
55637         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
55638         (rint_tonearest_test_data): New variable.
55639         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
55640         (rint_towardzero_test_data): New variable.
55641         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
55642         (rint_downward_test_data): New variable.
55643         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
55644         (rint_upward_test_data): New variable.
55645         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
55646         (round_test_data): New variable.
55647         (round_test): Run tests with RUN_TEST_LOOP_f_f.
55648         (sin_test_data): New variable.
55649         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
55650         (sin_tonearest_test_data): New variable.
55651         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
55652         (sin_towardzero_test_data): New variable.
55653         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
55654         (sin_downward_test_data): New variable.
55655         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
55656         (sin_upward_test_data): New variable.
55657         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
55658         (sinh_test_data): New variable.
55659         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
55660         (sinh_tonearest_test_data): New variable.
55661         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
55662         (sinh_towardzero_test_data): New variable.
55663         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
55664         (sinh_downward_test_data): New variable.
55665         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
55666         (sinh_upward_test_data): New variable.
55667         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
55668         (sqrt_test_data): New variable.
55669         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
55670         (tan_test_data): New variable.
55671         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
55672         (tan_tonearest_test_data): New variable.
55673         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
55674         (tan_towardzero_test_data): New variable.
55675         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
55676         (tan_downward_test_data): New variable.
55677         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
55678         (tan_upward_test_data): New variable.
55679         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
55680         (tanh_test_data): New variable.
55681         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
55682         (tgamma_test_data): New variable.
55683         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
55684         (trunc_test_data): New variable.
55685         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
55686         (y0_test_data): New variable.
55687         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
55688         (y1_test_data): New variable.
55689         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
55690         (significand_test_data): New variable.
55691         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
55693 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
55695         [BZ #12387]
55696         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
55698 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
55700         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
55702 2013-05-10  Andreas Jaeger  <aj@suse.de>
55704         [BZ #15448]
55705         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
55706         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
55708 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
55710         * math/gen-libm-test.pl (adjust_arg): New function.
55711         (special_functions): Handle generating output in both functions
55712         and arrays.
55713         (parse_args): Likewise.
55714         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
55715         $in_func argument to parse_args.
55716         * math/libm-test.inc (struct test_f_f_data): New type.
55717         (IF_ROUND_INIT_): New macro.
55718         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
55719         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
55720         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
55721         (IF_ROUND_INIT_FE_UPWARD): Likewise.
55722         (ROUND_RESTORE_): Likewise.
55723         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
55724         (ROUND_RESTORE_FE_TONEAREST): Likewise.
55725         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
55726         (ROUND_RESTORE_FE_UPWARD): Likewise.
55727         (RUN_TEST_LOOP_f_f): New macro.
55728         (acos_test_data): New variable.
55729         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
55730         (acos_tonearest_test_data): New variable.
55731         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
55733 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
55735         * benchtests/bench-skeleton.c (startup): Fix coding style.
55737 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
55739         [BZ #6809]
55740         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
55741         negative infinity argument.
55742         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
55743         negative infinity argument.
55744         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
55745         negative infinity argument.
55746         * math/libm-test.inc (tgamma_test): Expect errno to be set for
55747         domain errors.
55749 2013-05-10  Florian Weimer  <fweimer@redhat.com>
55751         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
55752         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
55753         * iconv/iconv_prog.c (main): Likewise.
55754         * locale/programs/charmap-dir.c (charmap_readdir)
55755         (fopen_uncompressed): Likewise.
55756         * locale/programs/locfile.c (siblings_uncached)
55757         (write_locale_data): Use lstat64 instead of lstat.
55758         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
55759         stat.
55761 2013-05-10  Andreas Jaeger  <aj@suse.de>
55763         [BZ #15395]
55764         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
55765         localization.
55766         Include <locale.h>.
55768 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
55770         * elf/dl-close.c (_dl_close_worker): Add comments.
55772 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
55774         [BZ #15359]
55775         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
55776         high part of pi/2.
55777         (__ieee754_rem_pio2l): Update comments.
55779         [BZ #15429]
55780         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
55781         high part of pi/2.
55782         (__ieee754_rem_pio2l): Update comments.
55784         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
55785         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
55787         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
55788         M_PI_4l.
55790         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
55791         (M_PI_34_LOG10El): Likewise.
55792         (M_PI2_LOG10El): Likewise.
55793         (M_PI4_LOG10El): Likewise.
55794         (M_PI_LOG10El): Likewise.
55796 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55798         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55800 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
55802         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
55803         (MINUS_ZERO_INIT): Likewise.
55804         (PLUS_INFTY_INIT): Likewise.
55805         (MINUS_INFTY_INIT): Likewise.
55806         (QNAN_VALUE_INIT): Likewise.
55807         (MAX_VALUE_INIT): Likewise.
55808         (MIN_VALUE_INIT): Likewise.
55809         (MIN_SUBNORM_VALUE_INIT): Likewise.
55810         (plus_zero): Initialize with PLUS_ZERO_INIT.
55811         (minus_zero): Initialize with MINUS_ZERO_INIT.
55812         (plus_infty): Initialize with PLUS_INFTY_INIT.
55813         (minus_infty): Initialize with MINUS_INFTY_INIT.
55814         (qnan_value): Initialize with QNAN_VALUE_INIT.
55815         (max_value): Initialize with MAX_VALUE_INIT.
55816         (min_value): Initialize with MIN_VALUE_INIT.
55817         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
55819         * math/libm-test.inc (RUN_TEST_if_f): New macro.
55820         (jn_test): Use TEST_if_f instead of TEST_ff_f.
55821         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
55822         (yn_test): Use TEST_if_f instead of TEST_ff_f.
55824         * math/libm-test.inc (RUN_TEST_f_f): New macro.
55825         (RUN_TEST_2_f): Likewise.
55826         (RUN_TEST_ff_f): Likewise.
55827         (RUN_TEST_fi_f): Likewise.
55828         (RUN_TEST_fl_f): Likewise.
55829         (RUN_TEST_fff_f): Likewise.
55830         (RUN_TEST_c_f): Likewise.
55831         (RUN_TEST_f_f1): Likewise.
55832         (RUN_TEST_fF_f1): Likewise.
55833         (RUN_TEST_fI_f1): Likewise.
55834         (RUN_TEST_ffI_f1): Likewise.
55835         (RUN_TEST_c_c): Likewise.
55836         (RUN_TEST_cc_c): Likewise.
55837         (RUN_TEST_f_i): Likewise.
55838         (RUN_TEST_f_i_tg): Likewise.
55839         (RUN_TEST_ff_i_tg): Likewise.
55840         (RUN_TEST_f_b): Likewise.
55841         (RUN_TEST_f_b_tg): Likewise.
55842         (RUN_TEST_f_l): Likewise.
55843         (RUN_TEST_f_L): Likewise.
55844         (RUN_TEST_sincos): Likewise.
55845         * math/gen-libm-test.pl (new_test): Take new argument to indicate
55846         whether to show exceptions.  Do not include ");\n" in return
55847         value.
55848         (special_functions): Output call to RUN_TEST_sincos instead of
55849         check_float calls.  Update calls to new_test.
55850         (parse_args): Output call to single RUN_TEST_* macro instead of
55851         check_* calls and other assignments.  Update calls to new_test.
55853         [BZ #2546]
55854         [BZ #2560]
55855         [BZ #5159]
55856         [BZ #15426]
55857         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
55858         input to result for tgamma overflow.
55859         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
55860         (gamma_coeff): New variable.
55861         (NCOEFF): New macro.
55862         (gamma_positive): New function.
55863         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
55864         underflow here.  Use gamma_positive instead of exp (lgamma) for
55865         other arguments.
55866         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
55867         (gamma_coeff): New variable.
55868         (NCOEFF): New macro.
55869         (gammaf_positive): New function.
55870         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
55871         underflow here.  Use gamma_positive instead of exp (lgamma) for
55872         other arguments.
55873         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
55874         (gamma_coeff): New variable.
55875         (NCOEFF): New macro.
55876         (gammal_positive): New function.
55877         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
55878         underflow here.  Use gamma_positive instead of exp (lgamma) for
55879         other arguments.
55880         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
55881         (gamma_coeff): New variable.
55882         (NCOEFF): New macro.
55883         (gammal_positive): New function.
55884         (__ieee754_gammal_r): Handle positive infinity, overflow and
55885         underflow here.  Handle NaN the same as positive infinity.  Remove
55886         check x < 0xffffffff for negative integers.  Use gamma_positive
55887         instead of exp (lgamma) for other arguments.
55888         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
55889         (gamma_coeff): New variable.
55890         (NCOEFF): New macro.
55891         (gammal_positive): New function.
55892         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
55893         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
55894         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
55895         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
55896         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
55897         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
55898         * sysdeps/generic/math_private.h (__gamma_productf): New
55899         prototype.
55900         (__gamma_product): Likewise.
55901         (__gamma_productl): Likewise.
55902         * math/Makefile (libm-calls): Add gamma_product.
55903         * math/libm-test.inc (tgamma_test): Add more tests.
55904         * sysdeps/i386/fpu/libm-test-ulps: Update.
55905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55907 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
55909         * benchtests/bench-skeleton.c (main): Preheat CPU.
55911 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
55913         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
55915 2013-05-07  Roland McGrath  <roland@hack.frob.com>
55917         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
55918         and _dl_skip_args_internal.
55920 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
55922         * manual/message.texi (Message Translation): Talk about users.
55923         Message to key mapping impacts design.
55925 2013-05-06  Roland McGrath  <roland@hack.frob.com>
55927         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
55929         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
55931         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
55932         * sysdeps/wordsize-64/glob64.c: ... here.
55934         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
55935         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
55936         New macros.
55938         * debug/getlogin_r_chk.c: Moved to ...
55939         * login/getlogin_r_chk.c: ... here.
55940         * debug/Makefile (routines): Move getlogin_r_chk to ...
55941         * login/Makefile (routines): ... here.
55942         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
55943         * login/Versions (libc: GLIBC_2.4): ... here.
55945         * io/poll.c (__poll): Renamed from poll.
55946         Add libc_hidden_def.
55947         (poll): Define as weak alias.
55949         * debug/ptsname_r_chk.c: Moved to ...
55950         * login/ptsname_r_chk.c: ... here.
55951         * debug/Makefile (routines): Move ptsname_r_chk to ...
55952         * login/Makefile (routines): ... here.
55953         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
55954         * login/Versions (libc: GLIBC_2.4): ... here.
55956         * posix/getlogin.c: Moved to ...
55957         * login/getlogin.c: ... here.
55958         * posix/getlogin_r.c: Moved to ...
55959         * login/getlogin_r.c: ... here.
55960         * posix/getlogin_r.c: Moved to ...
55961         * login/getlogin_r.c: ... here.
55962         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
55963         * login/Makefile (routines): ... here.
55964         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
55965         * login/Versions (libc: GLIBC_2.0): ... here.
55967         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
55968         (setrlimit): Define as weak alias.
55970         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
55971         Call __ names for open, ftruncate, and close.
55972         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
55973         (truncate): Define as weak alias.
55975 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
55977         * math/gen-libm-test.pl (parse_args): Initialize x before each
55978         test of frexp, modf and remquo.
55980         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
55981         test signgam value.
55983 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55985         [BZ #15418]
55986         [BZ #15419]
55987         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
55988         internal tests.
55989         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55991 2013-05-06  Roland McGrath  <roland@hack.frob.com>
55993         * elf/dl-writev.h: New file.
55994         * elf/dl-misc.c: Include it.
55995         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
55996         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
55998 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
56000         * math/libm-test.inc (noXFails): Remove variable.
56001         (noXPasses): Likewise.
56002         (BUILD_COMPLEX_INT): Remove macro.
56003         (print_screen): Remove xfail argument.
56004         (print_screen_max_error): Likewise.
56005         (update_stats): Likewise.
56006         (print_max_error): Likewise.  Update calls to other affected
56007         functions.
56008         (print_complex_max_error): Likewise.
56009         (test_single_exception): Update calls to print_screen.
56010         (test_single_errno): Likewise.
56011         (check_float_internal): Remove xfail argument.  Update calls to
56012         other affected functions.
56013         (check_float): Likewise.
56014         (check_complex): Likewise.
56015         (check_int): Likewise.
56016         (check_long): Likewise.
56017         (check_bool): Likewise.
56018         (check_longlong): Likewise.
56019         (main): Don't print noXFails and noXPasses.
56020         * math/gen-libm-test.pl (top level): Don't mention expected
56021         failure handling in comment.
56022         (new_test): Don't handle expected failures.
56023         (parse_args): Don't mention expected failure handling in comment.
56024         (generate_testfile): Don't handle expected failures.
56025         (parse_ulps): Likewise.
56026         (print_ulps_file): Likewise.
56027         (get_failure): Remove function.
56028         (output_test): Don't handle expected failures.
56029         * make/README.libm-test: Don't mention expected failure handling.
56031         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
56032         (minus_zero): Likewise.
56033         (plus_infty): Likewise.
56034         (minus_infty): Likewise.
56035         (qnan_value): Likewise.
56036         (max_value): Likewise.
56037         (min_value): Likewise.
56038         (min_subnorm_value): Likewise.
56039         (initialize): Do not initialize those variables dynamically.
56041 2013-05-03  Roland McGrath  <roland@hack.frob.com>
56043         * io/open.c (__open_2): Moved to ...
56044         * io/open_2.c: ... this new file.
56045         * io/open64.c (__open64_2): Moved to ...
56046         * io/open64_2.c: ... this new file.
56047         * io/openat.c (__openat_2): Moved to ...
56048         * io/openat_2.c: ... this new file.
56049         * io/openat64.c (__openat64_2): Moved to ...
56050         * io/openat64_2.c: ... this new file.
56051         * io/Makefile (routines): Add them.
56052         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
56053         * sysdeps/unix/sysv/linux/open_2.c: File removed.
56054         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
56055         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
56056         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
56057         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
56058         (__openat64): Add hidden_ver.
56059         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
56060         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
56062         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
56063         Separately conditionalize setting of GLRO(dl_sysinfo) so
56064         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
56065         as well, but the actual setting is only under [NEED_DL_SYSINFO].
56067 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56069         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
56070         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
56071         definition.
56072         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
56073         * sysdeps/unix/sysv/linux/powerpc/init-first.c
56074         (_libc_vdso_platform_setup): Add __vdso_time initialization.
56075         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
56076         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
56078 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
56080         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
56081         test signgam value.
56083         * math/libm-test.inc (hypot_test): Do not use
56084         IGNORE_ZERO_INF_SIGN.
56086 2013-05-03  Andreas Jaeger  <aj@suse.de>
56088         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
56089         Linux 3.9.
56090         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
56091         (PF_MAX): Adjust for VSOCK change.
56093 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56095         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56097 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
56099         [BZ #15264]
56100         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
56101         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
56102         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
56104 2013-05-02  David S. Miller  <davem@davemloft.net>
56106         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56108 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
56110         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
56112 2013-05-01  Roland McGrath  <roland@hack.frob.com>
56114         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
56116 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
56118         [BZ #14952]
56119         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
56120         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
56121         Use __attribute__ ((__gnu_inline__)).
56122         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
56123         Don't use __attribute__ ((__gnu_inline__)).
56125 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
56127         [BZ #15423]
56128         * math/s_catan.c (__catan): Handle small real or imaginary part of
56129         input specially to avoid spurious underflow.
56130         * math/s_catanf.c (__catanf): Likewise.
56131         * math/s_catanh.c (__catanh): Likewise.
56132         * math/s_catanhf.c (__catanhf): Likewise.
56133         * math/s_catanhl.c (__catanhl): Likewise.
56134         * math/s_catanl.c (__catanl): Likewise.
56135         * math/libm-test.inc (catan_test): Add more tests.
56136         (catanh_test): Likewise.
56137         * sysdeps/i386/fpu/libm-test-ulps: Update.
56138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56140 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56142         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56144 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
56146         [BZ #15416]
56147         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
56148         accurately for denominator in atan2.
56149         * math/s_catanf.c (__catanf): Likewise.
56150         * math/s_catanh.c (__catanh): Likewise.
56151         * math/s_catanhf.c (__catanhf): Likewise.
56152         * math/s_catanhl.c (__catanhl): Likewise.
56153         * math/s_catanl.c (__catanl): Likewise.
56154         * math/libm-test.inc (catan_test): Add more tests.
56155         (catanh_test): Likewise.
56156         * sysdeps/i386/fpu/libm-test-ulps: Update.
56157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56159 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
56161         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
56163         * benchtests/Makefile (bench): Remove slow benchmarks.
56164         * benchtests/atan-inputs: Add slow benchmark inputs.
56165         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
56166         (BENCH_FUNC): Accept variant offset.
56167         (VARIANT): Define.
56168         * benchtests/bench-skeleton.c (main): Run benchmark for each
56169         variant.
56170         * benchtests/cos-inputs: Add slow benchmark inputs.
56171         * benchtests/exp-inputs: Likewise.
56172         * benchtests/pow-inputs: Likewise.
56173         * benchtests/sin-inputs: Likewise.
56174         * benchtests/slowatan-inputs: Remove.
56175         * benchtests/slowatan.c: Remove.
56176         * benchtests/slowcos-inputs: Remove.
56177         * benchtests/slowcos.c: Remove.
56178         * benchtests/slowexp-inputs: Remove.
56179         * benchtests/slowexp.c: Remove.
56180         * benchtests/slowpow-inputs: Remove.
56181         * benchtests/slowpow.c: Remove.
56182         * benchtests/slowsin-inputs: Remove.
56183         * benchtests/slowsin.c: Remove.
56184         * benchtests/slowtan-inputs: Remove.
56185         * benchtests/slowtan.c: Remove.
56186         * benchtests/tan-inputs: Add slow benchmark inputs.
56187         * scripts/bench.pl: Parse comments and directives.
56189         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
56190         in CPPFLAGS.
56191         ($(objpfx)bench-%.c): Remove *-ITER.
56192         * benchtests/bench-modf.c: Remove definition of ITER.
56193         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
56194         (main): Loop for DURATION seconds instead of fixed number of
56195         iterations.
56196         * scripts/bench.pl: Don't expect iterations in parameters.
56198 2013-04-29  Roland McGrath  <roland@hack.frob.com>
56200         * io/fchdir.c (__fchdir): Renamed from fchdir.
56201         (fchdir): Define as weak alias.
56203 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
56205         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
56206         (ERRNO_EDOM): Likewise.
56207         (ERRNO_ERANGE): Likewise.
56208         (noErrnoTests): New variable.
56209         (init_max_error): Set errno to 0.
56210         (test_single_errno): New function.
56211         (test_errno): Likewise.
56212         (check_float_internal): Call test_errno.  Set errno to 0.
56213         (check_complex): Refer to errno tests in comment.
56214         (check_int): Call test_errno.  Set errno to 0.
56215         (check_long): Likewise.
56216         (check_bool): Likewise.
56217         (check_longlong): Likewise.
56218         (cos_test): Use ERRNO_* flags for errno tests instead of
56219         check_int.
56220         (expm1_test): Likewise.
56221         (fmod_test): Likewise.
56222         (ilogb_test): Likewise.
56223         (lgamma_test): Likewise.
56224         (pow_test): Likewise.
56225         (remainder_test): Likewise.
56226         (sin_test): Likewise.
56227         (tan_test): Likewise.
56228         (yn_test): Likewise.
56229         (initialize): Set errno to 0.
56230         (main): Print number of errno tests.
56231         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
56233 2013-04-29  Andreas Jaeger  <aj@suse.de>
56235         [BZ #15084]
56236         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
56237         and RES_USEVC.
56239         [BZ #15085]
56240         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
56241         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
56242         unimplemented.
56244         [BZ #15380]
56245         * stdlib/random.c (__initstate): Return NULL if
56246         __initstate fails.
56248         [BZ #15086]
56249         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
56250         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
56251         RES_SNGLKUPREOP.
56253 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56255         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56257 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
56259         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
56260         of individual tests.
56261         (casin_test): Likewise.
56262         (casinh_test): Likewise.
56264 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
56266         [BZ #15409]
56267         * math/s_catan.c (__catan): Handle arguments with large real or
56268         imaginary part separately without squaring.
56269         * math/s_catanf.c (__catanf): Likewise.
56270         * math/s_catanh.c (__catanh): Likewise.
56271         * math/s_catanhf.c (__catanhf): Likewise.
56272         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
56273         and redefine.
56274         (__catanhl): Handle arguments with large real or imaginary part
56275         separately without squaring.
56276         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
56277         and redefine.
56278         (__catanl): Handle arguments with large real or imaginary part
56279         separately without squaring.
56280         * math/libm-test.inc (catan_test): Add more tests.
56281         (catanh_test): Likewise.
56282         * sysdeps/i386/fpu/libm-test-ulps: Update.
56283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56285 2013-04-27  Andreas Jaeger  <aj@suse.de>
56287         [BZ #15007]
56288         * stdlib/stdlib.h: Update guards for qecvt.
56289         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
56290         <stdlib.h>.
56292 2013-04-27  Allan McRae  <allan@archlinux.org>
56294         * sysdeps/i386/fpu/libm-test-ulps: Update.
56296 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
56298         [BZ #15406]
56299         * math/s_catan.c: Include <float.h>.
56300         (__catan): Ensure underflow exception occurs for underflowed
56301         result.
56302         * math/s_catanf.c: Include <float.h>.
56303         (__catanf): Ensure underflow exception occurs for underflowed
56304         result.
56305         * math/s_catanh.c: Include <float.h>.
56306         (__catanh): Ensure underflow exception occurs for underflowed
56307         result.
56308         * math/s_catanhf.c: Include <float.h>.
56309         (__catanhf): Ensure underflow exception occurs for underflowed
56310         result.
56311         * math/s_catanhl.c: Include <float.h>.
56312         (__catanhl): Ensure underflow exception occurs for underflowed
56313         result.
56314         * math/s_catanl.c: Include <float.h>.
56315         (__catanl): Ensure underflow exception occurs for underflowed
56316         result.
56317         * math/libm-test.inc (catan_test): Add more tests.
56318         (catanh_test): Likewise.
56320         [BZ #15405]
56321         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
56322         underflowed result.
56323         * math/s_ccoshf.c (__ccoshf): Likewise.
56324         * math/s_ccoshl.c (__ccoshl): Likewise.
56325         * math/s_csin.c (__csin): Likewise.
56326         * math/s_csinf.c (__csinf): Likewise.
56327         * math/s_csinh.c (__csinh): Likewise.
56328         * math/s_csinhf.c (__csinhf): Likewise.
56329         * math/s_csinhl.c (__csinhl): Likewise.
56330         * math/s_csinl.c (__csinl): Likewise.
56331         * math/libm-test.inc (ccos_test): Add more tests.
56332         (ccosh_test): Likewise.
56333         (csin_test): Likewise.
56334         (csinh_test): Likewise.
56336 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56338         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
56339         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
56340         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
56341         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
56342         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
56343         powerpc/power5+/fpu folders.
56344         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
56347 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
56349         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56351 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
56353         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
56354         additions to variable.
56355         [$(config-machine) = x86_64] (modules-names): Likewise.
56356         ($(objpfx)tst-audit3): Remove dependency.
56357         ($(objpfx)tst-audit3.out): Likewise.
56358         ($(objpfx)tst-audit4): Likewise.
56359         ($(objpfx)tst-audit4.out): Likewise.
56360         ($(objpfx)tst-audit5): Likewise.
56361         ($(objpfx)tst-audit5.out): Likewise.
56362         ($(objpfx)tst-audit6): Likewise.
56363         ($(objpfx)tst-audit6.out): Likewise.
56364         ($(objpfx)tst-audit7): Likewise.
56365         ($(objpfx)tst-audit7.out): Likewise.
56366         (tst-audit3-ENV): Remove variable.
56367         (tst-audit4-ENV): Likewise.
56368         (tst-audit5-ENV): Likewise.
56369         (tst-audit6-ENV): Likewise.
56370         (tst-audit7-ENV): Likewise.
56371         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
56372         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
56373         addition to variable.
56374         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
56375         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
56376         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
56377         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
56378         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
56379         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
56380         tst-audit3, tst-audit4 and tst-audit5.
56381         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
56382         tst-audit6 and tst-audit7.
56383         [$(subdir) = elf] (modules-names): Add audit modules for those
56384         tests.
56385         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
56386         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
56387         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
56388         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
56389         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
56390         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
56391         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
56392         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
56393         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
56394         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
56395         [$(subdir) = elf] (tst-audit3-ENV): New variable.
56396         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
56397         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
56398         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
56399         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
56400         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
56401         Likewise.
56402         [$(subdir) = elf && $(config-cflags-avx) = yes]
56403         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
56404         [$(subdir) = elf && $(config-cflags-avx) = yes]
56405         (CFLAGS-tst-auditmod4a.c): Likewise.
56406         [$(subdir) = elf && $(config-cflags-avx) = yes]
56407         (CFLAGS-tst-auditmod4b.c): Likewise.
56408         [$(subdir) = elf && $(config-cflags-avx) = yes]
56409         (CFLAGS-tst-auditmod6b.c): Likewise.
56410         [$(subdir) = elf && $(config-cflags-avx) = yes]
56411         (CFLAGS-tst-auditmod6c.c): Likewise.
56412         [$(subdir) = elf && $(config-cflags-avx) = yes]
56413         (CFLAGS-tst-auditmod7b.c): Likewise.
56414         * elf/tst-audit3.c: Move to ...
56415         * sysdeps/x86_64/tst-audit3.c: ... here.
56416         * elf/tst-audit4.c: Move to ...
56417         * sysdeps/x86_64/tst-audit4.c: ... here.
56418         * elf/tst-audit5.c: Move to ...
56419         * sysdeps/x86_64/tst-audit5.c: ... here.
56420         * elf/tst-audit6.c: Move to ...
56421         * sysdeps/x86_64/tst-audit6.c: ... here.
56422         * elf/tst-audit7.c: Move to ...
56423         * sysdeps/x86_64/tst-audit7.c: ... here.
56424         * elf/tst-auditmod3a.c: Move to ...
56425         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
56426         * elf/tst-auditmod3b.c: Move to ...
56427         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
56428         * elf/tst-auditmod4a.c: Move to ...
56429         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
56430         * elf/tst-auditmod4b.c: Move to ...
56431         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
56432         * elf/tst-auditmod5a.c: Move to ...
56433         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
56434         * elf/tst-auditmod5b.c: Move to ...
56435         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
56436         * elf/tst-auditmod6a.c: Move to ...
56437         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
56438         * elf/tst-auditmod6b.c: Move to ...
56439         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
56440         * elf/tst-auditmod6c.c: Move to ...
56441         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
56442         * elf/tst-auditmod7a.c: Move to ...
56443         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
56444         * elf/tst-auditmod7b.c: Move to ...
56445         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
56447 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
56449         [BZ #15366]
56450         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
56451         define unconditionally.
56452         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
56453         define unconditionally.
56454         (INT8_C, INT16_C, etc.): Likewise.
56456 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
56458         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
56459         __ehdr_start with hidden visibility.
56461         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
56463 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
56465         * math/libm-test.inc (cos_test): Use accurate hex constants.
56466         (sincost_test): Likewise.
56468 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
56470         * math/libm-test.inc (catan_test): Add more tests.
56471         (catanh_test): Likewise.
56473         * math/s_catanf.c (__catanf): Use suffixed floating-point
56474         constants.
56475         * math/s_catanhf.c (__catanhf): Likewise.
56476         * math/s_catanhl.c (__catanhl): Likewise.
56477         * math/s_catanl.c (__catanl): Likewise.
56479         [BZ #15394]
56480         * math/s_catan.c (__catan): Calculate imaginary part of result
56481         with log1p not log unless computing log of number close to 0.
56482         * math/s_catanf.c (__catanf): Likewise.
56483         * math/s_catanl.c (__catanl): Likewise.
56484         * math/s_catanh.c (__catanh): Calculate real part of result with
56485         log1p not log unless computing log of number close to 0.
56486         * math/s_catanhf.c (__catanhf): Likewise.
56487         * math/s_catanhl.c (__catanhl): Likewise.
56488         * math/libm-test.inc (catan_test): Add more tests.
56489         (catanh_test): Likewise.
56490         * sysdeps/i386/fpu/libm-test-ulps: Update.
56491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56493 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
56495         * benchtests/Makefile: Mention files in which fast and slow
56496         paths of math functions are implemented.
56498 2013-04-23  Roland McGrath  <roland@hack.frob.com>
56500         * sysdeps/posix/timespec_get.c: New file.
56502 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56504         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
56505         POWER.
56506         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
56507         for POWER.
56508         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
56509         powerpc/power5/fpu folders.
56510         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
56511         * benchtests/Makefile: Add modf testcase.
56512         * benchtests/bench-modf.c: New file: Benchmark test for mo
56514 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
56516         [BZ #14888]
56517         * time/Makefile (tests): Add tst-strptime-whitespace.
56518         * time/strptime_l.c (get_number): Use ISSPACE.
56519         (__strptime_internal): Likewise.
56520         * time/tst-strptime-whitespace.c: New test case.
56522 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
56524         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
56525         member.
56526         (_nss_files_init): Set it here.
56528 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
56530         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
56531         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
56532         unsigned.
56534 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
56536         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
56538 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
56540         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
56541         size just once.
56543 2013-04-21  David S. Miller  <davem@davemloft.net>
56545         * po/ru.po: Update Russion translation from translation project.
56547 2013-04-17  Adam Conrad  <adconrad@0c3.net>
56549         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
56550         and setfsgid.
56552 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
56554         * configure.in: Remove i386 configure warning. Remove i386 case.
56555         * configure: Regenerate.
56556         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
56557         Add example to error message.
56558         * sysdeps/i386/configure: Regenerate.
56560 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
56562         * benchtests/Makefile (bench): Add cos, tan, slowcos and
56563         slowtan.
56564         * benchtests/cos-inputs: New file.
56565         * benchtests/slowcos-inputs: New file.
56566         * benchtests/slowcos.c: New file.
56567         * benchtests/slowtan-inputs: New file.
56568         * benchtests/slowtan.c: New file.
56569         * benchtests/tan-inputs: New file.
56571 2013-04-16  Roland McGrath  <roland@hack.frob.com>
56573         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
56574         considered kosher.
56576 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56578         * benchtests/Makefile: Include cppflags-iterator.mk to add
56579         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
56581         * Makefile.in (bench-clean): New target.
56582         * benchtests/Makefile (bench-clean): Likewise.
56584 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
56586         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
56588 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
56590         * stdio-common/tstdiomisc.c: Fix coding-style violation.
56592 2013-04-15  Andreas Schwab  <schwab@suse.de>
56594         * nscd/grpcache.c (cache_addgr): Properly check for short write.
56595         * nscd/initgrcache.c (addinitgroupsX): Likewise.
56596         * nscd/pwdcache.c (cache_addpw): Likewise.
56597         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
56598         more than recsize.
56600 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56602         * benchtests/Makefile (bench): Write all output to
56603         bench-out.tmp together.
56605 2013-04-15  Andreas Schwab  <schwab@suse.de>
56607         * nscd/nscd.c (main): Don't fork again after closing files.
56609 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56611         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
56613         * benchtests/Rules (bench-deps): Collect dependencies into a
56614         single variable.  Add Makefile to dependencies.
56615         ($(objpfx)bench-%.c): Depend on bench-deps.
56617 2013-04-12  Roland McGrath  <roland@hack.frob.com>
56618             Xavier Roche  <roche+kml2@exalead.com>
56620         [BZ #15361]
56621         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
56622         just that it's a file descriptor.
56623         * manual/llio.texi (Synchronizing AIO Operations): Update description
56624         for EBADF error from aio_fsync.
56626 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
56628         * Rules (bench): Move target definition...
56629         * benchtests/Makefile: ... here.
56631 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
56633         * math/libm-test.inc (cos_test): Fix PI/2 test.
56634         (sincos_test): Likewise.
56635         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
56636         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
56638 2013-04-11  Andreas Schwab  <schwab@suse.de>
56640         [BZ #13988]
56641         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
56642         accept exponent character only when digits were seen.
56643         * stdio-common/Makefile (tests): Add bug26.
56644         * stdio-common/bug26.c: New file.
56646         [BZ #14293]
56647         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
56648         non-freeable.
56650 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56652         * Makeconfig (rtld-prefix): Define built linker prefix.
56653         * Rules (run-bench): Use it.
56654         * math/Makefile (run-regen-ulps): Likewise.
56656         * Rules (bench): Remove eval.
56658 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
56659             Roland McGrath  <roland@hack.frob.com>
56660             Ondrej Bilka  <neleai@seznam.cz>
56662         [BZ #15346]
56663         * time/getdate.c: Include ctype.h and alloca.h.
56664         (__getdate_r): Trim leading and trailing spaces of input.
56665         * time/tst-getdate.c (tests): Add tests with leading and
56666         trailing spaces.
56668 2013-04-08  Roland McGrath  <roland@hack.frob.com>
56670         [BZ #14280]
56671         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
56672         when computing value.
56674 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
56676         * math/README.libm-test (How can I generate "libm-test-ulps"?):
56677         Use testrun.sh to run libm tests.
56679         [BZ #15309]
56680         * elf/dl-open.c (dl_open_worker): memset all of seen array.
56682 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
56684         [BZ #15264]
56685         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
56687 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
56689         * Makefile.in (regen-ulps): New target.
56690         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
56691         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
56692         [ifneq (no,$(PERL)] (regen-ulps): New target.
56693         [ifeq (no,$(PERL)] (regen-ulps): New target.
56694         * math/libm-test.inc (ulps_file_name): Define.
56695         (output_dir): New variable.
56696         (options): Add "output-dir" option.
56697         (parse_opt): Handle 'o' case.
56698         (main): If output_dir is non-NULL use it as a prefix
56699         otherwise use "".
56700         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
56702 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
56704         [BZ #10060, #10062]
56705         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
56706         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
56707         fail configure if __sync_val_compare_and_swap is not inlined.
56708         * sysdeps/i386/configure: Regenerate.
56709         * configure.in: Build for i686 when configured for i386.
56710         * configure: Regenerate.
56711         * README: Remove i386 reference.
56713 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
56715         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
56716         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56718 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
56720         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
56721         (lmsnanval): New variables.
56722         (F): Add conversion tests.
56723         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
56724         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
56726         * stdio-common/tstdiomisc.c (F): Properly collect individual
56727         tests' results.
56729         [BZ #14686, #15336]
56730         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
56731         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
56732         Instead, use input NaN values or generate a qNaN by arithmetic
56733         operation.  Also fix bugs to comply with the standard.
56734         * math/libm-test.inc (remainder_test): Add more tests.
56736         [BZ #15335, #15342]
56737         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
56738         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
56739         input NaN values or generate a qNaN by arithmetic operation.
56741         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
56742         unreachable code.
56744         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
56745         definitions.
56747 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
56749         [BZ #14478]
56750         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
56751         underflowed result.
56752         * math/s_cexpf.c (__cexpf): Likewise.
56753         * math/s_cexpl.c (__cexpl): Likewise.
56754         * math/libm-test.inc (cexp_test): Add more tests.
56756 2013-04-03  Andreas Schwab  <schwab@suse.de>
56758         [BZ #15330]
56759         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
56760         order arrays from heap if bigger than alloca cutoff.
56762 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
56764         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
56765         (SNAN_TESTS_double): Refer to GCC PR56831.
56766         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
56767         GCC PR56828.
56769 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
56771         * Rules (bench): Move bench.out after the run is complete.
56773         * Rules (bench): Echo currently running benchmark.
56775         * benchtests/Makefile (bench): Add atan and slowatan.
56776         * benchtests/atan-inputs: New file.
56777         * benchtests/slowatan-inputs: New file.
56778         * benchtests/slowatan.c: New file.
56780         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
56781         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
56782         its value.
56784         [BZ #15305]
56785         * sysdeps/unix/sysv/linux/kernel-features.h
56786         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
56787         __ASSUME_XFS_RESTRICTED_CHOWN.
56788         * sysdeps/unix/sysv/linux/pathconf.c
56789         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
56790         Save and restore errno.
56792 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
56794         [BZ #15327]
56795         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
56796         arguments using __kernel_casinh.
56797         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
56798         arguments using __kernel_casinhf.
56799         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
56800         arguments using __kernel_casinhl.
56801         * math/libm-test.inc (cacosh_test): Add more tests.
56802         * sysdeps/i386/fpu/libm-test-ulps: Update.
56803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56805 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
56807         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
56808         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
56810         * bench/Makefile (bench): Add sin and slowsin.
56811         * benchtests/sin-inputs: New file.
56812         * benchtests/slowsin-inputs: New file.
56813         * benchtests/slowsin.c: New file.
56815         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
56816         (bench): Add slowexp and slowpow.
56817         (exp-ITER): Increase iterations.
56818         (pow-ITER): Likewise.
56819         * benchtests/exp-inputs: Change input.
56820         * benchtests/pow-inputs: Likewise.
56821         * benchtests/slowexp-inputs: New file.
56822         * benchtests/slowexp.c: New file.
56823         * benchtests/slowpow-inputs: New file.
56824         * benchtests/slowpow.c: New file.
56826 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56828         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
56829         instructions.
56830         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
56831         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
56832         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
56833         * benchtests/Makefile: Add rint benchtest.
56834         * benchtests/rint-inputs: Input for rint benchtest.
56836 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
56838         * Versions.def (libm): Add GLIBC_2.18.
56839         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
56840         hidden libm prototypes.
56841         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
56842         * math/Makefile (libm-calls): Add s_issignaling.
56843         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
56844         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
56845         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
56846         declaration.
56847         * math/math.h [__USE_GNU] (issignaling): New macro.
56848         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
56849         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
56850         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
56851         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
56852         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
56853         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
56854         * manual/arith.texi (issignaling): New section.
56855         * manual/libm-err-tab.pl (@all_functions): Update comment.
56856         * math/gen-libm-test.pl (parse_args): Apply special handling for
56857         issignaling.
56858         * math/libm-test.inc (print_float, issignaling_test): New
56859         functions.
56860         (check_float_internal): Add issignaling checks.
56861         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
56862         default definition.
56863         * sysdeps/powerpc/math-tests.h: New file.
56864         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
56865         tests.
56866         * math/test-snan.c (TEST_FUNC): Likewise.
56868 2013-03-30  David S. Miller  <davem@davemloft.net>
56870         * po/de.po: Update from translation team.
56872 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
56874         [BZ #10357]
56875         * math/k_casinh.c (__kernel_casinh): Handle arguments with
56876         imaginary part less than 1.0 and real part less than 0.5
56877         specially.
56878         * math/k_casinhf.c (__kernel_casinhf): Likewise.
56879         * math/k_casinhl.c (__kernel_casinhl): Likewise.
56880         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
56881         (cacos_test): Add more tests.
56882         (casin_test): Likewise.
56883         (casinh_test): Likewise.
56884         * sysdeps/i386/fpu/libm-test-ulps: Update.
56885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56887 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
56889         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
56890         ONE with its value.
56892         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
56893         (__pow_mp): Replace ONE and MONE with their values.
56894         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
56895         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
56896         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
56897         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
56898         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
56899         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
56901         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
56903         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
56904         (__pow_mp): Replace ZERO and MZERO with their values.
56905         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
56906         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
56907         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
56908         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
56909         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
56910         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
56911         (__sqr): Likewise.
56913         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
56915         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
56917 2013-03-28  Roland McGrath  <roland@hack.frob.com>
56919         * include/stdlib.h [!SHARED] (__call_tls_dtors):
56920         Declare with __attribute__ ((weak)).
56921         * stdlib/exit.c (__libc_atexit) [!SHARED]:
56922         Call __call_tls_dtors only if it's not NULL.
56924 2013-03-28  Roland McGrath  <roland@hack.frob.com>
56926         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
56927         didn't do it already, then set _dl_phdr and _dl_phnum based on the
56928         magic __ehdr_start linker symbol if it's defined.
56929         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
56930         them up here if it was already done.
56932         * elf/dl-support.c (_dl_phdr): Make pointer to const.
56933         (_dl_aux_init): Use const in cast when setting it.
56934         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
56935         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
56936         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
56938         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
56939         Declare them here.
56940         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
56941         * csu/libc-tls.c: Nor here.
56942         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
56944         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
56945         (__libc_message): Never call vsyslog.
56947 2013-03-28  Alan Modra  <amodra@gmail.com>
56949         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
56950         Define as empty.
56951         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
56952         Likewise.
56954 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56956         [BZ #15214]
56957         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
56958         underflow.
56959         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56961 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56963         [BZ #15304]
56964         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
56965         Don't add gid passed as argument.
56967         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
56969 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
56971         [BZ #15307]
56972         * math/k_casinh.c (__kernel_casinh): Handle arguments with
56973         imaginary part between 1.0 and 1.5 and real part less than 0.5
56974         specially.
56975         * math/k_casinhf.c (__kernel_casinhf): Likewise.
56976         * math/k_casinhl.c (__kernel_casinhl): Likewise.
56977         * math/libm-test.inc (cacos_test): Add more tests.
56978         (casin_test): Likewise.
56979         (casinh_test): Likewise.
56980         * sysdeps/i386/fpu/libm-test-ulps: Update.
56981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56983 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56985         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
56986         constants.
56987         (norm): Likewise.
56988         (denorm): Likewise.
56989         (__dbl_mp): Likewise.
56990         (add_magnitudes): Likewise.
56991         (sub_magnitudes): Likewise.
56992         (__add): Likewise.
56993         (__sub): Likewise.
56994         (__mul): Likewise.
56995         (__sqr): Likewise.
56996         (__inv): Likewise.
56997         (__dvd): Likewise.
56999         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
57000         commented code.
57001         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
57002         (__dubcos): Likewise.
57003         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
57004         (__ieee754_acos): Likewise.
57005         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
57006         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
57007         (__exp1): Likewise.
57008         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57009         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
57010         (log1): Likewise.
57011         (my_log2): Likewise.
57012         (checkint): Likewise.
57013         * sysdeps/ieee754/dbl-64/e_remainder.c
57014         (__ieee754_remainder): Likewise.
57015         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
57016         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
57017         (bsloww): Likewise.
57018         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
57020         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
57021         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
57022         MANTISSA_STORE_T to store computations on mantissa.  Use
57023         macros for rounding and division.
57024         (denorm): Likewise.
57025         (__dbl_mp): Likewise.
57026         (add_magnitudes): Likewise.
57027         (sub_magnitudes): Likewise.
57028         (__mul): Likewise.
57029         (__sqr): Likewise.
57030         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
57031         powers of two in terms of TWOPOW macro.
57032         (mp_no): Make type of mantissa as MANTISSA_T.
57033         [!RADIXI]: Define RADIXI.
57034         [!TWO52]: Define TWO52.
57035         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
57037 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57039         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
57040         llroundl symbol when building for PPC32.
57042 2013-03-24  Mark H Weaver  <mhw@netris.org>
57044         * manual/arith.texi (Normalization Functions): Fix prototypes for
57045         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
57047 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57049         [BZ #13889]
57050         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
57051         high value to check if expl overflow.
57052         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
57053         to check for underflow and overflow.
57054         * math/libm-test.inc: Add exp test.
57056 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
57058         [BZ #11120]
57059         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
57060         with NOT_IN_libc.
57062 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57064         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
57065         symbol.
57067 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
57069         * math/gen-libm-test.pl (parse_args, special_functions): Properly
57070         wrap blocks consisting of several statements.
57072         * sysdeps/generic/math-tests.h: New file.
57073         * sysdeps/i386/fpu/math-tests.h: Likewise.
57074         * math/test-snan.c: Include it.
57075         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
57077 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
57079         [BZ #15285]
57080         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
57081         (__ieee754_j0l): Do not improve calculations using cos of twice
57082         input for inputs above LDBL_MAX / 2.0L.
57083         (__ieee754_y0l): Likewise.
57084         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
57085         (__ieee754_j1l): Do not improve calculations using cos of twice
57086         input for inputs above LDBL_MAX / 2.0L.
57087         (__ieee754_y1l): Likewise.
57088         * math/libm-test.inc (j0_test): Add another test.
57089         (j1_test): Likewise.
57090         (y0_test): Likewise.
57091         (y1_test): Likewise.
57092         * sysdeps/i386/fpu/libm-test-ulps: Update.
57094 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57096         * Rules ($(objpfx)bench-%.c): Include code from a C source
57097         file.
57099 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
57101         [BZ #15287]
57102         * math/k_casinh.c (__kernel_casinh): Handle arguments with
57103         imaginary part 1.0 and real part less than 0.5 specially.
57104         * math/k_casinhf.c (__kernel_casinhf): Likewise.
57105         * math/k_casinhl.c (__kernel_casinhl): Likewise.
57106         * math/libm-test.inc (cacos_test): Add more tests.
57107         (casin_test): Likewise.
57108         (casinh_test): Likewise.
57109         * sysdeps/i386/fpu/libm-test-ulps: Update.
57110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57112 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57114         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
57115         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
57117 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
57119         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
57120         * config.make.in (config-cflags-sse4): Remove variable.
57121         (config-cflags-avx): Likewise.
57122         (config-cflags-sse2avx): Likewise.
57123         (config-cflags-novzeroupper): Likewise.
57124         (config-asflags-i686): Likewise.
57125         (have-mfma4): Likewise.
57126         (have-as-vis3): Likewise.
57127         (MIG): Likewise.
57128         * configure.in (MIG): Do not AC_SUBST.
57129         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
57130         (libc_cv_cc_sse4): Do not AC_SUBST.
57131         (libc_cv_cc_avx): Likewise.
57132         (libc_cv_cc_sse2avx): Likewise.
57133         (libc_cv_cc_novzeroupper): Likewise.
57134         (libc_cv_cc_fma4): Likewise.
57135         (libc_cv_as_i686): Likewise.
57136         (libc_cv_sparc_as_vis3): Likewise.
57137         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
57138         LIBC_CONFIG_VAR.
57139         (config-asflags-i686): Likewise.
57140         (config-cflags-avx): Likewise.
57141         (config-cflags-sse2avx): Likewise.
57142         (have-mfma4): Likewise.
57143         (config-cflags-novzeroupper): Likewise.
57144         * sysdeps/mach/configure.in (MIG): Likewise.
57145         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
57146         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
57147         LIBC_CONFIG_VAR.
57148         (config-cflags-avx): Likewise.
57149         (config-cflags-sse2avx): Likewise.
57150         (have-mfma4): Likewise.
57151         (config-cflags-novzeroupper): Likewise.
57152         * configure: Regenerated.
57153         * sysdeps/i386/configure: Likewise.
57154         * sysdeps/mach/configure: Likewise.
57155         * sysdeps/sparc/configure: Likewise.
57156         * sysdeps/x86_64/configure: Likewise.
57158 2013-03-20  Roland McGrath  <roland@hack.frob.com>
57160         [BZ #14812]
57161         * locale/programs/localedef.c (options): Put N_ translation marker
57162         on argument names, not just descriptions.
57164 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57166         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
57168 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
57170         [BZ #14176]
57171         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
57173 2013-03-19  Roland McGrath  <roland@hack.frob.com>
57175         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
57176         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
57177         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
57178         [!BEFORE_ABORT] (before_abort): New function.
57179         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
57180         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
57181         (writev_for_fatal): New function.
57182         (WRITEV_FOR_FATAL): New macro; call that.
57183         (backtrace_and_maps): New function.
57184         (BEFORE_ABORT): New macro; call that.
57185         (struct str_list): Type removed.
57186         (__libc_message, __libc_fatal): Functions removed.
57187         Include <sysdeps/posix/libc_fatal.c> instead.
57189 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
57191         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
57192         constants.
57193         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
57194         double constants.
57196 2013-03-19  Andreas Schwab  <schwab@suse.de>
57198         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
57199         * sysdeps/gnu/configure: Regenerate.
57201         * configure.in: Substitute libc_cv_rtlddir.
57202         * configure: Regenerate.
57203         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
57204         * Makeconfig (rtlddir, inst_rtlddir): New variables.
57205         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
57206         * elf/Makefile (install-others, CFLAGS-interp.c)
57207         (ldso_install, common-ldd-rewrite): Likewise.
57208         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
57209         $(inst_slibdir)/$(rtld-installed-name).
57210         * scripts/rellns-sh: Add -p option.
57211         * Makerules (make-shlib-link): Use rellns-sh to get relative name
57212         for source.
57214 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57216         * manual/nptl.texi: Renamed to ...
57217         * manual/threads.texi: ... this.
57218         * manual/Makefile (chapters): Update.
57220 2013-03-18  Roland McGrath  <roland@hack.frob.com>
57222         [BZ #14812]
57223         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
57224         on argument names, not just descriptions.
57225         * malloc/memusagestat.c (options): Likewise.
57226         * nss/getent.c (options): Likewise.
57228 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
57230         [BZ #14812]
57231         * iconv/iconv_prog.c (options): Put N_ translation marker
57232         on argument names, not just descriptions.
57233         * iconv/iconvconfig.c (options): Likewise.
57235 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
57237         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
57238         implementation which is faster on all x86_64 architectures.
57239         Tested on AMD, Intel Nehalem, SNB, IVB.
57240         * sysdeps/x86_64/strnlen.S: Likewise.
57242         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
57243         Remove all multiarch strlen and strnlen versions.
57244         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
57245         Remove strlen and strnlen related parts.
57247         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
57248         Inline strlen part.
57249         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
57251         * sysdeps/x86_64/multiarch/strlen.S: Remove.
57252         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
57253         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
57254         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
57255         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
57256         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
57258 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
57260         * manual/memory.texi (Malloc Tunable Parameters):
57261         Sort parameters alphabetically. Add comments for missing entries.
57263 2013-03-17  David S. Miller  <davem@davemloft.net>
57265         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57267 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
57269         [BZ #15283]
57270         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
57271         for arguments at most half maximum finite value.
57272         * math/libm-test.inc (j0_test): Add more tests.
57273         (j1_test): Likewise.
57274         (y0_test): Likewise.
57275         (y1_test): Likewise.
57276         * sysdeps/i386/fpu/libm-test-ulps: Update.
57277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57279         [BZ #14155]
57280         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
57281         1 / x and functions P and Q for arguments above 0x1p256L.
57282         (__ieee754_y0l): Likewise.
57283         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
57284         (__ieee754_y1l): Likewise.
57285         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
57286         (j1_test): Likewise.
57287         (y0_test): Likewise.
57288         (y1_test): Likewise.
57290 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
57292         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
57293         variable.
57295 2013-03-15  Roland McGrath  <roland@hack.frob.com>
57297         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
57298         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
57299         zero since it's initialized to EXEC_PAGESIZE.
57301         * sysdeps/unix/sysv/linux/ldsodefs.h
57302         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
57303         * sysdeps/generic/ldsodefs.h: ... here.
57305 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
57307         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
57309         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
57310         math/test-snan.c.
57311         * math/test-snan.c: Renamed from
57312         sysdeps/powerpc/fpu/test-powerpc-snan.c.
57313         * math/Makefile (tests): Add test-snan.
57314         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
57315         test-powerpc-snan.
57317         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
57318         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
57319         functions.
57320         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
57321         __builtin_nan family of functions.
57322         * math/libm-test.inc (initialize): Initialize qnan_value with
57323         __builtin_nan family of functions.
57324         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
57325         Remove variables.
57326         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
57327         Remove functions.
57328         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
57329         storage class.  Initialize qNaN_var and sNaN_var with
57330         __builtin_nan and __builtin_nans families of functions,
57331         respectively.
57333         * math/libm-test.inc (acosh_test): Also test with qNaN input.
57334         (sqrt_test): Remove duplicate test with qNaN input.
57335         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
57336         (round_test, signbit_test, significand_test): Note missing +/-Inf
57337         as well as qNaN tests.
57339         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
57340         qNaN_var.  Fix a few strings, too.
57341         * math/libm-test.inc (nan_value): Rename to qnan_value.
57342         * math/gen-libm-test.pl (%beautify): Adjust to that.
57343         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
57344         * math/test-misc.c (main): Likewise.
57345         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
57346         to __qnan_bytes, and __qnan_union, respectively.
57347         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
57348         Likewise.
57349         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
57350         and lqnanval, respectively.
57351         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
57352         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
57353         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
57354         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
57356         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
57357         * math/test-misc.c (main) [__x86_64__]: Enable test for long
57358         doubles.
57360         * math/test-misc.c (main): Fix copy'n'pastos.
57361         * misc/tst-efgcvt.c (special): Likewise.
57363         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
57364         Remove declarations.
57366 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
57368         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
57369         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
57370         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
57371         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
57373 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57375         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
57376         macro to return vdso values correctly in IFUNC implementations.
57377         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
57378         Optimization by using IFUNC.
57380 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
57381             Richard Henderson  <rth@redhat.com>
57382             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57384         * Makefile.in (bench): New target.
57385         * NEWS: Mention the benchmark framework.
57386         * Rules (bench): Likewise.
57387         (binaries-bench): Generate binaries for functions to
57388         benchmark.
57389         * benchtests/Makefile: New makefile for benchmark tests.
57390         * benchtests/bench-skeleton.c: New skeleton file for benchmark
57391         programs.
57392         * benchtests/exp-inputs: New input file for EXP function.
57393         * benchtests/pow-inputs: New input file for POW function.
57394         * scripts/bench.pl: New script to generate source files for
57395         benchmark programs.
57397 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
57399         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
57400         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
57401         computations on mantissa.  Use macros for rounding and
57402         division.
57403         (denorm): Likewise.
57404         (__dbl_mp): Likewise.
57405         (add_magnitudes): Likewise.
57406         (sub_magnitudes): Likewise.
57407         (__mul): Likewise.
57408         (__sqr): Likewise.
57409         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
57410         powers of two in terms of TWOPOW macro.
57411         (mp_no): Make type of mantissa as MANTISSA_T.
57412         [!RADIXI]: Define RADIXI.
57413         [!TWO52]: Define TWO52.
57414         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
57416         * manual/nptl.texi (cindex): Modify threads to pthreads.
57418 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
57420         * sysdeps/x86_64/preconfigure: Regenerated.
57422 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
57424         [BZ #14155]
57425         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
57426         0x1p28 and above.
57427         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
57428         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
57429         0x1p28 and above.
57430         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
57431         * math/libm-test.inc (j0_test): Do not allow one spurious
57432         underflow exception.
57433         (y1_test): Likewise.
57435 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
57437         * manual/Makefile (chapters): Add nptl.
57438         * manual/debug.texi (Debugging Support): Add link to Threads
57439         chapter.
57440         * manual/nptl.texi: New file.
57442         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
57444 2013-03-14  Petr Baudis  <pasky@ucw.cz>
57446         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
57447         for non-NULL pointer before the memory validity test. Pointed
57448         out by Holger Brunck <holger.brunck@keymile.com>.
57450 2013-03-13  Andreas Schwab  <schwab@suse.de>
57452         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
57453         instead of .os.
57455 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
57457         * timezone/zic.c: Update from tzcode 2013b.
57459 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
57461         * manual/install.texi (Configuring and compiling):
57462         Mention i686 and i586.
57463         * INSTALL: Regenerate.
57465 2013-03-12  Roland McGrath  <roland@hack.frob.com>
57467         * sysdeps/init_array/elf-init.c: New file.
57468         * csu/elf-init.c
57469         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
57470         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
57472         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
57473         __gmon_start__ as global, but as static with a .preinit_array pointer.
57474         * sysdeps/init_array/gmon-start.c: New file.  Use that.
57475         * sysdeps/init_array/crti.S: New file, empty except for comments.
57476         * sysdeps/init_array/crtn.S: Likewise.
57478 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
57480         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
57481         definining bcopy.
57482         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57483         Remove Prefer_SSE_for_memop.
57484         * sysdeps/x86_64/multiarch/init-arch.h: Remove
57485         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
57486         HAS_PREFER_SSE_FOR_MEMOP.
57487         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
57488         memset-x86-64.
57489         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
57490         Remove bzero, memset ifunc support.
57491         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
57492         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
57493         * sysdeps/x86_64/multiarch/memset.S: Likewise.
57494         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
57496 2013-03-11  Andreas Schwab  <schwab@suse.de>
57498         [BZ #15234]
57499         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
57500         by SHLIB_COMPAT.
57501         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
57502         (GLIBC_2.16): Remove pthread_atfork.
57504 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
57506         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
57507         (ptestcases.h): Likewise.
57509 2013-03-08  Roland McGrath  <roland@hack.frob.com>
57511         * Makeconfig ($(common-objpfx)config.status): Depend on
57512         sysdeps/*/preconfigure{,.in} too.
57514 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
57516         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
57517         (__free_hook): Use void * instead of __malloc_ptr_t.
57518         (__malloc_hook): Likewise.
57519         (__realloc_hook): Likewise.
57520         (__memalign_hook): Likewise.
57521         (__after_morecore_hook): Likewise.
57522         * malloc/arena.c (save_malloc_hook): Likewise.
57523         (save_free_hook): Likewise.
57524         * malloc/hooks.c (malloc_hook_ini): Likewise.
57525         (realloc_hook_ini): Likewise.
57526         (memalign_hook_ini): Likewise.
57527         * malloc/malloc.c (malloc_hook_ini): Likewise.
57528         (realloc_hook_ini): Likewise.
57529         (memalign_hook_ini): Likewise.
57530         (__free_hook): Likewise.
57531         (__malloc_hook): Likewise.
57532         (__realloc_hook): Likewise.
57533         (__memalign_hook): Likewise.
57534         (__libc_malloc): Likewise.
57535         (__libc_free): Likewise.
57536         (__libc_realloc): Likewise.
57537         (__libc_memalign): Likewise.
57538         (__libc_valloc): Likewise.
57539         (__libc_pvalloc): Likewise.
57540         (__libc_calloc): Likewise.
57541         (__posix_memalign): Likewise.
57542         * malloc/morecore.c (__sbrk): Likewise.
57543         (__default_morecore): Likewise.
57545         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
57547         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
57548         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
57549         __malloc_ptrdiff_t.
57551         * malloc/malloc.h (__malloc_size_t): Remove macro.
57552         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
57553         __malloc_size_t.
57554         (old_memalign_hook): Likewise.
57555         (old_realloc_hook): Likewise.
57556         (struct hdr): Likewise.
57557         (flood): Likewise.
57558         (mallochook): Likewise.
57559         (memalignhook): Likewise.
57560         (reallochook): Likewise.
57561         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
57562         (tr_old_realloc_hook): Likewise.
57563         (tr_old_memalign_hook): Likewise.
57564         (tr_mallochook): Likewise.
57565         (tr_reallochook): Likewise.
57566         (tr_memalignhook): Likewise.
57568 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57570         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
57571         default_ldbl_pack and using as default implementation.
57572         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
57573         implementation.
57574         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
57575         redundant definition.
57576         (ldbl_insert_mantissa): Likewise.
57577         (ldbl_canonicalize): Likewise.
57578         (ldbl_nearbyint): Likewise.
57579         (ldbl_pack): Rename to ldbl_pack_ppc.
57580         (ldbl_unpack): Rename to ldbl_unpack_ppc.
57581         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
57582         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
57584 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
57586         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
57587         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
57588         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
57589         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
57590         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
57591         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
57592         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
57593         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
57595 2013-03-07  Andreas Jaeger  <aj@suse.de>
57597         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57598         bits/mman-linux.h.
57600 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
57602         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
57603         Include mpa.h and declare __MPEXP.
57604         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
57605         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
57606         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
57607         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
57608         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
57609         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
57610         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
57612         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
57613         (__slowpow): Use long double EXPL and LOGL functions to
57614         compute POW.
57615         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
57616         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
57617         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
57618         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
57619         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
57620         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
57622         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
57623         intermediate variable to calculate exponent.
57624         (__sqr): Likewise.
57625         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
57626         Likewise.
57627         (__sqr): Likewise.
57629         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
57630         [!NO__SQR]: Define __sqr.
57631         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
57632         and NO__SQR.  Remove all code except __mul and __sqr.  Include
57633         sysdeps/ieee754/dbl-64/mpa.c.
57634         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57636         [BZ #12723]
57637         * posix/Makefile (tests): Add tst-pathconf.
57638         * posix/tst-pathconf.c: New test case.
57639         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
57640         _PC_PIPE_BUF.
57641         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
57643 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
57645         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
57647 2013-03-06  Andreas Jaeger  <aj@suse.de>
57649         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
57650         definition via __MAP_ANONYMOUS.
57652         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
57653         it's not part of Linux headers.
57655         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
57656         (MAP_HUGE_MASK): Define.
57658         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
57659         Define.
57660         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
57661         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
57662         Define.
57663         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
57664         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
57665         Define.
57666         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
57667         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
57668         Define.
57669         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
57671         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
57672         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
57673         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
57674         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
57675         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
57676         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
57678         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
57679         Handle f2fs.
57681         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57682         Handle f2fs and efivarfs.
57684         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
57685         f2fs.
57687         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
57688         (EFIVARFS_MAGIC): Add.
57689         (F2FS_LINK_MAX): Add.
57691 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
57693         * stdio-common/vfprintf.c: Replace __builtin_expect with
57694         __glibc_unlikely.
57696 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
57698         [BZ #13550]
57699         * sysdeps/generic/bp-sym.h: Remove file.
57700         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
57701         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
57702         <bp-sym.h> and <bp-asm.h>.
57703         (__longjmp): Don't use BP_SYM.
57704         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
57705         and <bp-asm.h>.
57706         (memcpy): Don't use BP_SYM.
57707         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
57708         <bp-sym.h> and <bp-asm.h>.
57709         (memcpy): Don't use BP_SYM.
57710         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
57711         <bp-asm.h>.
57712         (memcpy): Don't use BP_SYM.
57713         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
57714         <bp-asm.h>.
57715         (memset): Don't use BP_SYM.
57716         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
57717         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
57718         (__bzero): Don't use BP_SYM.
57719         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
57720         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
57721         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
57722         <bp-sym.h> and <bp-asm.h>.
57723         (memcmp): Don't use BP_SYM.  Remove comment about bounded
57724         pointers.
57725         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
57726         <bp-sym.h> and <bp-asm.h>.
57727         (memcpy): Don't use BP_SYM.
57728         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
57729         <bp-sym.h> and <bp-asm.h>.
57730         (memset): Don't use BP_SYM.
57731         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
57732         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
57733         (__bzero): Don't use BP_SYM.
57734         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
57735         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
57736         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
57737         <bp-sym.h> and <bp-asm.h>.
57738         (strncmp): Don't use BP_SYM.  Remove comment about bounded
57739         pointers.
57740         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
57741         <bp-sym.h> and <bp-asm.h>.
57742         (memcpy): Don't use BP_SYM.
57743         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
57744         <bp-sym.h> and <bp-asm.h>.
57745         (memset): Don't use BP_SYM.
57746         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
57747         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
57748         (__bzero): Don't use BP_SYM.
57749         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
57750         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
57751         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
57752         <bp-sym.h> and <bp-asm.h>.
57753         (__memchr): Don't use BP_SYM.
57754         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
57755         <bp-sym.h> and <bp-asm.h>.
57756         (memcmp): Don't use BP_SYM.  Remove comment about bounded
57757         pointers.
57758         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
57759         <bp-sym.h> and <bp-asm.h>.
57760         (memcpy): Don't use BP_SYM.
57761         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
57762         <bp-sym.h> and <bp-asm.h>.
57763         (__mempcpy): Don't use BP_SYM.
57764         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
57765         <bp-sym.h> and <bp-asm.h>.
57766         (__memrchr): Don't use BP_SYM.
57767         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
57768         <bp-sym.h> and <bp-asm.h>.
57769         (memset): Don't use BP_SYM.
57770         (__bzero): Likewise.
57771         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
57772         <bp-sym.h> and <bp-asm.h>.
57773         (__rawmemchr): Don't use BP_SYM.
57774         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
57775         <bp-sym.h> and <bp-asm.h>.
57776         (__STRCMP): Don't use BP_SYM.
57777         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
57778         <bp-sym.h> and <bp-asm.h>.
57779         (strchr): Don't use BP_SYM.
57780         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
57781         <bp-sym.h> and <bp-asm.h>.
57782         (__strchrnul): Don't use BP_SYM.
57783         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
57784         <bp-sym.h> and <bp-asm.h>.
57785         (strlen): Don't use BP_SYM.
57786         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
57787         <bp-sym.h> and <bp-asm.h>.
57788         (strncmp): Don't use BP_SYM.  Remove comment about bounded
57789         pointers.
57790         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
57791         <bp-sym.h> and <bp-asm.h>.
57792         (__strnlen): Don't use BP_SYM.
57793         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
57794         <bp-sym.h> and <bp-asm.h>.
57795         (__GI__setjmp): Don't use BP_SYM.
57796         (_setjmp): Likewise.
57797         (__sigsetjmp): Likewise.
57798         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
57799         (L(start_addresses)): Don't use BP_SYM.
57800         (_start): Likewise.
57801         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
57802         <bp-asm.h>.
57803         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
57804         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
57805         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
57806         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
57807         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
57808         <bp-asm.h>.
57809         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
57810         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
57811         about bounded pointers.
57812         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
57813         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
57814         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
57815         <bp-asm.h>.
57816         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
57817         about bounded pointers.  Remove GKM FIXME comments.
57818         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
57819         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
57820         <bp-asm.h>.
57821         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
57822         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
57823         Remove GKM FIXME comments.
57824         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
57825         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
57826         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
57827         <bp-asm.h>.
57828         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
57829         about bounded pointers.  Remove GKM FIXME comment.
57830         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
57831         and <bp-asm.h>.
57832         (strncmp): Don't use BP_SYM.  Remove comment about bounded
57833         pointers.
57834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
57835         <bp-sym.h> and <bp-asm.h>.
57836         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
57837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
57838         <bp-sym.h> and <bp-asm.h>.
57839         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
57840         comment.
57842 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
57844         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
57845         call free(NULL).
57847 2013-03-05  David S. Miller  <davem@davemloft.net>
57849         * po/es.po: Update from translation team.
57851 2013-03-05  Andreas Jaeger  <aj@suse.de>
57853         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
57854         <bits/mman-linux.h>.
57855         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
57856         is fine.
57857         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
57858         <bits/mman-linux.h> to end of file.
57859         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
57860         is fine.
57861         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
57862         <bits/mman-linux.h> to end of file.
57863         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
57864         is fine.
57865         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
57866         <bits/mman-linux.h> to end of file.
57868         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
57869         (MCL_CURRENT, MCL_FUTURE): Define here.
57871 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57873         [BZ #15232]
57874         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
57875         attribute_hidden.
57876         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
57878 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57880         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
57881         fourth parameter needed for rt_sigprocmask syscall.
57882         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
57883         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
57884         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
57885         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
57886         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
57887         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
57889 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
57891         [BZ #13550]
57892         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
57893         comment about bounded pointers.
57894         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
57895         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
57897 2013-03-04  Andreas Jaeger  <aj@suse.de>
57899         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
57900         common definitions.
57902         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
57903         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
57904         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
57905         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
57906         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
57907         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
57909 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57911         [BZ #15055]
57912         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
57913         __ieee754_sqrl instead of __sqrl.
57915 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
57917         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
57918         * sysdeps/powerpc/fpu_control.h: ... here.
57919         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
57920         * sysdeps/powerpc/bits/fenvinline.h: ... here.
57921         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
57922         * sysdeps/powerpc/bits/mathinline.h: ... here.
57924 2013-03-01  Roland McGrath  <roland@hack.frob.com>
57926         * elf/dl-hwcaps.c (_dl_important_hwcaps):
57927         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
57928         to just [NEED_DL_SYSINFO_DSO].
57929         * elf/dl-support.c: Likewise.
57930         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
57931         * elf/rtld.c (dl_main): Likewise.
57932         * elf/setup-vdso.h (setup_vdso): Likewise.
57933         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
57934         * sysdeps/unix/sysv/linux/dl-sysdep.c
57935         (_dl_discover_osversion): Likewise.
57937 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
57939         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
57940         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
57942 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
57944         * NEWS: Mention libm performance improvements and non-x86 PI
57945         futex support.
57947         * csu/libc-start.c (__pthread_initialize_minimal): Change
57948         function arguments.
57949         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
57951 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
57953         [BZ #13550]
57954         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
57955         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
57956         <bp-sym.h> and <bp-asm.h>.
57957         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
57958         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
57959         and <bp-asm.h>.
57960         (memcpy): Don't use BP_SYM.
57961         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
57962         <bp-asm.h>.
57963         (__mpn_add_n): Don't use BP_SYM.
57964         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
57965         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
57966         and <bp-asm.h>.
57967         (__mpn_addmul_1): Don't use BP_SYM.
57968         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57969         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
57970         <bp-sym.h>.
57971         (_setjmp): Don't use BP_SYM.
57972         (__novmx_setjmp): Likewise.
57973         (__GI__setjmp): Likewise.
57974         (__vmx_setjmp): Likewise.
57975         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
57976         <bp-sym.h>.
57977         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
57978         (__bzero): Don't use BP_SYM.
57979         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
57980         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
57981         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
57982         <bp-sym.h> and <bp-asm.h>.
57983         (memcpy): Don't use BP_SYM.
57984         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
57985         <bp-sym.h> and <bp-asm.h>.
57986         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
57987         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
57988         <bp-sym.h> and <bp-asm.h>.
57989         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
57990         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
57991         <bp-asm.h>.
57992         (__mpn_lshift): Don't use BP_SYM.
57993         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57994         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
57995         <bp-asm.h>.
57996         (memset): Don't use BP_SYM.
57997         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
57998         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
57999         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
58000         <bp-asm.h>.
58001         (__mpn_mul_1): Don't use BP_SYM.
58002         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58003         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
58004         <bp-sym.h> and <bp-asm.h>.
58005         (memcmp): Don't use BP_SYM.
58006         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
58007         <bp-sym.h> and <bp-asm.h>.
58008         (memcpy): Don't use BP_SYM.
58009         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
58010         <bp-sym.h> and <bp-asm.h>.
58011         (memset): Don't use BP_SYM.
58012         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
58013         <bp-sym.h> and <bp-asm.h>.
58014         (strncmp): Don't use BP_SYM.
58015         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
58016         <bp-sym.h> and <bp-asm.h>.
58017         (memcpy): Don't use BP_SYM.
58018         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
58019         <bp-sym.h> and <bp-asm.h>.
58020         (memset): Don't use BP_SYM.
58021         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
58022         <bp-sym.h> and <bp-asm.h>.
58023         (__memchr): Don't use BP_SYM.
58024         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
58025         <bp-sym.h> and <bp-asm.h>.
58026         (memcmp): Don't use BP_SYM.
58027         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
58028         <bp-sym.h> and <bp-asm.h>.
58029         (memcpy): Don't use BP_SYM.
58030         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
58031         <bp-sym.h> and <bp-asm.h>.
58032         (__mempcpy): Don't use BP_SYM.
58033         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
58034         <bp-sym.h> and <bp-asm.h>.
58035         (__memrchr): Don't use BP_SYM.
58036         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
58037         <bp-sym.h> and <bp-asm.h>.
58038         (memset): Don't use BP_SYM.
58039         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
58040         <bp-sym.h> and <bp-asm.h>.
58041         (__rawmemchr): Don't use BP_SYM.
58042         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
58043         <bp-sym.h> and <bp-asm.h>.
58044         (__STRCMP): Don't use BP_SYM.
58045         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
58046         <bp-sym.h> and <bp-asm.h>.
58047         (strchr): Don't use BP_SYM.
58048         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
58049         <bp-sym.h> and <bp-asm.h>.
58050         (__strchrnul): Don't use BP_SYM.
58051         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
58052         <bp-sym.h> and <bp-asm.h>.
58053         (strlen): Don't use BP_SYM.
58054         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
58055         <bp-sym.h> and <bp-asm.h>.
58056         (strncmp): Don't use BP_SYM.
58057         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
58058         <bp-sym.h> and <bp-asm.h>.
58059         (__strnlen): Don't use BP_SYM.
58060         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
58061         <bp-asm.h>.
58062         (__mpn_rshift): Don't use BP_SYM.
58063         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
58064         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
58065         <bp-sym.h> and <bp-asm.h>.
58066         (__sigsetjmp): Don't use BP_SYM.
58067         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
58068         (L(start_addresses)): Don't use BP_SYM.
58069         (_start): Likewise.
58070         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
58071         <bp-asm.h>.
58072         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
58073         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58074         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
58075         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
58076         <bp-asm.h>.
58077         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
58078         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
58079         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
58080         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
58081         <bp-asm.h>.
58082         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
58083         comments.
58084         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
58085         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
58086         <bp-asm.h>.
58087         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
58088         FIXME comments.
58089         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58090         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
58091         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
58092         <bp-asm.h>.
58093         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
58094         comment.
58095         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
58096         and <bp-asm.h>.
58097         (strncmp): Don't use BP_SYM,
58098         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
58099         <bp-asm.h>.
58100         (__mpn_sub_n): Don't use BP_SYM.
58101         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
58102         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
58103         and <bp-asm.h>.
58104         (__mpn_submul_1): Don't use BP_SYM.
58105         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
58107         <bp-sym.h> and <bp-asm.h>.
58108         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
58109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
58110         <bp-sym.h> and <bp-asm.h>.
58111         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
58112         comment.
58114 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58116         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
58117         Use ZK to minimize writes to Z.
58118         (sub_magnitudes): Simplify code a bit.
58119         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
58120         Use ZK to minimize writes to Z.
58121         (sub_magnitudes): Simplify code a bit.
58123 2013-02-27  Roland McGrath  <roland@hack.frob.com>
58125         * csu/gmon-start.c: Add special exception to license text.
58127 2013-02-27  Richard Henderson  <rth@redhat.com>
58129         * scripts/config.guess: Update from config.git.
58130         * scripts/config.sub: Likewise.
58132 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
58134         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
58136         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
58138         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
58140         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
58142         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
58144 2013-02-26  Roland McGrath  <roland@hack.frob.com>
58146         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
58147         [$(build-shared = yes].
58149 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58151         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
58152         (__mul): Reduce iterations for calculating mantissa.
58154         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
58155         MPTWO.
58156         (__mpranred): Likewise.
58158         [BZ #15160]
58159         * malloc/memusagestat.c (main): Draw graphs for heap and stack
58160         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
58162 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
58164         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
58165         Define __attribute__.
58167 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58169         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
58170         unused.
58171         * posix/regex_internal.h (__attribute): Remove.
58172         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
58173         (re_string_context_at): Likewise.
58174         (bitset_not): Use __attribute__ and mark function as possibly
58175         unused.
58176         (bitset_merge): Likewise.
58177         (bitset_mask): Likewise.
58178         (re_string_char_size_at): Likewise.
58179         (re_string_wchar_at): Likewise.
58180         (re_string_elem_size_at): Likewise.
58182 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
58184         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
58185         code.
58186         (cc32): Likewise.
58188         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
58189         (__acr): Likewise.
58190         (__cpy): Likewise.
58191         (norm): Likewise.
58192         (denorm): Likewise.
58193         (__dbl_mp): Likewise.
58194         (add_magnitudes): Likewise.
58195         (sub_magnitudes): Likewise.
58196         (__mul): Likewise.
58197         (__inv): Likewise.
58199         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
58200         style.
58202         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
58203         style.
58205         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
58206         code.
58208         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
58209         up changes with default code.
58210         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
58211         Likewise.
58213 2013-02-24  Allan McRae  <allan@archlinux.org>
58215         * manual/socket.texi (The Internet Namespace): Order menu items
58216         to match that in the file.
58218         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
58219         node listing of the info page menu.
58221 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
58223         [BZ #13550]
58224         * sysdeps/i386/bp-asm.h: Remove file.
58225         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
58226         (PARMS): Do not use macros from bp-asm.h.
58227         (S1): Likewise.
58228         (S2): Likewise.
58229         (SIZE): Likewise.
58230         (__mpn_add_n): Do not use BP_SYM
58231         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
58232         "bp-asm.h".
58233         (PARMS): Do not use macros from bp-asm.h.
58234         (S1): Likewise.
58235         (SIZE): Likewise.
58236         (__mpn_addmul_1): Do not use BP_SYM
58237         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
58238         "bp-asm.h".
58239         (PARMS): Do not use macros from bp-asm.h.
58240         (SIGMSK): Likewise.
58241         (_setjmp): Likewise.  Do not use BP_SYM.
58242         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
58243         "bp-asm.h".
58244         (PARMS): Do not use macros from bp-asm.h.
58245         (SIGMSK): Likewise.
58246         (setjmp): Likewise.  Do not use BP_SYM.
58247         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
58248         "bp-asm.h".
58249         (PARMS): Do not use macros from bp-asm.h.
58250         (__frexp): Do not use BP_SYM.
58251         (frexp): Likewise.
58252         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
58253         "bp-asm.h".
58254         (PARMS): Do not use macros from bp-asm.h.
58255         (__frexpf): Do not use BP_SYM.
58256         (frexpf): Likewise.
58257         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
58258         "bp-asm.h".
58259         (PARMS): Do not use macros from bp-asm.h.
58260         (__frexpl): Do not use BP_SYM.
58261         (frexpl): Likewise.
58262         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
58263         "bp-asm.h".
58264         (PARMS): Do not use macros from bp-asm.h.
58265         (__remquo): Do not use BP_SYM.
58266         (remquo): Likewise.
58267         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
58268         "bp-asm.h".
58269         (PARMS): Do not use macros from bp-asm.h.
58270         (__remquof): Do not use BP_SYM.
58271         (remquof): Likewise.
58272         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
58273         "bp-asm.h".
58274         (PARMS): Do not use macros from bp-asm.h.
58275         (__remquol): Do not use BP_SYM.
58276         (remquol): Likewise.
58277         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
58278         "bp-asm.h".
58279         (PARMS): Do not use macros from bp-asm.h.
58280         (DEST): Likewise.
58281         (SRC): Likewise.
58282         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
58283         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
58284         "bp-asm.h".
58285         (PARMS): Do not use macros from bp-asm.h.
58286         (strlen): Do not use BP_SYM.
58287         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
58288         "bp-asm.h".
58289         (PARMS): Do not use macros from bp-asm.h.
58290         (S1): Likewise.
58291         (S2): Likewise.
58292         (SIZE): Likewise.
58293         (__mpn_add_n): Do not use BP_SYM.
58294         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
58295         "bp-asm.h".
58296         (PARMS): Do not use macros from bp-asm.h.
58297         (S1): Likewise.
58298         (SIZE): Likewise.
58299         (__mpn_addmul_1): Do not use BP_SYM.
58300         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
58301         weak_alias.
58302         (bzero): Likewise.
58303         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
58304         "bp-asm.h".
58305         (PARMS): Do not use macros from bp-asm.h.
58306         (S): Likewise.
58307         (SIZE): Likewise.
58308         (__mpn_lshift): Do not use BP_SYM.
58309         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
58310         "bp-asm.h".
58311         (PARMS): Do not use macros from bp-asm.h.
58312         (DEST): Likewise.
58313         (SRC): Likewise.
58314         (LEN): Likewise.
58315         (memcpy): Likewise.  Do not use BP_SYM.
58316         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
58317         libc_hidden_def and weak_alias.
58318         (mempcpy): Do not use BP_SYM in weak_alias.
58319         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
58320         "bp-asm.h".
58321         (PARMS): Do not use macros from bp-asm.h.
58322         (DEST): Likewise.
58323         (LEN): Likewise.
58324         [!BZERO_P] (CHR): Likewise.
58325         (memset): Likewise.  Do not use BP_SYM.
58326         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
58327         "bp-asm.h".
58328         (PARMS): Do not use macros from bp-asm.h.
58329         (S1): Likewise.
58330         (SIZE): Likewise.
58331         (__mpn_mul_1): Do not use BP_SYM.
58332         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
58333         "bp-asm.h".
58334         (PARMS): Do not use macros from bp-asm.h.
58335         (S): Likewise.
58336         (SIZE): Likewise.
58337         (__mpn_rshift): Do not use BP_SYM.
58338         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
58339         "bp-asm.h".
58340         (PARMS): Do not use macros from bp-asm.h.
58341         (STR): Likewise.
58342         (CHR): Likewise.
58343         (strchr): Likewise.  Do not use BP_SYM.
58344         (index): Do not use BP_SYM in weak_alias.
58345         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
58346         "bp-asm.h".
58347         (PARMS): Do not use macros from bp-asm.h.
58348         (DEST): Likewise.
58349         (SRC): Likewise.
58350         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
58351         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
58352         "bp-asm.h".
58353         (PARMS): Do not use macros from bp-asm.h.
58354         (strlen): Do not use BP_SYM.
58355         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
58356         "bp-asm.h".
58357         (PARMS): Do not use macros from bp-asm.h.
58358         (S1): Likewise.
58359         (S2): Likewise.
58360         (SIZE): Likewise.
58361         (__mpn_sub_n): Do not use BP_SYM.
58362         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
58363         "bp-asm.h".
58364         (PARMS): Do not use macros from bp-asm.h.
58365         (S1): Likewise.
58366         (SIZE): Likewise.
58367         (__mpn_submul_1): Do not use BP_SYM.
58368         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
58369         "bp-asm.h".
58370         (PARMS): Do not use macros from bp-asm.h.
58371         (S1): Likewise.
58372         (S2): Likewise.
58373         (SIZE): Likewise.
58374         (__mpn_add_n): Do not use BP_SYM.
58375         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
58376         weak_alias.
58377         (bzero): Likewise.
58378         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
58379         "bp-asm.h".
58380         (PARMS): Do not use macros from bp-asm.h.
58381         (BLK2): Likewise.
58382         (LEN): Likewise.
58383         (memcmp): Do not use BP_SYM.
58384         (bcmp): Do not use BP_SYM in weak_alias.
58385         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
58386         "bp-asm.h".
58387         (PARMS): Do not use macros from bp-asm.h.
58388         (DEST): Likewise.
58389         (SRC): Likewise.
58390         (LEN): Likewise.
58391         (memcpy): Likewise.  Do not use BP_SYM.
58392         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
58393         "bp-asm.h".
58394         (PARMS): Do not use macros from bp-asm.h.
58395         (DEST): Likewise.
58396         (SRC): Likewise.
58397         (LEN): Likewise.
58398         (memmove): Likewise.  Do not use BP_SYM.
58399         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
58400         "bp-asm.h".
58401         (PARMS): Do not use macros from bp-asm.h.
58402         (DEST): Likewise.
58403         (SRC): Likewise.
58404         (LEN): Likewise.
58405         (__mempcpy): Likewise.  Do not use BP_SYM.
58406         (mempcpy): Do not use BP_SYM in weak_alias.
58407         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
58408         "bp-asm.h".
58409         (PARMS): Do not use macros from bp-asm.h.
58410         (DEST): Likewise.
58411         (LEN): Likewise.
58412         [!BZERO_P] (CHR): Likewise.
58413         (memset): Likewise.  Do not use BP_SYM.
58414         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
58415         "bp-asm.h".
58416         (PARMS): Do not use macros from bp-asm.h.
58417         (STR2): Likewise.
58418         (strcmp): Do not use BP_SYM.
58419         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
58420         "bp-asm.h".
58421         (PARMS): Do not use macros from bp-asm.h.
58422         (STR): Likewise.
58423         (DELIM): Likewise.
58424         [USE_AS_STRTOK_R] (SAVE): Likewise.
58425         (FUNCTION): Likewise.  Do not use BP_SYM.
58426         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
58427         aliases.
58428         (strtok_r): Likewise.
58429         (__GI___strtok_r): Likewise.
58430         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
58431         (PARMS): Do not use macros from bp-asm.h.
58432         (S): Likewise.
58433         (SIZE): Likewise.
58434         (__mpn_lshift): Do not use BP_SYM.
58435         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
58436         (PARMS): Do not use macros from bp-asm.h.
58437         (STR): Likewise.
58438         (CHR): Likewise.
58439         (__memchr): Do not use BP_SYM.
58440         (memchr): Do not use BP_SYM in weak_alias.
58441         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
58442         (PARMS): Do not use macros from bp-asm.h.
58443         (BLK2): Likewise.
58444         (LEN): Likewise.
58445         (memcmp): Do not use BP_SYM.
58446         (bcmp): Do not use BP_SYM in weak_alias.
58447         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
58448         (PARMS): Do not use macros from bp-asm.h.
58449         (S1): Likewise.
58450         (SIZE): Likewise.
58451         (__mpn_mul_1): Do not use BP_SYM.
58452         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
58453         "bp-asm.h".
58454         (PARMS): Do not use macros from bp-asm.h.
58455         (STR): Likewise.
58456         (CHR): Likewise.
58457         (__rawmemchr): Do not use BP_SYM.
58458         (rawmemchr): Do not use BP_SYM in weak_alias.
58459         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
58460         (PARMS): Do not use macros from bp-asm.h.
58461         (S): Likewise.
58462         (SIZE): Likewise.
58463         (__mpn_rshift): Do not use BP_SYM.
58464         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
58465         (PARMS): Do not use macros from bp-asm.h.
58466         (SIGMSK): Likewise.
58467         (__sigsetjmp): Likewise.  Do not use BP_SYM.
58468         * sysdeps/i386/start.S: Do not include "bp-sym.h".
58469         (_start): Do not use BP_SYM.
58470         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
58471         (PARMS): Do not use macros from bp-asm.h.
58472         (DEST): Likewise.
58473         (SRC): Likewise.
58474         (__stpcpy): Likewise.  Do not use BP_SYM.
58475         (stpcpy): Do not use BP_SYM in weak_alias.
58476         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
58477         "bp-asm.h".
58478         (PARMS): Do not use macros from bp-asm.h.
58479         (DEST): Likewise.
58480         (SRC): Likewise.
58481         (LEN): Likewise.
58482         (__stpncpy): Likewise.  Do not use BP_SYM.
58483         (stpncpy): Do not use BP_SYM in weak_alias.
58484         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
58485         (PARMS): Do not use macros from bp-asm.h.
58486         (STR): Likewise.
58487         (CHR): Likewise.
58488         (strchr): Likewise.  Do not use BP_SYM.
58489         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
58490         "bp-asm.h".
58491         (PARMS): Do not use macros from bp-asm.h.
58492         (STR): Likewise.
58493         (CHR): Likewise.
58494         (__strchrnul): Likewise.  Do not use BP_SYM.
58495         (strchrnul): Do not use BP_SYM in weak_alias.
58496         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
58497         "bp-asm.h".
58498         (PARMS): Do not use macros from bp-asm.h.
58499         (STOP): Likewise.
58500         (strcspn): Do not use BP_SYM.
58501         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
58502         "bp-asm.h".
58503         (PARMS): Do not use macros from bp-asm.h.
58504         (STR): Likewise.
58505         (STOP): Likewise.
58506         (strpbrk): Likewise.  Do not use BP_SYM.
58507         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
58508         "bp-asm.h".
58509         (PARMS): Do not use macros from bp-asm.h.
58510         (STR): Likewise.
58511         (CHR): Likewise.
58512         (strrchr): Likewise.  Do not use BP_SYM.
58513         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
58514         (PARMS): Do not use macros from bp-asm.h.
58515         (SKIP): Likewise.
58516         (strspn): Do not use BP_SYM.
58517         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
58518         (PARMS): Do not use macros from bp-asm.h.
58519         (STR): Likewise.
58520         (DELIM): Likewise.
58521         (SAVE): Likewise.
58522         (FUNCTION): Likewise.  Do not use BP_SYM.
58523         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
58524         aliases.
58525         (strtok_r): Likewise.
58526         (__GI___strtok_r): Likewise.
58527         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
58528         (PARMS): Do not use macros from bp-asm.h.
58529         (S1): Likewise.
58530         (S2): Likewise.
58531         (SIZE): Likewise.
58532         (__mpn_sub_n): Do not use BP_SYM.
58533         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
58534         "bp-asm.h".
58535         (PARMS): Do not use macros from bp-asm.h.
58536         (S1): Likewise.
58537         (SIZE): Likewise.
58538         (__mpn_submul_1): Do not use BP_SYM.
58539         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
58540         <bp-sym.h>.
58541         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
58542         and <bp-asm.h>.
58543         (PARMS): Do not use macros from bp-asm.h.
58544         (FLAGS): Likewise.
58545         (PTID): Likewise.
58546         (TLS): Likewise.
58547         (CTID): Likewise.
58548         (__clone): Do not use BP_SYM.
58549         (clone): Do not use BP_SYM in weak_alias.
58550         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
58551         and <bp-asm.h>.
58552         (PARMS): Do not use macros from bp-asm.h.
58553         (LEN): Likewise.
58554         (__mmap64): Do not use BP_SYM.
58555         (mmap64): Do not use BP_SYM in weak_alias.
58556         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
58557         <bp-sym.h> and <bp-asm.h>.
58558         (PARMS): Do not use macros from bp-asm.h.
58559         (__posix_fadvise64_l64): Do not use BP_SYM.
58560         * sysdeps/unix/sysv/linux/i386/semtimedop.S
58561         (PARMS): Do not use macros from bp-asm.h.
58562         (NSOPS): Likewise.
58563         (semtimedop): Do not use BP_SYM.
58564         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
58565         and <bp-asm.h>.
58567 2013-02-21  Allan McRae  <allan@archlinux.org>
58569         * manual/message.texi (Charset conversion in gettext):
58570         Move @end statement to beginning of line.
58572 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
58574         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
58575         static.
58576         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
58577         Likewise.
58579         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
58580         (denorm): Likewise.
58581         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
58582         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
58584 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58586         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
58587         tail-call to the resolved function if pltexit isn't needed.
58589 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
58591         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
58592         or Y being zero as being unlikely.
58593         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
58594         Likewise.
58596 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
58598         * manual/nss.texi (System Databases and Name Service Switch):
58599         Remove frobnicate @pxref.
58601 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
58603         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
58604         __attribute__ ((unused)) to __attribute__ ((__unused__)).
58606 2013-02-20  Petr Machata  <pmachata@redhat.com>
58608         * elf/elf.h (R_ARM_TARGET1): New macro.
58609         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
58610         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
58611         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
58612         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
58613         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
58614         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
58615         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
58616         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
58617         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
58618         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
58619         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
58620         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
58621         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
58622         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
58623         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
58624         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
58625         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
58626         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
58627         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
58628         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
58629         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
58630         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
58631         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
58632         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
58633         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
58634         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
58635         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
58636         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
58637         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
58638         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
58639         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
58640         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
58641         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
58642         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
58643         (R_ARM_THM_GOT_BREL12): Likewise.
58644         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
58645         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
58646         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
58647         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
58648         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
58649         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
58650         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
58651         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
58652         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
58654 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
58656         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
58657         __attribute_used__ to __attribute__ ((unused)).
58659 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
58661         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
58662         powerpc mpa.c.
58663         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
58664         comment formatting.
58665         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
58667 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
58669         [BZ #13550]
58670         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
58671         Remove macro.
58672         (ENTER): Remove both macro definitions.
58673         (LEAVE): Likewise.
58674         (CHECK_BOUNDS_LOW): Likewise.
58675         (CHECK_BOUNDS_HIGH): Likewise.
58676         (CHECK_BOUNDS_BOTH): Likewise.
58677         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
58678         (RETURN_BOUNDED_POINTER): Likewise.
58679         (RETURN_NULL_BOUNDED_POINTER): Likewise.
58680         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
58681         (POP_ERRNO_LOCATION_RETURN): Likewise.
58682         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
58683         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
58684         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
58685         macros.
58686         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58687         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
58688         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
58689         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
58690         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
58691         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
58692         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
58693         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
58694         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
58695         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
58696         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
58697         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
58698         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
58699         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
58700         removed macros.
58701         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58702         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
58703         macros.
58704         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
58705         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
58706         * sysdeps/i386/i586/memset.S (memset): Likewise.
58707         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
58708         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58709         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
58710         macros.
58711         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
58712         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
58713         Change uses of L(2) to L(out).
58714         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
58715         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
58716         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
58717         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
58718         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
58719         removed macros.
58720         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58721         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
58722         macros.
58723         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
58724         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
58725         (RETURN): Do not use macro LEAVE.
58726         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
58727         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
58728         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
58729         * sysdeps/i386/i686/memset.S (memset): Likewise.
58730         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
58731         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
58732         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
58733         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
58734         Likewise.
58735         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
58736         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
58737         L(1_2) and L(1_3) into L(1).
58738         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
58739         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
58740         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
58741         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
58742         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
58743         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
58744         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
58745         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58746         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
58747         macros.
58748         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
58749         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
58750         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
58751         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
58752         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
58753         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58754         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
58755         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
58756         * sysdeps/i386/strcspn.S (strcspn): Likewise.
58757         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
58758         * sysdeps/i386/strrchr.S (strrchr): Likewise.
58759         * sysdeps/i386/strspn.S (strspn): Likewise.
58760         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
58761         conditional code.
58762         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
58763         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
58764         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
58765         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
58766         L(1_3) into L(1_1).
58767         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
58768         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
58769         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
58770         macros.
58771         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58773 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
58775         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
58776         macro.
58778 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
58780         * math/atest-exp.c (exp_mpn): Remove ROUND.
58781         * math/atest-exp2.c (exp_mpn): Likewise.
58782         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
58784         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
58785         * stdlib/tst-tls-atexit-lib.c: Likewise.
58786         * stdlib/tst-tls-atexit.c: Likewise.
58788 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
58790         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
58791         and __attribute_alloc_size__.
58793 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
58795         * include/programs/xmalloc.h: Change __attribute_alloc_size to
58796         __attribute_alloc_size__.
58797         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
58798         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
58800 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
58802         * include/programs/xmalloc.h: New file.
58803         * catgets/gencat.c: Include it.
58804         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
58805         * elf/pldd.c: Likewise.
58806         * iconv/iconv_charmap.c: Likewise.
58807         * iconv/iconvconfig.c: Likewise.
58808         * iconv/strtab.c: Likewise.
58809         * locale/programs/locale.c: Likewise.
58810         * locale/programs/localedef.h: Likewise.
58811         * locale/programs/simple-hash.c: Likewise.
58812         * nscd/nscd.h: Likewise.
58813         * nss/makedb.c: Likewise.
58814         * sysdeps/generic/ldconfig.h: Likewise.
58816 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
58818         * Versions.def: Add GLIBC_2.18.
58819         * include/link.h (struct link_map): New member l_tls_dtor_count.
58820         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
58821         (__call_tls_dtors): Likewise.
58822         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
58823         __cxa_thread_atexit_impl.
58824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58825         Likewise.
58826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58827         Likewise.
58828         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
58829         Likewise.
58830         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
58831         Likewise.
58832         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
58833         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
58834         Likewise.
58835         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
58836         Likewise.
58837         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
58838         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
58839         Likewise.
58840         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
58841         (tests): Add test case tst-tls-atexit.
58842         (modules-names): Add shared library for tst-tls-atexit.
58843         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
58844         (GLIBC_PRIVATE): Add __call_tls_dtors.
58845         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
58846         for libstdc++.
58847         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
58848         * stdlib/tst-tls-atexit.c: New test case.
58849         * stdlib/tst-tls-atexit-lib.c: New test case.
58851         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
58853         * elf/Versions (ld): Add _dl_find_dso_for_object.
58854         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
58855         * elf/dl-open.c (_dl_find_dso_for_object): New function.
58856         (dl_open_worker): Use _dl_find_dso_for_object.
58857         * elf/dl-sym.c (do_sym): Likewise.
58858         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
58860 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58862         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
58863         Syntactic changes only.
58864         (_dl_runtime_profile): Do a tail-call to the resolved function.
58866 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
58868         [BZ #13550]
58869         * sysdeps/x86_64/bp-asm.h: Remove file.
58870         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
58871         <bp-sym.h> and <bp-asm.h>.
58872         (__clone): Do not use BP_SYM.
58873         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
58874         <bp-sym.h> and <bp-asm.h>.
58875         * sysdeps/unix/x86_64/sysdep.S: Likewise.
58876         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
58877         "bp-asm.h".
58878         (_setjmp): Do not use BP_SYM.
58879         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
58880         "bp-asm.h".
58881         (setjmp): Do not use BP_SYM.
58882         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
58883         libc_hidden_def.
58884         (mempcpy): Do not use BP_SYM in weak_alias.
58885         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
58886         "bp-asm.h".
58887         (strchr): Do not use BP_SYM.
58888         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
58889         "bp-asm.h".
58890         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
58891         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
58892         (_start): Do not use BP_SYM.
58893         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
58894         "bp-asm.h".
58895         (strcat): Do not use BP_SYM.
58896         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
58897         "bp-asm.h".
58898         (STRCMP): Do not use BP_SYM.
58899         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
58900         "bp-asm.h".
58901         (STRCPY): Do not use BP_SYM.
58902         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
58903         "bp-asm.h".
58904         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
58905         "bp-asm.h".
58906         (FUNCTION): Do not use BP_SYM.
58907         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
58908         weak_alias.
58909         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
58911 2013-02-17  Andreas Jaeger  <aj@suse.de>
58913         * time/Versions: Sort entries.
58914         * string/Versions: Likewise.
58915         * resolv/Versions: Likewise.
58916         * posix/Versions: Likewise.
58917         * iconv/Versions: Likewise.
58918         * elf/Versions: Likewise.
58919         * wcsmbs/Versions: Likewise.
58921 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58923         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
58924         loop termination condition.
58926         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
58927         variable to calculate EZ.
58928         (__sqr): Likewise.
58930         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
58931         the lower precision input.
58933 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
58935         [BZ #13550]
58936         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
58937         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
58938         (run-via-rtld-prefix): Do not handle %-bp tests.
58939         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
58940         (all-object-suffixes): Remove .ob.
58941         (bppfx): Remove variable.
58942         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
58943         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
58944         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
58945         [$(build-bounded) = yes] (libtype.ob): Likewise.
58946         * Makerules (elide-routines.ob): Remove variable.
58947         (do-tests-clean): Do not handle *-bp.out.
58948         (common-mostlyclean): Do not handle *-bp and *-bp.out.
58949         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
58950         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
58951         (tests): Do not include $(tests-bp.out).
58952         (xtests): Do not include $(xtests-bp.out).
58953         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
58954         [$(build-bounded) = yes] ($(addprefix
58955         $(objpfx),$(binaries-bounded))): Remove rule.
58956         ($(objpfx)%-bp.out): Remove rule.
58957         * config.make.in (build-bounded): Remove variable.
58958         * crypt/Makefile [$(build-bounded) = yes]
58959         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
58960         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
58961         append to variable.
58962         [$(build-bounded) = yes] (install-lib): Likewise.
58963         [$(build-bounded) = yes] (generated): Likewise.
58964         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
58965         Remove rule.
58966         * intl/Makefile [$(build-bounded) = yes]
58967         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
58968         * math/Makefile [$(build-bounded) = yes]
58969         ($(tests:%=$(objpfx)%-bp): Likewise.
58970         * misc/Makefile [$(build-bounded) = yes]
58971         ($(objpfx)tst-tsearch-bp): Likewise.
58972         * nptl/Makeconfig (bounded-thread-library): Remove variable.
58973         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
58974         Remove dependency.
58975         * string/Makefile (o-objects.ob): Remove variable.
58976         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
58977         (CFLAGS-.ob): Remove variable.
58978         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
58979         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
58980         both definitions of variable.
58981         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
58982         (ASFLAGS-.ob): Remove variable.
58984 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
58986         [BZ #13550]
58987         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
58988         Remove __BOUNDED_POINTERS__ from condition.
58989         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
58990         * string/bits/string2.h [!__NO_STRING_INLINES &&
58991         !__BOUNDED_POINTERS__]: Likewise.
58992         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
58993         Likewise.
58994         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
58995         Remove conditional code.
58996         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
58997         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
58998         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
58999         condition.
59001         [BZ #13550]
59002         * csu/libc-start.c: Do not include <bp-sym.h>.
59003         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
59004         * elf/dl-open.c: Do not include <bp-sym.h>.
59005         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
59006         * math/fegetenv.c: Do not include <bp-sym.h>.
59007         (fegetenv): Do not use BP_SYM in versioned symbols.
59008         * nptl/sysdeps/pthread/bits/libc-lockP.h
59009         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
59010         <bp-sym.h>.
59011         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59012         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
59013         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59014         (__pthread_mutex_destroy): Likewise.
59015         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59016         (__pthread_mutex_lock): Likewise.
59017         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59018         (__pthread_mutex_trylock): Likewise.
59019         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59020         (__pthread_mutex_unlock): Likewise.
59021         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59022         (__pthread_mutexattr_init): Likewise.
59023         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59024         (__pthread_mutexattr_destroy): Likewise.
59025         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59026         (__pthread_mutexattr_settype): Likewise.
59027         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59028         (__pthread_rwlock_init): Likewise.
59029         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59030         (__pthread_rwlock_destroy): Likewise.
59031         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59032         (__pthread_rwlock_rdlock): Likewise.
59033         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59034         (__pthread_rwlock_tryrdlock): Likewise.
59035         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59036         (__pthread_rwlock_wrlock): Likewise.
59037         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59038         (__pthread_rwlock_trywrlock): Likewise.
59039         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59040         (__pthread_rwlock_unlock): Likewise.
59041         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59042         (__pthread_key_create): Likewise.
59043         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59044         (__pthread_setspecific): Likewise.
59045         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59046         (__pthread_getspecific): Likewise.
59047         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
59048         Likewise.
59049         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59050         (_pthread_cleanup_push_defer): Likewise.
59051         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59052         (_pthread_cleanup_pop_restore): Likewise.
59053         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59054         (pthread_setcancelstate): Likewise.
59055         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
59056         <bp-sym.h>.
59057         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
59058         (memchr): Do not use BP_SYM in weak_alias.
59059         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
59060         (fegetenv): Do not use BP_SYM in versioned symbols.
59061         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
59062         (fesetenv): Do not use BP_SYM in versioned symbols.
59063         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
59064         (feupdateenv): Do not use BP_SYM in versioned symbols.
59065         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
59066         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
59067         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
59068         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
59069         (open64): Do not use BP_SYM in weak_alias.
59070         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
59071         (fegetenv): Do not use BP_SYM in versioned symbols.
59072         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
59073         (fesetenv): Do not use BP_SYM in versioned symbols.
59074         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
59075         (feupdateenv): Do not use BP_SYM in versioned symbols.
59076         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
59077         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
59078         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
59079         (feraiseexcept): Do not use BP_SYM in versioned symbols.
59080         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
59081         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
59082         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
59083         <bp-sym.h>.
59084         (__libc_start_main): Do not use BP_SYM.
59086 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
59088         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
59089         redundant return line.
59090         (norm): Likewise.
59091         (denorm): Likewise.
59092         (dbl_mp): Likewise.
59093         (sub_magnitudes): Likewise.
59094         (__add): Likewise.
59095         (__sub): Likewise.
59096         (__mul): Likewise.
59097         (__inv): Likewise.
59098         (__dvd): Likewise.
59099         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
59100         (norm): Likewise.
59101         (denorm): Likewise.
59102         (dbl_mp): Likewise.
59103         (sub_magnitudes): Likewise.
59104         (__add): Likewise.
59105         (__sub): Likewise.
59106         (__mul): Likewise.
59107         (__inv): Likewise.
59108         (__dvd): Likewise.
59110         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
59111         instead of __mul.
59112         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
59113         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
59114         (cc32): Likewise.
59116         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
59117         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
59118         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
59119         of __mul for squares.
59120         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
59121         function
59122         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
59123         Likewise.
59124         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
59125         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
59127 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
59129         [BZ #13550]
59130         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
59131         code.
59132         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
59133         prototype or function definition.  Rename ubp_* variables and
59134         parameters.  Remove argv definitions conditional on
59135         [__BOUNDED_POINTERS__].
59136         * debug/backtrace.c (__backtrace): Do not use __unbounded.
59137         * elf/dl-runtime.c (_dl_fixup): Likewise.
59138         * include/set-hooks.h (RUN_HOOK): Likewise.
59139         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
59140         definition.
59141         * string/strcpy.c (strcpy): Do not use __unbounded.
59142         * sysdeps/generic/frame.h (struct layout): Likewise.
59143         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
59144         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
59145         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
59146         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
59147         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
59148         (__backtrace): Likewise.
59149         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
59150         use __ptrvalue.
59151         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
59152         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
59153         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
59154         Likewise.
59155         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
59156         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
59157         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
59158         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
59159         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
59160         Do not use __unbounded.
59161         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
59162         Rename __unboundedrlimits parameter to rlimits in prototype.
59163         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
59164         Do not use __unbounded.
59165         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
59166         not use __ptrvalue.
59167         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
59168         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
59169         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
59170         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
59171         __ptrvalue or __unbounded.
59172         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
59173         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
59174         use __unbounded.
59175         (__new_msgctl): Do not use __ptrvalue.
59176         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
59177         __unbounded.
59178         (__libc_msgrcv): Do not use __ptrvalue.
59179         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
59180         startup_info): Do not use __unbounded.
59181         (__libc_start_main): Likewise.  Rename ubp_* variables and
59182         parameters.  Remove argv definitions conditional on
59183         [__BOUNDED_POINTERS__].
59184         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
59185         __ptrvalue.
59186         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
59187         use __unbounded.
59188         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
59189         or __ptrvalue.
59190         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
59191         use __unbounded.
59192         (__new_shmctl): Do not use __ptrvalue.
59193         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
59194         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
59195         Likewise.
59196         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
59197         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
59198         (__libc_sigaction): Likewise.
59199         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
59200         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
59201         Likewise.
59202         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
59204 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
59206         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
59208         * string/mempcpy.c: Implement by calling memcpy.
59210 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
59212         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
59214         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
59215         evaluation.
59217         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
59218         values in the mantissa.
59220         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
59221         minimize writes to Z.
59222         (sub_magnitudes): Simplify code a bit.
59224 2013-02-12  Roland McGrath  <roland@hack.frob.com>
59226         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
59227         from the message.  The linker prefixes all warnings with that already.
59229 2013-02-12  Andreas Schwab  <schwab@suse.de>
59231         [BZ #15078]
59232         * posix/regexec.c (extend_buffers): Add parameter min_len.
59233         (check_matching): Pass minimum needed length.
59234         (clean_state_log_if_needed): Likewise.
59235         (get_subexp): Likewise.
59236         * posix/Makefile (tests): Add bug-regex34.
59237         (bug-regex34-ENV): Define.
59238         * posix/bug-regex34.c: New file.
59240         [BZ #11561]
59241         * posix/regcomp.c (parse_bracket_exp): When looking up collating
59242         elements compare against the byte sequence of it, not its name.
59243         * posix/Makefile (tests): Add bug-regex35.
59244         (bug-regex35-ENV): Define.
59245         * posix/bug-regex35.c: New file.
59247 2013-02-11  Tom de Vries  <tom@codesourcery.com>
59249         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
59250         comment.
59251         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
59252         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
59253         (CHECK_EOL): Add undef.
59255 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
59257         * bits/stdlib-bsearch.h: New file.
59258         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
59259         * stdlib/stdlib.h: Likewise.
59261 2013-02-11  Roland McGrath  <roland@hack.frob.com>
59263         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
59264         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
59265         declaration.
59266         * manual/search.texi (Array Search Function): Add missing const in
59267         lfind prototype.
59268         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
59269         declaration to use rlim_t.
59270         (Basic Scheduling Functions): Remove erroneous const from
59271         sched_getparam prototype.  Remove erroneous * from
59272         sched_get_priority_max and sched_get_priority_min prototypes.
59273         (Resource Usage): Fix summary @comment on vtimes to refer to
59274         sys/vtimes.h rather than vtimes.h.
59275         Add missing *s in vtimes prototype.
59276         (Limits on Resources): Fix ulimit prototype to return long int.
59277         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
59278         prototypes to use long int rather than double.
59279         (BSD Random): Fix initstate and setstate to use char *, not void *.
59280         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
59281         prototype to make second argument 'struct aiocb64 *const[]'.
59282         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
59283         (Status of AIO Operations): Remove erroneous const in aio_return and
59284         aio_return64 prototypes.
59285         (Synchronizing I/O): Fix sync prototype to return void.
59286         * manual/startup.texi (Suboptions): Remove an erroneous const in
59287         getsubopt prototype.
59288         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
59289         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
59290         use size_t rather than int.
59291         (Scanning All Users): Likewise for getpwent_r.
59292         (Setting Groups): Add missing const to setgroups prototype.
59293         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
59294         * manual/socket.texi (Host Names): Fix gethostbyaddr and
59295         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
59296         'const void *' rather than 'const char *'.
59297         (Host Address Functions): Likewise for inet_ntop.
59298         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
59299         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
59300         ssize_t for return value.
59301         (Sending Data): Likewise for send, sendto, sendmsg.
59302         (Socket Option Functions): Add a missing const in setsockopt prototype.
59303         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
59304         use wchar_t for the argument.
59305         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
59306         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
59307         take no arguments.
59308         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
59309         double/float/long double for second argument.
59310         Fix return types of significand, significandf, significandl.
59311         * manual/filesys.texi (Setting Permissions): Use mode_t for second
59312         argument in fchmod prototype.
59313         (File Owner): Use uid_t and gid_t in fchown prototype.
59314         (File Times): Add const to utimes, futimes, and lutimes prototypes.
59315         (Making Special Files): Use mode_t and dev_t in mknod prototype.
59316         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
59317         use 'const struct dirent **' as argument types to CMP function pointer
59318         argument.
59319         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
59320         (File Times): Fix summary magic @comment for struct utimbuf and utime
59321         to refer to utime.h, not time.h.
59322         * manual/string.texi (Argz Functions): Add missing const in
59323         argz_extract and argz_next prototypes.
59324         (Finding Tokens in a String): Likewise for basename.
59325         (String/Array Comparison): Fix typo in wcscasecmp prototype.
59326         (Copying and Concatenation): Fix typo in wmemmove prototype.
59327         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
59328         (Signal Stack): Remove erroneous const in sigstack prototype.
59329         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
59330         prototype.
59331         (Simple Calendar Time): Likewise for stime.
59332         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
59333         prototype.
59334         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
59335         say sys/sysctl.h instead.
59336         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
59337         and vsyslog prototypes.
59339 2013-02-11  Tom de Vries  <tom@codesourcery.com>
59341         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
59342         Remove.
59344 2013-02-11  Roland McGrath  <roland@hack.frob.com>
59346         * misc/sys/mman.h: Fix typo in mremap comment.
59348 2013-02-08  Roland McGrath  <roland@hack.frob.com>
59350         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
59351         the '\0' terminator.
59353 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
59355         [BZ #13550]
59356         * debug/segfault.c: Don't include <bp-checks.h>.
59357         * sysdeps/generic/bp-checks.h: Remove file.
59358         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
59359         (__GETDENTS): Don't use CHECK_N.
59360         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
59361         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
59362         (__getgroups): Don't use CHECK_N.
59363         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
59364         (setgroups): Don't use CHECK_N.
59365         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
59366         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
59367         (__libc_msgrcv): Don't use CHECK_N.
59368         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
59369         (__libc_msgsnd): Don't use CHECK_N.
59370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
59371         <bp-checks.h>.
59372         (__libc_pread): Don't use CHECK_N.
59373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
59374         include <bp-checks.h>.
59375         (__libc_pread64): Don't use CHECK_N.
59376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
59377         include <bp-checks.h>.
59378         (__libc_pwrite): Don't use CHECK_N.
59379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
59380         include <bp-checks.h>.
59381         (__libc_pwrite64): Don't use CHECK_N.
59382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
59383         <bp-checks.h>.
59384         (__libc_pread): Don't use CHECK_N.
59385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
59386         include <bp-checks.h>.
59387         (__libc_pread64): Don't use CHECK_N.
59388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
59389         include <bp-checks.h>.
59390         (__libc_pwrite): Don't use CHECK_N.
59391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
59392         include <bp-checks.h>.
59393         (__libc_pwrite64): Don't use CHECK_N.
59394         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
59395         (do_pread): Don't use CHECK_N.
59396         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
59397         (do_pread64): Don't use CHECK_N.
59398         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
59399         (do_pwrite): Don't use CHECK_N.
59400         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
59401         (do_pwrite64): Don't use CHECK_N.
59402         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
59403         (__libc_readv): Don't use CHECK_N.
59404         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
59405         (semop): Don't use CHECK_N.
59406         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
59407         <bp-checks.h>.
59408         (semtimedop): Don't use CHECK_N.
59409         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
59410         (__libc_pread): Don't use CHECK_N.
59411         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
59412         <bp-checks.h>.
59413         (__libc_pread64): Don't use CHECK_N.
59414         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
59415         <bp-checks.h>.
59416         (__libc_pwrite): Don't use CHECK_N.
59417         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
59418         <bp-checks.h>.
59419         (__libc_pwrite64): Don't use CHECK_N.
59420         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
59421         <bp-checks.h>.
59422         (__libc_msgrcv): Don't use CHECK_N.
59423         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
59424         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
59425         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
59426         (__libc_writev): Don't use CHECK_N.
59428 2013-02-08  Roland McGrath  <roland@hack.frob.com>
59430         * string/strcpy.c: Removed unused variable.
59432         * Makeconfig (+sysdep-includes): Define with := rather than =.
59433         Use an existing include/ subdir of each sysdeps dir before it.
59435 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
59437         * nscd/connection.c (register_traced_file): Comment function.
59438         [HAVE_INOTIFY] (union __inev): Define.
59439         [HAVE_INOTIFY] (inotify_check_files): New function.
59440         [HAVE_INOTIFY] (clear_db_cache): Likewise.
59441         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
59442         clear_db_cache.
59443         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
59445 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
59447         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
59448         loaded if not already and that a failure is permanent.
59450 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
59452         [BZ #15006]
59453         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
59454         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
59456 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
59458         [BZ #13550]
59459         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
59460         (CHECK_1_NULL_OK): Likewise.
59461         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
59462         (__fxstat): Do not use CHECK_1.
59463         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
59464         <bp-checks.h>.
59465         (___fxstat64): Do not use CHECK_1.
59466         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
59467         <bp-checks.h>.
59468         (__fxstatat): Do not use CHECK_1.
59469         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
59470         <bp-checks.h>.
59471         (__fxstatat64): Do not use CHECK_1.
59472         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
59473         <bp-checks.h>.
59474         (__fxstat): Do not use CHECK_1.
59475         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
59476         <bp-checks.h>.
59477         (__fxstatat): Do not use CHECK_1.
59478         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
59479         <bp-checks.h>.
59480         (__getresgid): Do not use CHECK_1.
59481         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
59482         <bp-checks.h>.
59483         (__getresuid): Do not use CHECK_1.
59484         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
59485         <bp-checks.h>.
59486         (__lxstat): Do not use CHECK_1.
59487         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
59488         <bp-checks.h>.
59489         (__old_msgctl): Do not use CHECK_1.
59490         (__new_msgctl): Likewise.
59491         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
59492         <bp-checks.h>.
59493         (__new_setrlimit): Do not use CHECK_1.
59494         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
59495         <bp-checks.h>.
59496         (__old_shmctl): Do not use CHECK_1.
59497         (__new_shmctl): Likewise.
59498         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
59499         <bp-checks.h>.
59500         (__xstat): Do not use CHECK_1.
59501         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
59502         (__lxstat): Do not use CHECK_1.
59503         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
59504         <bp-checks.h>.
59505         (___lxstat64): Do not use CHECK_1.
59506         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
59507         (__old_msgctl): Do not use CHECK_1.
59508         (__new_msgctl): Likewise.
59509         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
59510         <bp-checks.h>.
59511         (__gettimeofday): Do not use CHECK_1.
59512         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
59513         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
59514         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
59515         <bp-checks.h>.
59516         (__gettimeofday): Do not use CHECK_1.
59517         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
59518         (__old_shmctl): Do not use CHECK_1_NULL_OK.
59519         (__new_shmctl): Do not use CHECK_1.
59520         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
59521         <bp-checks.h>.
59522         (do_sigtimedwait): Do not use CHECK_1.
59523         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
59524         <bp-checks.h>.
59525         (do_sigwaitinfo): Do not use CHECK_1.
59526         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
59527         <bp-checks.h>.
59528         (msgctl): Do not use CHECK_1.
59529         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
59530         <bp-checks.h>.
59531         (shmctl): Do not use CHECK_1.
59532         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
59533         (ustat): Do not use CHECK_1.
59534         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
59535         <bp-checks.h>.
59536         (__fxstat): Do not use CHECK_1.
59537         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
59538         <bp-checks.h>.
59539         (__fxstatat): Do not use CHECK_1.
59540         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
59541         <bp-checks.h>.
59542         (__lxstat): Do not use CHECK_1.
59543         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
59544         <bp-checks.h>.
59545         (__xstat): Do not use CHECK_1.
59546         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
59547         (__xstat): Do not use CHECK_1.
59548         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
59549         (___xstat64): Do not use CHECK_1.
59551         [BZ #13550]
59552         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
59553         definitions.
59554         (CHECK_BOUNDS_HIGH): Likewise.
59555         * string/strcpy.c: Do not include <bp-checks.h>.
59556         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
59558 2013-02-07  Roland McGrath  <roland@hack.frob.com>
59560         * nscd/nscd-client.h (__nscd_drop_map_ref):
59561         Add __attribute__ ((unused)).
59562         * nis/nss-nisplus.h (niserr2nss): Likewise.
59564         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
59565         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
59567         * csu/libc-tls.c (init_static_tls, init_slotinfo):
59568         Remove inline keyword.
59569         * include/rounding-mode.h (round_away): Likewise.
59570         * libio/wfileops.c (adjust_wide_data): Likewise.
59571         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
59572         (__m128i_strloadu_tolower): Likewise.
59573         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
59574         (__m128i_strloadu_tolower): Likewise.
59575         * time/mktime.c (ydhms_diff): Likewise.
59576         * locale/elem-hash.h (elem_hash): Likewise.
59577         * locale/setlocale.c (setdata): Likewise.
59578         * posix/regex_internal.h (re_string_char_size_at): Likewise.
59579         (re_string_wchar_at): Likewise.
59580         (bitset_not, bitset_merge, bitset_mask): Likewise.
59581         [!(__GNUC__ > 3)] (inline): Remove macro.
59582         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
59583         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
59584         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
59585         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
59586         * string/memcmp.c (memcmp_bytes): Likewise.
59587         * locale/programs/locarchive.c (compute_hashval): Likewise.
59588         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
59589         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
59590         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
59591         * nss/getent.c (print_rpc, print_protocols): Likewise.
59592         (print_passwd, print_group, print_aliases): Likewise.
59593         * nis/nss-nisplus.h (niserr2nss): Likewise.
59594         * nscd/connections.c (restart_p): Likewise.
59595         Change return type to bool.
59597 2013-02-05  Roland McGrath  <roland@hack.frob.com>
59599         * Makeconfig (all-Depend-files): Add existing
59600         $(sorted-subdirs:=/Depend) files.
59601         (all-subdirs): Remove nss.
59602         * sysdeps/unix/inet/Subdirs: Add it here instead.
59603         * hesiod/Depend: New file.
59605         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
59606         instead of calling alloca.
59608         * io/lseek.c (__lseek): Rename to __libc_lseek.
59609         Define __lseek as an alias.
59611         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
59613 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
59615         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
59616         else clause and remove check for non-standard endianness.
59618 2013-02-04  David S. Miller  <davem@davemloft.net>
59620         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59622 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
59624         [BZ #13550]
59625         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
59626         (__ubp_memchr): Remove prototype.
59627         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
59628         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
59629         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
59630         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
59631         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
59632         Remove alias.
59633         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
59634         (__ubp_memchr): Likewise.
59635         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
59636         (__ubp_memchr): Likewise.
59637         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
59638         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
59639         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
59640         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
59641         CHECK_STRING.
59642         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
59643         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
59644         (__getcwd): Do not use CHECK_STRING.
59645         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
59646         <bp-checks.h>.
59647         (__real_chown): Do not use CHECK_STRING.
59648         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
59649         <bp-checks.h>.
59650         (fchownat): Do not use CHECK_STRING.
59651         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
59652         CHECK_STRING.
59653         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
59654         <bp-checks.h>.
59655         (__lchown): Do not use CHECK_STRING.
59656         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
59657         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
59658         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
59659         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
59660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
59661         include <bp-checks.h>.
59662         (truncate64): Do not use CHECK_STRING.
59663         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
59664         <bp-checks.h>.
59665         (__real_chown): Do not use CHECK_STRING.
59666         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
59667         <bp-checks.h>.
59668         (__lchown): Do not use CHECK_STRING.
59669         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
59670         <bp-checks.h>.
59671         (__chown): Do not use CHECK_STRING.
59672         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
59673         <bp-checks.h>.
59674         (truncate64): Do not use CHECK_STRING.
59675         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
59676         Likewise.
59677         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
59678         (__xmknod): Do not use CHECK_STRING.
59679         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
59680         <bp-checks.h>.
59681         (__xmknodat): Do not use CHECK_STRING.
59682         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
59683         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
59685 2013-02-04  Andreas Schwab  <schwab@suse.de>
59687         [BZ #14142]
59688         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
59689         * include/netdb.h: Likewise for h_errno.
59690         * elf/tst-stackguard1.c: Include <tls.h>.
59692 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
59694         * elf/link.h (struct link_map): Extend the l_addr comment.
59695         * include/link.h (struct link_map): Likewise.
59697 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
59699         [BZ #13550]
59700         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
59701         (BOUNDED_1): Remove macro.
59702         * debug/backtrace.c: Don't include <bp-checks.h>.
59703         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
59704         (__backtrace): Likewise.
59705         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
59706         <bp-checks.h>.
59707         (__backtrace): Don't use BOUNDED_1.
59708         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
59709         <bp-checks.h>.
59710         (__backtrace): Don't use BOUNDED_1.
59711         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
59712         (__backtrace): Don't use BOUNDED_1.
59713         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
59714         (shmat): Don't use BOUNDED_N.
59716 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
59718         [BZ #13550]
59719         * sysdeps/generic/bp-start.h: Remove file.
59720         * csu/libc-start.c: Don't include <bp-start.h>.
59721         (LIBC_START_MAIN): Set up __environ directly instead of using
59722         INIT_ARGV_and_ENVIRON.
59723         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
59724         <bp-start.h>.
59726         [BZ #13550]
59727         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
59728         definitions.
59729         (CHECK_FCNTL): Likewise.
59730         (CHECK_N_PAGES): Likewise.
59732         [BZ #13550]
59733         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
59734         definitions.
59735         (CHECK_SIGSET_NULL_OK): Likewise.
59736         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
59737         <bp-checks.h>.
59738         (sigpending): Don't use CHECK_SIGSET.
59739         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
59740         <bp-checks.h>.
59741         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
59742         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
59743         <bp-checks.h>.
59744         (do_sigsuspend): Don't use CHECK_SIGSET.
59745         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
59746         use CHECK_SIGSET.
59747         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
59748         (do_sigwait): Don't use CHECK_SIGSET.
59749         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
59750         use CHECK_SIGSET.
59751         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
59752         include <bp-checks.h>.
59753         (sigpending): Don't use CHECK_SIGSET.
59754         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
59755         include <bp-checks.h>.
59756         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
59757         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
59758         <bp-checks.h>.
59759         (sigpending): Don't use CHECK_SIGSET.
59760         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
59761         <bp-checks.h>.
59762         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
59764         [BZ #13550]
59765         * sysdeps/generic/bp-semctl.h: Remove file.
59766         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
59767         <bp-checks.h> and <bp-semctl.h>.
59768         (__old_semctl): Don't use CHECK_SEMCTL.
59769         (__new_semctl): Likewise.
59770         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
59771         and <bp-semctl.h>.
59772         (__old_semctl): Don't use CHECK_SEMCTL.
59773         (__new_semctl): Likewise.
59774         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
59775         <bp-checks.h> and <bp-semctl.h>.
59776         (__old_semctl): Don't use CHECK_SEMCTL.
59777         (__new_semctl): Likewise.
59778         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
59779         <bp-checks.h> and <bp-semctl.h>.
59780         (semctl): Don't use CHECK_SEMCTL.
59782         [BZ #13550]
59783         * Makerules (elide-bp-thunks): Remove variable.
59784         (elide-routines.oS): Don't use $(elide-bp-thunks).
59785         (elide-routines.os): Likewise.
59786         (elide-routines.o): Likewise.
59787         (elide-routines.op): Likewise.
59788         (elide-routines.og): Likewise.
59789         (objects): Don't use $(bp-thunks).
59790         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
59791         include.
59792         (common-generated): Do not add s-proto-bp.d.
59793         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
59794         (int): Likewise.
59795         (typ): Likewise.
59796         Do not generate makefile rules for bounded-pointer thunks.
59797         * sysdeps/generic/bp-thunks.h: Remove file.
59798         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
59799         * sysdeps/unix/s-proto-bp.S: Likewise.
59801         [BZ #15062]
59802         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
59803         parts of result separately when argument is not close to line from
59804         -i to i and one part of argument is small.
59805         * math/k_casinhf.c (__kernel_casinhf): Likewise.
59806         * math/k_casinhl.c (__kernel_casinhl): Likewise.
59807         * math/libm-test.inc (cacos_test): Add more tests.
59808         (casin_test): Likewise.
59809         (casinh_test): Likewise.
59810         * sysdeps/i386/fpu/libm-test-ulps: Update.
59811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59813 2013-01-31  David S. Miller  <davem@davemloft.net>
59815         * po/de.po: Update from translation team.
59817 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
59819         * time/tzfile.c: Include stdint.h for SIZE_MAX.
59821 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
59823         * configure.in (_AC_PROG_CC_C89): New definition.
59824         * configure: Regenerate.
59826         * configure.in (AC_PROG_CPP): New definition.
59827         * configure: Regenerate.
59829 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
59831         * debug/tst-backtrace.h: New file.
59832         * debug/tst-backtrace2.c: Include tst-backtrace.h.
59833         (ret): Remove variable.
59834         (x): Likewise.
59835         (FAIL): Remove macro.
59836         (NO_INLINE): Likewise.
59837         (fn1): Use match function instead of strstr.
59838         * debug/tst-backtrace3.c: Include tst-backtrace.h.
59839         (ret): Remove variable.
59840         (x): Likewise.
59841         (FAIL): Remove macro.
59842         (NO_INLINE): Likewise.
59843         (fn): Use match function instead of strstr.
59844         * debug/tst-backtrace4.c: Include tst-backtrace.h.
59845         (ret): Remove variable.
59846         (x): Likewise.
59847         (FAIL): Remove macro.
59848         (NO_INLINE): Likewise.
59849         (handle_signal): Use match function instead of strstr.
59850         * debug/tst-backtrace5.c: Include tst-backtrace.h.
59851         (ret): Remove variable.
59852         (x): Likewise.
59853         (FAIL): Remove macro.
59854         (NO_INLINE): Likewise.
59855         (handle_signal): Use match function instead of strstr.
59857 2013-01-23  Roland McGrath  <roland@hack.frob.com>
59859         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
59861 2013-01-23  David S. Miller  <davem@davemloft.net>
59863         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
59864         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
59865         argument of CAS if possible.
59866         * sysdeps/sparc/sparc64/bits/atomic.h
59867         (__arch_compare_and_exchange_val_32_acq): Likewise.
59868         (__arch_compare_and_exchange_val_64_acq): Likewise.
59870 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
59872         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
59873         * sysdeps/posix/ulimit.c: ... this.
59874         Include <limits.h>.
59875         * sysdeps/unix/bsd/ulimit.c: Remove file.
59877 2013-01-23  Adam Conrad  <adconrad@0c3.net>
59879         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
59880         (LDFLAGS-tst-array5): Likewise.
59882 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
59884         [BZ #15036]
59885         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
59886         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
59887         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
59888         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
59890 2013-01-21  David S. Miller  <davem@davemloft.net>
59892         * sysdeps/sparc/backtrace.c: New file.
59893         * sysdeps/sparc/sparc32/backtrace.h: New file.
59894         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
59895         * sysdeps/sparc/sparc64/backtrace.h: New file.
59896         * sysdeps/sparc/sparc64/backtrace.c: Delete.
59897         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
59898         -funwind-tables.
59900 2013-01-21  Andreas Schwab  <schwab@suse.de>
59902         [BZ #15020]
59903         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
59904         closed its stdout.
59906 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
59908         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
59909         "mpa2.h".
59910         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59912 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
59913             Mark Mitchell  <mark@codesourcery.com>
59914             Tom de Vries  <tom@codesourcery.com>
59915             Paul Pluzhnikov  <ppluzhnikov@google.com>
59917         * debug/tst-backtrace2.c: New file.
59918         * debug/tst-backtrace3.c: Likewise.
59919         * debug/tst-backtrace4.c: Likewise.
59920         * debug/tst-backtrace5.c: Likewise.
59921         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
59922         (CFLAGS-tst-backtrace3.c): Likewise.
59923         (CFLAGS-tst-backtrace4.c): Likewise.
59924         (CFLAGS-tst-backtrace5.c): Likewise.
59925         (LDFLAGS-tst-backtrace2): Likewise.
59926         (LDFLAGS-tst-backtrace3): Likewise.
59927         (LDFLAGS-tst-backtrace4): Likewise.
59928         (LDFLAGS-tst-backtrace5): Likewise.
59929         (tests): Add new tests tst-backtrace2, tst-backtrace3,
59930         tst-backtrace4 and tst-backtrace5.
59932 2013-01-18  Anton Blanchard  <anton@samba.org>
59933             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59935         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
59936         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
59937         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
59938         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
59939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
59940         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
59941         "+r" and remove output regs list as redundant.  Add explicit inline
59942         asm to specify register of return val to work around compiler codegen
59943         bug.  Remove (int) cast on return value.  Add return type parameter to
59944         use in macro so that this macro does not truncate return value for
59945         64-bit values.
59946         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
59947         pass to INTERNAL_VSYSCALL_NCS.
59948         (INLINE_VSYSCALL): Add 'long int' as return type to
59949         INTERNAL_VSYSCALL_NCS macro invocation.
59950         (INTERNAL_VSYSCALL): Add 'long int' as return type to
59951         INTERNAL_VSYSCALL_NCS macro invocation.
59952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
59954 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
59956         [BZ #14496]
59957         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
59958         Fix application of SIMD FP exception mask.
59960         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
59961         mp_no from a power of two.
59962         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
59963         __mpexp_twomm1.  Use __pow_mp.
59965         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
59966         multiplication.
59968 2013-01-17  David S. Miller  <davem@davemloft.net>
59970         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59972 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
59974         [BZ #15023]
59975         * include/complex.h: Condition contents on [!_COMPLEX_H].
59976         (__kernel_casinhf): New prototype.
59977         (__kernel_casinh): Likewise.
59978         (__kernel_casinhl): Likewise.
59979         * math/Makefile (libm_calls): Add k_casinh.
59980         * math/k_casinh.c: New file.
59981         * math/k_casinhf.c: Likewise.
59982         * math/k_casinhl.c: Likewise.
59983         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
59984         finite nonzero arguments.
59985         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
59986         finite nonzero arguments.
59987         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
59988         finite nonzero arguments.
59989         * math/s_casinh.c: Do not include <float.h>.
59990         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
59991         * math/s_casinhf.c: Do not include <float.h>.
59992         (__casinhf): Move code for finite nonzero arguments to
59993         k_casinhf.c.
59994         * math/s_casinhl.c: Do not include <float.h>.
59995         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
59996         redefine.
59997         (__casinhl): Move code for finite nonzero arguments to
59998         k_casinhl.c.
59999         * math/libm-test.inc (cacos_test): Add more tests.
60000         * sysdeps/i386/fpu/libm-test-ulps: Update.
60001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60003 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
60005         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
60006         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
60007         [!HAVE_MREMAP]: Remove [defined linux] case.
60008         * malloc/arena.c: Do not include <malloc-sysdep.h>.
60010 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
60012         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
60014 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
60016         * elf/elf.h (R_386_SIZE32): New relocation.
60017         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
60018         R_386_SIZE32.
60019         (elf_machine_rela): Likewise.
60020         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
60021         R_X86_64_SIZE64 and R_X86_64_SIZE32.
60023 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
60025         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
60026         (FP_FAST_FMA): Do not define.
60027         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
60028         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
60029         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
60030         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
60031         !_SOFT_FLOAT]: Likewise.
60032         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
60033         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
60034         value.
60035         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
60036         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
60037         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
60038         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
60039         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
60040         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
60041         file.
60043 2013-01-16  Andreas Schwab  <schwab@suse.de>
60045         [BZ #14327]
60046         * include/stdlib.h (__mktemp): Add declaration.
60047         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
60048         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
60050 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
60052         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
60053         definitions.
60054         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
60055         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
60056         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
60057         definitions here.
60058         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
60059         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
60060         definitions.
60061         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
60062         and ONE.
60063         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
60064         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
60065         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
60066         definitions.
60067         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
60068         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
60069         definitions.
60070         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
60072         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
60074 2013-01-15  David S. Miller  <davem@davemloft.net>
60076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
60077         trunc{,f} to libm-sysdep_routes.
60078         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
60079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
60080         file.
60081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
60082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
60083         file.
60084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
60085         file.
60086         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
60087         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
60088         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
60089         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
60090         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
60091         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
60092         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
60093         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
60095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
60096         nearbyint{,f} to libm-sysdep_routes.
60097         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
60098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
60099         New file.
60100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
60101         file.
60102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
60103         New file.
60104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
60105         file.
60106         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
60107         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
60108         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
60109         file.
60110         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
60111         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
60112         file.
60113         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
60114         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
60115         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
60117         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
60118         libc_feholdexcept and libc_fesetenv.
60120 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
60122         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
60124 2013-01-14  David S. Miller  <davem@davemloft.net>
60126         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
60127         (SPARC_ASM_VIS2_IFUNC): Likewise.
60128         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
60129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
60130         use of 'siam' instruction.
60131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
60132         Likewise.
60133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
60134         Likewise.
60135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
60136         Likewise.
60137         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
60138         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
60139         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
60140         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
60141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
60142         file.
60143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
60144         file.
60145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
60146         file.
60147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
60148         file.
60149         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
60150         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
60151         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
60152         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
60153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
60154         new VIS2 routines.
60155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
60156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
60157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
60158         Likewise.
60159         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
60160         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
60161         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
60162         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
60163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
60164         routines to libm-sysdep_routines.
60165         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
60167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
60168         fdim/fdimf to libm-sysdep_routines.
60169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
60170         file.
60171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
60172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
60173         file.
60174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
60175         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
60176         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
60177         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
60178         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
60179         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
60180         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
60182 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
60184         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
60185         to optimize copies.
60187         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
60188         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
60189         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
60191         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
60192         local variable MPTWO.
60193         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
60194         Likewise.
60196 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
60198         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
60199         GLOB_NOESCAPE.
60201 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
60203         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
60205 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
60207         * manual/pattern.texi (glob_t): Document gl_flags.
60208         (glob64_t): Likewise.
60210 2013-01-11  David S. Miller  <davem@davemloft.net>
60212         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
60213         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
60214         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
60215         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
60216         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
60217         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
60218         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
60219         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
60220         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
60221         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
60222         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
60223         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
60224         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
60226         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
60227         sparc V9 rather than using V8 code.
60228         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
60229         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
60231         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
60232         Move to...
60233         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
60234         Here.
60236 2013-01-11  Roland McGrath  <roland@hack.frob.com>
60238         [BZ #14941]
60239         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
60240         not in the main loop.
60241         * configure: Regenerated.
60243 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
60245         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
60246         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
60247         to just #else.
60248         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
60249         [!__GLIBC_HAVE_LONG_LONG] case.
60250         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
60251         condition to just #else.
60252         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
60253         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
60254         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
60255         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
60256         unconditional.
60257         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
60258         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
60259         #elif condition to just #else.
60260         * sysdeps/unix/sysv/linux/sys/sysmacros.h
60261         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
60262         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
60263         #elif condition to just #else.
60265 2013-01-11  Steve Ellcey  <sellcey@mips.com>
60267         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
60268         (EF_MIPS_ARCH_64): Fix value.
60269         (EF_MIPS_ARCH_32R2): New.
60270         (EF_MIPS_ARCH_64R2): New.
60272 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
60274         * Makeconfig (+link-pie-before-libc): New.
60275         (+link-pie-after-libc): Likewise.
60276         (+link-pie-tests): Likewise.
60277         (+link-pie): Rewritten.
60278         (link-before-libc): Remove $(config-LDFLAGS).
60279         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
60280         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
60281         (config-LDFLAGS): Renamed to ...
60282         (rtld-LDFLAGS): This.
60283         (rtld-tests-LDFLAGS): New macro.
60284         (link-libc-rpath-link): Likewise.
60285         (link-libc-tests-rpath-link): Likewise.
60286         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
60287         (link-libc): Prepand $(link-libc-rpath-link).
60288         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
60289         (test-program-prefix): New macro.
60290         (test-via-rtld-prefix): Likewise.
60291         (test-program-cmd): Likewise.
60292         (host-test-program-cmd): Likewise.
60293         * Makefile ($(common-objpfx)testrun.sh): Replace
60294         $(run-program-prefix) with $(test-program-prefix).
60295         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
60296         $(rtld-LDFLAGS).
60297         ($(common-objpfx)shlib.lds): Likewise.
60298         (build-module-helper): Likewise.
60299         ($(common-objpfx)format.lds): Likewise.
60300         * Rules (binaries-pie-tests): New.
60301         (binaries-pie-notests): Likewise.
60302         (binaries-pie): Rewritten.
60303         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
60304         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
60305         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
60306         (make-test-out): Replace $(host-built-program-cmd) with
60307         $(host-test-program-cmd).
60308         * config.make.in (build-hardcoded-path-in-tests): New variable.
60309         * configure.in (--enable-hardcoded-path-in-tests): New configure
60310         option.
60311         (hardcoded_path_in_tests): New AC_SUBST.
60312         * configure: Regenerated.
60313         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
60314         $(built-program-cmd) with $(test-program-cmd).
60315         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
60316         (test_program_cmd): This.
60317         * elf/Makefile ($(objpfx)order.out): Run test with
60318         $(test-program-prefix).
60319         ($(objpfx)order2.out): Likewise.
60320         ($(objpfx)tst-initorder.out): Likewise.
60321         ($(objpfx)tst-initorder2.out): Likewise.
60322         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
60323         $(test-program-cmd).
60324         ($(objpfx)tst-array1-static.out): Likewise.
60325         ($(objpfx)tst-array2.out): Likewise.
60326         ($(objpfx)tst-array3.out): Likewise.
60327         ($(objpfx)tst-array4.out): Likewise.
60328         ($(objpfx)tst-array5.out): Likewise.
60329         ($(objpfx)tst-array5-static.out): Likewise.
60330         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
60331         $(test-program-cmd).
60332         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
60333         $(run-program-prefix) with $(test-program-prefix).
60334         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
60335         (test_program_prefix): This.
60336         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
60337         $(run-program-prefix) with $(test-program-prefix).
60338         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
60339         (test_program_prefix): This.
60340         * iconvdata/tst-tables.sh: Likewise.
60341         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
60342         $(run-program-prefix) with $(test-program-prefix).
60343         ($(objpfx)tst-translit.out): Likewise.
60344         ($(objpfx)tst-gettext2.out): Likewise.
60345         ($(objpfx)tst-gettext4.out): Likewise.
60346         ($(objpfx)tst-gettext6.out): Likewise.
60347         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
60348         (test_program_prefix): This.
60349         * intl/tst-gettext2.sh: Likewise.
60350         * intl/tst-gettext4.sh  Likewise.
60351         * intl/tst-gettext6.sh: Likewise.
60352         * intl/tst-translit.sh: Likewise.
60353         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
60354         with $(test-program-cmd).
60355         * libio/Makefile ($(objpfx)test-freopen.out): Replace
60356         $(run-program-prefix) with $(test-program-prefix).
60357         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
60358         (test_program_prefix): This.
60359         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
60360         $(run-program-prefix) with $(test-program-prefix).
60361         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
60362         (test_program_prefix): This.
60363         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
60364         * posix/Makefile ($(objpfx)globtest.out): Replace
60365         $(run-via-rtld-prefix) and $(test-wrapper) with
60366         $(test-program-prefix) and $(test-via-rtld-prefix).
60367         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
60368         $(test-program-prefix).
60369         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
60370         $(host-test-program-cmd).
60371         (tst-spawn-ARGS): Likewise.
60372         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
60373         $(test-program-prefix).
60374         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
60375         (test_via_rtld_prefix): This.
60376         (test_wrapper): Renamed to ...
60377         (test_program_prefix): This.
60378         (run_program_prefix): Replaced by test_program_prefix.
60379         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
60380         (test_program_prefix): This.
60381         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
60382         with $(host-test-program-cmd).
60383         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
60384         $(run-program-prefix) with $(test-program-prefix).
60385         ($(objpfx)tst-printf.out): Likewise.
60386         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
60387         $(test-program-cmd).
60388         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
60389         (test_program_prefix): This.
60390         * stdio-common/tst-unbputc.sh: Likewise.
60391         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
60392         $(run-program-prefix) with $(test-program-prefix).
60393         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
60394         (test_program_prefix): This.
60395         * string/Makefile ($(objpfx)tst-svc.out):  Replace
60396         $(built-program-cmd) with $(test-program-cmd).
60398 2013-01-11  Andreas Jaeger  <aj@suse.de>
60400         [BZ #15003]
60401         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
60402         value. Sync with Linux 3.7.
60404 2013-01-10  David S. Miller  <davem@davemloft.net>
60406         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
60407         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
60408         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
60410 2013-01-10  Roland McGrath  <roland@hack.frob.com>
60412         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
60413         never set.
60414         * configure: Regenerated.
60416 2013-01-10  David S. Miller  <davem@davemloft.net>
60418         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
60419         sparc V9 rather than using V8 code.
60420         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
60421         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
60423 2013-01-10  Roland McGrath  <roland@hack.frob.com>
60425         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
60426         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
60427         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
60428         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
60429         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
60430         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
60431         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
60432         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
60433         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
60434         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
60435         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
60436         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
60437         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
60438         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
60439         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
60440         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
60441         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
60442         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
60443         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
60444         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
60445         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
60446         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
60447         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
60448         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
60449         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
60450         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
60451         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
60453 2013-01-10  David S. Miller  <davem@davemloft.net>
60455         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60457 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
60459         * posix/Makefile (tests-static): New variable.
60460         (tests): Add $(tests-static).
60461         (tst-exec-static-ARGS): New variable.
60462         (tst-spawn-static-ARGS): Likewise.
60463         * posix/tst-exec-static.c: New file.
60464         * posix/tst-spawn-static.c: Likewise.
60465         * posix/tst-exec.c: Support run directly.
60466         * posix/tst-spawn.c: Likewise.
60468 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
60470         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
60471         long.
60472         * math/bits/mathcalls.h (llrint): Likewise.
60473         (llround): Likewise.
60474         * stdlib/stdlib.h (struct drand48_data): Likewise.
60475         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
60476         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
60477         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
60478         Likewise.
60479         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
60480         Likewise.
60481         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
60482         (elf_greg_t): Likewise.
60483         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
60484         (__jmp_buf): Likewise.
60485         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
60486         definitions.
60487         (llrint): Likewise, for all definitions.
60488         (llrintl): Likewise.
60490         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
60491         Remove [__GNUC__] condition.
60492         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
60493         condition to just [__USE_ISOC99].
60494         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
60496 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
60498         [BZ #14200]
60499         * sysdeps/unix/sysv/linux/x86/bits/environments.h
60500         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
60501         defined.
60502         (_POSIX_V6_ILP32_OFF32): Likewise.
60503         (_XBS5_ILP32_OFF32): Likewise.
60504         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
60505         (__ILP32_OFFBIG_LDFLAGS): Likewise.
60507 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
60509         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
60511         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
60512         doubles __mpexp_twomm1.  Adjust usage.
60513         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
60514         Remove.
60516 2013-01-10  Andreas Schwab  <schwab@suse.de>
60518         [BZ #14964]
60519         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
60520         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
60522 2013-01-09  David S. Miller  <davem@davemloft.net>
60524         [BZ #15003]
60525         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
60526         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
60527         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
60528         (TCP_FASTOPEN): Define.
60529         (tcp_repair_opt): New structure.
60530         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
60531         enum values.
60532         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
60533         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
60534         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
60535         (tcp_cookie_transactions): New structure.
60537 2013-01-09  Anton Blanchard  <anton@samba.org>
60539         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
60540         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
60541         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
60542         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
60544 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
60546         * include/features.h (__USE_ANSI): Remove.
60548 2013-01-09  Roland McGrath  <roland@hack.frob.com>
60550         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
60552         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
60554 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
60556         * sysdeps/s390/fpu/libm-test-ulps: Update.
60558         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60560         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
60561         (__acr): Likewise.
60562         (__cpy): Likewise.
60563         (norm): Likewise.
60564         (denorm): Likewise.
60565         (__mp_dbl): Likewise.
60566         (__dbl_mp): Likewise.
60567         (add_magnitudes): Likewise.
60568         (sub_magnitudes): Likewise.
60569         (__add): Likewise.
60570         (__sub): Likewise.
60571         (__mul): Likewise.
60572         (__inv): Likewise.
60573         (__dvd): Likewise.
60574         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
60575         (__acr): Likewise.
60576         (__cpy): Likewise.
60577         (norm): Likewise.
60578         (denorm): Likewise.
60579         (__mp_dbl): Likewise.
60580         (__dbl_mp): Likewise.
60581         (add_magnitudes): Likewise.
60582         (sub_magnitudes): Likewise.
60583         (__add): Likewise.
60584         (__sub): Likewise.
60585         (__mul): Likewise.
60586         (__inv): Likewise.
60587         (__dvd): Likewise.
60588         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
60589         (__acr): Likewise.
60590         (__cpy): Likewise.
60591         (norm): Likewise.
60592         (denorm): Likewise.
60593         (__mp_dbl): Likewise.
60594         (__dbl_mp): Likewise.
60595         (add_magnitudes): Likewise.
60596         (sub_magnitudes): Likewise.
60597         (__add): Likewise.
60598         (__sub): Likewise.
60599         (__mul): Likewise.
60600         (__inv): Likewise.
60601         (__dvd): Likewise.
60603 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
60605         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
60606         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
60607         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
60608         2 && __USE_EXTERN_INLINES]: Likewise.
60610 2013-01-08  Andreas Jaeger  <aj@suse.de>
60612         [BZ# 14985]
60613         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
60614         Remove.
60615         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
60616         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
60618 2013-01-07  Anton Blanchard  <anton@samba.org>
60620         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
60621         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
60622         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
60623         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
60624         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
60625         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
60626         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
60627         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
60628         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
60629         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
60630         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
60631         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
60632         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
60633         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
60634         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
60635         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
60636         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
60637         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
60638         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
60639         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
60640         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
60641         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
60642         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
60643         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
60644         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
60645         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
60646         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
60647         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
60648         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
60649         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
60650         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
60651         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
60652         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
60653         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
60654         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
60655         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
60656         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
60657         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
60658         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
60659         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
60660         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
60661         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60662         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
60664 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
60666         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
60667         (__MALLOC_PMT): Likewise.
60668         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
60669         [__GNUC__], only on [_LIBC].
60670         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
60671         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
60672         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
60673         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
60674         forward declaration.
60675         (realloc_hook_ini): Likewise.
60676         (memalign_hook_ini): Likewise.
60677         (__libc_memalign): Do not use __MALLOC_PMT in variable
60678         declaration.
60679         (__libc_valloc): Likewise.
60680         (__libc_pvalloc): Likewise.
60681         (__libc_calloc): Likewise.
60682         (__posix_memalign): Likewise.
60684         [BZ #14996]
60685         * math/s_casinh.c: Include <float.h>.
60686         (__casinh): Do not do computation with squaring and square root
60687         for large arguments.
60688         * math/s_casinhf.c: Include <float.h>.
60689         (__casinhf): Do not do computation with squaring and square root
60690         for large arguments.
60691         * math/s_casinhl.c: Include <float.h>.
60692         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
60693         (__casinhl): Do not do computation with squaring and square root
60694         for large arguments.
60695         * math/libm-test.inc (casin_test): Add more tests.
60696         (casinh_test): Likewise.
60697         * sysdeps/i386/fpu/libm-test-ulps: Update.
60698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60700 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
60702         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
60703         (__x86_64_raw_data_cache_size): Likewise.
60704         (__x86_64_data_cache_size_half): Likewise.
60705         (__x86_64_raw_data_cache_size_half): Likewise.
60706         (__x86_64_shared_cache_size): Likewise.
60707         (__x86_64_raw_shared_cache_size): Likewise.
60708         (__x86_64_shared_cache_size_half): Likewise.
60709         (__x86_64_raw_shared_cache_size_half): Likewise.
60710         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
60711         to ...
60712         (__x86_data_cache_size): This.
60713         (__x86_64_raw_data_cache_size): Renamed to ...
60714         (__x86_raw_data_cache_size): This.
60715         (__x86_64_data_cache_size_half): Renamed to ...
60716         (__x86_data_cache_size_half): This.
60717         (__x86_64_raw_data_cache_size_half): Renamed to ...
60718         (__x86_raw_data_cache_size_half): This.
60719         (__x86_64_shared_cache_size): Renamed to ...
60720         (__x86_shared_cache_size): This.
60721         (__x86_64_raw_shared_cache_size): Renamed to ...
60722         (__x86_raw_shared_cache_size): This.
60723         (__x86_64_shared_cache_size_half): Renamed to ...
60724         (__x86_shared_cache_size_half): This.
60725         (__x86_64_raw_shared_cache_size_half): Renamed to ...
60726         (__x86_raw_shared_cache_size_half): This.
60727         * sysdeps/x86_64/memcpy.S: Updated.
60728         * sysdeps/x86_64/memset.S: Likewise.
60729         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
60730         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
60731         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
60733 2013-01-04  David S. Miller  <davem@davemloft.net>
60735         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60737 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
60739         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
60740         1 to avoid redefinition warning.
60741         (__USE_GNU): Don't define.
60742         (init_signaling_nan): Protoize.
60744         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60746 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
60748         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
60749         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
60750         (__cpymn): Likewise.
60751         (norm): Remove commented code.
60752         (denorm): Likewise.
60753         (__mp_dbl): Likewise.
60754         (__inv): Likewise.
60755         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
60756         (__cpymn): Likewise.
60757         (norm): Remove commented code.
60758         (denorm): Likewise.
60759         (__mp_dbl): Likewise.
60760         (__inv): Likewise.
60762         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
60763         mp_no value for 1.0 and 2.0.
60764         (norm): Use RADIXI instead of radixi.d.
60765         (denorm): Likewise.
60766         (__mul): Use 0.0 instead of zero.d.
60767         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
60768         mp_no value for 1.0 and 2.0.
60769         (norm): Use RADIXI instead of radixi.d.
60770         (denorm): Likewise.
60771         (__mul): Use 0.0 instead of zero.d.
60773 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
60775         [BZ #14994]
60776         * math/s_casinh.c (__casinh): Reduce finite argument to first
60777         quadrant then set signs of results at the end.
60778         * math/s_casinhf.c (__casinhf): Likewise.
60779         * math/s_casinhl.c (__casinhl): Likewise.
60780         * math/libm-test.inc (casin_test): Add more tests.
60781         (casinh_test): Likewise.
60782         * sysdeps/i386/fpu/libm-test-ulps: Update.
60783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60785 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
60787         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
60789         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
60791         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
60792         declarations.
60793         (denorm): Likewise.
60794         (__mp_dbl): Likewise.
60795         (__inv): Likewise.
60797         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
60798         and adjust the header comment.
60800         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
60801         variable name from declaration.
60803 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
60805         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60806         Initialize COMMON_CPUID_INDEX_7 element.
60807         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
60808         (CPUID_RTM): Likewise.
60809         (HAS_RTM): Likewise.
60810         (COMMON_CPUID_INDEX_7): New enum.
60812 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
60814         [BZ #14981]
60815         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
60816         size is zero, record memory as freed.
60818 2013-01-03  Andreas Jaeger  <aj@suse.de>
60820         * po/ia.po: Add new Interlingua translation.
60822 2012-01-03  Allan McRae  <allan@archlinux.org>
60824         * locale/programs/localedef.c: Fix description of '--posix' flag.
60826 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
60828         * NEWS: Update dates in second copyright notice.
60829         * README: Update copyright dates in example.
60830         * manual/libc.texinfo: Update copyright dates.
60831         * scripts/test-installation.pl: Update copyright date in --version
60832         output.
60834         * hurd/ctty-input.c: Fix copyright notice formatting.
60835         * hurd/ctty-output.c: Likewise.
60836         * hurd/dtable.c: Likewise.
60837         * hurd/hurd-raise.c: Likewise.
60838         * hurd/hurdprio.c: Likewise.
60839         * hurd/msgportdemux.c: Likewise.
60840         * misc/sys/file.h: Likewise.
60841         * misc/sys/ioctl.h: Likewise.
60842         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
60843         * sysdeps/mach/hurd/chdir.c: Likewise.
60844         * sysdeps/mach/hurd/fchdir.c: Likewise.
60845         * sysdeps/mach/hurd/rename.c: Likewise.
60846         * sysdeps/mach/hurd/rmdir.c: Likewise.
60847         * sysdeps/mach/hurd/seekdir.c: Likewise.
60848         * sysdeps/mach/hurd/setsid.c: Likewise.
60849         * sysdeps/posix/wait3.c: Likewise.
60851         * All files with FSF copyright notices: Update copyright dates
60852         using scripts/update-copyrights.
60853         * intl/plural.c: Regenerated.
60854         * locale/programs/charmap-kw.h: Likewise.
60855         * locale/programs/locfile-kw.h: Likewise.
60857 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
60859         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
60860         four values.
60862         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
60863         calculation loop and add branch prediction.
60865         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
60866         check access beyond bounds of m1np.
60868         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
60869         MPTWO.
60870         (__inv): Remove local variable MPTWO to use the global
60871         constant.
60872         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
60873         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
60874         variable MPTWO.
60875         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
60876         MP3HALFS static const.
60878 2013-01-01  David S. Miller  <davem@davemloft.net>
60880         * po/ca.po: Update from translation team.
60882 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
60884         * scripts/update-copyrights: New file.
60885         * Makeconfig: Reformat copyright notice.
60886         * ctype/ctype.h: Likewise.
60887         * debug/swprintf_chk.c: Likewise.
60888         * elf/dl-cache.c: Likewise.
60889         * elf/dl-debug.c: Likewise.
60890         * elf/dl-object.c: Likewise.
60891         * grp/initgroups.c: Likewise.
60892         * hurd/Makefile: Likewise.
60893         * hurd/hurd/signal.h: Likewise.
60894         * hurd/hurdfault.c: Likewise.
60895         * hurd/hurdioctl.c: Likewise.
60896         * hurd/hurdlookup.c: Likewise.
60897         * hurd/intr-msg.c: Likewise.
60898         * iconv/gconv_open.c: Likewise.
60899         * libio/swprintf.c: Likewise.
60900         * locale/lc-ctype.c: Likewise.
60901         * locale/nl_langinfo.c: Likewise.
60902         * mach/Machrules: Likewise.
60903         * mach/Makefile: Likewise.
60904         * malloc/obstack.h: Likewise.
60905         * manual/Makefile: Likewise.
60906         * manual/tsort.awk: Likewise.
60907         * misc/bits/stab.def: Likewise.
60908         * nis/nis_print_group_entry.c: Likewise.
60909         * nis/nis_table.c: Likewise.
60910         * nis/nss_compat/compat-pwd.c: Likewise.
60911         * nis/nss_compat/compat-spwd.c: Likewise.
60912         * po/Makefile: Likewise.
60913         * posix/fnmatch.c: Likewise.
60914         * posix/regex.h: Likewise.
60915         * resolv/Makefile: Likewise.
60916         * resolv/nss_dns/dns-network.c: Likewise.
60917         * resolv/res_hconf.c: Likewise.
60918         * scripts/gen-sorted.awk: Likewise.
60919         * soft-fp/soft-fp.h: Likewise.
60920         * stdio-common/printf.h: Likewise.
60921         * stdlib/monetary.h: Likewise.
60922         * stdlib/random.c: Likewise.
60923         * stdlib/random_r.c: Likewise.
60924         * sysdeps/generic/Makefile: Likewise.
60925         * sysdeps/gnu/Makefile: Likewise.
60926         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
60927         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60928         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60929         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60930         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60931         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60932         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60933         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
60934         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60935         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60936         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
60937         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
60938         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
60939         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
60940         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
60941         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
60942         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
60943         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60944         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60945         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60946         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
60947         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
60948         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
60949         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
60950         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
60951         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
60952         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
60953         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
60954         * sysdeps/mach/hurd/errnos.awk: Likewise.
60955         * sysdeps/mach/hurd/fork.c: Likewise.
60956         * sysdeps/mach/hurd/getcwd.c: Likewise.
60957         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
60958         * sysdeps/mach/hurd/mmap.c: Likewise.
60959         * sysdeps/mach/hurd/utimes.c: Likewise.
60960         * sysdeps/mach/hurd/xmknod.c: Likewise.
60961         * sysdeps/posix/profil.c: Likewise.
60962         * sysdeps/posix/readdir_r.c: Likewise.
60963         * sysdeps/powerpc/bits/mathdef.h: Likewise.
60964         * sysdeps/powerpc/bits/setjmp.h: Likewise.
60965         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
60966         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
60967         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
60968         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
60969         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
60970         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
60971         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
60972         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
60973         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
60974         * sysdeps/pthread/lio_listio.c: Likewise.
60975         * sysdeps/sparc/dl-procinfo.h: Likewise.
60976         * sysdeps/unix/i386/sysdep.S: Likewise.
60977         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
60978         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
60979         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
60980         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
60981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
60982         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
60983         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
60984         * sysdeps/unix/sysv/linux/speed.c: Likewise.
60985         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
60986         * sysdeps/wordsize-32/divdi3.c: Likewise.
60987         * time/sys/time.h: Likewise.
60988         * wcsmbs/Makefile: Likewise.
60990 2013-01-01  David S. Miller  <davem@davemloft.net>
60992         * po/fr.po: Update from translation team.
60994         * catgets/gencat.c: Update copyright year.
60995         * csu/version.c: Likewise.
60996         * debug/catchsegv.sh: Likewise.
60997         * debug/pcprofiledump.c: Likewise.
60998         * debug/xtrace.sh: Likewise.
60999         * elf/ldconfig.c: Likewise.
61000         * elf/ldd.bash.in: Likewise.
61001         * elf/pldd.c: Likewise.
61002         * elf/sotruss.ksh: Likewise.
61003         * elf/sprof.c: Likewise.
61004         * iconv/iconv_prog.c: Likewise.
61005         * iconv/iconvconfig.c: Likewise.
61006         * locale/programs/locale.c: Likewise.
61007         * locale/programs/localedef.c: Likewise.
61008         * login/programs/pt_chown.c: Likewise.
61009         * malloc/memusage.sh: Likewise.
61010         * malloc/memusagestat.c: Likewise.
61011         * malloc/mtrace.pl: Likewise.
61012         * nscd/nscd.c: Likewise.
61013         * nss/getent.c: Likewise.
61014         * nss/makedb.c: Likewise.
61015         * posix/getconf.c: Likewise.
61017 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
61019         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
61020         numbers.
61022 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
61024         * math/bits/mathcalls.h (modf): Use __nonnull.
61026 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
61028         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
61029         (split): Use macro CN instead of the bare value.
61030         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
61031         could be used.
61032         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
61033         instead of the bare value.
61034         (power1): Likewise.
61036 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61038         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
61039         __ATAN_TWOM.
61040         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
61042         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
61043         their values.
61044         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
61045         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
61046         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
61047         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
61049 2012-12-28  Andreas Jaeger  <aj@suse.de>
61051         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
61052         values are from Linux 3.7.
61054         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
61055         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
61057 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61059         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
61060         TRUE case.
61062         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
61063         (norm): Likewise.
61064         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
61065         variables with preprocessor constants.
61066         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
61067         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
61068         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
61070 2012-12-27  Bruno Haible  <bruno@clisp.org>
61072         [BZ #14317]
61073         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
61074         only if needed.
61076 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
61078         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
61079         and use variable directly.
61080         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
61082         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
61083         MPONE.
61084         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
61085         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
61086         variable MPONE.
61087         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
61088         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
61089         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
61090         include directive.  Remove local variable MPONE.
61091         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
61092         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
61093         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
61095 2012-12-25  David S. Miller  <davem@davemloft.net>
61097         * version.h (RELEASE): Set to "development".
61098         (VERSION): Set to "2.17.90".
61099         * NEWS: Add 2.18 section.
61101 2012-12-21  David S. Miller  <davem@davemloft.net>
61103         * po/hr.po: Update from translation team.
61105 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61107         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
61109 2012-12-19  Steve Ellcey  <sellcey@mips.com>
61111         * NEWS:  Mention new memcpy for MIPS.
61113 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61115         * manual/contrib.texi (Contributors): Spelling correction.
61117 2012-12-15  David S. Miller  <davem@davemloft.net>
61119         * po/ru.po: Update from translation team.
61121 2012-12-13  David S. Miller  <davem@davemloft.net>
61123         * NEWS: Mention IFUNC testsuite enhancements.
61125         * po/pl.po: Update from translation team.
61126         * po/bg.po: Likewise.
61128         * manual/contrib.texi (Contributors): Update entries for Hongjiu
61129         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
61131 2012-12-11  David S. Miller  <davem@davemloft.net>
61133         * po/sv.po: Update from translation team.
61135         * po/vi.po: Update from translation team.
61137         * po/cs.po: Update from translation team.
61139         * po/de.po: Update from translation team.
61140         * po/eo.po: Likewise.
61141         * po/nl.po: Likewise.
61143 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
61145         [BZ #14246]
61146         * manual/argp.texi (Argp Helper Functions): Move node to follow
61147         Argp Parsing State.
61149         [BZ #14872]
61150         * manual/conf.texi (Limits on File System Capacity): Mention if
61151         terminating null is included in the max size.
61153 2012-12-10  Andreas Jaeger  <aj@suse.de>
61155         * po/cs.po: Update from translation team.
61157 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
61159         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
61160         void pointer and cast to uintptr_t.
61161         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
61162         path.
61163         * sysdeps/s390/s390-64/memcpy.S: Likewise.
61164         * sysdeps/s390/s390-64/memset.S: Likewise.
61166 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
61168         [BZ #14833]
61169         * menual/message.texi (Message Translation): Fix typos.
61170         (Helper programs for gettext): Likewise.
61172 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
61174         [BZ #14898]
61175         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
61176         Change to -1.
61178 2012-12-07  David S. Miller  <davem@davemloft.net>
61180         * po/libc.pot: Update.
61182 2012-12-07  Richard Henderson  <rth@redhat.com>
61184         [BZ #10114]
61185         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
61186         normal/normal case to before the switch.
61187         (_FP_DIV): Likewise.
61189 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
61190             Mike Frysinger  <vapier@gentoo.org>
61192         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
61193         check for __NR_fadvise64_64.
61195 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
61197         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
61198         0, not just to plain "0" as a statement.
61199         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
61200         with cw.
61202 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
61204         * NEWS: Use sourceware.org in Bugzilla URL.
61206 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
61208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
61209         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
61211         * stdio-common/tst-put-error.c (do_test): Add newline to the
61212         padded test to ensure flush.
61214 2012-12-05  Jeff Law  <law@redhat.com>
61216         * sunrpc/etc.rpc (fedfs_admin): Add entry.
61218 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
61220         * README: Don't refer to ports add-on as distributed separately.
61221         Mention AArch64 in list of systems supported in the ports add-on.
61223         * LICENSES: Add more non-FSF copyright and license notices.
61225         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
61226         ((unused)).
61228         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
61230         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
61231         10000 as width of padded output.
61233 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
61235         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
61237         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
61238         variable LX with __attribute__ ((unused)).
61239         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
61240         Likewise.
61241         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
61242         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
61243         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
61244         with __attribute__ ((unused)).
61246 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
61248         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
61250 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
61252         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
61253         (CFLAGS-nldbl-acos.c): New variable.
61254         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
61255         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
61256         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
61257         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
61258         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
61259         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
61260         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
61261         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
61262         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
61263         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
61264         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
61265         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
61266         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
61267         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
61268         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
61269         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
61270         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
61271         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
61272         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
61273         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
61274         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
61275         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
61276         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
61277         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
61278         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
61279         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
61280         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
61281         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
61282         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
61283         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
61284         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
61285         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
61286         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
61287         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
61288         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
61289         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
61290         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
61291         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
61292         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
61293         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
61294         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
61295         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
61296         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
61297         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
61298         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
61299         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
61300         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
61301         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
61302         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
61303         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
61304         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
61305         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
61306         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
61307         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
61308         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
61309         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
61310         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
61311         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
61312         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
61313         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
61314         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
61315         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
61316         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
61317         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
61318         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
61319         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
61320         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
61321         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
61322         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
61323         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
61324         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
61325         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
61326         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
61327         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
61328         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
61329         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
61330         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
61331         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
61332         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
61333         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
61334         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
61335         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
61336         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
61337         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
61338         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
61339         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
61340         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
61341         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
61342         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
61343         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
61344         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
61345         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
61346         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
61347         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
61348         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
61349         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
61350         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
61352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
61353         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
61355         [BZ #14914]
61356         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
61357         whole low double instead of just low 47 bits when splitting values
61358         into two parts.
61360 2012-12-03  Allan McRae  <allan@archlinux.org>
61362         * manual/stdio.texi (Predefined Printf Handlers): Remove
61363         @hsep and @vsep usage.
61365 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
61367         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
61368         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
61370 2012-12-03  Jeff Law  <law@redhat.com>
61372         * time/sys/time.h (settimeofday): Do not mark TV argument
61373         as __nonnull.
61375 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
61377         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
61378         when currently writing and seek to current position when not.
61379         * libio/Makefile (tests): Remove bug-fclose1.
61380         * libio/bug-fclose1.c: Delete.
61382 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
61384         * manual/arith.texi (feenableexcept): Fix typo.
61385         (fedisableexcept): Likewise.
61387 2012-11-30  Roland McGrath  <roland@hack.frob.com>
61389         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
61390         second, differently-typed declaration, rather than a cast.
61392 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
61394         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
61395         * include/rpc/svc.h: ... here.
61397 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
61399         [BZ #13013]
61400         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
61401         depending n and resplen2 to catch cases where answer
61402         equals answerp2.
61404 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
61406         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
61407         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
61409 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
61411         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
61413 2012-11-29  Roland McGrath  <roland@hack.frob.com>
61415         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
61417 2012-11-28  Jeff Law  <law@redhat.com>
61419         [BZ #13761]
61420         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
61421         dataset_temporary.  Track alloca usage into alloca_used.
61422         If dataset is large allocate and release it via malloc/free.
61424 2012-06-04  Florian Weimer  <fweimer@redhat.com>
61426         [BZ #14197]
61427         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
61429 2012-11-28  David S. Miller  <davem@davemloft.net>
61431         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61433 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
61435         [BZ #14803]
61436         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
61437         of pi/2 rounded to nearest to 64 bits.
61438         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
61439         nearest to 64 bits.
61440         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
61441         bits.
61443 2012-11-28  Jeff Law <law@redhat.com>
61444             Martin Osvald <mosvald@redhat.com>
61446         [BZ #14889]
61447         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
61448         * sunrpc/svc.c: Include time.h.
61449         (__svc_accept_failed): New function.
61450         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
61451         any reason other than EINTR, call __svc_accept_failed.
61452         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
61453         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
61455 2012-11-28  Andreas Schwab  <schwab@suse.de>
61457         * scripts/abilist.awk: Also handle indirect functions in .opd
61458         section.
61460 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
61462         [BZ #13881]
61463         * sysdeps/x86/fpu/powl_helper.c: New file.
61464         * sysdeps/x86/fpu/Makefile: Likewise.
61465         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
61466         (p3): New object.
61467         (__ieee754_powl): Use __powl_helper for finite arguments except
61468         integer exponents below 8.
61469         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
61470         (p3): New object.
61471         (__ieee754_powl): Use __powl_helper for finite arguments except
61472         integer exponents below 8.
61473         * math/libm-test.inc (pow_test): Add more tests and enable some
61474         previously disabled tests.
61475         * sysdeps/i386/fpu/libm-test-ulps: Update.
61476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61478 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61479             Carlos O'Donell  <carlos_odonell@mentor.com>
61481         * nss/makedb.c (is_prime): Assert that input is odd and greater
61482         than 4.  Note that fact in a comment too.
61483         (next_prime): Add 4 to input.
61485 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
61487         [BZ #11741]
61488         * libio/Makefile (tests): Add test case tst-fwrite-error.
61489         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
61490         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
61491         * libio/tst-fwrite-error.c: New test case.
61493 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
61495         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
61496         before casting to void *.
61497         * include/libc-internal.h (__pointer_type): New macro.
61498         (__integer_if_pointer_type_sub): Likewise.
61499         (__integer_if_pointer_type): Likewise.
61500         (cast_to_integer): Likewise.
61501         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
61502         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
61503         before casting to atomic64_t.
61504         (atomic_exchange_acq): Likewise.
61505         (__arch_exchange_and_add_body): Likewise.
61506         (__arch_add_body): Likewise.
61507         (atomic_add_negative): Likewise.
61508         (atomic_add_zero): Likewise.
61510 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
61512         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
61513         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
61514         (add_fdes): Likewise.
61515         (linear_search_fdes): Likewise.
61516         (binary_search_unencoded_fdes): Likewise.
61518 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
61520         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
61522 2012-11-24  Adam Conrad  <adconrad@0c3.net>
61524         * configure.in: Autodetect C++ header directories.
61525         * configure: Regenerated.
61527 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
61529         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
61531 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
61533         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61535 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
61537         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
61538         LDBL_MANT_DIG == 106]: Disable some tests.
61539         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
61540         Likewise.
61541         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
61542         Likewise.
61544         [BZ #14871]
61545         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
61546         input for small inputs.  Return +/- pi/2 for large inputs.
61547         * math/libm-test.inc (atan_test): Add more tests.
61549         * sysdeps/generic/unwind-dw2-fde-glibc.c
61550         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
61551         __attribute__ ((unused)).
61553         [BZ #14645]
61554         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
61555         x * y if x and y are nonzero and z is zero.
61557         [BZ #14811]
61558         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
61559         nonzero exponents with absolute value below 0x1p-117 to +/-
61560         0x1p-117.
61562         [BZ #14869]
61563         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
61564         up arguments below 2**-450, not just those below 2**-500.
61565         * math/libm-test.inc (hypot_test): Add another test.
61567         [BZ #14868]
61568         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
61569         Return a+b for ratio over 2**120, not 2**60.
61570         * math/libm-test.inc (hypot_test): Add another test.
61572         * math/libm-test.inc (clog_test): Use
61573         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
61574         (clog10_test): Likewise.
61576         [BZ #6778]
61577         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
61579 2012-11-22  Andreas Schwab  <schwab@suse.de>
61581         * sysdeps/i386/fpu/libm-test-ulps: Update.
61583 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
61585         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
61586         printf output with newline.
61588 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
61590         [BZ #14865]
61591         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
61592         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
61593         -z nodlopen, -z initfirst and -z execstack support.
61594         * configure: Regenerated.
61596         * elf/elf.h (DF_1_NODIRECT): New macro.
61597         (DF_1_IGNMULDEF): Likewise.
61598         (DF_1_NOKSYMS): Likewise.
61599         (DF_1_NOHDR): Likewise.
61600         (DF_1_EDITED): Likewise.
61601         (DF_1_NORELOC): Likewise.
61602         (DF_1_SYMINTPOSE): Likewise.
61603         (DF_1_GLOBAUDIT): Likewise.
61604         (DF_1_SINGLETON): Likewise.
61605         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
61606         DT_1_SUPPORTED_MASK bits.
61607         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
61609 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
61611         * sysdeps/unix/make-syscalls.sh: Document prefixes.
61613 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
61615         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
61616         macro.
61618         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
61619         (sendmmsg): Move declarations...
61620         * socket/sys/socket.h: ... here.
61621         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
61622         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
61623         include it from...
61624         * socket/recvmmsg.c: ... this new file.
61625         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
61626         (sendmmsg): Rename to __sendmmsg, create weak alias and make
61627         definition of __sendmmsg hidden.
61628         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
61629         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
61630         Move ENOSYS stub into and include it from...
61631         * socket/sendmmsg.c: ... this new file.
61632         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
61633         (sysdep_routines): Move recvmmsg and sendmmsg...
61634         * socket/Makefile (routines): ... here.
61635         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
61636         (GLIBC_PRIVATE): Add __sendmmsg.
61637         * include/sys/socket.h (__sendmmsg): Add declarations.
61638         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
61639         sendmmsg.
61641 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
61643         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
61644         variable I1 with __attribute__ ((unused)).
61645         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
61647 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
61649         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
61650         DUMMY variables with __attribute__ ((unused)).
61652         * bits/byteswap.h: Include <bits/types.h>.
61653         (__bswap_64): Use __uint64_t instead of unsigned long long int.
61655 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
61657         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
61658         string_t.  Do not manually set errno.
61659         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
61660         length with __strnlen.  Make sure to both set errno and return it on
61661         failure.
61663 2012-11-19  David S. Miller  <davem@davemloft.net>
61665         With help from Joseph Myers.
61666         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
61667         very large arguments properly.
61668         * math/libm-test.inc (atan_test): New tests.
61669         (atan2_test): New tests.
61670         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61671         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61673 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
61675         [BZ #14856]
61676         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
61677         Define to 3.
61679         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
61680         [POSIX] (EADDRNOTAVAIL): Likewise.
61681         [POSIX] (EAFNOSUPPORT): Likewise.
61682         [POSIX] (EALREADY): Likewise.
61683         [POSIX] (ECONNABORTED): Likewise.
61684         [POSIX] (ECONNREFUSED): Likewise.
61685         [POSIX] (ECONNRESET): Likewise.
61686         [POSIX] (EDESTADDRREQ): Likewise.
61687         [POSIX] (EDQUOT): Likewise.
61688         [POSIX] (EHOSTUNREACH): Likewise.
61689         [POSIX] (EIDRM): Likewise.
61690         [POSIX] (EISCONN): Likewise.
61691         [POSIX] (ELOOP): Likewise.
61692         [POSIX] (EMULTIHOP): Likewise.
61693         [POSIX] (ENETDOWN): Likewise.
61694         [POSIX] (ENETUNREACH): Likewise.
61695         [POSIX] (ENOBUFS): Likewise.
61696         [POSIX] (ENODATA): Likewise.
61697         [POSIX] (ENOLINK): Likewise.
61698         [POSIX] (ENOMSG): Likewise.
61699         [POSIX] (ENOPROTOOPT): Likewise.
61700         [POSIX] (ENOSR): Likewise.
61701         [POSIX] (ENOSTR): Likewise.
61702         [POSIX] (ENOTCONN): Likewise.
61703         [POSIX] (ENOTSOCK): Likewise.
61704         [POSIX] (EOPNOTSUPP): Likewise.
61705         [POSIX] (EOVERFLOW): Likewise.
61706         [POSIX] (EPROTO): Likewise.
61707         [POSIX] (EPROTONOSUPPORT): Likewise.
61708         [POSIX] (EPROTOTYPE): Likewise.
61709         [POSIX] (ESTALE): Likewise.
61710         [POSIX] (ETIME): Likewise.
61711         [POSIX] (ETXTBSY): Likewise.
61712         [POSIX] (EWOULDBLOCK): Likewise.
61713         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
61714         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
61715         [POSIX] (SEEK_CUR): Likewise.
61716         [POSIX] (SEEK_END): Likewise.
61717         [POSIX || UNIX98] (mode_t): Do not require.
61718         [POSIX] (off_t): Likewise.
61719         [POSIX] (pid_t): Likewise.
61720         [POSIX] (sys/stat.h): Do not allow header.
61721         [POSIX] (unistd.h): Likewise.
61722         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
61723         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
61724         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
61725         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
61726         require.
61727         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
61728         sigevent): Specify elements.
61729         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
61730         entry.
61731         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
61732         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
61734         * conform/data/cpio.h-data [POSIX]: Disable whole file.
61735         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
61736         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
61737         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
61738         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
61739         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
61740         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
61741         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
61742         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
61743         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
61744         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
61745         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
61746         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
61747         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
61748         Likewise.
61749         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
61750         Likewise.
61751         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
61752         Likewise.
61753         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
61754         Likewise.
61755         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
61756         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
61757         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
61758         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
61759         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
61760         Specify lower bound on value.
61761         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
61762         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
61763         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
61764         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
61765         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
61766         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
61767         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
61768         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
61769         value.
61770         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
61771         as optional.
61772         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
61773         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
61774         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
61775         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
61776         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
61777         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
61778         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
61779         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
61780         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
61781         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
61782         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
61783         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
61784         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
61785         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
61786         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
61787         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
61788         entry.
61789         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
61790         optional.
61791         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
61792         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
61793         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
61794         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
61795         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
61796         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
61797         Likewise.
61798         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
61799         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
61800         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
61801         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
61802         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
61803         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
61804         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
61805         as optional.
61806         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
61807         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
61808         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
61809         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
61810         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
61811         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
61812         specify as optional.
61813         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
61814         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
61815         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
61816         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
61817         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
61818         [XPG3] (NL_LANGMAX): Likewise.
61819         [POSIX || XPG3] (NL_MSGMAX): Likewise.
61820         [POSIX || XPG3] (NL_NMAX): Likewise.
61821         [POSIX || XPG3] (NL_SETMAX): Likewise.
61822         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
61823         [XPG3] (NZERO): Likewise.
61824         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
61825         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
61826         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
61827         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
61828         (REG_ERANGE): Expect.
61829         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
61830         optional-constant.
61831         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
61832         Use (void) in prototype.
61833         [POSIX] (*_t): Allow.
61834         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
61835         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
61836         (WRDE_BADVAL): Expect.
61838         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
61839         expect.
61840         [XPG3 || XPG4] (O_RSYNC): Likewise.
61841         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
61842         Likewise.
61843         [XPG3 || XPG4] (pthread_sigmask): Likewise.
61844         [XPG3 || XPG4] (sigqueue): Likewise.
61845         [XPG3 || XPG4] (sigtimedwait): Likewise.
61846         [XPG3 || XPG4] (sigwaitinfo): Likewise.
61847         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
61848         [XPG3 || XPG4] (vsnprintf): Likewise.
61849         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
61850         Likewise.
61851         [XPG3 || XPG4] (blksize_t): Likewise.
61852         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
61853         Likewise.
61854         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
61855         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
61856         [XPG3 || XPG4] (struct itimerspec): Likewise.
61857         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
61858         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
61859         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
61860         [XPG3 || XPG4] (clockid_t): Likewise.
61861         [XPG3 || XPG4] (timer_t): Likewise.
61862         [XPG3 || XPG4] (clock_getres): Likewise.
61863         [XPG3 || XPG4] (clock_gettime): Likewise.
61864         [XPG3 || XPG4] (clock_settime): Likewise.
61865         [XPG3 || XPG4] (nanosleep): Likewise.
61866         [XPG3 || XPG4] (timer_create): Likewise.
61867         [XPG3 || XPG4] (timer_delete): Likewise.
61868         [XPG3 || XPG4] (timer_gettime): Likewise.
61869         [XPG3 || XPG4] (timer_getoverrun): Likewise.
61870         [XPG3 || XPG4] (timer_settime): Likewise.
61871         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
61872         [XPG3 || XPG4] (getlogin_r): Likewise.
61873         [XPG3 || XPG4] (pread): Likewise.
61874         [XPG3 || XPG4] (pthread_atfork): Likewise.
61875         [XPG3 || XPG4] (pwrite): Likewise.
61877         [BZ #14835]
61878         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
61879         <bits/siginfo.h>.
61881 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
61883         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
61884         finalizing MALLSTREAM.
61886         * sysdeps/mach/hurd/syncfs.c: New file.
61888 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
61890         [BZ #14719]
61891         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
61892         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
61893         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
61894         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
61895         (_nss_dns_gethostbyname4_r): Likewise.
61896         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
61897         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
61899 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
61901         [BZ #13763]
61902         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
61904 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
61906         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
61907         * elf/cache.c (print_entry): Print ",AArch64" for
61908         FLAG_AARCH64_LIB64
61910         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
61911         * elf/cache.c (print_entry): Print ",hard-float" for
61912         FLAG_ARM_LIBHF.
61914 2012-11-18  David S. Miller  <davem@davemloft.net>
61916         With help from Joseph Myers.
61917         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
61918         cutoff to 2**-13.
61919         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
61920         cutoff to 2**-25.
61921         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
61922         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
61923         small.
61924         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
61925         * math/libm-test.inc (y0_test): New tests.
61926         (y1_test): New tests.
61927         * sysdeps/i386/fpu/libm-test-ulps: Update.
61928         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61929         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61931 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
61933         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
61934         64-bit targets.
61935         * configure: Regenerated.
61937 2012-11-17  David S. Miller  <davem@davemloft.net>
61939         [BZ #14811]
61940         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
61941         nonzero exponents with absolute value below 0x1p-128 to +/-
61942         0x1p-128.
61944 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
61946         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
61948         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
61950         * posix/getconf-speclist.c: New file.
61951         * posix/posix-envs.def: Likewise.
61952         * posix/confstr.c (START_ENV_GROUP): New macro.
61953         (END_ENV_GROUP): Likewise.
61954         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
61955         (KNOWN_PRESENT_ENV_STRING): Likewise.
61956         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
61957         (UNKNOWN_ENVIRONMENT): Likewise.
61958         (confstr): Include posix-envs.def instead of handling
61959         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
61960         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
61961         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
61962         (END_ENV_GROUP): Likewise.
61963         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
61964         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
61965         (UNKNOWN_ENVIRONMENT): Likewise.
61966         (__sysconf): Include posix-envs.def instead of handling associated
61967         cases directly here.
61968         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
61969         preprocessing getconf-speclist.c rather than running getconf or
61970         generating empty file.
61972 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
61974         * scripts/check-local-headers.sh: Ignore 'mach' headers.
61976 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
61978         [BZ #14672]
61979         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
61981 2012-11-16  David S. Miller  <davem@davemloft.net>
61983         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
61984         smaller than LDBL_EPSILON/2.0L, just return xm1.
61986 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
61988         * elf/tst-array1.c (init): Set constructor priority to 1000.
61989         (fini): Set destructor priority to 1000.
61990         * elf/tst-array2dep.c: Likewise.
61992 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
61994         [BZ #11741]
61995         * libio/fileops.c (_IO_new_file_write): Correctly return error.
61996         (_IO_new_file_xsputn): Also return EOF if none of the input
61997         data was written when overflow failed.
61998         * libio/iopadn.c (_IO_padn): Likewise.
61999         * libio/iowpadn.c (_IO_wpadn): Likewise.
62000         * stdio-common/tst-put-error.c: Add copyright notice.
62001         (do_test): Add case for printing padded string.
62002         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
62003         _IO_padn returned error.
62004         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
62005         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
62006         return EOF.
62008 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
62010         * libio/libioP.h: Add comment note that the references to C++
62011         bits are now obsolete.
62013 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
62015         * math/libm-test.inc (check_complex): Use asprintf.
62017 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
62019         * debug/pcprofiledump.c (print_version): Update copyright year.
62020         * malloc/memusagestat.c (print_version): Likewise.
62022 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
62024         [BZ #14831]
62025         * elf/Makefile (tests): Add tst-audit8.
62026         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
62027         ($(objpfx)tst-audit8.out): New target.
62028         (tst-audit8-ENV): New variable.
62029         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
62030         audit if l_reloc_result is NULL.
62031         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
62032         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
62033         * elf/tst-audit8.c: New file.
62035 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
62037         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
62038         * misc/Makefile (CFLAGS-select.c): Define.
62039         * posix/Makefile (CFLAGS-pause.c): Define.
62041 2012-11-13  David S. Miller  <davem@davemloft.net>
62043         * crypt/Makefile: Move test targets after toplevel Rules
62044         inclusion.  Grab any necessary sysdep routines when linking.
62045         * crypt/md5.c (md5_process_block): Remove define, we will always
62046         name it __md5_process_block.
62047         (md5_finish_ctx): Update md5_process_block call.
62048         (md5_stream): Likewise.
62049         (md5_process_bytes): Likewise.
62050         (md5_process_block): Rename to __md5_process_block and move to ...
62051         * crypt/md5-block.c: ... here.
62052         * crypt/sha256.c (sha256_process_block): Move to ...
62053         * crypt/sha256-block.c: ... here.
62054         * crypt/sha512.c (sha512_process_block): Move to ...
62055         * crypt/sha512-block.c: ... here.
62056         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
62057         path.
62058         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
62059         * sysdeps/sparc/sparc64/multiarch/Makefile
62060         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
62061         crypt subdir.
62062         (localedef-aux): Add md5 crypto assembler when in locale subdir.
62063         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
62064         multiarch changes.
62065         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
62066         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
62067         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
62068         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
62069         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
62070         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
62071         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
62072         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
62073         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
62074         file.
62075         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
62076         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
62077         file.
62078         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
62080 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
62082         * timezone/tzselect.ksh: Update from tzcode git revision
62083         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
62084         * timezone/zdump.c: Likewise.
62085         * timezone/zic.c: Likewise.
62086         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
62087         in TZVERSION setting, not $(PKGVERSION).
62088         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
62089         REPORT_BUGS_TO settings.
62091         [BZ #14838]
62092         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
62093         macro.
62095 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
62097         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
62098         detection to immediately after _FP_ROUND().
62099         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
62100         bits are 0.
62102 2012-11-11  David S. Miller  <davem@davemloft.net>
62104         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
62105         inttypes.h
62106         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
62107         __close rather than their public counterparts.
62109 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
62111         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
62112         file.
62113         [UNIX98] (sem_timedwait): Do not expect.
62114         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
62115         [XPG4 || UNIX98] (sockatmark): Do not expect.
62116         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
62117         (clock_getcpuclockid): Do not expect.
62118         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
62119         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
62120         Do not expect.
62121         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
62122         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
62123         [UNIX98] (vwscanf): Likewise.
62124         [UNIX98] (vswscanf): Likewise.
62126 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
62128         * timezone/version.h: Remove file.
62129         * timezone/README: Do not refer to version.h.
62130         * timezone/Makefile ($(objpfx)zic.o): New dependency on
62131         $(objpfx)version.h.
62132         ($(objpfx)zdump.o): Likewise.
62133         ($(objpfx)version.h): New target.
62135         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
62136         2012i.
62137         * timezone/README: Don't mention modification to tzselect.ksh.
62138         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
62139         work on unmodified tzselect.ksh.  Substitute version numbers in
62140         tzselect.ksh.
62142         * Makefile (format-me): Remove.
62143         (INSTALL): Adjust indentation.  Use commands directly instead of
62144         using $(format-me).
62146         * aclocal.m4 (ACX_PKGVERSION): New macro.
62147         (ACX_BUGURL): Likewise.
62148         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
62149         (PKGVERSION): New AC_DEFINE_UNQUOTED.
62150         (REPORT_BUGS_TO): Likewise.
62151         * configure: Regenerated.
62152         * config.h.in (PKGVERSION): New macro.
62153         (REPORT_BUGS_TO): Likewise.
62154         * config.make.in (PKGVERSION): New variable.
62155         (PKGVERSION_TEXI): Likewise.
62156         (REPORT_BUGS_TO): Likewise.
62157         (REPORT_BUGS_TEXI): Likewise.
62158         * Makefile (format-me): Use -I$(common-objpfx)manual.
62159         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
62160         ($(common-objpfx)manual/%): New target.
62161         (manual/%): Remove target.
62162         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
62163         (print_version): Use PKGVERSION.
62164         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
62165         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
62166         and REPORT_BUGS_TO.
62167         ($(objpfx)xtrace): Likewise.
62168         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
62169         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
62170         (print_version): Use PKGVERSION.
62171         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
62172         (do_version): Use PKGVERSION.
62173         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
62174         REPORT_BUGS_TO.
62175         (common-ldd-rewrite): Likewise.
62176         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
62177         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
62178         (print_version): Use PKGVERSION.
62179         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
62180         * elf/pldd.c (argp_program_bug_address): Remove variable.
62181         (more_help): New function.
62182         (argp): Use more_help.
62183         (print_version): Use PKGVERSION.
62184         * elf/sln.c (main): Use PKGVERSION.
62185         (usage): Use REPORT_BUGS_TO.
62186         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
62187         (top level): Use PKGVERSION.
62188         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
62189         (print_version): Use PKGVERSION.
62190         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
62191         (print_version): Use PKGVERSION.
62192         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
62193         (print_version): Use PKGVERSION.
62194         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
62195         (print_version): Use PKGVERSION.
62196         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
62197         (print_version): Use PKGVERSION.
62198         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
62199         (print_version): Use PKGVERSION.
62200         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
62201         and BUGURL.
62202         ($(objpfx)memusage): Likewise.
62203         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
62204         (do_version): Use PKGVERSION.
62205         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
62206         (print_version): Use PKGVERSION.
62207         * malloc/mtrace.pl ($PACKAGE): Remove variable.
62208         ($PKGVERSION): New variable.
62209         ($REPORT_BUGS_TO): Likewise.
62210         (usage): Use $REPORT_BUGS_TO.
62211         (top level): Use $PKGVERSION.
62212         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
62213         ($(objpfx)pkgvers.texi): New rule.
62214         ($(objpfx)stamp-pkgvers): Likewise.
62215         * manual/install.texi: Include pkgvers.texi.
62216         (--with-pkgversion): Document new configure option.
62217         (--with-bugurl): Likewise.
62218         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
62219         than necessarily for this particular distribution.  Use
62220         REPORT_BUGS_TO for where to report bugs.
62221         * INSTALL: Regenerated.
62222         * manual/libc.texinfo: Include pkgvers.texi.
62223         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
62224         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
62225         (print_version): Use PKGVERSION.
62226         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
62227         (print_version): Use PKGVERSION.
62228         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
62229         (print_version): Use PKGVERSION.
62230         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
62231         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
62232         macro.
62233         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
62234         (print_version): Use PKGVERSION.
62235         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
62236         (print_version): Use PKGVERSION.
62237         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
62238         and PKGVERSION.
62240         * timezone/checktab.awk: Update from tzcode 2012i.
62241         * timezone/ialloc.c: Likewise.
62242         * timezone/private.h: Likewise.
62243         * timezone/scheck.c: Likewise.
62244         * timezone/tzfile.h: Likewise.
62245         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
62246         (TZVERSION): Hardcode tzcode version number.
62247         * timezone/zdump.c: Update from tzcode 2012i.
62248         * timezone/zic.c: Likewise.
62249         * timezone/version.h: New file.
62250         * timezone/README: Describe version.h.  Update upstream location.
62252         [BZ #14824]
62253         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
62254         (mktemp): Enable declaration.
62255         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
62256         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
62257         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
62258         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
62259         Likewise.
62260         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
62261         Likewise.
62262         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
62263         Likewise.
62264         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
62265         Likewise.
62266         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
62267         Likewise.
62268         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
62269         Likewise.
62271         [BZ #14821]
62272         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
62273         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
62274         for copies of such integer values.
62275         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
62276         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
62278 2012-11-09  Andreas Jaeger  <aj@suse.de>
62280         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
62281         definitions and declarations that are provided by
62282         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
62284 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62286         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
62287         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
62288         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
62289         definition.
62291 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
62293         * elf/elf.h: Update comment before AArch64 relocations.
62295 2012-11-07  David S. Miller  <davem@davemloft.net>
62297         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
62298         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
62299         (__start_context): Declare.
62300         (__makecontext_ret): Delete.
62301         (__makecontext): Hook up __start_context instead of
62302         __makecontext_ret.
62303         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
62304         (sysdep_routines): Add __start_context when in stdlib.
62306 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
62308         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
62309         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
62310         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
62311         hardcoded "nm".
62312         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
62313         (READELF): New variable.  Use it instead of hardcoded "readelf".
62315 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
62317         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
62318         * sysdeps/x86/Makefile: Here.
62319         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
62320         * sysdeps/x86/tst-xmmymm.sh: This.
62322 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
62324         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
62325         expectations.
62326         [UNIX98] (pthread_barrier_t): Do not expect.
62327         [UNIX98] (pthread_barrierattr_t): Likewise.
62328         [UNIX98] (pthread_spinlock_t): Likewise.
62329         [UNIX98] (pthread_barrier_destroy): Likewise.
62330         [UNIX98] (pthread_barrier_init): Likewise.
62331         [UNIX98] (pthread_barrier_wait): Likewise.
62332         [UNIX98] (pthread_barrierattr_destroy): Likewise.
62333         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
62334         [UNIX98] (pthread_barrierattr_init): Likewise.
62335         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
62336         [UNIX98] (pthread_getcpuclockid): Likewise.
62337         [UNIX98] (pthread_mutex_timedlock): Likewise.
62338         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
62339         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
62340         [UNIX98] (pthread_sigmask): Likewise.
62341         [UNIX98] (pthread_spin_destroy): Likewise.
62342         [UNIX98] (pthread_spin_init): Likewise.
62343         [UNIX98] (pthread_spin_lock): Likewise.
62344         [UNIX98] (pthread_spin_trylock): Likewise.
62345         [UNIX98] (pthread_spin_unlock): Likewise.
62346         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
62347         Do not expect.
62348         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
62349         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
62350         [XPG3 || XPG4] (pthread_cond_t): Likewise.
62351         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
62352         [XPG3 || XPG4] (pthread_key_t): Likewise.
62353         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
62354         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
62355         [XPG3 || XPG4] (pthread_once_t): Likewise.
62356         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
62357         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
62358         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
62359         [XPG3 || XPG4] (pthread_t): Likewise.
62361         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
62362         not expect.
62363         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
62365         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
62366         Change function return type to int.
62368         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
62369         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
62370         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
62371         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
62372         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
62373         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
62374         [!POSIX] (posix_madvise): Likewise.
62375         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
62376         && !UNIX98].
62377         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
62378         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
62379         (mode_t): Likewise.
62380         (posix_mem_offset): Likewise.
62381         (posix_typed_mem_get_info): Likewise.
62382         (posix_typed_mem_open): Likewise.
62384         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
62385         Change condition to [XOPEN2K8].
62387         * conform/conformtest.pl: Preprocess allow-header data with -x c
62388         instead of from stdin.
62389         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
62390         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
62391         [C99-based standards] (cerfc): Likewise.
62392         [C99-based standards] (cexp2): Likewise.
62393         [C99-based standards] (cexpm1): Likewise.
62394         [C99-based standards] (clog10): Likewise.
62395         [C99-based standards] (clog1p): Likewise.
62396         [C99-based standards] (clog2): Likewise.
62397         [C99-based standards] (clgamma): Likewise.
62398         [C99-based standards] (ctgamma): Likewise.
62399         [C99-based standards] (cerff): Likewise.
62400         [C99-based standards] (cerfcf): Likewise.
62401         [C99-based standards] (cexp2f): Likewise.
62402         [C99-based standards] (cexpm1f): Likewise.
62403         [C99-based standards] (clog10f): Likewise.
62404         [C99-based standards] (clog1pf): Likewise.
62405         [C99-based standards] (clog2f): Likewise.
62406         [C99-based standards] (clgammaf): Likewise.
62407         [C99-based standards] (ctgammaf): Likewise.
62408         [C99-based standards] (cerfl): Likewise.
62409         [C99-based standards] (cerfcl): Likewise.
62410         [C99-based standards] (cexp2l): Likewise.
62411         [C99-based standards] (cexpm1l): Likewise.
62412         [C99-based standards] (clog10l): Likewise.
62413         [C99-based standards] (clog1pl): Likewise.
62414         [C99-based standards] (clog2l): Likewise.
62415         [C99-based standards] (clgammal): Likewise.
62416         [C99-based standards] (ctgammal): Likewise.
62417         * conform/data/inttypes.h-data [C99-based standards]: Include
62418         stdint.h-data.  Remove all expectations for stdint.h contents.
62419         [C99-based standards] (PRI*): Do not allow.
62420         [C99-based standards] (SCN*): Likewise.
62421         [C99-based standards] (*_t): Likewise.
62422         [C99-based-standards] (PRId8): Expect macro.
62423         [C99-based-standards] (PRIi8): Likewise.
62424         [C99-based-standards] (PRIo8): Likewise.
62425         [C99-based-standards] (PRIu8): Likewise.
62426         [C99-based-standards] (PRIx8): Likewise.
62427         [C99-based-standards] (PRIX8): Likewise.
62428         [C99-based-standards] (SCNd8): Likewise.
62429         [C99-based-standards] (SCNi8): Likewise.
62430         [C99-based-standards] (SCNo8): Likewise.
62431         [C99-based-standards] (SCNu8): Likewise.
62432         [C99-based-standards] (SCNx8): Likewise.
62433         [C99-based-standards] (PRIdLEAST8): Likewise.
62434         [C99-based-standards] (PRIiLEAST8): Likewise.
62435         [C99-based-standards] (PRIoLEAST8): Likewise.
62436         [C99-based-standards] (PRIuLEAST8): Likewise.
62437         [C99-based-standards] (PRIxLEAST8): Likewise.
62438         [C99-based-standards] (PRIXLEAST8): Likewise.
62439         [C99-based-standards] (SCNdLEAST8): Likewise.
62440         [C99-based-standards] (SCNiLEAST8): Likewise.
62441         [C99-based-standards] (SCNoLEAST8): Likewise.
62442         [C99-based-standards] (SCNuLEAST8): Likewise.
62443         [C99-based-standards] (SCNxLEAST8): Likewise.
62444         [C99-based-standards] (PRIdFAST8): Likewise.
62445         [C99-based-standards] (PRIiFAST8): Likewise.
62446         [C99-based-standards] (PRIoFAST8): Likewise.
62447         [C99-based-standards] (PRIuFAST8): Likewise.
62448         [C99-based-standards] (PRIxFAST8): Likewise.
62449         [C99-based-standards] (PRIXFAST8): Likewise.
62450         [C99-based-standards] (SCNdFAST8): Likewise.
62451         [C99-based-standards] (SCNiFAST8): Likewise.
62452         [C99-based-standards] (SCNoFAST8): Likewise.
62453         [C99-based-standards] (SCNuFAST8): Likewise.
62454         [C99-based-standards] (SCNxFAST8): Likewise.
62455         [C99-based-standards] (PRId16): Likewise.
62456         [C99-based-standards] (PRIi16): Likewise.
62457         [C99-based-standards] (PRIo16): Likewise.
62458         [C99-based-standards] (PRIu16): Likewise.
62459         [C99-based-standards] (PRIx16): Likewise.
62460         [C99-based-standards] (PRIX16): Likewise.
62461         [C99-based-standards] (SCNd16): Likewise.
62462         [C99-based-standards] (SCNi16): Likewise.
62463         [C99-based-standards] (SCNo16): Likewise.
62464         [C99-based-standards] (SCNu16): Likewise.
62465         [C99-based-standards] (SCNx16): Likewise.
62466         [C99-based-standards] (PRIdLEAST16): Likewise.
62467         [C99-based-standards] (PRIiLEAST16): Likewise.
62468         [C99-based-standards] (PRIoLEAST16): Likewise.
62469         [C99-based-standards] (PRIuLEAST16): Likewise.
62470         [C99-based-standards] (PRIxLEAST16): Likewise.
62471         [C99-based-standards] (PRIXLEAST16): Likewise.
62472         [C99-based-standards] (SCNdLEAST16): Likewise.
62473         [C99-based-standards] (SCNiLEAST16): Likewise.
62474         [C99-based-standards] (SCNoLEAST16): Likewise.
62475         [C99-based-standards] (SCNuLEAST16): Likewise.
62476         [C99-based-standards] (SCNxLEAST16): Likewise.
62477         [C99-based-standards] (PRIdFAST16): Likewise.
62478         [C99-based-standards] (PRIiFAST16): Likewise.
62479         [C99-based-standards] (PRIoFAST16): Likewise.
62480         [C99-based-standards] (PRIuFAST16): Likewise.
62481         [C99-based-standards] (PRIxFAST16): Likewise.
62482         [C99-based-standards] (PRIXFAST16): Likewise.
62483         [C99-based-standards] (SCNdFAST16): Likewise.
62484         [C99-based-standards] (SCNiFAST16): Likewise.
62485         [C99-based-standards] (SCNoFAST16): Likewise.
62486         [C99-based-standards] (SCNuFAST16): Likewise.
62487         [C99-based-standards] (SCNxFAST16): Likewise.
62488         [C99-based-standards] (PRId32): Likewise.
62489         [C99-based-standards] (PRIi32): Likewise.
62490         [C99-based-standards] (PRIo32): Likewise.
62491         [C99-based-standards] (PRIu32): Likewise.
62492         [C99-based-standards] (PRIx32): Likewise.
62493         [C99-based-standards] (PRIX32): Likewise.
62494         [C99-based-standards] (SCNd32): Likewise.
62495         [C99-based-standards] (SCNi32): Likewise.
62496         [C99-based-standards] (SCNo32): Likewise.
62497         [C99-based-standards] (SCNu32): Likewise.
62498         [C99-based-standards] (SCNx32): Likewise.
62499         [C99-based-standards] (PRIdLEAST32): Likewise.
62500         [C99-based-standards] (PRIiLEAST32): Likewise.
62501         [C99-based-standards] (PRIoLEAST32): Likewise.
62502         [C99-based-standards] (PRIuLEAST32): Likewise.
62503         [C99-based-standards] (PRIxLEAST32): Likewise.
62504         [C99-based-standards] (PRIXLEAST32): Likewise.
62505         [C99-based-standards] (SCNdLEAST32): Likewise.
62506         [C99-based-standards] (SCNiLEAST32): Likewise.
62507         [C99-based-standards] (SCNoLEAST32): Likewise.
62508         [C99-based-standards] (SCNuLEAST32): Likewise.
62509         [C99-based-standards] (SCNxLEAST32): Likewise.
62510         [C99-based-standards] (PRIdFAST32): Likewise.
62511         [C99-based-standards] (PRIiFAST32): Likewise.
62512         [C99-based-standards] (PRIoFAST32): Likewise.
62513         [C99-based-standards] (PRIuFAST32): Likewise.
62514         [C99-based-standards] (PRIxFAST32): Likewise.
62515         [C99-based-standards] (PRIXFAST32): Likewise.
62516         [C99-based-standards] (SCNdFAST32): Likewise.
62517         [C99-based-standards] (SCNiFAST32): Likewise.
62518         [C99-based-standards] (SCNoFAST32): Likewise.
62519         [C99-based-standards] (SCNuFAST32): Likewise.
62520         [C99-based-standards] (SCNxFAST32): Likewise.
62521         [C99-based-standards] (PRId64): Likewise.
62522         [C99-based-standards] (PRIi64): Likewise.
62523         [C99-based-standards] (PRIo64): Likewise.
62524         [C99-based-standards] (PRIu64): Likewise.
62525         [C99-based-standards] (PRIx64): Likewise.
62526         [C99-based-standards] (PRIX64): Likewise.
62527         [C99-based-standards] (SCNd64): Likewise.
62528         [C99-based-standards] (SCNi64): Likewise.
62529         [C99-based-standards] (SCNo64): Likewise.
62530         [C99-based-standards] (SCNu64): Likewise.
62531         [C99-based-standards] (SCNx64): Likewise.
62532         [C99-based-standards] (PRIdLEAST64): Likewise.
62533         [C99-based-standards] (PRIiLEAST64): Likewise.
62534         [C99-based-standards] (PRIoLEAST64): Likewise.
62535         [C99-based-standards] (PRIuLEAST64): Likewise.
62536         [C99-based-standards] (PRIxLEAST64): Likewise.
62537         [C99-based-standards] (PRIXLEAST64): Likewise.
62538         [C99-based-standards] (SCNdLEAST64): Likewise.
62539         [C99-based-standards] (SCNiLEAST64): Likewise.
62540         [C99-based-standards] (SCNoLEAST64): Likewise.
62541         [C99-based-standards] (SCNuLEAST64): Likewise.
62542         [C99-based-standards] (SCNxLEAST64): Likewise.
62543         [C99-based-standards] (PRIdFAST64): Likewise.
62544         [C99-based-standards] (PRIiFAST64): Likewise.
62545         [C99-based-standards] (PRIoFAST64): Likewise.
62546         [C99-based-standards] (PRIuFAST64): Likewise.
62547         [C99-based-standards] (PRIxFAST64): Likewise.
62548         [C99-based-standards] (PRIXFAST64): Likewise.
62549         [C99-based-standards] (SCNdFAST64): Likewise.
62550         [C99-based-standards] (SCNiFAST64): Likewise.
62551         [C99-based-standards] (SCNoFAST64): Likewise.
62552         [C99-based-standards] (SCNuFAST64): Likewise.
62553         [C99-based-standards] (SCNxFAST64): Likewise.
62554         [C99-based-standards] (PRIdMAX): Likewise.
62555         [C99-based-standards] (PRIiMAX): Likewise.
62556         [C99-based-standards] (PRIoMAX): Likewise.
62557         [C99-based-standards] (PRIuMAX): Likewise.
62558         [C99-based-standards] (PRIxMAX): Likewise.
62559         [C99-based-standards] (PRIXMAX): Likewise.
62560         [C99-based-standards] (SCNdMAX): Likewise.
62561         [C99-based-standards] (SCNiMAX): Likewise.
62562         [C99-based-standards] (SCNoMAX): Likewise.
62563         [C99-based-standards] (SCNuMAX): Likewise.
62564         [C99-based-standards] (SCNxMAX): Likewise.
62565         [C99-based-standards] (PRIdPTR): Likewise.
62566         [C99-based-standards] (PRIiPTR): Likewise.
62567         [C99-based-standards] (PRIoPTR): Likewise.
62568         [C99-based-standards] (PRIuPTR): Likewise.
62569         [C99-based-standards] (PRIxPTR): Likewise.
62570         [C99-based-standards] (PRIXPTR): Likewise.
62571         [C99-based-standards] (SCNdPTR): Likewise.
62572         [C99-based-standards] (SCNiPTR): Likewise.
62573         [C99-based-standards] (SCNoPTR): Likewise.
62574         [C99-based-standards] (SCNuPTR): Likewise.
62575         [C99-based-standards] (SCNxPTR): Likewise.
62576         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
62577         allow.
62578         * conform/data/stdint.h-data: Update comments to clarify
62579         requirements.
62580         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
62581         type.
62582         [C99-based standards] (INT8_MAX): Likewise.
62583         [C99-based standards] (INT16_MIN): Likewise.
62584         [C99-based standards] (INT16_MAX): Likewise.
62585         [C99-based standards] (INT32_MIN): Likewise.
62586         [C99-based standards] (INT32_MAX): Likewise.
62587         [C99-based standards] (INT64_MIN): Likewise.
62588         [C99-based standards] (INT64_MAX): Likewise.
62589         [C99-based standards] (UINT8_MAX): Likewise.
62590         [C99-based standards] (UINT16_MAX): Likewise.
62591         [C99-based standards] (UINT32_MAX): Likewise.
62592         [C99-based standards] (UINT64_MAX): Likewise.
62593         [C99-based standards] (INT_LEAST8_MIN): Likewise.
62594         [C99-based standards] (INT_LEAST8_MAX): Likewise.
62595         [C99-based standards] (INT_LEAST16_MIN): Likewise.
62596         [C99-based standards] (INT_LEAST16_MAX): Likewise.
62597         [C99-based standards] (INT_LEAST32_MIN): Likewise.
62598         [C99-based standards] (INT_LEAST32_MAX): Likewise.
62599         [C99-based standards] (INT_LEAST64_MIN): Likewise.
62600         [C99-based standards] (INT_LEAST64_MAX): Likewise.
62601         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
62602         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
62603         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
62604         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
62605         [C99-based standards] (INT_FAST8_MIN): Likewise.
62606         [C99-based standards] (INT_FAST8_MAX): Likewise.
62607         [C99-based standards] (INT_FAST16_MIN): Likewise.
62608         [C99-based standards] (INT_FAST16_MAX): Likewise.
62609         [C99-based standards] (INT_FAST32_MIN): Likewise.
62610         [C99-based standards] (INT_FAST32_MAX): Likewise.
62611         [C99-based standards] (INT_FAST64_MIN): Likewise.
62612         [C99-based standards] (INT_FAST64_MAX): Likewise.
62613         [C99-based standards] (UINT_FAST8_MAX): Likewise.
62614         [C99-based standards] (UINT_FAST16_MAX): Likewise.
62615         [C99-based standards] (UINT_FAST32_MAX): Likewise.
62616         [C99-based standards] (UINT_FAST64_MAX): Likewise.
62617         [C99-based standards] (INTPTR_MIN): Likewise.
62618         [C99-based standards] (INTPTR_MAX): Likewise.
62619         [C99-based standards] (UINTPTR_MAX): Likewise.
62620         [C99-based standards] (INTMAX_MIN): Likewise.
62621         [C99-based standards] (INTMAX_MAX): Likewise.
62622         [C99-based standards] (UINTMAX_MAX): Likewise.
62623         [C99-based standards] (PTRDIFF_MIN): Likewise.
62624         [C99-based standards] (PTRDIFF_MAX): Likewise.
62625         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
62626         [C99-based standards] (SIZE_MAX): Likewise.
62627         [C99-based standards] (WCHAR_MAX): Likewise.
62628         [C99-based standards] (WINT_MAX): Likewise.
62629         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
62630         constraint on value.
62631         [C99-based standards] (WCHAR_MIN): Likewise.
62632         [C99-based standards] (WINT_MIN): Likewise.
62633         [C99-based standards] (*_t): Allow.
62634         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
62635         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
62636         Include math.h-data and complex.h-data.  Remove all expectations
62637         of math.h and complex.h contents.
62638         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
62639         at end of line.
62640         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
62641         (struct tm): Expect tag.
62642         [C99-based-standards] (wcstof): Expect function.
62643         [C99-based-standards] (wcstold): Likewise.
62644         [C99-based-standards] (wcstoll): Likewise.
62645         [C99-based-standards] (wcstoull): Likewise.
62646         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
62647         macro-int-constant.  Specify type.
62648         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
62649         constraint on value.
62650         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
62651         Specify type.
62652         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
62653         Specify value.
62654         [ISO C standards]: Do not allow headers.
62655         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
62656         wcs[abcdefghijklmnopqrstuvwxyz]*.
62657         [ISO C standards] (*_t): Do not allow.
62658         * conform/data/wctype.h-data [C99-based standards] (iswblank):
62659         Expect function.
62660         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
62661         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
62662         Specify type.
62663         [ISO C standards]: Do not allow headers.
62664         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
62665         is[abcdefghijklmnopqrstuvwxyz]*.
62666         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
62667         to[abcdefghijklmnopqrstuvwxyz]*.
62668         [ISO C standards] (*_t): Do not allow.
62669         * conform/data/stdalign.h-data: New file.
62670         * conform/data/stdbool.h-data: Likewise.
62671         * conform/data/stdnoreturn.h-data: Likewise.
62673 2012-11-07  Roland McGrath  <roland@hack.frob.com>
62675         [BZ #14815]
62676         * manual/filesys.texi (Directory Entries): Typo fix.
62677         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
62679 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
62681         * elf/elf.h (EM_AARCH64): New macro.
62682         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
62683         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
62684         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
62685         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
62686         (R_AARCH64_TLSDESC): Likewise.
62687         (NT_ARM_TLS): Likewise.
62688         (NT_ARM_HW_BREAK): Likewise.
62689         (NT_ARM_HW_WATCH): Likewise.
62691 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
62693         [BZ #14811]
62694         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
62695         (__ieee754_powl): Saturate nonzero exponents with absolute value
62696         below 0x1p-79 to +/- 0x1p-79.
62697         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
62698         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
62699         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
62700         nonzero exponents with absolute value below 0x1p-32 to +/-
62701         0x1p-32.
62702         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
62703         (__ieee754_powl): Saturate nonzero exponents with absolute value
62704         below 0x1p-79 to +/- 0x1p-79.
62705         * math/libm-test.inc (pow_test): Add more tests.
62707 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62709         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
62710         _dl_s390_cap_flags with kernel. Increase string length.
62711         (_dl_s390_platforms): Add z196 and zEC12.
62713 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
62715         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
62716         Change XOPEN21K to XOPEN2K.
62718 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
62720         * string/memmove.c: Use memcpy when possible.
62722 2012-11-06  Andreas Jaeger  <aj@suse.de>
62724         * po/eo.po: Update from translation team.
62726 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
62728         [BZ #14793]
62729         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
62730         exponent and small x and y exponents, scale x or y up.  Increase
62731         by 2 the exponent used in scaling up.
62732         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62733         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62734         * math/libm-test.inc (fma_test): Add more tests.
62735         (fma_test_towardzero): Likewise.
62736         (fma_test_downward): Likewise.
62737         (fma_test_upward): Likewise.
62739 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
62741         [BZ #14805]
62742         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
62743         fenv_t *.
62745         [BZ #14801]
62746         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
62747         namespace for names of struct fields.
62748         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
62749         fenv_t fields.
62750         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
62751         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
62753 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62755         [BZ #3665]
62756         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
62758 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
62760         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
62761         PTR_DEMANGLE.
62763         [BZ #5246]
62764         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
62765         PTR_DEMANGLE.
62767 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
62769         [BZ #14797]
62770         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
62771         definitely overflow as x * y not x * y + z.
62772         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62773         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62774         * math/libm-test.inc (fma_test): Add more tests.
62775         (fma_test_towardzero): Likewise.
62776         (fma_test_downward): Likewise.
62777         (fma_test_upward): Likewise.
62779 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
62781         [BZ #157]
62783         * include/stub-tag.h: Remove file.
62784         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
62785         '#include' of it.
62786         * manual/maint.texi (Porting): Don't reference it.
62787         * Makerules ($(objpfx)stubs): Likewise.
62788         * dirent/closedir.c: Don't include <stub-tag.h>.
62789         * dirent/dirfd.c: Likewise.
62790         * dirent/fdopendir.c: Likewise.
62791         * dirent/getdents.c: Likewise.
62792         * dirent/getdents64.c: Likewise.
62793         * dirent/opendir.c: Likewise.
62794         * dirent/readdir.c: Likewise.
62795         * dirent/readdir64.c: Likewise.
62796         * dirent/readdir64_r.c: Likewise.
62797         * dirent/readdir_r.c: Likewise.
62798         * dirent/rewinddir.c: Likewise.
62799         * dirent/seekdir.c: Likewise.
62800         * dirent/telldir.c: Likewise.
62801         * gmon/profil.c: Likewise.
62802         * grp/setgroups.c: Likewise.
62803         * inet/if_index.c: Likewise.
62804         * io/access.c: Likewise.
62805         * io/chdir.c: Likewise.
62806         * io/chmod.c: Likewise.
62807         * io/chown.c: Likewise.
62808         * io/close.c: Likewise.
62809         * io/dup.c: Likewise.
62810         * io/dup2.c: Likewise.
62811         * io/dup3.c: Likewise.
62812         * io/euidaccess.c: Likewise.
62813         * io/faccessat.c: Likewise.
62814         * io/fchdir.c: Likewise.
62815         * io/fchmod.c: Likewise.
62816         * io/fchmodat.c: Likewise.
62817         * io/fchown.c: Likewise.
62818         * io/fchownat.c: Likewise.
62819         * io/fcntl.c: Likewise.
62820         * io/flock.c: Likewise.
62821         * io/fstatfs.c: Likewise.
62822         * io/fstatfs64.c: Likewise.
62823         * io/fstatvfs.c: Likewise.
62824         * io/fstatvfs64.c: Likewise.
62825         * io/futimens.c: Likewise.
62826         * io/fxstat.c: Likewise.
62827         * io/fxstat64.c: Likewise.
62828         * io/fxstatat.c: Likewise.
62829         * io/fxstatat64.c: Likewise.
62830         * io/getcwd.c: Likewise.
62831         * io/isatty.c: Likewise.
62832         * io/lchmod.c: Likewise.
62833         * io/lchown.c: Likewise.
62834         * io/link.c: Likewise.
62835         * io/linkat.c: Likewise.
62836         * io/lseek.c: Likewise.
62837         * io/lseek64.c: Likewise.
62838         * io/lxstat64.c: Likewise.
62839         * io/mkdir.c: Likewise.
62840         * io/mkdirat.c: Likewise.
62841         * io/mkfifo.c: Likewise.
62842         * io/mkfifoat.c: Likewise.
62843         * io/open.c: Likewise.
62844         * io/open64.c: Likewise.
62845         * io/openat.c: Likewise.
62846         * io/openat64.c: Likewise.
62847         * io/pipe.c: Likewise.
62848         * io/pipe2.c: Likewise.
62849         * io/poll.c: Likewise.
62850         * io/posix_fadvise.c: Likewise.
62851         * io/posix_fadvise64.c: Likewise.
62852         * io/posix_fallocate.c: Likewise.
62853         * io/posix_fallocate64.c: Likewise.
62854         * io/read.c: Likewise.
62855         * io/readlink.c: Likewise.
62856         * io/readlinkat.c: Likewise.
62857         * io/rmdir.c: Likewise.
62858         * io/sendfile.c: Likewise.
62859         * io/sendfile64.c: Likewise.
62860         * io/statfs.c: Likewise.
62861         * io/statfs64.c: Likewise.
62862         * io/statvfs.c: Likewise.
62863         * io/statvfs64.c: Likewise.
62864         * io/symlink.c: Likewise.
62865         * io/symlinkat.c: Likewise.
62866         * io/ttyname.c: Likewise.
62867         * io/ttyname_r.c: Likewise.
62868         * io/umask.c: Likewise.
62869         * io/unlink.c: Likewise.
62870         * io/unlinkat.c: Likewise.
62871         * io/utime.c: Likewise.
62872         * io/utimensat.c: Likewise.
62873         * io/write.c: Likewise.
62874         * io/xmknod.c: Likewise.
62875         * io/xmknodat.c: Likewise.
62876         * io/xstat.c: Likewise.
62877         * io/xstat64.c: Likewise.
62878         * login/getpt.c: Likewise.
62879         * login/grantpt.c: Likewise.
62880         * login/unlockpt.c: Likewise.
62881         * math/e_acoshl.c: Likewise.
62882         * math/e_acosl.c: Likewise.
62883         * math/e_asinl.c: Likewise.
62884         * math/e_atan2l.c: Likewise.
62885         * math/e_atanhl.c: Likewise.
62886         * math/e_coshl.c: Likewise.
62887         * math/e_expl.c: Likewise.
62888         * math/e_fmodl.c: Likewise.
62889         * math/e_gammal_r.c: Likewise.
62890         * math/e_hypotl.c: Likewise.
62891         * math/e_j0l.c: Likewise.
62892         * math/e_j1l.c: Likewise.
62893         * math/e_jnl.c: Likewise.
62894         * math/e_lgammal_r.c: Likewise.
62895         * math/e_log10l.c: Likewise.
62896         * math/e_log2l.c: Likewise.
62897         * math/e_logl.c: Likewise.
62898         * math/e_powl.c: Likewise.
62899         * math/e_rem_pio2l.c: Likewise.
62900         * math/e_sinhl.c: Likewise.
62901         * math/e_sqrtl.c: Likewise.
62902         * math/fclrexcpt.c: Likewise.
62903         * math/fedisblxcpt.c: Likewise.
62904         * math/feenablxcpt.c: Likewise.
62905         * math/fegetenv.c: Likewise.
62906         * math/fegetexcept.c: Likewise.
62907         * math/fegetround.c: Likewise.
62908         * math/feholdexcpt.c: Likewise.
62909         * math/fesetenv.c: Likewise.
62910         * math/fesetround.c: Likewise.
62911         * math/feupdateenv.c: Likewise.
62912         * math/fgetexcptflg.c: Likewise.
62913         * math/fraiseexcpt.c: Likewise.
62914         * math/fsetexcptflg.c: Likewise.
62915         * math/ftestexcept.c: Likewise.
62916         * math/k_cosl.c: Likewise.
62917         * math/k_rem_pio2l.c: Likewise.
62918         * math/k_sinl.c: Likewise.
62919         * math/k_tanl.c: Likewise.
62920         * math/s_asinhl.c: Likewise.
62921         * math/s_atanl.c: Likewise.
62922         * math/s_cbrtl.c: Likewise.
62923         * math/s_erfl.c: Likewise.
62924         * math/s_expm1l.c: Likewise.
62925         * math/s_log1pl.c: Likewise.
62926         * math/s_tanhl.c: Likewise.
62927         * misc/acct.c: Likewise.
62928         * misc/brk.c: Likewise.
62929         * misc/chflags.c: Likewise.
62930         * misc/chroot.c: Likewise.
62931         * misc/fchflags.c: Likewise.
62932         * misc/fgetxattr.c: Likewise.
62933         * misc/flistxattr.c: Likewise.
62934         * misc/fremovexattr.c: Likewise.
62935         * misc/fsetxattr.c: Likewise.
62936         * misc/fsync.c: Likewise.
62937         * misc/ftruncate.c: Likewise.
62938         * misc/futimes.c: Likewise.
62939         * misc/futimesat.c: Likewise.
62940         * misc/getdomain.c: Likewise.
62941         * misc/getdtsz.c: Likewise.
62942         * misc/gethostid.c: Likewise.
62943         * misc/gethostname.c: Likewise.
62944         * misc/getloadavg.c: Likewise.
62945         * misc/getpagesize.c: Likewise.
62946         * misc/getsysstats.c: Likewise.
62947         * misc/getxattr.c: Likewise.
62948         * misc/gtty.c: Likewise.
62949         * misc/ioctl.c: Likewise.
62950         * misc/lgetxattr.c: Likewise.
62951         * misc/listxattr.c: Likewise.
62952         * misc/llistxattr.c: Likewise.
62953         * misc/lremovexattr.c: Likewise.
62954         * misc/lsetxattr.c: Likewise.
62955         * misc/lutimes.c: Likewise.
62956         * misc/madvise.c: Likewise.
62957         * misc/mincore.c: Likewise.
62958         * misc/mlock.c: Likewise.
62959         * misc/mlockall.c: Likewise.
62960         * misc/mmap.c: Likewise.
62961         * misc/mprotect.c: Likewise.
62962         * misc/msync.c: Likewise.
62963         * misc/munlock.c: Likewise.
62964         * misc/munlockall.c: Likewise.
62965         * misc/munmap.c: Likewise.
62966         * misc/preadv.c: Likewise.
62967         * misc/preadv64.c: Likewise.
62968         * misc/ptrace.c: Likewise.
62969         * misc/pwritev.c: Likewise.
62970         * misc/pwritev64.c: Likewise.
62971         * misc/readv.c: Likewise.
62972         * misc/reboot.c: Likewise.
62973         * misc/remap_file_pages.c: Likewise.
62974         * misc/removexattr.c: Likewise.
62975         * misc/revoke.c: Likewise.
62976         * misc/select.c: Likewise.
62977         * misc/setdomain.c: Likewise.
62978         * misc/setegid.c: Likewise.
62979         * misc/seteuid.c: Likewise.
62980         * misc/sethostid.c: Likewise.
62981         * misc/sethostname.c: Likewise.
62982         * misc/setregid.c: Likewise.
62983         * misc/setreuid.c: Likewise.
62984         * misc/setxattr.c: Likewise.
62985         * misc/sstk.c: Likewise.
62986         * misc/stty.c: Likewise.
62987         * misc/swapoff.c: Likewise.
62988         * misc/swapon.c: Likewise.
62989         * misc/sync.c: Likewise.
62990         * misc/syncfs.c: Likewise.
62991         * misc/syscall.c: Likewise.
62992         * misc/truncate.c: Likewise.
62993         * misc/ualarm.c: Likewise.
62994         * misc/usleep.c: Likewise.
62995         * misc/ustat.c: Likewise.
62996         * misc/utimes.c: Likewise.
62997         * misc/vhangup.c: Likewise.
62998         * misc/writev.c: Likewise.
62999         * posix/_exit.c: Likewise.
63000         * posix/alarm.c: Likewise.
63001         * posix/execve.c: Likewise.
63002         * posix/fexecve.c: Likewise.
63003         * posix/fork.c: Likewise.
63004         * posix/fpathconf.c: Likewise.
63005         * posix/getaddrinfo.c: Likewise.
63006         * posix/getegid.c: Likewise.
63007         * posix/geteuid.c: Likewise.
63008         * posix/getgid.c: Likewise.
63009         * posix/getgroups.c: Likewise.
63010         * posix/getlogin.c: Likewise.
63011         * posix/getlogin_r.c: Likewise.
63012         * posix/getpgid.c: Likewise.
63013         * posix/getpid.c: Likewise.
63014         * posix/getppid.c: Likewise.
63015         * posix/getresgid.c: Likewise.
63016         * posix/getresuid.c: Likewise.
63017         * posix/getsid.c: Likewise.
63018         * posix/getuid.c: Likewise.
63019         * posix/glob64.c: Likewise.
63020         * posix/nanosleep.c: Likewise.
63021         * posix/pathconf.c: Likewise.
63022         * posix/pause.c: Likewise.
63023         * posix/posix_madvise.c: Likewise.
63024         * posix/pread.c: Likewise.
63025         * posix/pread64.c: Likewise.
63026         * posix/pwrite.c: Likewise.
63027         * posix/pwrite64.c: Likewise.
63028         * posix/sched_getaffinity.c: Likewise.
63029         * posix/sched_getp.c: Likewise.
63030         * posix/sched_gets.c: Likewise.
63031         * posix/sched_primax.c: Likewise.
63032         * posix/sched_primin.c: Likewise.
63033         * posix/sched_rr_gi.c: Likewise.
63034         * posix/sched_setaffinity.c: Likewise.
63035         * posix/sched_setp.c: Likewise.
63036         * posix/sched_sets.c: Likewise.
63037         * posix/sched_yield.c: Likewise.
63038         * posix/setgid.c: Likewise.
63039         * posix/setlogin.c: Likewise.
63040         * posix/setpgid.c: Likewise.
63041         * posix/setresgid.c: Likewise.
63042         * posix/setresuid.c: Likewise.
63043         * posix/setsid.c: Likewise.
63044         * posix/setuid.c: Likewise.
63045         * posix/sleep.c: Likewise.
63046         * posix/spawni.c: Likewise.
63047         * posix/sysconf.c: Likewise.
63048         * posix/times.c: Likewise.
63049         * posix/wait.c: Likewise.
63050         * posix/wait3.c: Likewise.
63051         * posix/wait4.c: Likewise.
63052         * posix/waitpid.c: Likewise.
63053         * resolv/gai_sigqueue.c: Likewise.
63054         * resource/getpriority.c: Likewise.
63055         * resource/getrlimit.c: Likewise.
63056         * resource/getrusage.c: Likewise.
63057         * resource/nice.c: Likewise.
63058         * resource/setpriority.c: Likewise.
63059         * resource/setrlimit.c: Likewise.
63060         * resource/ulimit.c: Likewise.
63061         * rt/aio_cancel.c: Likewise.
63062         * rt/aio_fsync.c: Likewise.
63063         * rt/aio_read.c: Likewise.
63064         * rt/aio_sigqueue.c: Likewise.
63065         * rt/aio_suspend.c: Likewise.
63066         * rt/aio_write.c: Likewise.
63067         * rt/clock_getres.c: Likewise.
63068         * rt/clock_gettime.c: Likewise.
63069         * rt/clock_nanosleep.c: Likewise.
63070         * rt/clock_settime.c: Likewise.
63071         * rt/lio_listio.c: Likewise.
63072         * rt/mq_close.c: Likewise.
63073         * rt/mq_getattr.c: Likewise.
63074         * rt/mq_notify.c: Likewise.
63075         * rt/mq_open.c: Likewise.
63076         * rt/mq_receive.c: Likewise.
63077         * rt/mq_send.c: Likewise.
63078         * rt/mq_setattr.c: Likewise.
63079         * rt/mq_timedreceive.c: Likewise.
63080         * rt/mq_timedsend.c: Likewise.
63081         * rt/mq_unlink.c: Likewise.
63082         * rt/shm_open.c: Likewise.
63083         * rt/shm_unlink.c: Likewise.
63084         * rt/timer_create.c: Likewise.
63085         * rt/timer_delete.c: Likewise.
63086         * rt/timer_getoverr.c: Likewise.
63087         * rt/timer_gettime.c: Likewise.
63088         * rt/timer_settime.c: Likewise.
63089         * setjmp/__longjmp.c: Likewise.
63090         * setjmp/setjmp.c: Likewise.
63091         * signal/kill.c: Likewise.
63092         * signal/killpg.c: Likewise.
63093         * signal/raise.c: Likewise.
63094         * signal/sigaction.c: Likewise.
63095         * signal/sigaltstack.c: Likewise.
63096         * signal/sigblock.c: Likewise.
63097         * signal/sigignore.c: Likewise.
63098         * signal/sigintr.c: Likewise.
63099         * signal/signal.c: Likewise.
63100         * signal/sigpause.c: Likewise.
63101         * signal/sigpending.c: Likewise.
63102         * signal/sigqueue.c: Likewise.
63103         * signal/sigreturn.c: Likewise.
63104         * signal/sigset.c: Likewise.
63105         * signal/sigsetmask.c: Likewise.
63106         * signal/sigstack.c: Likewise.
63107         * signal/sigsuspend.c: Likewise.
63108         * signal/sigtimedwait.c: Likewise.
63109         * signal/sigvec.c: Likewise.
63110         * signal/sigwait.c: Likewise.
63111         * signal/sigwaitinfo.c: Likewise.
63112         * signal/sysv_signal.c: Likewise.
63113         * socket/accept.c: Likewise.
63114         * socket/accept4.c: Likewise.
63115         * socket/bind.c: Likewise.
63116         * socket/connect.c: Likewise.
63117         * socket/getpeername.c: Likewise.
63118         * socket/getsockname.c: Likewise.
63119         * socket/getsockopt.c: Likewise.
63120         * socket/isfdtype.c: Likewise.
63121         * socket/listen.c: Likewise.
63122         * socket/recv.c: Likewise.
63123         * socket/recvfrom.c: Likewise.
63124         * socket/recvmsg.c: Likewise.
63125         * socket/send.c: Likewise.
63126         * socket/sendmsg.c: Likewise.
63127         * socket/sendto.c: Likewise.
63128         * socket/setsockopt.c: Likewise.
63129         * socket/shutdown.c: Likewise.
63130         * socket/sockatmark.c: Likewise.
63131         * socket/socket.c: Likewise.
63132         * socket/socketpair.c: Likewise.
63133         * stdio-common/ctermid.c: Likewise.
63134         * stdio-common/cuserid.c: Likewise.
63135         * stdio-common/remove.c: Likewise.
63136         * stdio-common/rename.c: Likewise.
63137         * stdio-common/renameat.c: Likewise.
63138         * stdio-common/tempname.c: Likewise.
63139         * stdlib/getcontext.c: Likewise.
63140         * stdlib/makecontext.c: Likewise.
63141         * stdlib/setcontext.c: Likewise.
63142         * stdlib/swapcontext.c: Likewise.
63143         * stdlib/system.c: Likewise.
63144         * streams/fattach.c: Likewise.
63145         * streams/fdetach.c: Likewise.
63146         * streams/getmsg.c: Likewise.
63147         * streams/getpmsg.c: Likewise.
63148         * streams/putmsg.c: Likewise.
63149         * streams/putpmsg.c: Likewise.
63150         * sysdeps/unix/bsd/getpt.c: Likewise.
63151         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
63152         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
63153         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
63154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
63155         Likewise.
63156         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
63157         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
63158         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
63159         * sysvipc/msgctl.c: Likewise.
63160         * sysvipc/msgget.c: Likewise.
63161         * sysvipc/msgrcv.c: Likewise.
63162         * sysvipc/msgsnd.c: Likewise.
63163         * sysvipc/semctl.c: Likewise.
63164         * sysvipc/semget.c: Likewise.
63165         * sysvipc/semop.c: Likewise.
63166         * sysvipc/semtimedop.c: Likewise.
63167         * sysvipc/shmat.c: Likewise.
63168         * sysvipc/shmctl.c: Likewise.
63169         * sysvipc/shmdt.c: Likewise.
63170         * sysvipc/shmget.c: Likewise.
63171         * termios/tcdrain.c: Likewise.
63172         * termios/tcflow.c: Likewise.
63173         * termios/tcflush.c: Likewise.
63174         * termios/tcgetattr.c: Likewise.
63175         * termios/tcgetpgrp.c: Likewise.
63176         * termios/tcsendbrk.c: Likewise.
63177         * termios/tcsetattr.c: Likewise.
63178         * termios/tcsetpgrp.c: Likewise.
63179         * time/adjtime.c: Likewise.
63180         * time/clock.c: Likewise.
63181         * time/getitimer.c: Likewise.
63182         * time/gettimeofday.c: Likewise.
63183         * time/setitimer.c: Likewise.
63184         * time/settimeofday.c: Likewise.
63185         * time/stime.c: Likewise.
63186         * time/time.c: Likewise.
63188 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
63190         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
63191         /usr/old/bin.
63193         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
63194         instead of spaces.
63195         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
63197 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
63199         [BZ #14796]
63200         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
63201         FE_TONEAREST before applying Dekker multiplication and Knuth
63202         addition.  Clear inexact exceptions and check for exact zero
63203         results afterwards.
63204         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
63205         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
63206         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63207         * math/libm-test.inc (fma_test): Add more tests.
63208         (fma_test_towardzero): Likewise.
63209         (fma_test_downward): Likewise.
63210         (fma_test_upward): Likewise.
63211         * sysdeps/generic/math_private.h (default_libc_fesetround): New
63212         function.
63213         (libc_fesetround): New macro.
63214         (libc_fesetroundf): Likewise.
63215         (libc_fesetroundl): Likewise.
63216         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
63217         function.
63218         (libc_fesetround_387): Likewise.
63219         (libc_fesetroundf): New macro.
63220         (libc_fesetround): Likewise.
63221         (libc_fesetroundl): Likewise.
63222         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
63223         function.
63224         (libc_fesetroundf): New macro.
63225         (libc_fesetround): Likewise.
63226         (libc_fesetroundl): Likewise.
63227         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
63228         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
63229         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
63230         libm_hidden_ver.
63231         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
63232         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
63233         libm_hidden_def.
63234         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
63235         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
63236         libm_hidden_ver.
63237         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
63238         libm_hidden_def.
63240         [BZ #3439]
63241         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
63242         integer constant usable in #if and use that to give value to enum
63243         constant.
63244         (FE_DIVBYZERO): Likewise.
63245         (FE_UNDERFLOW): Likewise.
63246         (FE_OVERFLOW): Likewise.
63247         (FE_INVALID): Likewise.
63248         (FE_INVALID_SNAN): Likewise.
63249         (FE_INVALID_ISI): Likewise.
63250         (FE_INVALID_IDI): Likewise.
63251         (FE_INVALID_ZDZ): Likewise.
63252         (FE_INVALID_IMZ): Likewise.
63253         (FE_INVALID_COMPARE): Likewise.
63254         (FE_INVALID_SOFTWARE): Likewise.
63255         (FE_INVALID_SQRT): Likewise.
63256         (FE_INVALID_INTEGER_CONVERSION): Likewise.
63257         (FE_TONEAREST): Likewise.
63258         (FE_TOWARDZERO): Likewise.
63259         (FE_UPWARD): Likewise.
63260         (FE_DOWNWARD): Likewise.
63261         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
63262         (FE_DIVBYZERO): Likewise.
63263         (FE_OVERFLOW): Likewise.
63264         (FE_UNDERFLOW): Likewise.
63265         (FE_INEXACT): Likewise.
63266         (FE_TONEAREST): Likewise.
63267         (FE_DOWNWARD): Likewise.
63268         (FE_UPWARD): Likewise.
63269         (FE_TOWARDZERO): Likewise.
63270         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
63271         (FE_UNDERFLOW): Likewise.
63272         (FE_OVERFLOW): Likewise.
63273         (FE_DIVBYZERO): Likewise.
63274         (FE_INVALID): Likewise.
63275         (FE_TONEAREST): Likewise.
63276         (FE_TOWARDZERO): Likewise.
63277         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
63278         (FE_OVERFLOW): Likewise.
63279         (FE_UNDERFLOW): Likewise.
63280         (FE_DIVBYZERO): Likewise.
63281         (FE_INEXACT): Likewise.
63282         (FE_TONEAREST): Likewise.
63283         (FE_TOWARDZERO): Likewise.
63284         (FE_UPWARD): Likewise.
63285         (FE_DOWNWARD): Likewise.
63286         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
63287         (FE_DIVBYZERO): Likewise.
63288         (FE_OVERFLOW): Likewise.
63289         (FE_UNDERFLOW): Likewise.
63290         (FE_INEXACT): Likewise.
63291         (FE_TONEAREST): Likewise.
63292         (FE_DOWNWARD): Likewise.
63293         (FE_UPWARD): Likewise.
63294         (FE_TOWARDZERO): Likewise.
63296 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
63298         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
63300 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
63302         * scripts/cross-test-ssh.sh (command): Use newlines to separate
63303         commands.  Quote $PWD.
63304         (blacklist_exports): Don't use remove_newlines.  Replace "declare
63305         -x" by "export".
63306         (remove_newlines): Remove.
63308 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
63310         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
63311         * stdlib/stdlib.h (atof): Moved to ...
63312         * include/bits/stdlib-float.h: Here.  New file.
63313         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
63314         * stdlib/bits/stdlib-float.h: New file.
63315         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
63316         -mno-sse -mno-mmx.
63317         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
63318         <xmmintrin.h>.
63320 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
63322         * conform/conformtest.pl (@headers): Add fenv.h.
63323         * conform/data/fenv.h-data: New file.
63324         * include/fenv.h [_ISOMAC]: Disable all contents of file except
63325         include of <math/fenv.h>.
63327         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
63328         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
63329         && !UNIX98].  Enables tests for XOPEN2K8.
63330         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
63331         POSIX2008]: Likewise.
63333         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
63334         (struct rusage): Do not expect type or its members.
63336         [BZ #3439]
63337         * math/math.h (FP_NAN): Define macro to integer constant usable in
63338         #if and use that to give value to enum constant.
63339         (FP_INFINITE): Likewise.
63340         (FP_ZERO): Likewise.
63341         (FP_SUBNORMAL): Likewise.
63342         (FP_NORMAL): Likewise.
63344 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
63346         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
63347         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
63348         arguments.
63350 2012-11-02  Roland McGrath  <roland@hack.frob.com>
63352         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
63353         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
63354         autoconf-time if not.
63355         * configure.in: Remove AC_PREREQ.
63357 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63359         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
63360         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
63361         of the internal implementation.
63363 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
63365         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
63366         except include of <misc/sys/syslog.h>.
63368 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
63370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
63371         function returns with a NULL context exit with zero.
63373 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63375         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
63377 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
63379         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
63380         (run_program_cmd): This.
63381         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
63382         (tst_langinfo): New variable.  Use it.
63384 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
63386         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
63387         floating point opcodes.
63389 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
63391         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
63392         variable.
63394         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
63396         * sysdeps/mach/hurd/powerpc: Remove directory.
63397         * sysdeps/mach/powerpc: Likewise.
63399 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
63401         * scripts/check-local-headers.sh: Ignore c++ headers.
63403 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
63405         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
63406         __libc_cleanup_region_start argument.
63408 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
63410         [BZ #14784]
63411         [BZ #14785]
63412         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
63413         x * y using scaling, not as x * y + z.
63414         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
63415         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63416         * math/libm-test.inc (fma_test): Add more tests.
63417         (fma_test_towardzero): Likewise.
63418         (fma_test_downward): Likewise.
63419         (fma_test_upward): Likewise.
63421 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
63423         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
63425 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
63427         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
63428         New variable.
63430 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
63432         * rt/tst-shm.c (worker): Correct checking for mmap failure.
63434 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
63436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63437         Fix sort order.
63438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63439         Likewise.
63441 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63444         Fix the order of the list for glibc 2.17.
63445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63446         Likewise.
63448 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
63450         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63452 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
63454         [BZ #14610]
63455         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
63456         for low part of x being zero before using __atanl (y).
63457         * math/libm-test.inc (atan2_test): Add another test.
63459         * manual/install.texi (Configuring and compiling): Document
63460         general use of test-wrapper and test-wrapper-env.
63461         * INSTALL: Regenerated.
63463         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
63464         (__fma): Do not extract and scale down low bits on after-rounding
63465         systems when result rounded to normal precision would have normal
63466         exponent.
63467         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
63468         (__fmal): Do not extract and scale down low bits on after-rounding
63469         systems when result rounded to normal precision would have normal
63470         exponent.
63471         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
63472         (__fmal): Do not extract and scale down low bits on after-rounding
63473         systems when result rounded to normal precision would have normal
63474         exponent.
63475         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
63476         macro.
63477         (fma_test): Add more tests.
63478         (fma_test_towardzero): Likewise.
63479         (fma_test_downward): Likewise.
63480         (fma_test_upward): Likewise.
63482 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
63484         * sysdeps/i386/tininess.h: Renamed to ...
63485         * sysdeps/x86/tininess.h: This.
63486         * sysdeps/x86_64/tininess.h: Removed.
63488 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
63490         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
63491         input.  Use $(build-program-cmd).
63492         ($(objpfx)tst-array1-static.out): Likewise.
63493         ($(objpfx)tst-array2.out): Likewise.
63494         ($(objpfx)tst-array3.out): Likewise.
63495         ($(objpfx)tst-array4.out): Likewise.
63496         ($(objpfx)tst-array5.out): Likewise.
63497         ($(objpfx)tst-array5-static.out): Likewise.
63499 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
63501         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
63502         if defined.
63504         * nss/nsswitch.h (nss_interface_function): Provide new
63505         macro for use with NSS functions.
63506         * grp/initgroups.c: Use new macro.
63507         * nss/getXXbyYY.c: Likewise.
63508         * nss/getXXbyYY_r.c: Likewise.
63509         * nss/getXXent.c: Likewise.
63510         * nss/getXXent_r.c: Likewise.
63511         * sysdeps/posix/getaddrinfo.c: Likewise.
63513 2012-10-30  Andreas Jaeger  <aj@suse.de>
63515         * po/ru.po: Update Russion translation from translation project.
63517 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
63519         [BZ #14152]
63520         [BZ #14783]
63521         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
63522         result and shift together with sticky bit instead of replicating
63523         round-to-nearest rounding.
63524         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
63525         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63526         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
63527         missing underflow exceptions.
63528         (fma_test_towardzero): Add more tests.
63529         (fma_test_downward): Likewise.
63530         (fma_test_upward): Likewise.
63532         [BZ #14047]
63533         * sysdeps/generic/tininess.h: New file.
63534         * sysdeps/i386/tininess.h: Likewise.
63535         * sysdeps/sh/tininess.h: Likewise.
63536         * sysdeps/x86_64/tininess.h: Likewise.
63537         * stdlib/tst-strtod-underflow.c: Likewise.
63538         * stdlib/tst-tininess.c: Likewise.
63539         * stdlib/strtod_l.c: Include <tininess.h>.
63540         (round_and_return): Do not set errno for exact underflow cases.
63541         Force an underflow exception when setting errno for underflow.
63542         Determine underflow based on rounding to normal precision if
63543         TININESS_AFTER_ROUNDING.
63544         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
63545         ERANGE for exact underflow cases.
63546         * stdlib/Makefile (tests): Add tst-tininess and
63547         tst-strtod-underflow.
63548         ($(objpfx)tst-tininess): Use $(link-libm).
63549         ($(objpfx)tst-strtod-underflow): Likewise.
63551 2012-10-30  Andreas Jaeger  <aj@suse.de>
63553         [BZ#14767]
63554         * elf/Makefile (tests): Remove conditional for have-initfini-array
63555         since this is now always required and the variable does not exist
63556         anymore.
63557         (tests-static): Likewise.
63558         (modules-names): Likewise.
63560         * po/eo.po: Add Esperanto translation from translation project.
63562         * elf/tst-array1.c (fini_array): Make writeable so that it can be
63563         merged with constructor/destructor.
63564         (init_array): Likewise.
63565         * elf/tst-array2dep.c (fini_array): Likewise.
63566         (init_array): Likewise.
63568 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
63570         * manual/message.texi: Delete @cartouche tags.
63572 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
63574         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
63575         EOPNOTSUPP.
63576         * sysdeps/mach/hurd/fsync.c: Likewise.
63578         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
63579         [_POSIX_REALTIME_SIGNALS]: Change condition to
63580         [_POSIX_REALTIME_SIGNALS > 0].
63582 2012-10-27  Andreas Jaeger  <aj@suse.de>
63584         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
63585         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
63586         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
63587         [__WORDSIZE != 64]: Likewise.
63589 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
63591         *  iconvdata/tst-table.sh: Remove ${SHELL}.
63592         *  iconvdata/tst-tables.sh: Likewise.
63594 2012-10-25  David S. Miller  <davem@davemloft.net>
63596         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
63597         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
63598         of strtoull.
63600         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
63601         ifunc-impl-list.c
63602         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
63603         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
63604         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
63605         file.
63607 2012-10-25  Roland McGrath  <roland@hack.frob.com>
63609         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
63610         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
63611         __getdirentries.
63613 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
63614             Jim Blandy  <jimb@codesourcery.com>
63616         * scripts/cross-test-ssh.sh: New file.
63617         * manual/install.texi (Configuring and compiling): Document use of
63618         cross-test-ssh.sh.
63619         * INSTALL: Regenerated.
63621 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
63623         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
63624         EOPNOTSUPP.
63626 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
63628         * Makeconfig (run-program-prefix): Fix comment.
63630 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
63631             Jim Blandy  <jimb@codesourcery.com>
63633         * Makeconfig (test-wrapper): New variable,
63634         (test-wrapper-env): Likewise.
63635         [$(cross-compiling) = yes && $(test-wrapper) != ""]
63636         (run-built-tests): Define to yes.
63637         (run-program-prefix): Use $(test-wrapper).
63638         (built-program-cmd): Likewise.
63639         * Rules (make-test-out): Use $(test-wrapper-env) and
63640         $(host-built-program-cmd).
63641         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
63642         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
63643         tst-pathopt.sh.
63644         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
63645         $(test-wrapper-env) to tst-rtld-load-self.sh.
63646         ($(objpfx)order2.out): Use $(test-wrapper).
63647         ($(objpfx)tst-initorder.out): Likewise.
63648         ($(objpfx)tst-initorder2.out): Likewise.
63649         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
63650         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
63651         (test_wrapper_env): New variable.  Use it to run ld.so.
63652         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
63653         Use it to run ld.so.
63654         (test_wrapper_env): Likewise.
63655         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
63656         $(test-wrapper) to run-iconv-test.sh.
63657         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
63658         (ICONV): Use $test_wrapper.
63659         * posix/Makefile ($(objpfx)globtest.out): Pass
63660         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
63661         globtest.sh, not $(run-program-prefix).
63662         * posix/globtest.sh (run_via_rtld_prefix): New variable.
63663         (test_wrapper): Likewise.
63664         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
63665         set together with run_via_rtld_prefix.
63666         (run_program_prefix): Define in terms of test_wrapper and
63667         run_via_rtld_prefix.
63669 2012-10-24  Roland McGrath  <roland@hack.frob.com>
63671         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
63672         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
63673         Targets removed.
63675         [BZ #14743]
63676         * include/time.h: Remove librt_hidden_proto (clock_gettime).
63677         Declare __clock_getres, __clock_gettime, __clock_settime,
63678         __clock_nanosleep, and __clock_getcpuclockid.
63679         * rt/clock_gettime.c: Define __clock_gettime as an alias.
63680         Remove librt_hidden_def (clock_gettime).
63681         * sysdeps/unix/clock_gettime.c: Likewise.
63682         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
63683         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
63684         * rt/clock_getres.c: Define __clock_getres as an alias.
63685         * sysdeps/posix/clock_getres.c: Likewise.
63686         * rt/clock_settime.c: Define __clock_settime as an alias.
63687         * sysdeps/unix/clock_settime.c: Likewise.
63688         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
63689         * sysdeps/unix/clock_nanosleep.c: Likewise.
63690         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
63691         * rt/clock-compat.c: New file.
63692         * rt/Makefile (librt-routines): Add clock-compat and move
63693         $(clock-routines) to ...
63694         (routines): ... here, new variable.
63695         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
63696         Don't add get_clockfreq here.
63697         * rt/Versions (libc: GLIBC_2.17): New version set.
63698         Add clock_* symbols here.
63699         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
63700         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
63701         (GLIBC_2.17): Add clock_* symbols.
63702         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
63703         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
63704         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
63705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63706         Likewise.
63707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63708         Likewise.
63709         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
63710         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
63711         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
63712         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
63713         * NEWS: Mention the move.
63715         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
63716         Use __open, __read, __close rather than their public counterparts.
63717         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
63718         (__get_clockfreq_via_cpuinfo): Likewise.
63719         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
63720         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
63722         * config.h.in (HAVE_IFUNC): New #undef.
63723         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
63724         was successful.
63725         * configure: Regenerated.
63727 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
63729         * configure.in: Move READELF check to start of file.
63730         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
63731         libc_cv_asm_gnu_indirect_function in the process.
63732         * configure: Regenerated.
63734 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
63736         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
63737         send the output to /dev/null.
63738         (libc_cv_cc_with_libunwind): Likewise.
63739         (libc_cv_as_noexecstack): Likewise.
63740         * configure: Regenerate.
63742 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
63744         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
63746         * posix/globtest.sh (TMPDIR): Do not set.
63747         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
63748         (testout): Likewise.
63750 2012-10-24  Andreas Jaeger  <aj@suse.de>
63752         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
63753         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
63754         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
63755         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
63756         posix_fadvise64, posix_fallocate64.
63758         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
63759         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
63760         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
63761         Likewise.
63762         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
63763         Likewise.
63764         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
63766         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
63767         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
63768         <bits/fcntl-linux.h>.
63769         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
63771         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
63772         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
63773         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
63774         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
63775         [__WORDSIZE != 64]: Likewise.
63777 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
63779         * Makeconfig (run-built-tests): New variable.
63780         * Rules [$(cross-compiling) = yes]: Change condition to
63781         [$(run-built-tests) = no].
63782         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
63783         to [$(run-built-tests) = yes].
63784         * elf/Makefile [$(cross-compiling) = no]: Likewise.
63785         * grp/Makefile [$(cross-compiling) = no]: Likewise.
63786         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
63787         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
63788         * intl/Makefile [$(cross-compiling) = no]: Likewise.
63789         * io/Makefile [$(cross-compiling) = no]: Likewise.
63790         * libio/Makefile [$(cross-compiling) = no]: Likewise.
63791         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
63792         * misc/Makefile [$(cross-compiling) = no]: Likewise.
63793         * posix/Makefile [$(cross-compiling) = no]: Likewise.
63794         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
63795         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
63796         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
63797         * string/Makefile [$(cross-compiling) = no]: Likewise.
63799         * posix/Makefile ($(objpfx)globtest.out): Pass
63800         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
63801         $(rtld-installed-name).
63802         * posix/globtest.sh (elf_objpfx): Remove variable.
63803         (rtld_installed_name): Likewise.
63804         (library_path): Likewise.
63805         (run_program_prefix): New variable.  Use for running globtest
63806         binary.
63808 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
63809             Joseph Myers  <joseph@codesourcery.com>
63811         * Makeconfig (host-built-program-cmd): New variable.
63812         * elf/Makefile (tst-stackguard1-ARGS): Use
63813         $(host-built-program-cmd).
63814         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
63815         (tst-spawn-ARGS): Likewise.
63816         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
63818 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
63819             Jim Blandy  <jimb@codesourcery.com>
63821         * Makeconfig (run-via-rtld-prefix): New variable.
63822         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
63823         (built-program-cmd): Likewise.
63825 2012-10-22  Andreas Jaeger  <aj@suse.de>
63827         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
63828         __O_RSYNC if it exists, otherwise to O_SYNC.
63830 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
63831             Joseph Myers  <joseph@codesourcery.com>
63833         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
63834         /dev/null.
63835         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
63836         from /dev/null
63837         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
63838         /dev/null.
63840 2012-10-22  Andreas Jaeger  <aj@suse.de>
63842         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
63843         Define always.
63844         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
63846         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63847         bits/fcntl-linux.h.
63849         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
63850         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
63852         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
63853         to __O_LARGEFILE.
63854         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
63855         to __O_LARGEFILE.
63857 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
63858             Joseph Myers  <joseph@codesourcery.com>
63860         * config.make.in (NM): New variable.
63862 2012-10-21  Andreas Jaeger  <aj@suse.de>
63864         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
63865         definitions and declarations that are provided by
63866         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
63868 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
63870         [BZ #14683]
63871         * elf/Makefile (tests-static): Add tst-leaks1-static.
63872         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
63873         ($(objpfx)tst-leaks1-static): New rule.
63874         ($(objpfx)tst-leaks1-static-mem): Likewise.
63875         (tst-leaks1-static-ENV): New macro.
63876         * elf/dl-open.c (dl_open_worker): Check the main application
63877         only if SHARED is defined.
63878         * elf/tst-leaks1-static.c: New file.
63880 2012-10-20  Andreas Jaeger  <aj@suse.de>
63882         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
63883         generic values for Linux.
63884         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
63885         and declarations that are provided by <bits/fcntl-linux.h> and
63886         include <bits/fcntl-linux.h>.
63887         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63888         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63890 2012-10-20  Roland McGrath  <roland@hack.frob.com>
63892         * io/fcntl.h: Move include of <bits/types.h> to the top and
63893         include it unconditionally.
63895 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
63897         * wcsmbs/Makefile (tests-ifunc): New variable.
63898         (tests): Add $(tests-ifunc).
63899         * wcsmbs/test-wcschr-ifunc.c: New file.
63900         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
63901         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
63902         * wcsmbs/test-wcslen-ifunc.c: Likewise.
63903         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
63904         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
63906         * string/Makefile (tests-ifunc): New variable.
63907         (tests): Add $(tests-ifunc).
63908         * string/test-memccpy.c (TEST_NAME): New macro.
63909         * string/test-memchr.c (TEST_NAME): Likewise.
63910         * string/test-memcmp.c (TEST_NAME): Likewise.
63911         * string/test-memcpy.c (TEST_NAME): Likewise.
63912         * string/test-memmem.c (TEST_NAME): Likewise.
63913         * string/test-memmove.c (TEST_NAME): Likewise.
63914         * string/test-memset.c (TEST_NAME): Likewise.
63915         * string/test-rawmemchr.c (TEST_NAME): Likewise.
63916         * string/test-stpcpy.c (TEST_NAME): Likewise.
63917         * string/test-stpncpy.c (TEST_NAME): Likewise.
63918         * string/test-strcasecmp.c (TEST_NAME): Likewise.
63919         * string/test-strcasestr.c (TEST_NAME): Likewise.
63920         * string/test-strcat.c (TEST_NAME): Likewise.
63921         * string/test-strchr.c (TEST_NAME): Likewise.
63922         * string/test-strcmp.c(TEST_NAME): Likewise.
63923         * string/test-strcpy.c (TEST_NAME): Likewise.
63924         * string/test-strcspn.c (TEST_NAME): Likewise.
63925         * string/test-strlen.c (TEST_NAME): Likewise.
63926         * string/test-strncasecmp.c (TEST_NAME): Likewise.
63927         * string/test-strncmp.c (TEST_NAME): Likewise.
63928         * string/test-strncpy.c (TEST_NAME): Likewise.
63929         * string/test-strnlen.c (TEST_NAME): Likewise.
63930         * string/test-strpbrk.c (TEST_NAME): Likewise.
63931         * string/test-strrchr.c (TEST_NAME): Likewise.
63932         * string/test-strspn.c (TEST_NAME): Likewise.
63933         * string/test-strstr.c (TEST_NAME): Likewise.
63934         * string/test-bcopy-ifunc.c: New file.
63935         * string/test-bzero-ifunc.c: Likewise.
63936         * string/test-memccpy-ifunc.c: Likewise.
63937         * string/test-memchr-ifunc.c: Likewise.
63938         * string/test-memcmp-ifunc.c: Likewise.
63939         * string/test-memcpy-ifunc.c: Likewise.
63940         * string/test-memmem-ifunc.c: Likewise.
63941         * string/test-memmove-ifunc.c: Likewise.
63942         * string/test-mempcpy-ifunc.c: Likewise.
63943         * string/test-memset-ifunc.c: Likewise.
63944         * string/test-rawmemchr-ifunc.c: Likewise.
63945         * string/test-stpcpy-ifunc.c: Likewise.
63946         * string/test-stpncpy-ifunc.c: Likewise.
63947         * string/test-strcasecmp-ifunc.c: Likewise.
63948         * string/test-strcasestr-ifunc.c: Likewise.
63949         * string/test-strcat-ifunc.c: Likewise.
63950         * string/test-strchr-ifunc.c: Likewise.
63951         * string/test-strchrnul-ifunc.c: Likewise.
63952         * string/test-strcmp-ifunc.c: Likewise.
63953         * string/test-strcpy-ifunc.c: Likewise.
63954         * string/test-strcspn-ifunc.c: Likewise.
63955         * string/test-strlen-ifunc.c: Likewise.
63956         * string/test-strncasecmp-ifunc.c: Likewise.
63957         * string/test-strncat-ifunc.c: Likewise.
63958         * string/test-strncmp-ifunc.c: Likewise.
63959         * string/test-strncpy-ifunc.c: Likewise.
63960         * string/test-strnlen-ifunc.c: Likewise.
63961         * string/test-strpbrk-ifunc.c: Likewise.
63962         * string/test-strrchr-ifunc.c: Likewise.
63963         * string/test-strspn-ifunc.c: Likewise.
63964         * string/test-strstr-ifunc.c: Likewise.
63966         * debug/Makefile (tests-ifunc): New variable.
63967         (tests): Add $(tests-ifunc).
63968         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
63969         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
63970         * debug/test-stpcpy_chk-ifunc.c: New file.
63971         * debug/test-strcpy_chk-ifunc.c: Likewise.
63973 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
63975         [BZ #13601]
63976         * elf/dl-load.c (open_verify): Retry read if the entire ELF
63977         header is not read in.
63979 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
63981         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
63982         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
63983         directly.  Pass built executable to script as
63984         $(built-program-cmd).
63985         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
63986         $testprogram without using LD_LIBRARY_PATH and $ldso.
63988         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
63989         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
63990         $(rtld-installed-name).
63991         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
63992         (rtld_installed_name): Likewise.
63993         (library_path): Likewise.
63994         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
63995         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
63996         $(run-program-prefix) to tst-tables.sh.
63997         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
63998         it to run tst-table-from and tst-table-to.
63999         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
64000         Pass it to tst-table.sh.
64001         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
64002         $(run-program-prefix) to tst-gettext.sh.
64003         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
64004         tst-translit.sh.
64005         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
64006         tst-gettext2.sh.
64007         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
64008         to run tst-gettext.
64009         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
64010         to run tst-gettext2.
64011         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
64012         to run tst-translit.
64013         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
64014         $(run-program-prefix) to tst-mtrace.sh.
64015         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
64016         to run tst-mtrace.
64017         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
64018         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
64019         $(rtld-installed-name).
64020         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
64021         (rtld_installed_name): Likewise.
64022         (run_program_prefix): New variable.  Use it to run wordexp-test.
64024         * Makeconfig (ARCH): Remove all definitions.
64025         (machine): Likewise.
64026         [ARCH]: Remove conditional code.
64027         [!objdir]: Give error.
64028         [!objdir] (objpfx): Remove.
64029         [!objdir] (common-objpfx): Likewise.
64030         [!objdir] (common-objdir): Likewise.
64031         * configure.in (config_makefile): Remove.  Hardcode Makefile in
64032         AC_CONFIG_FILES call.
64033         * configure: Regenerated.
64035         [BZ #13888]
64036         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
64037         or TMPDIR.
64038         (testout): Likewise.
64040         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
64041         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
64042         $(rtld-installed-name).
64043         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
64044         (rtld_installed_name): Likewise.
64045         (runit): Remove function.
64046         (run_getconf): New variable,  Use it for running getconf binary.
64048 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
64050         [BZ #14716]
64051         * string/test-memmem.c (check_result): New function.
64052         (do_one_test): Use it.
64053         (check1): New function.
64054         (test_main): Use it.
64056 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
64058         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
64060 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
64062         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
64063         (_G_LSEEK64): Likewise.
64064         (_G_MMAP64): Likewise.
64065         (_G_FSTAT64): Likewise.
64066         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
64067         (_G_LSEEK64): Likewise.
64068         (_G_MMAP64): Likewise.
64069         (_G_FSTAT64): Likewise.
64070         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
64071         unconditional.  Call __mmap64 directly.
64072         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
64073         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
64074         __lseek64 directly.
64075         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
64076         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
64077         __mmap64 directly.
64078         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
64079         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
64080         __lseek64 directly.
64081         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
64082         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
64083         __lseek64 directly.
64084         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
64085         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
64086         __lseek64 directly.
64087         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
64088         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
64089         __fxstat64 directly.
64090         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
64091         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
64092         unconditional.
64093         (freopen64) [!_G_OPEN64]: Remove conditional code.
64094         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
64095         unconditional.
64096         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
64097         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
64098         unconditional.
64099         (ftello64) [!_G_LSEEK64]: Remove conditional code.
64100         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
64101         unconditional.
64102         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
64103         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
64104         unconditional.
64105         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
64106         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
64107         unconditional.
64108         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
64109         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
64110         unconditional.
64111         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
64112         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
64113         unconditional.
64114         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
64116 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
64118         [BZ #12140]
64119         * manual/memory.texi (Malloc Tunable Parameters): Add note
64120         about free list pointers overwriting some perturb bytes.
64121         Wording suggested by Roland McGrath.
64123 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
64125         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
64126         (lgamma_test): Likewise.
64127         (tgamma_test): Likewise.
64129 2012-10-16  Florian Weimer  <fweimer@redhat.com>
64131         [BZ #14700]
64132         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
64133         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
64135 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
64137         * NEWS: Mention BZ #14716.
64138         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
64139         when removing AVAILABLE1_USES_J macro.
64141 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
64143         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
64144         (__bswap_64): __uint64_t for unsigned 64-bit int.
64146 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
64148         * include/string.h (memmem): Declare libc hidden alias.
64149         * string/memmem.c (memmem): Define libc hidden alias.
64150         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
64151         __read, __close instead of open, read, close.
64153 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
64155         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
64156         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
64157         global and hidden.
64158         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
64159         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
64160         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
64161         Likewise.
64162         (__rawmemchr_sse2): Likewise.
64163         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
64164         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
64165         (__strchr_sse2): Likewise.
64166         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
64167         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
64168         (__strcasecmp_sse2): Likewise.
64169         (__strncasecmp_sse2): Likewise.
64170         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
64171         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
64172         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
64173         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
64174         (__strrchr_sse2): Likewise.
64175         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
64176         ifunc-impl-list.c.
64177         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
64178         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
64179         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
64180         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
64181         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
64182         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
64183         * sysdeps/x86_64/multiarch/memset.S: Likewise.
64184         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
64185         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
64186         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
64187         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
64188         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
64189         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
64190         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
64191         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
64192         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
64193         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
64194         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
64195         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
64196         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
64197         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
64198         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
64199         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
64200         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
64201         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
64202         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
64203         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
64204         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
64205         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
64206         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
64208         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
64209         global and hidden.
64210         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
64211         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
64212         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
64213         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
64214         Likewise.
64215         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
64216         Likewise.
64217         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
64218         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
64219         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
64220         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
64221         ifunc-impl-list.c.
64222         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
64223         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
64224         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
64225         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
64226         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
64227         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
64228         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
64229         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
64230         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
64231         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
64232         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
64233         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
64234         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
64235         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
64236         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
64237         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
64238         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
64239         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
64240         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
64241         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
64242         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
64243         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
64244         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
64245         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
64246         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
64247         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
64248         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
64249         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
64250         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
64251         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
64252         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
64253         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
64254         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
64255         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
64256         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
64257         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
64258         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
64259         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
64260         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
64261         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
64262         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
64264         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
64265         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
64266         * include/ifunc-impl-list.h: New file.
64267         * misc/ifunc-impl-list.c: Likewise.
64268         * misc/Makefile (routines): Add ifunc-impl-list.
64269         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
64270         * string/test-string.h: Include <ifunc-impl-list.h>.
64271         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
64272         TEST_NAME]: New variables.
64273         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
64274         are defined.
64275         (test_init): Call __libc_ifunc_impl_list to initialize
64276         func_list if TEST_IFUNC and TEST_NAME are defined.
64278         * string/Makefile (strop-tests): Add bcopy and bzero.
64279         * string/test-bcopy.c: New file.
64280         * string/test-bzero.c: Likewise.
64281         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
64282         defined.
64283         * string/test-memset.c: Support bzero test if TEST_BZERO is
64284         defined.
64285         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
64286         __libc_memmove.
64287         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
64288         __libc_memset.
64289         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
64290         of memset.
64292 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
64294         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
64295         * configure: Regenerated.
64297         * Makeconfig (+link-static-before-libc): Don't include
64298         $(link-static-libc).
64300         * libio/libio.h (_IO_pos_t): Remove.
64302 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
64304         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
64305         McGrath.
64307 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
64309         * crypt/crypt-entry.c: Include fips-private.h.
64310         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
64311         * crypt/md5c-test.c (main): Tolerate disabled MD5.
64312         * sysdeps/unix/sysv/linux/fips-private.h: New file.
64313         * sysdeps/generic/fips-private.h: New file, dummy fallback.
64315 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
64317         * crypt/crypt-private.h: Include stdbool.h.
64318         (_ufc_setup_salt_r): Return bool.
64319         * crypt/crypt-entry.c: Include errno.h.
64320         (__crypt_r): Return NULL with EINVAL for bad salt.
64321         * crypt/crypt_util.c (bad_for_salt): New.
64322         (_ufc_setup_salt_r): Check that salt is long enough and within
64323         the specified alphabet.
64324         * crypt/badsalttest.c: New file.
64325         * crypt/Makefile (tests): Add it.
64326         ($(objpfx)badsalttest): New.
64328 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
64330         * NEWS: Add entry for BZ #14602.
64332 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
64334         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
64335         type-generic.
64336         * math/libm-test.inc: Update comment listing what functions and
64337         macros are tested.
64338         (isgreater_test): New function.
64339         (isgreaterequal_test): Likewise.
64340         (isless_test): Likewise.
64341         (islessequal_test): Likewise.
64342         (islessgreater_test): Likewise.
64343         (isunordered_test): Likewise.
64344         (main): Call the new functions.
64346 2012-10-09  Roland McGrath  <roland@hack.frob.com>
64348         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
64349         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
64350         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
64351         * sysdeps/i386/configure: Regenerated.
64352         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
64353         * sysdeps/mach/configure: Regenerated.
64354         * sysdeps/mach/hurd/configure: Regenerated.
64355         * sysdeps/powerpc/configure: Regenerated.
64356         * sysdeps/powerpc/powerpc32/configure: Regenerated.
64357         * sysdeps/powerpc/powerpc64/configure: Regenerated.
64358         * sysdeps/s390/s390-32/configure: Regenerated.
64359         * sysdeps/s390/s390-64/configure: Regenerated.
64360         * sysdeps/sh/configure: Regenerated.
64361         * sysdeps/sparc/configure: Regenerated.
64362         * sysdeps/unix/sysv/linux/configure: Regenerated.
64363         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
64364         * sysdeps/x86_64/configure: Regenerated.
64366         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
64367         defined.  Don't check if MAP is NULL.
64369 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
64371         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
64372         (_G_stat64): Likewise.
64373         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
64374         (_G_stat64): Likewise.
64375         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
64376         instead of struct _G_stat64.
64377         * libio/fileops.c (mmap_remap_check): Likewise.
64378         (decide_maybe_mmap): Likewise.
64379         (_IO_new_file_seekoff): Likewise.
64380         (_IO_file_stat): Likewise.
64381         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
64382         _G_off64_t.
64383         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
64384         instead of struct _G_stat64.
64385         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
64387 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
64389         [BZ #14602]
64390         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
64391         Replace with ...
64392         (CHECK_EOL): New macro.
64393         (two_way_short_needle): Check beginning of haystack for EOL.  Use
64394         CHECK_EOL.
64395         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
64396         Replace with CHECK_EOL.
64397         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
64398         Replace with CHECK_EOL.
64400 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
64402         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
64403         type-generic.
64404         * math/libm-test.inc: Update comment listing what functions and
64405         macros are tested.
64406         (finite_test): New function.
64407         (isinf_test): Likewise.
64408         (isnan_test): Likewise.
64409         (fpclassify_test): Test subnormal input.
64410         (isfinite_test): Likewise.
64411         (isnormal_test): Likewise.
64412         (main): Call the new functions.
64414 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
64416         [BZ #14660]
64417         * Makerules (%.dynsym): Force C locale when running
64418         $(OBJDUMP) --dynamic-syms.
64420 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
64422         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
64423         <stdint.h>.
64425 2012-10-06  David S. Miller  <davem@davemloft.net>
64427         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
64428         upper 32-bits of the length value in %o2 since we use branch-on-register
64429         tests which consider the entire 64-bit register.
64431 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
64433         * string/test-strstr.c (check2): Add a test for page boundary.
64435 2012-10-05  David S. Miller  <davem@davemloft.net>
64437         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
64438         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
64439         file.
64440         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
64441         sysdep_routines.
64442         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
64443         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
64444         and bzero when HWCAP_SPARC_CRYPTO is present.
64446 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
64448         [BZ #14602]
64449         * string/test-strstr.c (check2): New function.
64450         (test_main): Call check2.
64452         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
64453         and bug-strchr1.
64454         * string/bug-strcasestr1.c (do_test): Moved to ...
64455         * string/test-strcasestr.c (check1): Here.  New function.
64456         (do_one_test): Break out result checking code into ...
64457         (check_result): This.  New function.
64458         (do_one_test): Call check_result.
64459         (test_main): Call check1.
64460         * string/bug-strchr1.c (do_test): Moved to ...
64461         * string/test-strchr.c (check1): Here.  New function.
64462         (do_one_test): Break out result checking code into ...
64463         (check_result): This.  New function.
64464         (do_one_test): Call check_result.
64465         (test_main): Call check1.
64466         * string/bug-strstr1.c (main): Moved to ...
64467         * string/test-strstr.c (check1): Here.  New function.
64468         (do_one_test): Break out result checking code into ...
64469         (check_result): This.  New function.
64470         (do_one_test): Call check_result.
64471         (test_main): Call check1.
64472         * string/bug-strcasestr1.c: Removed.
64473         * string/bug-strchr1.c: Likewise.
64474         * string/bug-strstr1.c: Likewise.
64476         * elf/Makefile (dl-routines): Add hwcaps.
64477         * elf/dl-support.c (_dl_important_hwcaps): Removed.
64478         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
64479         (_dl_important_hwcaps): Moved to ...
64480         * elf/dl-hwcaps.c: Here.  New file.
64481         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
64483         [BZ #14557]
64484         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
64485         if IS_IN_rtld isn't defined.
64487         * elf/dl-support.c (_dl_sysinfo_map): New.
64488         Include "get-dynamic-info.h" and "setup-vdso.h".
64489         (_dl_non_dynamic_init): Call setup_vdso.
64490         * elf/dynamic-link.h: Don't include <assert.h>.
64491         (elf_get_dynamic_info): Moved to ...
64492         * elf/get-dynamic-info.h: Here.  New file.
64493         * elf/dynamic-link.h: Include "get-dynamic-info.h".
64494         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
64495         * elf/setup-vdso.h: Here.  New file.
64496         * elf/rtld.c: Include "setup-vdso.h".
64497         (dl_main): Call setup_vdso.
64499 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
64501         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
64502         creal in comment listing functions tested.  List finite, isinf,
64503         isnan, isless, islessequal, isgreater, isgreaterequal,
64504         islessgreater, isunordered, lgamma_r and pow10 as functions and
64505         macros not tested.  Mention which functions not tested are aliases
64506         for other functions.  Fix typo.  Note that signs of NaNs are not
64507         tested.
64509         * scripts/config.guess: Update from config.git.
64510         * scripts/config.sub: Likewise.
64512 2012-10-04  Roland McGrath  <roland@hack.frob.com>
64514         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
64515         * misc/madvise.c (madvise): Renamed to __madvise.
64516         Make madvise a weak alias.
64517         * include/sys/mman.h: Declare __madvise.
64518         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
64519         * sysdeps/unix/syscalls.list
64520         (madvise): Make __madvise the strong name, and madvise a weak alias.
64521         * sysdeps/unix/sysv/linux/syscalls.list
64522         (madvise, mmap): Remove redundant entries.
64523         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
64524         * malloc/malloc.c (mtrim): Likewise.
64525         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
64527 2012-10-03  Roland McGrath  <roland@hack.frob.com>
64529         * sysdeps/mach/hurd/dl-cache.c: File removed.
64530         * config.h.in (USE_LDCONFIG): New #undef.
64531         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
64532         * configure: Regenerated.
64533         * elf/Makefile (dl-routines): Add dl-cache only under
64534         [$(use-ldconfig) = yes].
64535         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
64536         cache on [USE_LDCONFIG].
64537         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
64538         [USE_LDCONFIG].
64539         * elf/rtld.c (dl_main): Likewise.
64541 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
64543         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
64544         _SC_LEVEL4_CACHE_LINESIZE.
64546 2012-10-03  Roland McGrath  <roland@hack.frob.com>
64548         * sysdeps/unix/bsd/confstr.h: File removed.
64550 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
64552         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
64553         sys/sdt-config.h.
64555 2012-10-02  Roland McGrath  <roland@hack.frob.com>
64557         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
64558         Make 'mapoff' field ElfW(Off) rather than off_t.
64560 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
64562         * nscd/Makefile: Remove nscd-cflags and all its users.
64563         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
64564         (CFLAGS-nonlib): Add compiler flags for nscd modules.
64566         [BZ #10631]
64567         * malloc.c (malloc_printerr): Clarify error message.
64569 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
64571         [BZ #14648]
64572         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64573         Set bit_FMA_Usable if FMA is supported.
64574         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
64575         macro.
64576         (bit_FMA4_Usable): Updated.
64577         (index_FMA_Usable): New macro.
64578         (CPUID_FMA): Likewise.
64579         (HAS_FMA): Defined with bit_FMA_Usable.
64581 2012-10-01  Roland McGrath  <roland@hack.frob.com>
64583         * bits/types.h (__swblk_t): Type removed.
64584         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
64585         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
64586         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64587         (__SWBLK_T_TYPE): Likewise.
64588         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
64589         (__SWBLK_T_TYPE): Likewise.
64590         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64591         (__SWBLK_T_TYPE): Likewise.
64592         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64593         (__SWBLK_T_TYPE): Likewise.
64595 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
64596             Honza Horak <hhorak@redhat.com>
64598         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
64599         (xdr_mapname): Use YPMAXMAP as maxsize.
64600         (xdr_peername): Use YPMAXPEER as maxsize.
64601         (xdr_keydat): Use YPAXRECORD as maxsize.
64602         (xdr_valdat): Use YPMAXRECORD as maxsize.
64604 2012-10-01  Roland McGrath  <roland@hack.frob.com>
64606         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
64608         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
64609         * csu/init-first.c: ... here.
64610         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
64611         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
64612         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
64613         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
64614         * sysdeps/i386/init-first.c: File removed.
64615         * sysdeps/sh/init-first.c: File removed.
64617 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
64619         [BZ #14645]
64620         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
64621         if x * y might underflow to zero and z is zero.
64622         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64623         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64624         * math/libm-test.inc (min_subnorm_value): New variable.
64625         (fma_test): Add more tests.
64626         (fma_test_towardzero): Likewise.
64627         (fma_test_downward): Likewise.
64628         (fma_test_upward): Likewise.
64629         (initialize): Set min_subnorm_value.
64631 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
64633         [BZ #14638]
64634         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
64635         0 + 0.
64636         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
64637         mode for addition resulting in exact zero.
64638         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
64639         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
64640         exact 0 + 0.
64641         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
64642         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64643         * math/libm-test.inc (fma_test): Add more tests.
64644         (fma_test_towardzero): New function.
64645         (fma_test_downward): Likewise.
64646         (fma_test_upward): Likewise.
64647         (main): Call the new functions.
64649 2012-09-28  David S. Miller  <davem@davemloft.net>
64651         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
64653 2012-09-28  Roland McGrath  <roland@hack.frob.com>
64655         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
64656         instead of SIGALRM.
64658         * sysdeps/gnu/_G_config.h: Moved to ...
64659         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
64660         * sysdeps/mach/hurd/_G_config.h: Moved to ...
64661         * sysdeps/generic/_G_config.h: ... here.
64663         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
64665         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
64667         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
64668         Conditionalize target on [libnss_test1.so-version].
64670         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
64672         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
64673         (elfobjdir): Move out of conditionals.
64675         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
64676         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
64677         (__nss_lookup_function): Conditionalize label remove_from_tree on
64678         [!DO_STATIC_NSS || SHARED], matching its only use.
64680 2012-09-28  David S. Miller  <davem@davemloft.net>
64682         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
64683         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
64684         file.
64685         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
64686         sysdep_routines.
64687         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
64688         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
64689         when HWCAP_SPARC_CRYPTO is present.
64691 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
64693         * io/tst-mknodat.c: Create a FIFO instead of a socket.
64695 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
64697         [BZ #6530]
64698         * stdio-common/vfprintf.c (process_string_arg): Revert
64699         2000-07-22 change.
64701 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
64703         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
64704         for testcase.
64705         * stdio-common/tst-sprintf.c: Include <locale.h>
64706         (main): Test sprintf's handling of incomplete multibyte
64707         characters.
64709 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
64711         * elf/dl-runtime.c (VERSYMIDX): Removed.
64712         * elf/dl-version.c (VERSYMIDX): Likewise.
64713         * elf/do-rel.h (VERSYMIDX): Likewise.
64714         (VALIDX): Likewise.
64715         * elf/dynamic-link.h (VERSYMIDX): Likewise.
64716         * elf/rtld.c (VALIDX): Likewise.
64717         (ADDRIDX): Likewise.
64718         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
64719         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
64720         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
64721         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
64722         (VALIDX): Likewise.
64723         (ADDRIDX): Likewise.
64725 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
64727         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
64729 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
64731         [BZ #11438]
64732         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
64733         to global scope.
64734         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
64735         addresses are in the same scope as 192.0.2/24.
64736         * posix/gai.conf: Document new scope table defaults.
64738 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64740         [BZ #5298]
64741         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
64742         for ftell.  Compute offsets from write pointers instead.
64743         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
64745 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64747         [BZ #14543]
64748         * libio/Makefile (tests): New test case tst-fseek.
64749         * libio/tst-fseek.c: New test case to verify that fseek/ftell
64750         combination works in wide mode.
64751         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
64752         state when the external buffer state changes.
64754 2012-09-27  David S. Miller  <davem@davemloft.net>
64756         [BZ #14376]
64757         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
64758         pass reloc->r_addend in as the 'high' argument to
64759         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
64761         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64763 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
64765         * rt/tst-aio2.c: Include <pthread.h>.
64766         * rt/tst-aio3.c: Likewise.
64768 2012-09-27  Steve Ellcey  <sellcey@mips.com>
64770         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
64772 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
64774         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
64775         contents on [SHARED].
64777 2012-09-26  Marek Polacek  <polacek@redhat.com>
64779         [BZ #14530]
64780         [BZ #13741]
64781         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
64782         for C++ and GCC <4.3 as well as for non GCC compilers.
64784 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
64786         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64788 2012-09-25  Roland McGrath  <roland@hack.frob.com>
64790         * Makefile.in (all, install): Declare with .PHONY.
64791         Reported by Michael Hope <michael.hope@linaro.org>.
64793 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64795         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
64796         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
64797         system header.
64798         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
64799         Likewise.
64800         (sydep_routines): Add the new and the internal functions.
64801         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
64802         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
64803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
64804         (GLIBC_2.17): Add the new function.
64805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
64806         (GLIBC_2.17): Likewise.
64807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
64808         (GLIBC_2.17): Likewise.
64809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
64810         (GLIBC_2.17): Likewise.
64811         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
64813 2012-09-25  Alan Modra  <amodra@gmail.com>
64815         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
64816         Add release barrier before setting once_control to say
64817         initialisation is done.  Add hints on lwarx.  Use macro in
64818         place of isync.
64819         (clear_once_control): Add release barrier.
64821 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
64823         [BZ #13629]
64824         * math/s_clog.c (__clog): Handle more values close to |z| = 1
64825         specially.
64826         * math/s_clog10.c (__clog10): Likewise.
64827         * math/s_clog10f.c (__clog10f): Likewise.
64828         * math/s_clog10l.c (__clog10l): Likewise.
64829         * math/s_clogf.c (__clogf): Likewise.
64830         * math/s_clogl.c (__clogl): Likewise.
64831         * math/Makefile (libm-calls): Add x2y2m1.
64832         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
64833         (__x2y2m1): Likewise.
64834         (__x2y2m1l): Likewise.
64835         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
64836         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
64837         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
64838         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
64839         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
64840         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
64841         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
64842         * sysdeps/i386/fpu/libm-test-ulps: Update.
64843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64845         [BZ #14621]
64846         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
64847         int as type of variable DEPTH.
64848         (glob): Use size_t instead of int as type of variables NEWCOUNT
64849         and OLD_PATHC.
64851 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64853         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
64854         Add s_sincosf-sse2.
64855         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
64856         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
64857         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
64858         macros for using routine as __sincosf_ia32.
64859         Use macro for function declaration and weak_alias.
64860         * sysdeps/i386/fpu/libm-test-ulps: Update.
64862         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
64863         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64865         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
64866         subnormal argument.
64867         * math/s_cexpf.c (__cexpf): Likewise.
64868         * math/s_csinf.c (__csinf): Likewise.
64869         * math/s_csinhf.c (__csinhf): Likewise.
64870         * math/s_ctanf.c (__ctanf): Likewise.
64871         * math/s_ctanhf.c (__ctanhf): Likewise.
64872         * math/s_ccosh.c (__ccoshf): Likewise.
64873         * math/s_cexp.c (__cexpl): Likewise.
64874         * math/s_csin.c (__csin): Likewise.
64875         * math/s_csinh.c (__csinh): Likewise.
64876         * math/s_ctan.c (__ctan): Likewise.
64877         * math/s_ctanh.c (ctanh): Likewise.
64878         * math/s_ccoshl.c (__ccoshl): Likewise.
64879         * math/s_cexpl.c (__cexpl): Likewise.
64880         * math/s_csinl.c (__csinl): Likewise.
64881         * math/s_csinhl.c (__csinhl): Likewise.
64882         * math/s_ctanl.c (__ctanl): Likewise.
64883         * math/s_ctanhl.c (__ctanhl): Likewise.
64885 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
64887         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
64888         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
64889         (_IO_off_t): Define to __off_t, not _G_off_t.
64890         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
64891         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
64892         (_IO_wint_t): Define to wint_t, not _G_wint_t.
64893         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
64894         type of __dummy and __dummy2 fields.
64895         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
64896         (_G_ssize_t): Likewise.
64897         (_G_off_t): Likewise.
64898         (_G_pid_t): Likewise.
64899         (_G_uid_t): Likewise.
64900         (_G_wchar_t): Likewise.
64901         (_G_wint_t): Likewise.
64902         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
64903         (_G_ssize_t): Likewise.
64904         (_G_off_t): Likewise.
64905         (_G_pid_t): Likewise.
64906         (_G_uid_t): Likewise.
64907         (_G_wchar_t): Likewise.
64908         (_G_wint_t): Likewise.
64909         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
64910         (_G_ssize_t): Likewise.
64911         (_G_off_t): Likewise.
64912         (_G_pid_t): Likewise.
64913         (_G_uid_t): Likewise.
64914         (_G_wchar_t): Likewise.
64915         (_G_wint_t): Likewise.
64917 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
64919         * malloc/arena.c: Include malloc-sysdep.h.
64920         (shrink_heap): Use check_may_shrink_heap to decide if madvise
64921         is sufficient to shrink the heap or an unmap is needed.
64922         * sysdeps/generic/malloc-sysdep.h: New file.  Define
64923         new function check_may_shrink_heap.
64924         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
64925         new function check_may_shrink_heap.
64927 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
64929         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
64930         comments.
64932 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
64934         * catgets/test-gencat.sh: Add "set -e".
64935         * elf/tst-pathopt.sh: Likewise.
64936         * grp/tst_fgetgrent.sh: Likewise.
64937         * iconvdata/run-iconv-test.sh: Likewise.
64938         * intl/tst-gettext.sh: Likewise.
64939         * intl/tst-gettext2.sh: Likewise.
64940         * intl/tst-gettext4.sh: Likewise.
64941         * intl/tst-gettext6.sh: Likewise.
64942         * intl/tst-translit.sh: Likewise.
64943         * io/ftwtest-sh: Likewise.
64944         * libio/test-freopen.sh: Likewise.
64945         * malloc/tst-mtrace.sh: Likewise.
64946         * posix/globtest.sh: Likewise.
64947         * posix/tst-getconf.sh: Likewise.
64948         * posix/wordexp-tst.sh: Likewise.
64949         * stdio-common/tst-printf.sh: Likewise.
64950         * stdio-common/tst-unbputc.sh: Likewise.
64951         * stdlib/tst-fmtmsg.sh: Likewise.
64952         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
64953         * catgets/Makefile: Do not specify -e option when running
64954         testsuite shell scripts.
64955         * elf/Makefile: Likewise.
64956         * grp/Makefile: Likewise.
64957         * iconvdata/Makefile: Likewise.
64958         * intl/Makefile: Likewise.
64959         * io/Makefile: Likewise.
64960         * libio/Makefile: Likewise.
64961         * malloc/Makefile: Likewise.
64962         * posix/Makefile: Likewise.
64963         * stdio-common/Makefile: Likewise.
64964         * stdlib/Makefile: Likewise.
64965         * sysdeps/x86_64/Makefile: Likewise.
64967         * io/ftwtest-sh: Add copyright header.
64968         * posix/globtest.sh: Likewise.
64969         * posix/tst-getconf.sh: Likewise.
64970         * posix/wordexp-tst.sh: Likewise.
64971         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
64973 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
64975         [BZ #13679]
64976         * Makeconfig (+link): Defined as $(+link-static) if
64977         $(build-shared) isn't yes.
64978         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
64979         isn't yes.
64980         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
64982         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
64984         [BZ #14562]
64985         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
64986         new chunk size with MALLOC_ALIGN_MASK.
64988 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
64990         [BZ #5044]
64991         * stdio-common/printf_fphex.c: Include <stdbool.h> and
64992         <rounding-mode.h>.
64993         (__printf_fphex): Determine rounding using get_rounding_mode and
64994         round_away.
64995         * stdio-common/tst-printf-round.c (struct hex_test): New
64996         structure.
64997         (hex_tests): New variable.
64998         (test_hex_in_one_mode): New function.
64999         (do_test): Also run tests for hex float output.
65001 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
65003         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
65004         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
65005         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
65006         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
65007         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
65008         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
65009         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
65010         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
65012 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
65014         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
65015         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
65016         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
65017         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
65019 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
65021         [BZ #14579]
65022         * elf/rtld.c (dl_main): Limit the check for self loading to normal
65023         mode only.
65024         * elf/tst-rtld-load-self.sh: New test.
65025         * elf/Makefile: Run it.
65027 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
65029         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
65030         (tst-writev-ENV): Remove.
65031         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
65033 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
65035         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
65037 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
65039         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
65040         unconditional.
65041         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
65042         Likewise.
65043         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
65044         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
65045         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
65046         Likewise.
65048 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
65050         [BZ #14587]
65051         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
65052         * config.make.in (have-cpp-asm-debuginfo): Removed.
65053         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
65054         * configure: Regenerated.
65056 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
65058         [BZ #5044]
65059         * stdio-common/printf_fp.c: Include <stdbool.h> and
65060         <rounding-mode.h>.
65061         (___printf_fp): Determine rounding using get_rounding_mode and
65062         round_away.
65063         * stdio-common/tst-printf-round.c: New file.
65064         * stdio-common/Makefile (tests): Add tst-printf-round.
65065         (link-libm): New variable.
65066         ($(objpfx)tst-printf-round): Depend in $(link-libm).
65068 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
65070         [BZ #14576]
65071         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
65072         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
65073         Likewise.
65074         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
65075         Likewise.
65077 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
65079         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
65080         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
65081         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
65082         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
65084 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
65086         [BZ #14518]
65087         * include/rounding-mode.h: New file.
65088         * sysdeps/generic/get-rounding-mode.h: Likewise.
65089         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
65090         * stdlib/strtod_l.c: Include <rounding-mode.h>.
65091         (MAX_VALUE): New macro.
65092         (MIN_VALUE): Likewise.
65093         (overflow_value): New function.
65094         (underflow_value): Likewise.
65095         (round_and_return): Use overflow_value and underflow_value to
65096         determine return values in overflow and underflow cases.  Use
65097         round_away to determine rounding depending on rounding mode.
65098         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
65099         determine return values in overflow and underflow cases.
65100         * stdlib/tst-strtod-round.c: Include <fenv.h>.
65101         (struct test_results): New structure.
65102         (struct test): Use struct test_results to store expected results
65103         for all rounding modes.
65104         (TEST): Include expected results for all rounding modes.
65105         (test_in_one_mode): New function.
65106         (do_test): Use test_in_one_mode to compute and check results.
65107         Check results for all rounding modes.
65108         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
65109         $(link-libm).
65111 2012-12-09  Allan McRae  <allan@archlinux.org>
65113         * sysdeps/i386/fpu/libm-test-ulps: Update
65115 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
65117         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
65118         (_G_int32_t): Likewise.
65119         (_G_uint16_t): Likewise.
65120         (_G_uint32_t): Likewise.
65121         (_G_HAVE_BOOL): Likewise.
65122         (_G_HAVE_ATEXIT): Likewise.
65123         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
65124         (_G_HAVE_IO_FILE_OPEN): Likewise.
65125         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
65126         (_G_int32_t): Likewise.
65127         (_G_uint16_t): Likewise.
65128         (_G_uint32_t): Likewise.
65129         (_G_HAVE_BOOL): Likewise.
65130         (_G_HAVE_ATEXIT): Likewise.
65131         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
65132         (_G_HAVE_IO_FILE_OPEN): Likewise.
65133         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
65134         (_G_int32_t): Likewise.
65135         (_G_uint16_t): Likewise.
65136         (_G_uint32_t): Likewise.
65137         (_G_HAVE_BOOL): Likewise.
65138         (_G_HAVE_ATEXIT): Likewise.
65139         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
65140         (_G_HAVE_IO_FILE_OPEN): Likewise.
65142 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
65144         * csu/libc-tls.c: Update copyright years.
65146 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
65148         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
65149         [!_G_USING_THUNKS]: Remove conditional code.
65150         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
65151         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
65153         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
65154         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
65155         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
65156         (_G_VTABLE_LABEL_PREFIX): Likewise.
65157         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
65158         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
65159         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
65160         (_G_VTABLE_LABEL_PREFIX): Likewise.
65161         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
65162         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
65163         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
65164         (_G_VTABLE_LABEL_PREFIX): Likewise.
65165         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
65167 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
65169         * libio/Makefile: Include ../Makeconfig before tests.
65170         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
65171         only if $(build-shared) is yes.
65173         * iconv/gconv_db.c: Update copyright years.
65175 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65177         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
65178         unwind info if defined PIC. Fix special cases description.
65179         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
65181         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
65182         DP_HI_MASK entry.
65183         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
65185 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
65187         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
65189         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
65190         is NULL.
65192         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
65193         (LDLIBS-tst-chk4): This.
65194         (LDFLAGS-tst-chk5): Renamed to ...
65195         (LDLIBS-tst-chk5): This.
65196         (LDFLAGS-tst-chk6): Renamed to ...
65197         (LDLIBS-tst-chk6): This.
65198         (LDFLAGS-tst-lfschk4): Renamed to ...
65199         (LDLIBS-tst-lfschk4): This.
65200         (LDFLAGS-tst-lfschk5): Renamed to ...
65201         (LDLIBS-tst-lfschk5): This.
65202         (LDFLAGS-tst-lfschk6): Renamed to ...
65203         (LDLIBS-tst-lfschk6): This.
65205         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
65206         on $(common-objpfx)soversions.mk.
65208 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
65210         [BZ #10014]
65211         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
65212         example host name.
65214 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
65216         * malloc/arena.c (arena_get_retry): New function that gets
65217         another arena for the caller to try its request on.
65218         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
65219         current arena cannot fulfill the request.
65220         (__libc_memalign): Likewise.
65221         (__libc_memalign): Likewise.
65222         (__libc_pvalloc): Likewise.
65223         (__libc_calloc): Likewise.
65225 2012-09-05  John Tobey  <john.tobey@gmail.com>
65227         [BZ #13542]
65228         * manual/arith.texi (Operations on Complex): Fix description
65229         of carg branch cut.
65231 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
65233         [BZ #10014]
65234         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
65235         host name.
65237         [BZ #10038]
65238         * manual/memory.texi (Memory): Make order of menu items match
65239         order of sections.
65241 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
65243         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
65244         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
65245         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
65247 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
65249         * csu/libc-tls.c (static_dtv): Renamed to ...
65250         (_dl_static_dtv): This.  Make it global.
65251         (_dl_initial_dtv): Removed.
65252         (__libc_setup_tls): Updated.
65253         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
65254         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
65255         DL_INITIAL_DTV.
65257 2012-09-06  Petr Machata  <pmachata@redhat.com>
65259         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
65260         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
65261         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
65262         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
65264 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
65266         [BZ #14545]
65267         * csu/libc-tls.c (_dl_initial_dtv): New variable.
65268         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
65269         freeing dtv[-1].
65271 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
65273         [BZ #14544]
65274         * Makeconfig (link-static-before-libc): Replace $(+prector)
65275         with $(+prectorT).
65276         (link-static-after-libc): Replace $(+postctor) with
65277         $(+postctorT).
65278         (link-bounded): Replace $(+prector)/$(+postctor) with
65279         $(+prectorT)/$(+postctorT).
65280         (+prectorT): New macro.
65281         (+postctorT): Likewise.
65283 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
65285         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
65286         (round_str): Handle values above the maximum for IBM long double
65287         as inexact.
65288         * stdlib/tst-strtod-round.c (tests): Regenerated.
65290 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65292         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
65293         assembler flag.
65294         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
65295         zarch_nohighgprs around the zarch optimized routines.
65296         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
65297         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
65298         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
65299         for zarch.
65301 2012-09-05  David S. Miller  <davem@davemloft.net>
65303         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65305         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
65306         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
65307         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
65308         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
65309         entries.
65311 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
65313         * malloc/arena.c: Fold copyright years.
65314         * malloc/mcheck.c, malloc/memusage.c: Likewise.
65316 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
65318         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
65320 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
65322         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
65324 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
65326         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
65327         change internal state upon failure.
65329 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
65331         * malloc/mcheck.c (mcheck_check_all): Fix typo.
65332         * malloc/memusage.c (mmap): Likewise.
65333         (mmap64, mremap): Likewise.  Adjust name in comment.
65335 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
65337         * libio/fileops.c: Fix typos in comments.
65338         * libio/oldfileops.c: Likewise.
65339         * libio/wfileops.c: Likewise.
65341 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
65343         [BZ #1349]
65344         * malloc/Makefile (tests): Add tst-malloc-usable test case.
65345         (tst-malloc-usable-ENV): Set environment for test case.
65346         * malloc/hooks.c (malloc_check_get_size): New function to get
65347         requested size.
65348         * malloc/malloc.c (musable): Use malloc_check_get_size.
65349         * malloc/tst-malloc-usable.c: New test case.
65351 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
65353         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
65355 2012-09-05  Allan McRae  <allan@archlinux.org>
65357         [BZ #13966]
65358         * configure.in (CXX_SYSINCLUDES): Use compiler output to
65359         determine header location.
65360         * configure: Regenerated.
65362 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
65364         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
65365         float format.
65366         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
65367         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
65368         format.
65369         (test): Regenerate.
65371 2012-09-04  David S. Miller  <davem@davemloft.net>
65373         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
65374         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
65375         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
65377 2012-09-04  Florian Weimer  <fweimer@redhat.com>
65379         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
65380         failures.
65382         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
65384 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
65386         [BZ #9914]
65387         * libio/iogetdelim.c: Include <limits.h>.
65388         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
65389         + len + 1 would overflow.
65391 2012-09-03  Andreas Jaeger  <aj@suse.de>
65393         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65394         * sysdeps/i386/fpu/libm-test-ulps: Update.
65396 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65398         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
65399         Add s_sinf-sse2, s_conf-sse2.
65401         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
65402         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
65403         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
65404         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
65406         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
65407         for using routine as __sinf_ia32.
65408         Use macro for function declaration and weak_alias.
65409         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
65410         for using routine as __cosf_ia32.
65411         Use macro for function declaration and weak_alias.
65413         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
65414         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
65416         * sysdeps/x86_64/fpu/s_sinf.S: New file.
65417         * sysdeps/x86_64/fpu/s_cosf.S: New file.
65418         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65420         * math/libm-test.inc (cos_test): Add more test cases.
65421         (sin_test): Likewise.
65422         (sincos_test): Likewise.
65424 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65426         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
65427         (IFUNC_RESOLVE): Make pointers to the specialized implementations
65428         hidden.
65429         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
65431 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
65433         [BZ #14538]
65434         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
65435         first element of the GOT.
65436         (elf_machine_load_address): Return the difference between
65437         the runtime address of _DYNAMIC and elf_machine_dynamic ().
65439 2012-09-01  Allan McRae  <allan@archlinux.org>
65441         [BZ #13412]
65442         * configure.in (AWK): Require gawk version 3.0 or later.
65443         * configure: Regenerated.
65445 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
65447         * sysdeps/unix/sysv/linux/kernel-features.h
65448         (__ASSUME_POSIX_CPU_TIMERS): Remove.
65449         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
65450         [__NR_clock_getres]: Make code unconditional.
65451         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
65452         (clock_getcpuclockid): Remove code left unreachable by removal of
65453         conditionals.
65454         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
65455         code unconditional.
65456         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
65457         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
65458         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
65459         Make code unconditional.
65460         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
65461         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
65462         * sysdeps/unix/sysv/linux/clock_settime.c
65463         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
65464         conditional code.
65465         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
65466         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
65468 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
65470         [BZ #14476]
65471         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
65472         scripts/test-installation.pl.
65474         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
65475         and $ld_so_version if it is set.
65477 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
65479         [BZ #14516]
65480         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
65481         failure if reading from procfs failed.
65482         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
65484 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
65486         * sysdeps/unix/sysv/linux/kernel-features.h
65487         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
65488         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
65489         Remove conditional code.
65490         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
65491         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
65492         Remove conditional code.
65493         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
65494         * sysdeps/unix/sysv/linux/i386/fxstat.c
65495         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
65496         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
65497         * sysdeps/unix/sysv/linux/i386/fxstatat.c
65498         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
65499         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
65500         * sysdeps/unix/sysv/linux/i386/lxstat.c
65501         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
65502         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
65503         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
65504         Remove conditional code.
65505         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
65506         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
65507         Remove conditional code.
65508         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
65509         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
65510         <kernel-features.h>.
65511         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
65512         Remove.
65513         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
65514         Remove conditional code.
65515         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
65516         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
65517         Remove conditional.
65519 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
65521         [BZ #5400]
65522         * NEWS: Add fixed bug number.
65524 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
65526         [BZ #14519]
65527         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
65528         underflowing exponent in case of negative sign.
65529         * stdlib/tst-strtod-round-data: Add more tests.
65530         * stdlib/tst-strtod-round.c (tests): Regenerated.
65532         [BZ #3479]
65533         * stdlib/strtod_l.c (NDIG): Remove.
65534         (HEXNDIG): Likewise.
65535         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
65536         smallest representable value.
65537         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
65538         lie within an exact representation of 1/2 ulp of the result.
65539         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
65540         unconditionally.
65541         (TENS_P9_IDX): Define unconditionally.
65542         (TENS_P9_SIZE): Likewise.
65543         (TENS_P10_IDX): Likewise.
65544         (TENS_P10_SIZE): Likewise.
65545         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
65546         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
65547         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
65548         entries for 10^2^13 and 10^2^14.
65549         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
65550         (TENS_P13_IDX): Define.
65551         (TENS_P13_SIZE): Likewise.
65552         (TENS_P14_IDX): Likewise.
65553         (TENS_P14_SIZE): Likewise.
65554         (_fpioconst_pow10): Change array size to
65555         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
65556         unconditional.
65557         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
65558         1024]: Add entries for 10^2^13 and 10^2^14.
65559         [LAST_POW10 > _LAST_POW10]: Remove #error.
65560         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
65561         (_fpioconst_pow10): Change array size to
65562         FPIOCONST_POW10_ARRAY_SIZE.
65563         * stdlib/gen-fpioconst.c: New file.
65564         * stdlib/gen-tst-strtod-round.c: Likewise.
65565         * stdlib/tst-strtod-round-data: Likewise.
65566         * stdlib/tst-strtod-round.c: Likewise.
65567         * stdlib/Makefile (tests): Add tst-strtod-round.
65569         [BZ #14459]
65570         * stdlib/strtod_l.c: Include <stdint.h>.
65571         (NDEBUG): Do not define.
65572         (round_and_return): Change EXPONENT parameter to type intmax_t.
65573         Rearrange calculations to avoid internal overflow possibilities.
65574         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
65575         Rearrange calculations to avoid internal overflow possibilities.
65576         Assert that number fits inside MPNSIZE limbs.
65577         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
65578         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
65579         calculations and add assertions to avoid internal overflow
65580         possibilities.  Add casts to avoid signed/unsigned operations.
65581         * stdlib/tst-strtod-overflow.c: New file.
65582         * stdlib/Makefile (tests): Add tst-strtod-overflow.
65584 2012-08-25  Marek Polacek  <polacek@redhat.com>
65586         * time/time.h: Fix some typos in comments.
65588 2012-08-23  Roland McGrath  <roland@hack.frob.com>
65590         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
65591         * posix/tst-rfc3484-2.c: Likewise.
65592         * posix/tst-rfc3484-3.c: Likewise.
65594 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
65596         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
65597         (EF_ARM_ABI_FLOAT_HARD): Likewise.
65599 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
65601         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
65602         #include of fxstatat64.c.
65604 2012-08-22  Roland McGrath  <roland@hack.frob.com>
65606         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
65607         * shadow/getspent_r.c: Likewise.
65608         * shadow/getspnam.c: Likewise.
65609         * shadow/getspnam_r.c: Likewise.
65610         * gshadow/getsgent.c: Likewise.
65611         * gshadow/getsgent_r.c: Likewise.
65612         * gshadow/getsgnam.c: Likewise.
65613         * gshadow/getsgnam_r.c: Likewise.
65614         * inet/getnetbyad.c: Likewise.
65615         * inet/getnetbyad_r.c: Likewise.
65616         * inet/getnetbynm.c: Likewise.
65617         * inet/getnetbynm_r.c: Likewise.
65618         * inet/getnetent.c: Likewise.
65619         * inet/getnetent_r.c: Likewise.
65620         * inet/getproto.c: Likewise.
65621         * inet/getproto_r.c: Likewise.
65622         * inet/getprtent.c: Likewise.
65623         * inet/getprtent_r.c: Likewise.
65624         * inet/getprtname.c: Likewise.
65625         * inet/getprtname_r.c: Likewise.
65626         * inet/getrpcbyname.c: Likewise.
65627         * inet/getrpcbyname_r.c: Likewise.
65628         * inet/getrpcbynumber.c: Likewise.
65629         * inet/getrpcbynumber_r.c: Likewise.
65630         * inet/getrpcent.c: Likewise.
65631         * inet/getrpcent_r.c: Likewise.
65632         * inet/getaliasent.c: Likewise.
65633         * inet/getaliasent_r.c: Likewise.
65634         * inet/getaliasname.c: Likewise.
65635         * inet/getaliasname_r.c: Likewise.
65636         * nscd/getgrgid_r.c: Likewise.
65637         * nscd/getgrnam_r.c: Likewise.
65638         * nscd/gethstbyad_r.c: Likewise.
65639         * nscd/gethstbynm3_r.c: Likewise.
65640         * nscd/getpwnam_r.c: Likewise.
65641         * nscd/getpwuid_r.c: Likewise.
65642         * nscd/getsrvbynm_r.c: Likewise.
65643         * nscd/getsrvbypt_r.c: Likewise.
65644         * nscd/gai.c: Likewise.
65646         * configure.in (build_nscd): New substituted variable, set
65647         by --disable-build-nscd and defaults to $use_nscd.
65648         * configure: Regenerated.
65649         * config.make.in (build-nscd): New substituted variable.
65650         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
65651         Change conditional to require [$(build-nscd) = yes] as well.
65652         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
65654         [BZ# 13696]
65655         * configure.in (use_nscd): New substituted variable, set by
65656         --disable-nscd.  If enabled, define USE_NSCD.
65657         * configure: Regenerated.
65658         * config.h.in: Add USE_NSCD.
65659         * config.make.in (use-nscd): New substituted variable.
65660         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
65661         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
65662         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
65663         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
65664         (CFLAGS-getgrnam_r.c): Likewise.
65665         (CFLAGS-initgroups.c): Likewise.
65666         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
65667         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
65668         Variables removed.
65669         * inet/getnetgrent_r.c
65670         (nscd_setnetgrent): New function, broken out of ...
65671         (setnetgrent): ... here.  Call it.
65672         (innetgr): Conditionalize nscd bits on [USE_NSCD].
65673         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
65674         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
65675         * nscd/Makefile (routines, aux): Move definitions after include of
65676         Makeconfig.  Conditionalize on [$(use-nscd) != no].
65677         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
65678         Conditionalize on [USE_NSCD].
65679         (is_nscd, nscd_init_cb): Likewise.
65680         (nss_load_library): Conditionalize init callback on [USE_NSCD].
65681         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
65682         * nss/nss_db/db-init.c: Likewise.
65683         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
65684         [USE_NSCD].
65685         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
65686         (make_request): Use it.
65687         (cache_valid_p): New function.
65688         (__check_pf): Use it.
65689         * NEWS: Add item for --disable-nscd.
65691 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
65693         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
65694         to support sed >= 4.2.1-20-ga9bf076.
65695         * configure: Regenerated.
65697 2012-08-22  Roland McGrath  <roland@hack.frob.com>
65699         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
65700         Conditionalize whole body on [IREL].
65702 2012-08-22  Jeff Law <law@redhat.com>
65704         [BZ #14505]
65705         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
65706         if the family is PF_UNSPEC.
65708 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
65710         * Makerules (lib-version): Rename from V.
65711         (install-lib-nosubdir): Change V to lib-version.
65713 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
65715         [BZ #14252]
65716         * powerpc32/power6/wcschr.c: New file.
65717         * powerpc32/power6/wcscpy.c: New file.
65718         * powerpc32/power6/wcsrchr.c: New file.
65719         * powerpc64/power6/wcschr.c: New file.
65720         * powerpc64/power6/wcscpy.c: New file.
65721         * powerpc64/power6/wcsrchr.c: New file.
65723 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
65725         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
65726         (two_way_short_needle): Use it.
65727         * string/strstr.c (AVAILABLE1_USES_J): Define.
65728         * string/strcasestr.c: Likewise.
65730         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
65731         array references.
65732         * string/strcasestr.c (TOLOWER): Make side-effect safe.
65734         [BZ #11607]
65735         * NEWS: Add an entry.
65736         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
65737         define their defaults.
65738         (two_way_short_needle): Detect end-of-string on-the-fly.
65739         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
65740         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
65741         * string/bug-strcasestr1.c: New test.
65742         * string/Makefile: Run it.
65744 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
65746         [BZ #11607]
65747         * string/str-two-way.h (two_way_short_needle): Optimize matching of
65748         the first character.
65750 2012-08-21  Roland McGrath  <roland@hack.frob.com>
65752         * csu/elf-init.c (__libc_csu_irel): Function removed.
65753         * csu/libc-start.c (apply_irel): New function.
65754         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
65756 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
65758         * sysdeps/unix/sysv/linux/kernel-features.h
65759         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
65760         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
65761         <kernel-features.h>.
65762         [__NR_fadvise64_64]: Make code unconditional.
65763         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
65764         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
65765         !__NR_fadvise64_64)]: Likewise.
65766         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
65767         !__NR_fadvise64_64))]: Likewise.
65768         [__NR_fadvise64]: Make code unconditional.
65769         [!__NR_fadvise64]: Remove conditional code.
65770         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
65771         <kernel-features.h>.
65772         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
65773         unconditional.
65774         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
65775         conditional code.
65776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
65777         not include <kernel-features.h>.
65778         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
65779         unconditional.
65780         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
65781         conditional code.
65782         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
65783         include <kernel-features.h>.
65784         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
65785         unconditional.
65786         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
65787         conditional code.
65789 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
65791         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
65792         slight instruction rearrangements per scrollpipe analysis.
65793         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
65795 2012-08-20  Roland McGrath  <roland@hack.frob.com>
65797         * manual/syslog.texi (syslog; vsyslog, closelog):
65798         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
65799         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
65801         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
65802         DSOCAPS to match condition on defining it.
65804 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
65806         * sysdeps/unix/sysv/linux/kernel-features.h
65807         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
65808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
65809         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
65810         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
65811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
65812         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
65813         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
65814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
65815         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
65816         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
65818         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
65819         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
65821         * sysdeps/unix/sysv/linux/kernel-features.h
65822         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
65823         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
65824         unconditional.
65825         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
65826         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
65827         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
65828         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
65829         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
65830         Make code unconditional.
65831         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
65832         (__mmap64) [!__NR_mmap2]: Likewise.
65833         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
65834         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
65835         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
65836         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
65837         [__NR_mmap2]: Make code unconditional.
65838         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
65839         (__mmap64) [!__NR_mmap2]: Likewise.
65841 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65843         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
65845 2012-08-18  Andreas Jaeger  <aj@suse.de>
65847         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
65849 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
65851         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
65852         * include/unistd.h (__have_sock_cloexec): Likewise.
65853         (__have_pipe2): Likewise.
65854         (__have_dup3): Likewise.
65856 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
65858         [BZ #9685]
65859         * include/unistd.h (__have_pipe2): Change define into an extern int.
65860         (__have_dup3): Likewise.
65861         * socket/have_sock_cloexec.c: Include fcntl.h.
65862         (__have_pipe2): New variable.
65863         (__have_dup3): Likewise.
65865 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
65867         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
65869 2012-08-17  Marek Polacek  <polacek@redhat.com>
65871         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
65872         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
65874 2012-08-17  Roland McGrath  <roland@hack.frob.com>
65876         * configure.in: Add AC_SUBST for sysheaders.
65877         * configure: Regenerated.
65878         * config.make.in (sysheaders): New substituted variable.
65880         * sysdeps/unix/mkfifo.c: Moved ...
65881         * sysdeps/posix/mkfifo.c: ... here.
65882         * sysdeps/unix/mkfifoat.c: Moved ...
65883         * sysdeps/posix/mkfifoat.c: ... here.
65885         * sysdeps/unix/utime.c: Moved ...
65886         * sysdeps/posix/utime.c: ... here.
65888         * sysdeps/unix/time.c: Moved ...
65889         * sysdeps/posix/time.c: ... here.
65890         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
65891         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
65893         * sysdeps/unix/nice.c: Moved ...
65894         * sysdeps/posix/nice.c: ... here.
65896         * sysdeps/unix/alarm.c: Moved ...
65897         * sysdeps/posix/alarm.c: ... here.
65899         * intl/Makefile ($(codeset_mo)): Depend on the input file.
65901 2012-08-17  Jeff Law <law@redhat.com>
65903         * intl/Makefile (codeset_mo): New variable.
65904         ($(codeset_mo)): New target.
65905         (tst-codeset.out): Depend on that.  Remove explicit rule.
65906         (tst-gettext3.out, tst-gettext5.out): Likewise.
65907         (LOCPATH-ENV, tst-codeset-ENV): New variables.
65908         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
65909         * intl/tst-codeset.sh: Remove.
65910         * intl/tst-gettext3.sh: Likewise.
65911         * intl/tst-gettext5.sh: Likewise.
65913 2012-08-17  Roland McGrath  <roland@hack.frob.com>
65915         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
65916         * sysdeps/unix/syscalls.list: ... here.
65918         * sysdeps/posix/getaddrinfo.c
65919         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
65920         (gaiconf_init, gaiconf_reload): Use them.
65921         [!_STATBUF_ST_NSEC]
65922         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
65923         Define using time_t rather than struct timespec.
65925         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
65926         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
65927         Macros removed.
65928         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
65929         [!NO_THREADS].
65930         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
65931         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
65932         Likewise.
65934         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
65935         __libc_cleanup_push argument.
65937         * bits/param.h: New file.
65938         * misc/sys/param.h: New file.
65939         * include/sys/param.h: New file.
65940         * misc/Makefile (headers): Add bits/param.h.
65941         * sysdeps/generic/sys/param.h: File removed.
65942         * sysdeps/unix/sysv/linux/bits/param.h: New file.
65943         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
65944         * sysdeps/mach/hurd/bits/param.h: New file.
65945         * sysdeps/mach/hurd/sys/param.h: File removed.
65947         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
65948         last change.
65950         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
65951         [_IO_MTSAFE_IO].
65952         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
65953         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
65954         New macros.
65956         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
65957         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
65958         rather than -D_IO_MTSAFE_IO conditionally.
65959         * stdio-common/Makefile (CPPFLAGS): Likewise.
65960         * wcsmbs/Makefile (CPPFLAGS): Likewise.
65961         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
65962         Use $(libio-mtsafe).
65963         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
65964         of -D_IO_MTSAFE_IO.
65965         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
65966         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
65967         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
65968         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
65969         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
65970         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
65971         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
65972         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
65973         (CFLAGS-fread_u_chk.c): Likewise.
65974         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
65975         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
65976         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
65977         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
65978         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
65979         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
65980         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
65981         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
65982         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
65984         * libio/Makefile: Test [$(libc-reentrant) = yes]
65985         instead of [$(filter %REENTRANT, $(defines)) nonempty].
65987         * Makeconfig
65988         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
65989         * sysdeps/pthread/configure: File removed.
65990         * sysdeps/pthread/Makeconfig: New file.
65991         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
65992         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
65994 2012-08-16  Gary Benson  <gbenson@redhat.com>
65996         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
65997         unmapping the first object in a namespace.
65999 2012-08-16  Roland McGrath  <roland@hack.frob.com>
66001         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
66002         (__internal_setnetgrent): ... this.  Add internal_function to
66003         definition.  Add libc_hidden_def.
66004         (setnetgrent): Update caller.
66005         (internal_endnetgrent): Renamed to ...
66006         (__internal_endnetgrent): ... this.  Add internal_function to
66007         definition.  Add libc_hidden_def.
66008         (endnetgrent): Update caller.
66009         (internal_getnetgrent_r): Renamed to ...
66010         (__internal_getnetgrent_r): ... this.  Add internal_function to
66011         definition.  Add libc_hidden_def.
66012         (__getnetgrent_r): Update caller.
66013         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
66015 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
66017         * stdlib/longlong.h: Update from GCC.
66019 2012-08-16  Roland McGrath  <roland@hack.frob.com>
66021         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
66022         on _QL, which is set by umul_ppmm but never used.
66023         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
66024         variables, which are set by GMP macros but never used.
66025         * stdio-common/_itowa.c (_itowa): Likewise.
66026         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
66027         * stdlib/mod_1.c (mpn_mod_1): Likewise.
66029 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
66031         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
66032         struct La_sh_regs is not constant.
66033         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
66034         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
66035         and struct La_sparc64_regs are not constant.
66037 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
66039         * sysdeps/unix/sysv/linux/kernel-features.h
66040         (__ASSUME_POSIX_TIMERS): Remove.
66041         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
66042         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66043         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
66044         Make code unconditional.
66045         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66046         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
66047         Make code unconditional.
66048         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66049         * sysdeps/unix/sysv/linux/clock_nanosleep.c
66050         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
66051         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66052         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
66053         Make code unconditional.
66054         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66055         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
66056         (__libc_missing_posix_timers): Remove.
66058 2012-08-15  Roland McGrath  <roland@hack.frob.com>
66060         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
66061         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
66063         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
66065         * elf/dl-sym.c: Include <stdlib.h>.
66067         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
66068         constants, which avoids warnings in 32-bit builds.
66070         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
66071         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
66073         * misc/lseek.c: File moved to ...
66074         * io/lseek.c: ... here.
66076         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
66078         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
66079         shifting LEN more than 31 bits at once.
66081 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66083         [BZ #14195]
66084         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
66085         segmentation fault for a case of two empty input strings.
66086         * string/test-strncasecmp.c (check1): Renamed to...
66087         (bz12205): ...this.
66088         (bz14195): Add new testcase for two empty input strings and N > 0.
66089         (test_main): Call new testcase, adapt for renamed function.
66091 2012-08-15  Andreas Jaeger  <aj@suse.de>
66093         [BZ #14090]
66094         * crypt/md5test2.c: New test, based on test supplied by Serge
66095         Belyshev <belyshev@depni.sinp.msu.ru>.
66096         * crypt/Makefile (xtests): Add md5test-giant..
66097         * crypt/Makefile ($(objpfx)md5test-giant): Add.
66099 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
66101         [BZ #14090]
66102         * crypt/md5.c (md5_process_block): Don't assume the buffer
66103         length is less than 2**32.
66104         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
66105         length is less than 2**64.
66107 2012-08-15  Roland McGrath  <roland@hack.frob.com>
66109         * string/str-two-way.h: Include <sys/param.h>.
66110         (MAX): Macro removed.
66112         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
66113         Move #define and #undef of memmove to just before and after
66114         including <string.h>.
66116         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
66117         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
66118         and after including <string.h>.  Move declarations of
66119         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
66120         to before #include "string/memmove.c".
66122         * include/dirent.h: Declare __getdirentries.
66124         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
66125         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
66127 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
66129         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
66130         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
66131         * sysdeps/i386/configure: Regenerated.
66132         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
66133         STABS_CURRENT_FILE, and STABS_FUN.
66134         (END): Remove call to STABS_FUN_END.
66135         (STABS_CURRENT_FILE1): Delete.
66136         (STABS_CURRENT_FILE): Likewise.
66137         (STABS_FUN): Likewise.
66138         (STABS_FUN_END): Likewise.
66139         (STABS_FUN2): Likewise.
66140         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
66141         * sysdeps/x86_64/configure: Regenerated.
66143 2012-08-14  Roland McGrath  <roland@hack.frob.com>
66145         * elf/dl-open.c: Include <atomic.h>.
66146         * elf/dl-lookup.c: Likewise.
66148 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
66150         * sysdeps/unix/sysv/linux/kernel-features.h
66151         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
66152         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
66153         unconditionally.
66154         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
66155         unconditionally.
66156         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
66157         condition on __ASSUME_CLONE_THREAD_FLAGS.
66159 2012-08-14  Andreas Jaeger  <aj@suse.de>
66161         * sysdeps/i386/fpu/libm-test-ulps: Update.
66163 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
66165         * include/atomic.h (atomic_exchange_and_add): Split into ...
66166         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
66167         New atomic macros.
66169 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
66171         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66173 2012-08-13  Jeff Law <law@redhat.com>
66175         * manual/stdio.texi (snprintf): Clarify handling of the trailing
66176         null byte in the output string.
66178 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
66180         * sysdeps/unix/sysv/linux/kernel-features.h
66181         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
66182         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
66183         (__ASSUME_ARG_MAX_STACK_BASED): Define.
66184         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
66185         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
66186         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
66187         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
66189 2012-08-09  Jeff Law <law@redhat.com>
66191         [BZ #13939]
66192         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
66193         When avoid_arena is set, don't retry in the that arena.  Pick the
66194         next one, whatever it might be.
66195         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
66196         (arena_lock): Pass in new parameter to arena_get2.
66197         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
66198         arena_get2.
66199         (__libc_malloc): Unify retrying after main arena failure with
66200         __libc_memalign version.
66201         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
66203 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
66205         [BZ #14166]
66206         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
66207         to __redirect_strstr.
66208         (__strstr_sse42): Use typeof __redirect_strstr.
66209         (__strstr_ia32): Likewise.
66210         (__libc_strstr): New prototype.
66211         (strstr): Renamed to ...
66212         (__libc_strstr): This.
66213         (strstr): New strong alias of __libc_strstr.
66214         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
66215         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
66216         __redirect_time.
66217         Include <time.h>.
66218         (__libc_time): New prototype.
66219         (time_ifunc): Replace time with __libc_time.
66220         (time): New strong alias and hidden definition of __libc_time.
66221         (__GI_time): Remove strong alias.
66222         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
66223         Include <stddef.h>.
66224         (memmove): Redefined to __redirect_memmove.
66225         (__memmove_sse2): Use typeof __redirect_memmove.
66226         (__memmove_ssse3): Likewise.
66227         (__memmove_ssse3_back): Likewise.
66228         (__libc_memmove): New prototype.
66229         (memmove): Renamed to ...
66230         (__libc_memmove): This.
66231         (memmove): New strong alias of __libc_memmove.
66233 2012-08-08  Mark Salter  <msalter@redhat.com>
66235         * elf/elf.h
66236         (R_MN10300_TLS_GD): Define.
66237         (R_MN10300_TLS_LD): Likewise.
66238         (R_MN10300_TLS_LDO): Likewise.
66239         (R_MN10300_TLS_GOTIE): Likewise.
66240         (R_MN10300_TLS_IE): Likewise.
66241         (R_MN10300_TLS_LE): Likewise.
66242         (R_MN10300_TLS_DTPMOD): Likewise.
66243         (R_MN10300_TLS_DTPOFF): Likewise.
66244         (R_MN10300_TLS_TPOFF): Likewise.
66245         (R_MN10300_SYM_DIFF): Likewise.
66246         (R_MN10300_ALIGN): Likewise.
66247         (R_MN10300_NUM): Update.
66249 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
66251         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
66252         Remove.
66254 2012-08-08  Roland McGrath  <roland@hack.frob.com>
66256         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
66258         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
66259         sysdeps/unix -> sysdeps/posix move.
66260         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
66262 2012-08-07      Allan McRae     <allan@archlinux.org>
66264         [BZ #14303]
66265         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
66266         (SUNOS_CPP): Likewise.
66267         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
66268         not found.
66269         (open_input): Call CPP using execvp.
66271 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
66273         * sysdeps/unix/sysv/linux/kernel-features.h
66274         (__ASSUME_PROT_GROWSUPDOWN): Remove.
66275         (__ASSUME_NO_CLONE_DETACHED): Likewise.
66276         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
66277         (__ASSUME_WAITID_SYSCALL): Likewise.
66278         * sysdeps/unix/sysv/linux/dl-execstack.c
66279         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
66280         code unconditional.
66281         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
66282         conditional code.
66283         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
66284         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
66285         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
66286         code.
66287         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
66288         unconditional.
66289         [__ASSUME_WAITID_SYSCALL]: Likewise.
66290         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
66292 2012-08-07  Roland McGrath  <roland@hack.frob.com>
66294         * sysdeps/unix/closedir.c: Renamed to ...
66295         * sysdeps/posix/closedir.c: ... here.
66296         * sysdeps/unix/dirfd.c: Renamed to ...
66297         * sysdeps/posix/dirfd.c: ... here.
66298         * sysdeps/unix/dirstream.h: Renamed to ...
66299         * sysdeps/posix/dirstream.h: ... here.
66300         * sysdeps/unix/fdopendir.c: Renamed to ...
66301         * sysdeps/posix/fdopendir.c: ... here.
66302         * sysdeps/unix/opendir.c: Renamed to ...
66303         * sysdeps/posix/opendir.c: ... here.
66304         * sysdeps/unix/readdir.c: Renamed to ...
66305         * sysdeps/posix/readdir.c: ... here.
66306         * sysdeps/unix/readdir_r.c: Renamed to ...
66307         * sysdeps/posix/readdir_r.c: ... here.
66308         * sysdeps/unix/rewinddir.c: Renamed to ...
66309         * sysdeps/posix/rewinddir.c: ... here.
66310         * sysdeps/unix/seekdir.c: Renamed to ...
66311         * sysdeps/posix/seekdir.c: ... here.
66312         * sysdeps/unix/telldir.c: Renamed to ...
66313         * sysdeps/posix/telldir.c: ... here.
66314         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
66315         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
66316         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
66317         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
66319         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
66320         * bits/fcntl.h: ... here.
66322         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
66323         not 0.
66324         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
66325         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
66326         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
66327         (struct flock): Move l_start, l_len to the beginning.
66328         Use __pid_t for l_pid.
66329         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
66330         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
66331         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
66332         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
66333         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
66334         [__USE_LARGEFILE64] (struct flock64): New type.
66335         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
66337         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
66338         * bits/dirent.h: ... here.
66340         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
66341         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
66343 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
66345         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
66346         Change from 2.6.0 to 2.6.16.
66347         * sysdeps/unix/sysv/linux/configure: Regenerated.
66348         * sysdeps/unix/sysv/linux/kernel-features.h
66349         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
66350         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
66351         version.
66352         (__ASSUME_UTIMES): Likewise.
66353         (__ASSUME_CLONE_STOPPED): Remove.
66354         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
66355         architectures, not kernel version.
66356         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
66357         (__ASSUME_NO_CLONE_DETACHED): Likewise.
66358         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
66359         (__ASSUME_WAITID_SYSCALL): Likewise.
66360         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
66361         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
66362         * README: State 2.6.16 as minimum Linux kernel version.  Do not
66363         refer to older versions.
66365 2012-08-06  Roland McGrath  <roland@hack.frob.com>
66367         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
66368         Define alphasort64 as an alias.
66369         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
66370         Define versionsort64 as an alias.
66371         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
66372         Define scandir64 as an alias.
66373         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
66374         Define scandirat64 as an alias.
66375         * dirent/alphasort64.c (alphasort64):
66376         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
66377         * dirent/versionsort64.c: Likewise.
66378         * dirent/scandir64.c: Likewise.
66379         * dirent/scandirat64.c: Likewise.
66380         * sysdeps/wordsize-64/alphasort.c: File removed.
66381         * sysdeps/wordsize-64/alphasort64.c: File removed.
66382         * sysdeps/wordsize-64/scandir.c: File removed.
66383         * sysdeps/wordsize-64/scandir64.c: File removed.
66384         * sysdeps/wordsize-64/scandirat.c: File removed.
66385         * sysdeps/wordsize-64/scandirat64.c: File removed.
66386         * sysdeps/wordsize-64/versionsort.c: File removed.
66387         * sysdeps/wordsize-64/versionsort64.c: File removed.
66388         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
66389         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
66390         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
66391         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
66392         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
66393         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
66394         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
66395         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
66397         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
66398         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
66399         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
66400         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66401         [defined __arch64__ || defined __sparcv9]
66402         (__INO_T_MATCHES_INO64_T): New macro.
66403         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
66404         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
66405         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
66406         * sysdeps/unix/sysv/linux/bits/dirent.h
66407         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
66408         (_DIRENT_MATCHES_DIRENT64): New macro.
66410         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
66411         Define lockf64 as an alias.
66412         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
66413         Define fseeko64 as an alias.
66414         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
66415         Define ftello64 as an alias.
66416         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
66417         Define _IO_fgetpos64 and fgetpos64 as aliases.
66418         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
66419         Define _IO_fsetpos64 and fsetpos64 as aliases.
66420         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
66421         Conditionalize body on this.
66422         * libio/fseeko64.c: Likewise.
66423         * libio/ftello64.c: Likewise.
66424         * libio/iofgetpos64.c: Likewise.
66425         * libio/iofsetpos64.c: Likewise.
66426         * sysdeps/wordsize-64/lockf.c: File removed.
66427         * sysdeps/wordsize-64/lockf64.c: File removed.
66428         * sysdeps/wordsize-64/fseeko.c: File removed.
66429         * sysdeps/wordsize-64/fseeko64.c: File removed.
66430         * sysdeps/wordsize-64/ftello.c: File removed.
66431         * sysdeps/wordsize-64/ftello64.c: File removed.
66432         * sysdeps/wordsize-64/iofgetpos.c: File removed.
66433         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
66434         * sysdeps/wordsize-64/iofsetpos.c: File removed.
66435         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
66436         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
66437         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
66438         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
66439         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
66440         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
66441         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
66442         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
66443         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
66444         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
66445         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
66447         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
66448         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
66449         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
66450         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66451         [defined __arch64__ || defined __sparcv9]
66452         (__OFF_T_MATCHES_OFF64_T): New macro.
66453         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
66454         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
66455         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66456         (__OFF_T_MATCHES_OFF64_T): New macro.
66458 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
66460         * stdlib/secure-getenv.c (__secure_getenv): Replace
66461         GLIBC_2_16 with GLIBC_2_17.
66463 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
66465         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
66466         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
66468 2012-08-03  David S. Miller  <davem@davemloft.net>
66470         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66472 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
66474         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
66475         Remove.
66476         (__ASSUME_CORRECT_SI_PID): Likewise.
66477         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
66478         (__ASSUME_TMPFS_NAME): Likewise.
66479         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
66480         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
66481         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
66482         (HAVE_AUX_SECURE): Make definition unconditional.
66483         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
66484         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
66486 2012-08-03  Roland McGrath  <roland@hack.frob.com>
66488         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
66489         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
66490         * sysdeps/mach/hurd/eloop-threshold.h: New file.
66491         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
66492         __eloop_threshold instead of SYMLOOP_MAX.
66494         * sysdeps/generic/eloop-threshold.h: New file.
66495         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
66496         of MAXSYMLINKS.
66497         * elf/chroot_canon.c (chroot_canon): Likewise.
66499 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
66501         [BZ #13717]
66502         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
66503         Change to 2.6.0 everywhere.
66504         * sysdeps/unix/sysv/linux/configure: Regenerated.
66505         * sysdeps/unix/sysv/linux/kernel-features.h
66506         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
66507         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
66508         kernel versions.
66509         (__ASSUME_POSIX_TIMERS): Define unconditionally.
66510         (__ASSUME_FUTEX_REQUEUE): Remove.
66511         (__ASSUME_STATFS64): Define unconditionally.
66512         (__ASSUME_AT_SECURE): Likewise.
66513         (__ASSUME_CORRECT_SI_PID): Likewise.
66514         (__ASSUME_TGKILL): Define without depending on kernel version for
66515         i386.
66516         (__ASSUME_UTIMES): Likewise.
66517         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
66518         kernel version.
66519         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
66520         (__ASSUME_TMPFS_NAME): Likewise.
66521         * README: Update reference to Linux kernel versions.
66523 2012-08-02  Marek Polacek  <polacek@redhat.com>
66525         [BZ# 14150]
66526         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
66527         libc_cv_asm_type_prefix with %.
66528         * configure: Regenerated.
66529         * include/libc-symbols.h: Remove comment about
66530         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
66531         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
66532         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
66533         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
66534         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
66535         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
66536         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
66537         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
66538         * elf/tst-unique2mod1.c: Likewise.
66539         * elf/tst-unique1mod2.c: Likewise.
66540         * elf/tst-unique1mod1.c: Likewise.
66541         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
66542         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
66543         Replace ASM_TYPE_DIRECTIVE with .type.
66544         * sysdeps/s390/s390-64/sysdep.h: Likewise.
66545         * sysdeps/i386/sysdep.h: Likewise.
66546         * sysdeps/x86_64/sysdep.h: Likewise.
66547         * sysdeps/sh/sysdep.h: Likewise.
66548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
66549         Do not define ASM_TYPE_DIRECTIVE.
66550         * sysdeps/powerpc/sysdep.h: Likewise.
66551         * sysdeps/powerpc/powerpc32/sysdep.h:
66552         Replace ASM_TYPE_DIRECTIVE with .type.
66553         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
66554         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
66555         * sysdeps/i386/fpu/e_powf.S: Likewise.
66556         * sysdeps/i386/fpu/e_expl.S: Likewise.
66557         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
66558         * sysdeps/i386/fpu/e_acosh.S: Likewise.
66559         * sysdeps/i386/fpu/e_pow.S: Likewise.
66560         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
66561         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
66562         * sysdeps/i386/fpu/s_expm1.S: Likewise.
66563         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
66564         * sysdeps/i386/fpu/e_log2.S: Likewise.
66565         * sysdeps/i386/fpu/e_log2l.S: Likewise.
66566         * sysdeps/i386/fpu/e_scalb.S: Likewise.
66567         * sysdeps/i386/fpu/e_powl.S: Likewise.
66568         * sysdeps/i386/fpu/e_log10f.S: Likewise.
66569         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
66570         * sysdeps/i386/fpu/e_logl.S: Likewise.
66571         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
66572         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
66573         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
66574         * sysdeps/i386/fpu/e_log2f.S: Likewise.
66575         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
66576         * sysdeps/i386/fpu/e_log.S: Likewise.
66577         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
66578         * sysdeps/i386/fpu/e_logf.S: Likewise.
66579         * sysdeps/i386/fpu/e_log10l.S: Likewise.
66580         * sysdeps/i386/fpu/e_atanh.S: Likewise.
66581         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
66582         * sysdeps/i386/fpu/e_log10.S: Likewise.
66583         * sysdeps/i386/fpu/s_frexp.S: Likewise.
66584         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
66585         * sysdeps/i386/fpu/s_asinh.S: Likewise.
66586         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
66587         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
66588         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
66589         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
66590         * sysdeps/i386/i686/strtok.S: Likewise.
66591         * sysdeps/i386/i386-mcount.S: Likewise.
66592         * sysdeps/i386/strtok.S: Likewise.
66593         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
66594         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
66595         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
66596         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
66597         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
66598         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
66599         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
66600         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
66601         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
66602         * sysdeps/x86_64/_mcount.S: Likewise.
66603         * sysdeps/x86_64/strtok.S: Likewise.
66604         * sysdeps/sh/_mcount.S: Likewise.
66606 2012-08-01  Roland McGrath  <roland@hack.frob.com>
66608         * libio/iofopen.c: Include <fcntl.h>.
66609         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
66610         (_IO_fopen64, fopen64): Define as aliases.
66611         * libio/iofopen64.c: Include <fcntl.h>.
66612         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
66613         Conditionalize body on this.
66614         * sysdeps/wordsize-64/iofopen.c: File removed.
66615         * sysdeps/wordsize-64/iofopen64.c: File removed.
66617 2012-08-01  Marek Polacek  <polacek@redhat.com>
66619         * libc/Makeconfig: Use elf in place of binfmt-subdir.
66620         Use dlfcn directly instead of a variable.
66621         (binfmt-subdir): Do not define.
66622         (dlfcn): Likewise.
66624 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
66626         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
66627         Remove all definitions.
66628         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
66629         <kernel-features.h>.
66630         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
66631         (miss_F_GETOWN_EX): Remove all definitions.
66632         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
66633         macro definition.
66634         [!__ASSUME_FCNTL64]: Remove conditional code.
66635         [__ASSUME_FCNTL64]: Make code unconditional.
66636         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
66637         <kernel-features.h>.
66638         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
66639         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
66640         (lockf64) [__NR_fcntl64]: Make code unconditional.
66641         (lockf64) [__ASSUME_FCNTL64]: Likewise.
66643         * sysdeps/unix/sysv/linux/kernel-features.h
66644         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
66645         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
66646         Make code unconditional.
66647         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
66648         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
66649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
66650         [__NR_vfork]: Make code unconditional.
66651         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
66652         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
66653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
66654         [__NR_vfork]: Make code unconditional.
66655         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
66656         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
66658 2012-08-01  Roland McGrath  <roland@hack.frob.com>
66660         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
66661         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
66663         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
66664         Define mkstemp64 as an alias.
66665         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
66666         Define mkstemps64 as an alias.
66667         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
66668         Define mkostemp64 as an alias.
66669         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
66670         Define mkostemps64 as an alias.
66671         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
66672         Conditionalize body on this.
66673         * misc/mkostemp64.c: Likewise.
66674         * misc/mkostemps64.c: Likewise.
66675         * misc/mkstemps64.c: Likewise.
66676         * sysdeps/wordsize-64/mkstemp64.c: File removed.
66677         * sysdeps/wordsize-64/mkostemp64.c: File removed.
66678         * sysdeps/wordsize-64/mkostemp.c: File removed.
66679         * sysdeps/wordsize-64/mkstemp.c: File removed.
66680         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
66681         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
66682         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
66683         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
66685         [BZ #14138]
66686         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
66687         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
66688         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
66689         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
66691         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
66692         compat_symbol macros from <shlib-compat.h> rather than the underlying
66693         default_symbol_version and symbol_version macros, so that DEFAULT
66694         lines in shlib-versions are respected.
66695         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
66697 2012-08-01  Florian Weimer  <fweimer@redhat.com>
66699         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
66700         Declare with warn_unused_result.
66701         (setgid, setregid, setegid, setresgid): Likewise.
66702         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
66703         Likewise.
66704         * WUR-REPORT: Remove set*id functions.
66706 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
66708         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
66710 2012-07-31  Roland McGrath  <roland@hack.frob.com>
66712         [BZ #10191]
66713         * include/sys/socket.h (__libc_accept, __libc_accept4):
66714         Add attribute_hidden.
66715         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
66717         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
66718         use of PTR_MANGLE.
66719         * inet/getnetgrent_r.c (setup): Likewise.
66721         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
66723 2012-07-31  David S. Miller  <davem@davemloft.net>
66725         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66727 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
66729         [BZ #13629]
66730         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
66731         value between 1.0 and 2.0 and smaller part has absolute value less
66732         than 1.0.
66733         * math/s_clog10.c (__clog10): Likewise.
66734         * math/s_clog10f.c (__clog10f): Likewise.
66735         * math/s_clog10l.c (__clog10l): Likewise.
66736         * math/s_clogf.c (__clogf): Likewise.
66737         * math/s_clogl.c (__clogl): Likewise.
66738         * math/libm-test.inc (clog_test): Add more tests.
66739         (clog10_test): Likewise.
66740         * sysdeps/i386/fpu/libm-test-ulps: Update.
66741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66743 2012-07-31  Florian Weimer  <fweimer@redhat.com>
66745         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
66746         Exit with zero in case no suitable GID is found, and write a
66747         message to standard error.
66749 2012-07-30  Roland McGrath  <roland@hack.frob.com>
66751         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
66752         rather than to 1.
66753         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
66754         (MAXPATHLEN): Removed.
66755         (NOGROUP, NODEV): New macros.
66756         (setbit, clrbit, isset, isclr): New macros.
66757         (howmany, roundup, powerof2): New macros.
66758         (DEV_BSIZE): New macro.
66760         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
66761         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
66763         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
66764         definition on [!__NO_LONG_DOUBLE_MATH].
66766         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
66767         PTR_MANGLE and PTR_DEMANGLE.
66769         * socket/accept4.c (accept4): Rename to __libc_accept4.
66770         Define accept4 as a weak alias.
66772         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
66773         on [_DIRENT_HAVE_D_TYPE].
66774         * io/ftw.c (ftw_dir): Likewise.
66776         * io/xmknod.c (__xmknod): Don't check PATH for being null.
66778         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
66780         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
66781         Use the BSD numbers rather than the arbitrary ones we had.
66782         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
66783         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
66784         (SIGXCPU, SIGXFSZ): New macros.
66785         (_NSIG): Now 32.
66787         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
66788         initializer on [_LIBC_REENTRANT].
66790         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
66791         definitions inside [_POSIX_MAPPED_FILES].
66793         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
66795         * dirent/opendir.c: Include <fcntl.h>.
66797         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
66798         (__libc_getspecific): Likewise.
66799         (__libc_key_create): Likewise.
66801         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
66802         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
66803         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
66804         (tmpfile64): Define as alias.
66805         * sysdeps/wordsize-64/tmpfile.c: File removed.
66806         * sysdeps/wordsize-64/tmpfile64.c: File removed.
66807         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
66808         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
66810         * stdio-common/vfscanf.c: Include <stdbool.h>.
66811         * nss/makedb.c: Likewise.
66812         * stdio-common/_i18n_number.h: Likewise.
66813         * argp/argp-help.c: Likewise.
66814         * posix/wordexp.c: Likewise.
66815         * sysdeps/posix/spawni.c: Likewise.
66816         * nss/nss_files/files-initgroups.c: Likewise.
66817         * stdio-common/reg-modifier.c: Include <stdlib.h>.
66818         * nss/nss_files/files-initgroups.c: Likewise.
66819         * nss/nss_db/db-netgrp.c: Likewise.
66820         * nss/nss_db/db-initgroups.c: Likewise.
66821         * io/fchmodat.c: Include <sys/stat.h>.
66823         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
66824         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
66826         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
66827         [HAVE_MMAP].
66829         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
66830         Add multiple inclusion protection.
66832 2012-07-27  David S. Miller  <davem@davemloft.net>
66834         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66836 2012-07-27  Gary Benson  <gbenson@redhat.com>
66838         [BZ #14298]
66839         * elf/rtld.c: Include <stap-probe.h>.
66840         (dl_main): Added static probes "init_start" and "init_complete".
66841         * elf/dl-load.c: Include <stap-probe.h>.
66842         (lose): Take new parameter "nsid".
66843         Added static probe "map_failed".
66844         (_dl_map_object_from_fd): Pass namespace id to lose.
66845         Added static probe "map_start".
66846         (open_verify): Pass namespace id to lose.
66847         * elf/dl-open.c: Include <stap-probe.h>.
66848         (dl_open_worker) Added static probes "map_complete", "reloc_start"
66849         and "reloc_complete".
66850         * elf/dl-close.c: Include <stap-probe.h>.
66851         (_dl_close_worker): Added static probes "unmap_start" and
66852         "unmap_complete".
66853         * elf/rtld-debugger-interface.txt: New file documenting the above.
66855 2012-07-26  Roland McGrath  <roland@hack.frob.com>
66857         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
66858         rather than a string variable.
66859         * sunrpc/rpc_main.c (h_output): Likewise.
66860         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
66862 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
66864         * inet/check_native.c: New file.
66866 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
66868         [BZ #13629]
66869         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
66870         if larger part has absolute value 1.0.
66871         * math/s_clog10.c (__clog10): Likewise.
66872         * math/s_clog10f.c (__clog10f): Likewise.
66873         * math/s_clog10l.c (__clog10l): Likewise.
66874         * math/s_clogf.c (__clogf): Likewise.
66875         * math/s_clogl.c (__clogl): Likewise.
66876         * math/libm-test.inc (clog_test): Add more tests.
66877         (clog10_test): Likewise.
66878         * sysdeps/i386/fpu/libm-test-ulps: Update.
66879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66881         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
66882         (pltexit): Likewise.
66883         (La_regs): Likewise.
66884         (La_retval): Likewise.
66885         (int_retval): Likewise.
66886         Update #error for removed macros to refer only to definitions in
66887         tst-audit.h.
66888         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
66889         macro.
66890         (pltexit): Likewise.
66891         (La_regs): Likewise.
66892         (La_retval): Likewise.
66893         (int_retval): Likewise.
66894         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
66895         macro.
66896         (pltexit): Likewise.
66897         (La_regs): Likewise.
66898         (La_retval): Likewise.
66899         (int_retval): Likewise.
66900         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
66901         macro.
66902         (pltexit): Likewise.
66903         (La_regs): Likewise.
66904         (La_retval): Likewise.
66905         (int_retval): Likewise.
66906         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
66907         macro.
66908         (pltexit): Likewise.
66909         (La_regs): Likewise.
66910         (La_retval): Likewise.
66911         (int_retval): Likewise.
66912         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
66913         macro.
66914         (pltexit): Likewise.
66915         (La_regs): Likewise.
66916         (La_retval): Likewise.
66917         (int_retval): Likewise.
66918         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
66919         macro.
66920         (pltexit): Likewise.
66921         (La_regs): Likewise.
66922         (La_retval): Likewise.
66923         (int_retval): Likewise.
66924         * sysdeps/generic/tst-audit.h: Update comment to refer only to
66925         macro definitions in tst-audit.h.
66926         * sysdeps/i386/tst-audit.h: New file.
66927         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
66928         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
66929         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
66930         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
66931         * sysdeps/sh/tst-audit.h: Likewise.
66932         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
66933         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
66934         * sysdeps/x86_64/tst-audit.h: Likewise.
66936 2012-07-26  Andreas Jaeger  <aj@suse.de>
66938         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
66939         ptrace.
66941         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
66942         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
66943         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
66944         PTRACE_O_MASK.
66945         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
66946         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
66947         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
66949         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
66950         value.
66952         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
66953         _sigsys.
66954         (si_call_addr, si_syscall, si_arch): Define new macro.
66955         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
66956         _sigsys.
66957         (si_call_addr, si_syscall, si_arch): Define new marcro.
66958         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
66959         _sigsys.
66960         (si_call_addr, si_syscall, si_arch): Define new macro.
66961         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
66962         _sigsys.
66963         (si_call_addr, si_syscall, si_arch): Define new macro.
66965 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
66967         [BZ #13717]
66968         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
66969         Change to 2.4.21 where previously 2.4.1.
66970         * sysdeps/unix/sysv/linux/configure: Regenerated.
66971         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
66972         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
66973         Linux kernel version.
66974         (__ASSUME_STD_AUXV): Remove.
66975         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
66976         kernel version.
66977         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
66978         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
66979         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
66980         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
66981         (__ASSUME_NETLINK_SUPPORT): Likewise.
66982         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
66983         (__no_netlink_support): Remove conditional definition.
66984         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
66985         Remove.
66986         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
66987         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
66988         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
66989         (if_nameindex_ioctl): Remove.
66990         (if_nameindex_netlink): Do not handle __no_netlink_support.
66991         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
66992         code.
66993         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
66994         Remove conditional code.
66995         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
66996         code.
66997         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
66998         unconditional.
66999         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
67000         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
67001         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
67002         Remove.
67003         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
67004         [!__ASSUME_STD_AUXV]: Remove conditional code.
67005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
67006         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
67007         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
67008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
67009         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
67010         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
67011         code.
67012         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
67013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
67014         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
67015         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
67016         conditional code.
67017         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
67018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
67019         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
67020         code.
67021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
67022         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
67023         conditional code.
67024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
67025         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
67026         code unconditional.
67027         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67028         conditional code.
67029         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
67030         unconditional.
67031         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67032         conditional code.
67033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
67034         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
67035         unconditional.
67036         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67037         conditional code.
67038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
67039         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
67040         code unconditional.
67041         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67042         conditional code.
67043         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
67044         unconditional.
67045         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67046         conditional code.
67047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
67048         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
67049         code unconditional.
67050         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67051         conditional code.
67052         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
67053         unconditional.
67054         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67055         conditional code.
67057 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
67059         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
67060         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
67061         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
67062         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
67063         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
67064         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
67065         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
67066         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
67067         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
67068         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
67069         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
67070         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
67071         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
67072         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
67073         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
67074         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
67075         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
67076         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
67077         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
67078         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
67079         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
67080         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
67081         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
67083 2012-07-25  Florian Weimer  <fweimer@redhat.com>
67085         * Versions.def: Add GLIBC_2.17.
67086         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
67087         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
67088         Introduce __libc_secure_getenv.
67089         * stdlib/Versions (2.17): Add secure_getenv
67090         (GLIBC_PRIVATE): Add __libc_secure_getenv.
67091         * stdlib/secure-getenv.c: Rename __secure_getenv to
67092         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
67093         symbol __secure_getenv for GLIBC_2.0.
67094         * stdlib/tst-secure-getenv.c: New.
67095         * stdlib/Makefile (tests): Add testcase.
67096         * manual/startup.texi (Environment Access): Document
67097         secure_getenv.
67098         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
67099         __libc_secure_getenv.
67100         * inet/ruserpass.c (ruserpass): Likewise.
67101         * malloc/mtrace.c (mtrace): Likewise.
67102         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
67103         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
67104         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
67105         * sysdeps/posix/tempname.c: Likewise.  Evaluate
67106         HAVE_SECURE_GETENV.
67107         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
67108         __secure_getenv to __libc_secure_getenv.
67109         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
67110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67111         Likewise.
67112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67113         Likewise.
67114         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
67115         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
67116         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
67117         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
67118         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
67119         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
67120         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
67122 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
67124         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
67125         (struct La_i86_retval): Likewise.
67126         (struct La_x86_64_regs): Likewise.
67127         (struct La_x86_64_retval): Likewise.
67128         (struct La_x32_regs): Likewise.
67129         (struct La_x32_retval): Likewise.
67130         (struct La_ppc32_regs): Likewise.
67131         (struct La_ppc32_retval): Likewise.
67132         (struct La_ppc64_regs): Likewise.
67133         (struct La_ppc64_retval): Likewise.
67134         (struct La_sh_regs): Likewise.
67135         (struct La_sh_retval): Likewise.
67136         (struct La_s390_32_regs): Likewise.
67137         (struct La_s390_32_retval): Likewise.
67138         (struct La_s390_64_regs): Likewise.
67139         (struct La_s390_64_retval): Likewise.
67140         (struct La_sparc32_regs): Likewise.
67141         (struct La_sparc32_retval): Likewise.
67142         (struct La_sparc64_regs): Likewise.
67143         (struct La_sparc64_retval): Likewise.
67144         (struct audit_ifaces): Remove architecture-specific pltenter and
67145         pltexit members.
67146         * sysdeps/i386/ldsodefs.h: New file.
67147         * sysdeps/powerpc/ldsodefs.h: Likewise.
67148         * sysdeps/s390/ldsodefs.h: Likewise.
67149         * sysdeps/sh/ldsodefs.h: Likewise.
67150         * sysdeps/sparc/ldsodefs.h: Likewise.
67151         * sysdeps/x86_64/ldsodefs.h: Likewise.
67153 2012-07-25  Marek Polacek  <polacek@redhat.com>
67155         [BZ #6808]
67156         * math/libm-test.inc (yn_test): Add another test.
67157         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
67158         to ERANGE when the result is +-Inf.
67159         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
67160         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
67161         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
67162         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
67164 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
67166         * conform/data/time.h-data (NULL): Use macro-constant.  Require
67167         equal to 0.
67168         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
67169         clock_t.
67170         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
67172 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
67174         * configure.in <sysdeps resolving>: Correct printing
67175         Implies_before.
67176         * configure: Regenerate.
67178 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
67180         * math/w_ilogb.c: Include <limits.h>.
67181         * math/w_ilogbl.c: Likewise.
67183 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
67185         * manual/lang.texi (__va_copy): Document primarily as ISO C99
67186         va_copy.  Document allowing for unavailable va_copy only as
67187         pre-C99 compatibility.
67188         * manual/string.texi (Copying and Concatenation): Use va_copy
67189         instead of __va_copy in concat example.
67191 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
67193         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
67194         (__sendto): Use create_address_port.  Initialize APORT and deallocate
67195         it if not null.
67197         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
67198         with O_NOLINK passed to __file_name_lookup.
67200         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
67201         with O_NOLINK passed to __file_name_lookup.
67203         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
67204         negative N or less than NGIDS.
67206         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
67207         type to string_t.  Set ERANGE as errno and return it if NAME is not big
67208         enough.  Use memcpy instead of strncpy.
67210 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
67212         * elf/Makefile (check-data): Remove.
67213         (localplt.data): New vpath directive.
67214         ($(objpfx)check-localplt.out): Use localplt.data from vpath
67215         instead of $(check-data).
67216         * scripts/data/localplt-generic.data: Move to ...
67217         * sysdeps/generic/localplt.data: ... here.
67218         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
67219         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
67220         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
67221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
67222         ... here.
67223         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
67224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
67225         ... here.
67226         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
67227         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
67228         ... here.
67229         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
67230         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
67231         ... here.
67232         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
67233         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
67234         ... here.
67235         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
67236         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
67237         ... here.
67239 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67241         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
67242         PPC32 and PPC64 files.
67243         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
67244         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
67246 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67248         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
67249         __makecontext_ret to ...
67250         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
67251         ... here and call exit if uc_link is NULL.  New file.
67252         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
67253         __makecontext_ret.S.
67254         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
67255         __makecontext_ret to ...
67256         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
67257         ... here and call exit if uc_link is NULL.  New file.
67258         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
67259         __makecontext_ret.S.
67261 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67263         * elf/elf.h (R_390_IRELATIVE): New definition.
67264         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
67265         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
67266         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
67267         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
67268         (elf_machine_lazy_rel): Likewise.
67269         * sysdeps/s390/dl-irel.h: New file.
67270         * sysdeps/s390/s390-64/memcpy.S: New asm code.
67271         * sysdeps/s390/s390-64/memset.S: New asm code.
67272         * sysdeps/s390/s390-64/memcmp.S: New asm code.
67273         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
67274         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
67275         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
67276         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
67277         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
67278         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
67279         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
67280         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
67281         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
67282         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
67283         * sysdeps/s390/s390-32/memcpy.S: New asm code.
67284         * sysdeps/s390/s390-32/memset.S: New asm code.
67285         * sysdeps/s390/s390-32/memcmp.S: New asm code.
67287 2012-07-17  Marek Polacek  <polacek@redhat.com>
67289         [BZ #14349]
67290         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
67291         * sysdeps/s390/s390-64/configure.in: Likewise.
67292         * sysdeps/sparc/configure.in: Likewise.
67293         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
67294         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
67295         * sysdeps/i386/configure.in: Likewise.
67296         * sysdeps/x86_64/configure.in: Likewise.
67297         * sysdeps/sh/configure.in: Likewise.
67298         * sysdeps/s390/s390-32/configure: Regenerated.
67299         * sysdeps/s390/s390-64/configure: Likewise.
67300         * sysdeps/x86_64/configure: Likewise.
67301         * sysdeps/sh/configure: Likewise.
67302         * sysdeps/powerpc/powerpc64/configure: Likewise.
67303         * sysdeps/powerpc/powerpc32/configure: Likewise.
67304         * sysdeps/sparc/configure: Likewise.
67305         * sysdeps/i386/configure: Likewise.
67307         * elf/dl-open.c: Comment fixes.
67309 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
67311         * Makefile [CXX] (check-data): Remove.
67312         [CXX] (c++-types.data): New vpath directive.
67313         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
67314         vpath.  Do not allow for C++ type data being missing.
67315         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
67316         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
67317         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
67318         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
67319         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
67320         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
67321         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
67322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
67323         ... here.
67324         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
67325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
67326         ... here.
67327         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
67328         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
67329         ... here.
67330         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
67331         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
67332         ... here.
67333         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
67334         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
67335         ... here.
67336         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
67337         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
67338         ... here.
67339         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
67340         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
67341         ... here.
67342         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
67343         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
67345         * elf/tls-macros.h (TLS_LE): Move architecture-specific
67346         definitions to architecture-specific files.
67347         (TLS_IE): Likewise.
67348         (TLS_LD): Likewise.
67349         (TLS_GD): Likewise.
67350         * sysdeps/i386/tls-macros.h: New file.
67351         * sysdeps/powerpc/tls-macros.h: Likewise.
67352         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
67353         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
67354         * sysdeps/sh/tls-macros.h: Likewise.
67355         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
67356         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
67357         * sysdeps/x86_64/tls-macros.h: Likewise.
67359 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
67361         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
67362         zero value for regular exit case.
67364         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
67365         (__start_context): Preserve zero value for regular exit case.
67367 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
67368             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67370         * manual/setjmp.texi (setcontext): Clarify normal process
67371         termination when uc_link is the null pointer.
67372         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
67373         exit call.
67375 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
67377         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
67378         preprocessor.  Test for each exception mask separately.
67380 2012-07-16  Andreas Jaeger  <aj@suse.de>
67382         * po/ru.po: Update from translation team.
67384 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
67386         * conform/data/string.h-data (NULL): Use macro-constant.  Require
67387         equal to 0.
67388         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
67389         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
67390         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
67391         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
67392         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67394 2012-07-13  Andreas Jaeger  <aj@suse.de>
67396         * po/fr.po: Update from translation team.
67398 2012-07-12  Marek Polacek  <polacek@redhat.com>
67400         [BZ #14173]
67401         * math/libm-test.inc (yn_test): Add test for BZ #14173.
67402         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
67403         loop condition.
67405 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
67407         [BZ #13717]
67408         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
67409         Change to 2.4.1 where previously 2.4.0.
67410         * sysdeps/unix/sysv/linux/configure: Regenerated.
67411         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
67412         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
67413         version.
67414         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
67415         (__ASSUME_AT_CLKTCK): Remove.
67416         (__ASSUME_AT_PAGESIZE): Likewise.
67417         (__ASSUME_AT_XID): Likewise.
67418         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
67419         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
67420         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
67421         unconditionally.
67422         (HAVE_AUX_PAGESIZE): Likewise.
67423         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
67424         [__ASSUME_AT_CLKTCK]: Make code unconditional.
67425         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
67427 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
67429         [BZ #14307]
67430         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
67431         the temporary buffer used to invoke __gethostbyname2_r,
67432         __gethostbyaddr_r and gethostbyname4_r to make room for struct
67433         host_data / struct gaih_addrtuple.
67434         * resolv/nss_dns/dns-host.c (global scope): Move definition of
67435         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
67436         header file nss/nsswitch.h.
67437         * nss/nsswitch.h (global scope): Add definition of implementation
67438         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
67439         resolv/nss_dns/dns-host.c).
67441 2012-07-11  Andreas Jaeger  <aj@suse.de>
67443         * po/fr.po: Update from translation team.
67445         * po/sv.po: Update from translation team
67446         * po/fr.po: Another update from translation team.
67448 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67450         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
67451         for subnormals or multiply small sinh result by itself.
67452         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
67453         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67455 2012-07-11  David S. Miller  <davem@davemloft.net>
67457         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67459 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
67461         [BZ #14347]
67462         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
67463         (INTERNAL_MARK): Shift it here.
67465 2012-07-10  Marek Polacek  <polacek@redhat.com>
67467         [BZ #14151]
67468         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
67469         libc_cv_asm_global_directive with .globl.
67470         * configure: Regenerated.
67471         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
67472         with .globl.
67473         * sysdeps/i386/configure: Regenerated.
67474         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
67475         with .globl.
67476         * sysdeps/x86_64/configure: Regenerated.
67477         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
67478         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
67479         * elf/tst-unique2mod2.c: Likewise.
67480         * elf/tst-unique2mod1.c: Likewise.
67481         * elf/tst-unique1mod2.c: Likewise.
67482         * elf/tst-unique1mod1.c: Likewise.
67483         * sysdeps/s390/s390-32/sysdep.h: Likewise.
67484         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
67485         * sysdeps/s390/s390-64/sysdep.h: Likewise.
67486         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
67487         * sysdeps/mach/sysdep.h: Likewise.
67488         * sysdeps/i386/sysdep.h: Likewise.
67489         * sysdeps/i386/i386-mcount.S: Likewise.
67490         * sysdeps/x86_64/_mcount.S: Likewise.
67491         * sysdeps/x86_64/sysdep.h: Likewise.
67492         * sysdeps/sh/_mcount.S: Likewise.
67493         * sysdeps/sh/sysdep.h: Likewise.
67494         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
67495         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
67496         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
67497         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
67498         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
67499         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
67500         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
67501         * locale/localeinfo.h: Likewise.
67502         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
67503         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
67505 2012-07-09  Roland McGrath  <roland@hack.frob.com>
67507         [BZ #14336]
67508         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
67509         system".
67510         * manual/message.texi (The Uniforum approach): Likewise.
67511         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
67512         (glibc iconv Implementation): Likewise.
67514 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
67516         [BZ #14337]
67517         * math/s_clog.c (__clog): Avoid scaling a value down where that
67518         could result in underflow.
67519         * math/s_clog10.c (__clog10): Likewise.
67520         * math/s_clog10f.c (__clog10f): Likewise.
67521         * math/s_clog10l.c (__clog10l): Likewise.
67522         * math/s_clogf.c (__clogf): Likewise.
67523         * math/s_clogl.c (__clogl): Likewise.
67524         * math/libm-test.inc (clog_test): Add more tests.
67525         (clog10_test): Likewise.
67526         * sysdeps/i386/fpu/libm-test-ulps: Update.
67527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67529 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
67531         [BZ #14283]
67532         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
67533         by 7 not 8 to examine high bit of fractional part.
67535         [BZ #14042]
67536         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
67537         for call to __mcount_internal.
67538         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
67539         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
67540         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
67542 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
67544         [BZ #14154]
67545         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
67546         approximation for values within 0x1p-13f of an odd multiple of
67547         pi/4.
67548         * math/libm-test.inc (tan_test): Do not allow spurious underflow
67549         exception.  Add more tests.
67550         * sysdeps/i386/fpu/libm-test-ulps: Update.
67552         [BZ #6778]
67553         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
67554         inputs and return -1 for them.  Do not check for +Inf in case not
67555         reachable for +Inf.
67556         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
67557         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
67558         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
67559         and return -1 for them.  Do not check for +Inf in case not
67560         reachable for +Inf.
67561         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
67562         define.
67563         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
67564         and return -1 for them.  Do not check for +Inf in case not
67565         reachable for +Inf.
67566         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
67567         spurious underflow.
67568         * sysdeps/i386/fpu/libm-test-ulps: Update.
67569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67571 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
67573         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
67575 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
67577         [BZ #14157]
67578         [BZ #14331]
67579         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
67580         could result in spurious underflow.  Scale down values above
67581         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
67582         * math/s_csqrtf.c (__csqrtf): Likewise.
67583         * math/s_csqrtl.c (__csqrtl): Likewise.
67584         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
67585         spurious underflow.
67586         * sysdeps/i386/fpu/libm-test-ulps: Update.
67587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67589 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
67591         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
67592         xopen-msg.sed.
67593         * catgets/xopen-msg.awk: New file.
67594         * catgets/xopen-msg.sed: Removed.
67596         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
67597         po2text.sed.
67598         * intl/po2test.awk: New file.
67599         * intl/po2test.sed: Removed.
67601 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
67603         [BZ #14328]
67604         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
67605         or multiply small sinh result by itself.
67606         * math/s_ctanf.c (__ctanf): Likewise.
67607         * math/s_ctanh.c (__ctanh): Likewise.
67608         * math/s_ctanhf.c (__ctanhf): Likewise.
67609         * math/s_ctanhl.c (__ctanhl): Likewise.
67610         * math/s_ctanl.c (__ctanl): Likewise.
67611         * math/libm-test.inc (ctan_test_tonearest): New function.
67612         (ctan_test_towardzero): Likewise.
67613         (ctan_test_downward): Likewise.
67614         (ctan_test_upward): Likewise.
67615         (ctanh_test_tonearest): Likewise.
67616         (ctanh_test_towardzero): Likewise.
67617         (ctanh_test_downward): Likewise.
67618         (ctanh_test_upward): Likewise.
67619         (main): Call these new functions.
67620         * sysdeps/i386/fpu/libm-test-ulps: Update.
67621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67623 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
67625         * .gitignore: Delete /ports entry.
67627 2012-07-03  Andreas Jaeger  <aj@suse.de>
67629         * po/bg.po: Update from translation team.
67630         * po/cs.po: Likewise.
67631         * po/de.po: Likewise.
67632         * po/hr.po: Likewise.
67633         * po/nl.pl: Likewise.
67634         * po/pl.po: Likewise.
67635         * po/vi.po: Likewise.
67637 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
67639         * Makeconfig [!+link] (+link-before-libc): New variable.
67640         [!+link] (+link-after-libc): Likewise.
67641         [!+link] (+link-tests): Likewise.
67642         [!+link] (+link): Define in terms of $(+link-before-libc) and
67643         $(+link-after-libc).
67644         [!+link-static] (+link-static-before-libc): New variable.
67645         [!+link-static] (+link-static-after-libc): Likewise.
67646         [!+link-static] (+link-static-tests): Likewise.
67647         [!+link-static] (+link-static): Define in terms of
67648         $(+link-static-before-libc) and $(+link-static-after-libc).
67649         [build-shared] (link-libc-before-gnulib): New variable.
67650         [build-shared] (link-libc-tests): Likewise.
67651         [build-shared] (link-libc): Define in terms of
67652         $(link-libc-before-gnulib).
67653         [!build-shared] (link-libc-tests): New variable.
67654         (link-libc-static-tests): New variable.
67655         [!gnulib] (gnulib-arch): New variable.
67656         [!gnulib] (gnulib-tests): Likewise.
67657         [!gnulib] (static-gnulib-arch): Likewise.
67658         [!gnulib] (static-gnulib-tests): Likewise.
67659         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
67660         Define with "=" instead of ":=".
67661         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
67662         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
67663         * Rules (binaries-all-notests): New variable.
67664         (binaries-all-tests): Likewise.
67665         (binaries-static-notests): Likewise.
67666         (binaries-static-tests): Likewise.
67667         (binaries-all): Define using $(binaries-all-notests) and
67668         $(binaries-all-tests).
67669         (binaries-static): Define using $(binaries-static-notests) and
67670         $(binaries-static-tests).
67671         (binaries-shared-tests): New variable.
67672         (binaries-shared-notests): Likewise.
67673         (binaries-shared): Remove variable.
67674         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
67675         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
67676         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
67677         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
67678         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
67679         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
67680         * elf/Makefile (sln-modules): New variable.
67681         (extra-objs): Add $(sln-modules:=.o).
67682         (ldconfig-modules): Add static-stubs.
67683         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
67684         * elf/static-stubs.c: New file.
67686         [BZ #14283]
67687         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
67688         by 7 not 8 to examine high bit of fractional part.  Use volatile
67689         variables when splitting into final array of floats if
67690         __FLT_EVAL_METHOD__ != 0.
67691         * math/libm-test.inc (cos_test): Add another test.
67692         (sin_test): Likewise.
67693         * sysdeps/i386/fpu/libm-test-ulps: Update.
67695         [BZ #14273]
67696         * math/libm-test.inc (cosh_test): Add more tests.
67698         * version.h (RELEASE): Set to "development".
67699         (VERSION): Set to "2.16.90".
67701 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
67703         * NEWS: Update copyright. Remove last-updated date.
67704         Mention math library bug fixes and timezone data changes.
67705         * README: Mention GNU/Hurd, x32, and HPPA support status.
67707 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
67709         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
67711 2012-06-27  Andreas Jaeger  <aj@suse.de>
67713         * manual/contrib.texi (Contributors): Add Samuel Thibault.
67715 2012-06-25  Andreas Jaeger  <aj@suse.de>
67717         * sysdeps/s390/fpu/libm-test-ulps: Update.
67719 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
67720             Thomas Schwinge  <thomas@codesourcery.com>
67722         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
67723         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
67724         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
67725         fanotify_mark.
67727 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
67729         * sysdeps/mach/start.c: Remove file.
67730         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
67731         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
67732         * sysdeps/sh/init-first.c: Likewise.
67734         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
67735         registers for frame unwinding purposes, add CFI directives.
67736         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
67737         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
67738         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
67739         Likewise.
67741         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
67742         __fortify_fail returning.
67743         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
67745         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
67746         sysdeps/sh/____longjmp_chk.S.
67747         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
67748         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
67749         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
67750         (gen-as-const-headers): Append sigaltstack-offsets.sym.
67752         * sysdeps/sh/abort-instr.h: New file.
67753         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
67754         process in case exit returns.
67756         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
67757         initialize the GOT register before use.
67759         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
67760         calculation of ARGC > 4.
67762         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
67763         meaningful names to some local labels.
67765 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
67766             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
67768         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
67769         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
67770         (__arch_compare_and_exchange_val_16_acq): Likewise.
67771         (__arch_compare_and_exchange_val_32_acq): Likewise.
67772         (atomic_exchange_and_add): Fix gUSA sequence.
67773         (atomic_add): Likewise.
67774         (atomic_add_negative): Likewise.
67775         (atomic_add_zero): Likewise.
67776         (atomic_bit_test_set): Likewise.
67778 2012-06-22  Andreas Schwab  <schwab@redhat.com>
67780         [BZ #13579]
67781         * include/link.h (struct link_map): Add l_free_initfini.
67782         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
67783         l_initfini.
67784         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
67785         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
67786         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
67787         set.
67789 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
67791         * configure.in: Use AC_LANG_SOURCE.
67792         * configure: Regenerate.
67794 2012-06-22  Roland McGrath  <roland@hack.frob.com>
67796         * configure.in (libc_cv_localstatedir): New substituted variable.
67797         * configure: Regenerated.
67798         * config.make.in (localstatedir): New variable, substituted from
67799         libc_cv_localstatedir.
67800         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
67801         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
67802         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
67803         * sysdeps/gnu/configure: Regenerated.
67805 2012-06-21  Jeff Law  <law@redhat.com>
67807         [BZ #14277]
67808         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
67809         free.  Simplify list management for _LIBC case.
67811 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
67813         [BZ #14273]
67814         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
67815         Clear sign bit of 64-bit integer value before comparing against
67816         overflow value.
67818         * sysdeps/mach/configure: Regenerated.
67820 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
67822         [BZ #14278]
67823         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
67825 2012-06-21  Jeff Law  <law@redhat.com>
67827         [BZ #13882]
67828         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
67829         uint16_t for elements in the "seen" array to avoid char overflows.
67830         * elf/dl-fini.c (_dl_sort_fini): Likewise.
67831         * elf/dl-open.c (dl_open_worker): Likewise.
67833 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
67835         * scripts/list-sources.sh: Scan PORTS for translations.
67836         * po/libc.pot: Regenerated.
67838 2012-06-21  Andreas Jaeger  <aj@suse.de>
67840         [BZ #12194]
67841         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
67842         warning.
67843         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
67844         * bits/byteswap-16.h (__bswap_16): Likewise.
67845         * bits/byteswap.h (__bswap_constant_16): Likewise.
67847 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
67849         [BZ #14117]
67850         * sysdeps/i386/fpu_control.h: Removed.
67851         * sysdeps/x86_64/fpu_control.h: Moved to ...
67852         * sysdeps/x86/fpu_control.h: Here.
67854         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
67855         (_FPU_SETCW): Likewise.
67857 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
67859         [BZ #14117]
67860         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
67861         * sysdeps/x86/fpu/bits/mathinline.h: This.
67862         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
67864         [BZ #14050]
67865         [BZ #14117]
67866         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
67867         functions if __x86_64__ is defined.
67869 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
67871         * string/endian.h: Add !__ASSEMBLER__ condition for including
67872         conversion interfaces.
67874 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
67876         [BZ #14241]
67877         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
67878         of ABS(x) in calculating zero to negative powers other than odd
67879         integers.
67880         * math/libm-test.inc (pow_test): Add more tests.
67882 2012-06-15  Andreas Jaeger  <aj@suse.de>
67884         * manual/contrib.texi (Contributors): Update entry of Liubov
67885         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
67886         Machado Filho.
67888 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
67890         * string/string.h: Add __wur to GNU version of strerror_r.
67892 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
67894         [BZ #14229]
67895         * string/Makefile (tests): Add tst-strtok_r.
67896         * string/tst-strtok_r.c: New file.
67897         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
67898         RAX_LP/RDX_LP on SAVE_PTR.
67900 2012-06-14  Roland McGrath  <roland@hack.frob.com>
67902         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
67904 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
67906         * libm_test.inc (csqrt_test): Allow more spurious underflow
67907         exceptions.
67908         (j0_test): Likewise.
67909         (j1_test): Likewise.
67910         (y0_test): Likewise.
67911         (y1_test): Likewise.
67913 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
67915         * po/Makefile (libc.pot): Use UTF-8 charset.
67917 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
67919         [BZ #14210]
67920         Suppress sign-conversion warning from FD_SET.
67921         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
67922         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
67923         not unsigned long int.
67924         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
67926 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
67928         [BZ #14050]
67929         [BZ #14117]
67930         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
67931         __extern_always_inline instead of __extern_inline.
67932         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
67933         (__signbit): Likewise.
67934         (__signbitl): Support C++ namespace.
67935         (lrintf): New inline function.
67936         (lrint): Likewise.
67937         (llrintf): Likewise.
67938         (llrint): Likewise.
67939         (fmaxf): Likewise.
67940         (fmax): Likewise.
67941         (fminf): Likewise.
67942         (fmin): Likewise.
67943         (rint): Likewise.
67944         (rintf): Likewise.
67945         (ceil): Likewise.
67946         (ceilf): Likewise.
67947         (floor): Likewise.
67948         (floorf): Likewise.
67949         (nearbyint): Likewise.
67950         (nearbyintf): Likewise.
67952 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
67954         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
67955         non-default versions.
67957 2012-06-11  Roland McGrath  <roland@hack.frob.com>
67959         [BZ #14218]
67960         * manual/argp.texi (Argp): Reword argp_parse description slightly.
67962 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
67964         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
67965         (FE_UPWARD, FE_DOWNWARD): Don't define.
67966         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
67967         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
67969         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
67970         reading it.
67971         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
67972         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
67974 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
67976         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
67977         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
67978         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
67979         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
67981 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
67983         [BZ #14117]
67984         * sysdeps/i386/fpu/bits/fenv.h: Removed.
67985         * sysdeps/i386/fpu/Implies: New file.
67986         * sysdeps/x86_64/fpu/Implies: Likewise.
67987         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
67988         * sysdeps/x86/fpu/bits/fenv.h: This.
67990         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
67991         __SSE_MATH__.
67993 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
67995         [BZ #14134]
67996         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
67997         character 0xffff that matches the last element of the
67998         conversion table.
68000 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68002         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
68003         fmodl commit.
68005 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68007         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
68008         values higher than 25.6283.
68010 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68012         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
68013         subnormal exponent extraction and add some __builtin_expect.
68014         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
68015         Fix for subnormal mantissa calculation.
68017 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
68019         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
68020         cpu2 is -1 and errno is not ENOSYS.
68022 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
68024         [BZ #14117]
68025         * sysdeps/i386/i486/bits/string.h: Renamed to ...
68026         * sysdeps/x86/bits/string.h: This.
68027         * sysdeps/x86_64/bits/string.h: Removed.
68029         * sysdeps/i386/i486/bits/string.h: Define inline functions only
68030         if not compiling for x86-64, but compiling for >= i486.
68032         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
68033         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
68035         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
68036         New macro from Linux kernel 3.4.0.
68037         (FP_XSTATE_MAGIC2): Likewise.
68038         (FP_XSTATE_MAGIC2_SIZE): Likewise.
68039         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
68040         (struct _fpx_sw_bytes): New struct.
68041         (struct _xsave_hdr): Likewise.
68042         (struct _ymmh_state): Likewise.
68043         (struct _xstate): Likewise.
68045         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
68046         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
68047         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
68048         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
68049         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
68050         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
68052         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
68053         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
68054         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
68055         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
68056         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
68057         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
68059 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68061         [BZ #13743]
68062         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
68063         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
68064         (sysdep_headers): Include sys/platform/ppc.h.
68065         * sysdeps/powerpc/test-gettimebase.c: Test for
68066         __ppc_get_timebase() to catch future ISA opcode/insn changes.
68067         * manual/Makefile (appendices): Include platform.texi.
68068         * manual/contrib.texi (Contributors): Update @node pointers.
68069         * manual/maint.texi (Maintenance): Likewise.
68070         (Platform): New node.
68071         * manual/platform.texi: New file.  Document the new features.
68073 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
68074             Jakub Jelinek  <jakub@redhat.com>
68076         [BZ #14188]
68077         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
68078         where __builtin_expect is unavailable.
68080 2012-06-03  David S. Miller  <davem@davemloft.net>
68082         * stdlib/longlong.h: Updated from GCC.
68084 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
68086         [BZ #14042]
68087         * sysdeps/powerpc/powerpc32/mcount.c: New file.
68088         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
68089         __mcount_internal.
68090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
68091         (GLIBC_2.16): Likewise.
68093 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
68095         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
68097 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
68099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
68100         (default-abi): New variable.
68101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
68102         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
68103         variable.
68104         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
68105         Likewise.
68106         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
68107         Likewise.
68108         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
68109         Likewise.
68111         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
68112         definition.  Document in comment.
68114 2012-06-01  David S. Miller  <davem@davemloft.net>
68116         * stdlib/longlong.h: Updated from GCC.
68118 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
68120         [BZ #14117]
68121         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
68122         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
68123         sys/debugreg.h sys/io.h here.
68124         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
68125         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
68126         sys/io.h.
68127         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
68128         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
68129         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
68130         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
68131         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
68132         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
68134         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
68135         Define only if __x86_64__ is defined.
68137 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
68139         [BZ #14048]
68140         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
68141         Use int64_t for variable i.
68142         * math/libm-test.inc (fmod_test): Add more tests.
68144         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
68145         z computation is not scheduled after fetestexcept.
68146         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
68147         Use math_force_eval instead of asm to ensure calculation scheduled
68148         before exception test.
68149         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
68150         Ensure a1 + u.d computation is not scheduled after fetestexcept.
68152 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
68154         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
68155         computation is not scheduled after fetestexcept.
68157 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
68159         [BZ #14117]
68160         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
68161         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
68163 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68165         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
68166         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
68168 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
68170         [BZ #14117]
68171         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
68172         <bits/wordsize.h>.
68173         (__WCHAR_MIN): Support __WORDSIZE == 64.
68174         (__WCHAR_MAX): Likewise.
68176         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
68177         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
68179         [BZ #14183]
68180         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
68181         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
68183         [BZ #14117]
68184         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
68185         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
68187         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
68188         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
68190         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
68191         Defined to 1 if __x86_64__ isn't defined.
68192         (_STAT_VER_LINUX_OLD): New.
68193         (st_atime): Remove duplicate.
68194         (st_mtime): Likewise.
68195         (st_ctime): Likewise.
68197 2012-05-31  David S. Miller  <davem@davemloft.net>
68199         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
68200         entries.
68202 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
68204         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
68205         gen-libm-test.pl.
68207         [BZ #14132]
68208         * elf/dl-reloc.c: Include <_itoa.h>.
68209         (_dl_reloc_bad_type): Remove use of INTUSE.
68210         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
68211         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
68212         * stdio-common/psiginfo.c (psiginfo): Likewise.
68213         * stdio-common/psignal.c (psignal): Likewise.
68214         * string/strsignal.c (strsignal): Likewise.
68215         * include/signal.h (_sys_siglist): Declare hidden proto.
68216         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
68217         INTVARDEF with libc_hidden_data_def.
68218         * stdio-common/itoa-udigits.c: Likewise.
68219         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
68220         (_itoa_lower_digits_internal): Remove declaration.
68221         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
68222         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
68223         (_sys_sigabbrev_internal): Remove aliases.
68224         (_sys_siglist): Define hidden alias.
68226 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
68228         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68229         bits/sysctl.h.
68231 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
68233         [BZ #14117]
68234         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
68235         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
68237         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
68238         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
68239         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
68240         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
68241         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
68242         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
68244         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
68245         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
68246         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
68248         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
68249         with __addr.
68250         (insw): Likewise.
68251         (insl): Likewise.
68252         (outsb): Likewise.
68253         (outsw): Likewise.
68254         (outsl): Likewise.
68256         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
68257         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
68258         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
68260         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
68261         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
68262         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
68263         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
68264         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
68265         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
68267         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
68268         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
68270         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
68271         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
68273         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
68274         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
68275         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
68277         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
68278         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
68279         to ...
68280         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
68282         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
68283         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
68284         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
68286         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
68287         for x86-64.
68288         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
68290 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
68292         * math/math.h (M_El): Use two more decimal places.
68293         (M_LOG2El): Likewise.
68294         (M_LOG10El): Likewise.
68295         (M_LN2l): Likewise.
68296         (M_LN10l): Likewise.
68297         (M_PIl): Likewise.
68298         (M_PI_2l): Likewise.
68299         (M_PI_4l): Likewise.
68300         (M_1_PIl): Likewise.
68301         (M_2_PIl): Likewise.
68302         (M_2_SQRTPIl): Likewise.
68303         (M_SQRT2l): Likewise.
68304         (M_SQRT1_2l): Likewise.
68306 2012-05-31  David S. Miller  <davem@davemloft.net>
68308         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
68309         values between float registers.
68310         * sysdeps/sparc/sparc64/memset.S: Likewise.
68311         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
68313 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
68315         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
68316         -D_FORTIFY_SOURCE=1.
68317         (CPPFLAGS-tst-longjmp_chk.c): Define.
68318         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
68319         (CPPFLAGS-tst-longjmp_chk2.c): Define.
68320         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
68321         CFLAGS-tst-wchar-h.c.
68323 2012-05-31  Marek Polacek  <polacek@redhat.com>
68325         [BZ #14132]
68326         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
68327         __endmntent_internal): Remove declaration.
68328         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
68329         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
68330         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
68332 2012-05-30  David S. Miller  <davem@davemloft.net>
68334         * sysdeps/sparc/sparc32/soft-fp/q_util.c
68335         (___Q_simulate_exceptions): Use real FP ops rather than writing
68336         into the %fsr.
68337         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
68338         Likewise.
68340 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
68342         [BZ #14117]
68343         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
68344         * sysdeps/x86/bits/xtitypes.h: This.
68346         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
68347         * sysdeps/x86/bits/wordsize.h: This.
68349         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
68350         * sysdeps/x86/bits/huge_vall.h: This.
68352         * sysdeps/i386/bits/select.h: Removed.
68353         * sysdeps/x86_64/bits/select.h: Renamed to ...
68354         * sysdeps/x86/bits/select.h: This.
68356         * sysdeps/i386/bits/setjmp.h: Removed.
68357         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
68358         * sysdeps/x86/bits/setjmp.h: This.
68360         * sysdeps/i386/bits/mathdef.h: Removed.
68361         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
68362         * sysdeps/x86/bits/mathdef.h: This.
68364 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
68366         [BZ #14132]
68367         * include/sys/socket.h (__connect_internal)
68368         (__libc_sa_len_internal): Remove declaration.
68369         (__connect, __libc_sa_len): Declare hidden_proto.
68370         (SA_LEN): Remove use of INTUSE.
68371         * socket/connect.c: Add libc_hidden_def.
68372         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
68373         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
68374         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
68375         alias.
68376         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
68377         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
68378         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
68379         of adding _internal alias.
68381 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
68383         [BZ #14117]
68384         * sysdeps/i386/bits/link.h: Removed.
68385         * sysdeps/i386/bits/linkmap.h: Likewise.
68386         * sysdeps/x86_64/bits/link.h: Renamed to ...
68387         * sysdeps/x86/bits/link.h: This.
68388         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
68389         * sysdeps/x86/bits/linkmap.h: This.
68391         * sysdeps/i386/bits/endian.h: Removed.
68392         * sysdeps/x86_64/bits/endian.h: Renamed to ...
68393         * sysdeps/x86/bits/endian.h: This.
68395         * sysdeps/i386/bits/byteswap.h: Removed.
68396         * sysdeps/i386/bits/byteswap-16.h: Likewise.
68397         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
68398         * sysdeps/x86/bits/byteswap.h: This.
68399         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
68400         * sysdeps/x86/bits/byteswap-16.h: This.
68401         * sysdeps/i386/Implies: Add x86.
68402         * sysdeps/x86_64/Implies: Likewise.
68404 2012-05-30  David S. Miller  <davem@davemloft.net>
68406         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
68407         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
68408         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
68409         (FP_TRAPPING_EXCEPTIONS): Define.
68410         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
68411         (FP_TRAPPING_EXCEPTIONS): Define.
68412         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
68413         subnormals only when inexact has been signalled or underflow
68414         exceptions are enabled.
68415         (_FP_PACK_CANONICAL): Likewise.
68417 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
68419         [BZ #14183]
68420         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
68421         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
68423 2012-05-30  Richard Henderson  <rth@twiddle.net>
68425         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
68426         with #ifndef NOT_IN_libc.
68428         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
68429         marked to avoid plt entry.
68431 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
68433         [BZ #14112]
68434         * Makeconfig (default-abi): New macro.
68435         (abi-includes): Likewise.
68436         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
68437         $(abi-$(default-abi)-lib-soname) for soname if defined.
68438         ($(common-objpfx)gnu/lib-names.stmp): Generate from
68439         abi-variants.
68440         * Makefile (installed-stubs): Likewise.
68441         * include/stubs-biarch.h: Removed.
68442         * scripts/lib-names.awk: Only handle one library at a time.
68443         * scripts/soversions.awk: Remove WORDSIZE support.
68444         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
68445         entries.
68446         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
68447         Removed.
68448         (syscall-list-default-condition): Likewise.
68449         (syscall-list-default-condition): Likewise.
68450         (syscall-list-includes): Likewise.
68451         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
68452         syscall-list-* with abi-*.  Handle undefined abi-variants.
68453         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
68454         * sysdeps/unix/sysv/linux/i386/Implies: New file.
68455         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
68456         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
68457         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
68458         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
68459         Removed.
68460         (syscall-list-32-options): Likewise.
68461         (syscall-list-32-condition): Likewise.
68462         (syscall-list-64-options): Likewise.
68463         (syscall-list-64-condition): Likewise.
68464         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
68465         macro.
68466         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
68467         Renamed to ...
68468         (abi-*): This.
68469         (abi-64-ld-soname): New macro.
68470         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
68471         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
68472         Renamed to ...
68473         (abi-*): This.
68474         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
68475         * sysdeps/x86_64/x32/shlib-versions: Likewise.
68477 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
68479         * sysdeps/unix/sysv/linux/kernel-features.h
68480         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
68481         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
68482         include <kernel-features.h>.
68483         [!__NR_ftruncate64]: Remove conditional code.
68484         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
68485         [__NR_ftruncate64]: Make code unconditional.
68486         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
68487         * sysdeps/unix/sysv/linux/truncate64.c: Do not
68488         include <kernel-features.h>.
68489         [!__NR_ftruncate64]: Remove conditional code.
68490         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
68491         [__NR_ftruncate64]: Make code unconditional.
68492         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
68493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
68494         include <kernel-features.h>.
68495         [!__NR_ftruncate64]: Remove conditional code.
68496         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
68497         [__NR_ftruncate64]: Make code unconditional.
68498         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
68499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
68500         include <kernel-features.h>.
68501         [!__NR_ftruncate64]: Remove conditional code.
68502         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
68503         [__NR_ftruncate64]: Make code unconditional.
68504         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
68506         * configure.in (libc_cv_fpie): Weaken to a compile test using
68507         LIBC_TRY_CC_OPTION.
68508         * configure: Regenerated.
68510 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68512         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
68513         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
68514         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
68515         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
68516         Refreshed.
68517         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
68518         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
68519         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
68520         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
68521         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
68522         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
68523         Refreshed.
68525 2012-05-27  David S. Miller  <davem@davemloft.net>
68527         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
68528         (___Q_zero): New.
68529         (__Q_simulate_exceptions): Return void.  Change to simulate
68530         exceptions by writing into the %fsr.
68531         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
68532         (__Qp_handle_exceptions): Likewise.
68533         (numbers): Delete.
68534         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
68535         __Qp_handle_exceptions.
68536         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
68537         __Qp_handle_exceptions.
68538         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
68539         as unused and give dummy FP_RND_NEAREST initializer.
68540         (FP_INHIBIT_RESULTS): Define.
68541         (___Q_simulate_exceptions): Update declaration.
68542         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
68543         formatting.
68544         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
68545         as unused and give dummy FP_RND_NEAREST initializer.
68546         (__Qp_handle_exceptions): Update declaration.
68547         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
68548         formatting.
68550 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
68552         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
68553         the temporary FPU control word.
68554         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
68555         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
68556         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
68557         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
68558         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
68559         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
68560         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
68561         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
68562         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
68563         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
68564         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
68566 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
68568         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
68569         fields.
68571 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
68573         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
68574         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
68575         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
68576         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
68577         Likewise.
68578         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
68579         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
68580         Likewise.
68582 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
68584         * po/h.po: Update from translation team.
68586 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
68588         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
68590         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
68591         handling of denormals.
68592         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
68593         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
68594         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
68595         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
68596         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
68597         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
68598         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
68599         Likewise.
68601 2012-05-26  Marek Polacek  <polacek@redhat.com>
68603         [BZ #14152]
68604         * math/libm-test.inc (fma_test): Don't always expect underflow
68605         exception.
68607 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
68609         [BZ #12416]
68610         * elf/tst-execstack.c: Include stackinfo.h.
68611         (do_test): Adjust test case to ensure that pthread_getattr_np
68612         behaviour remains the same after marking stack executable.
68614 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
68616         * sysdeps/unix/sysv/linux/kernel-features.h
68617         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
68618         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
68619         kernel-features.h.
68620         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
68621         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
68622         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
68623         kernel-features.h.
68624         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
68625         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
68627 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
68629         * configure.in: Define the default includes to being none.
68630         * configure: Regenerated.
68632 2012-05-25  Roland McGrath  <roland@hack.frob.com>
68634         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
68635         * sysdeps/x86_64/setjmp.S: Likewise.
68636         * sysdeps/i386/bsd-setjmp.S: Likewise.
68637         * sysdeps/i386/bsd-_setjmp.S: Likewise.
68638         * sysdeps/i386/setjmp.S: Likewise.
68639         * sysdeps/i386/__longjmp.S: Likewise.
68640         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
68641         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
68643         * include/stap-probe.h: New file.
68644         * configure.in: Handle --enable-systemtap.
68645         * configure: Regenerated.
68646         * config.h.in (USE_STAP_PROBE): New #undef.
68647         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
68648         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
68649         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
68651 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
68653         [BZ #13717]
68654         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
68655         to 2.4.0 where earlier.
68656         * sysdeps/unix/sysv/linux/configure: Regenerated.
68657         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
68658         <kernel-features.h>.
68659         [__ASSUME_32BITUIDS]: Make code unconditional.
68660         [!__ASSUME_32BITUIDS]: Remove conditional code.
68661         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
68662         <kernel-features.h>.
68663         [__ASSUME_32BITUIDS]: Make code unconditional.
68664         [!__ASSUME_32BITUIDS]: Remove conditional code.
68665         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
68666         [__ASSUME_32BITUIDS]: Make code unconditional.
68667         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
68668         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
68669         <kernel-features.h>.
68670         [__ASSUME_32BITUIDS]: Make code unconditional.
68671         [!__ASSUME_32BITUIDS]: Remove conditional code.
68672         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
68673         <kernel-features.h>.
68674         [__ASSUME_32BITUIDS]: Make code unconditional.
68675         [!__ASSUME_32BITUIDS]: Remove conditional code.
68676         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
68677         <kernel-features.h>.
68678         [__ASSUME_32BITUIDS]: Make code unconditional.
68679         [!__ASSUME_32BITUIDS]: Remove conditional code.
68680         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
68681         <kernel-features.h>.
68682         [__ASSUME_32BITUIDS]: Make code unconditional.
68683         [!__ASSUME_32BITUIDS]: Remove conditional code.
68684         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
68685         <kernel-features.h>.
68686         [__ASSUME_32BITUIDS]: Make code unconditional.
68687         [!__ASSUME_32BITUIDS]: Remove conditional code.
68688         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
68689         <kernel-features.h>.
68690         [__ASSUME_32BITUIDS]: Make code unconditional.
68691         [!__ASSUME_32BITUIDS]: Remove conditional code.
68692         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
68693         <kernel-features.h>.
68694         [__ASSUME_32BITUIDS]: Make code unconditional.
68695         [!__ASSUME_32BITUIDS]: Remove conditional code.
68696         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
68697         <kernel-features.h>.
68698         [__ASSUME_32BITUIDS]: Make code unconditional.
68699         [!__ASSUME_32BITUIDS]: Remove conditional code.
68700         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
68701         <kernel-features.h>.
68702         [__ASSUME_32BITUIDS]: Make code unconditional.
68703         [!__ASSUME_32BITUIDS]: Remove conditional code.
68704         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
68705         <kernel-features.h>.
68706         [__ASSUME_32BITUIDS]: Make code unconditional.
68707         [!__ASSUME_32BITUIDS]: Remove conditional code.
68708         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
68709         <kernel-features.h>.
68710         [__NR_setresgid] (__setresgid): Do not declare.
68711         [__ASSUME_32BITUIDS]: Make code unconditional.
68712         [!__ASSUME_32BITUIDS]: Remove conditional code.
68713         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
68714         <kernel-features.h>.
68715         [__NR_setresuid] (__setresuid): Do not declare.
68716         [__ASSUME_32BITUIDS]: Make code unconditional.
68717         [!__ASSUME_32BITUIDS]: Remove conditional code.
68718         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
68719         <kernel-features.h>.
68720         [__ASSUME_32BITUIDS]: Make code unconditional.
68721         [!__ASSUME_32BITUIDS]: Remove conditional code.
68722         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
68723         <kernel-features.h>.
68724         [__ASSUME_32BITUIDS]: Make code unconditional.
68725         [!__ASSUME_32BITUIDS]: Remove conditional code.
68726         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
68727         <kernel-features.h>.
68728         [__ASSUME_32BITUIDS]: Make code unconditional.
68729         [!__ASSUME_32BITUIDS]: Remove conditional code.
68730         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
68731         <kernel-features.h>.
68732         [__ASSUME_32BITUIDS]: Make code unconditional.
68733         [!__ASSUME_32BITUIDS]: Remove conditional code.
68734         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
68735         <kernel-features.h>.
68736         [__ASSUME_32BITUIDS]: Make code unconditional.
68737         [!__ASSUME_32BITUIDS]: Remove conditional code.
68738         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
68739         <kernel-features.h>.
68740         [__ASSUME_32BITUIDS]: Make code unconditional.
68741         [!__ASSUME_32BITUIDS]: Remove conditional code.
68742         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
68743         <kernel-features.h>.
68744         [__ASSUME_32BITUIDS]: Make code unconditional.
68745         [!__ASSUME_32BITUIDS]: Remove conditional code.
68746         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
68747         <kernel-features.h>.
68748         [__ASSUME_32BITUIDS]: Make code unconditional.
68749         [!__ASSUME_32BITUIDS]: Remove conditional code.
68750         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
68751         <kernel-features.h>.
68752         [__ASSUME_32BITUIDS]: Make code unconditional.
68753         [!__ASSUME_32BITUIDS]: Remove conditional code.
68754         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
68755         <kernel-features.h>.
68756         [__ASSUME_32BITUIDS]: Make code unconditional.
68757         [!__ASSUME_32BITUIDS]: Remove conditional code.
68758         * sysdeps/unix/sysv/linux/kernel-features.h
68759         (__ASSUME_SETRESUID_SYSCALL): Remove.
68760         (__ASSUME_SETRESGID_SYSCALL): Likewise.
68761         (__ASSUME_32BITUIDS): Likewise.
68762         (__ASSUME_LDT_WORKS): Likewise.
68763         (__ASSUME_O_DIRECTORY): Likewise.
68764         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
68765         architecture but not kernel version.
68766         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
68767         (__ASSUME_MMAP2_SYSCALL): Likewise.
68768         (__ASSUME_STAT64_SYSCALL): Likewise.
68769         (__ASSUME_IPC64): Likewise.
68770         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
68771         <kernel-features.h>.
68772         [__ASSUME_32BITUIDS]: Make code unconditional.
68773         [!__ASSUME_32BITUIDS]: Remove conditional code.
68774         * sysdeps/unix/sysv/linux/opendir.c: Do not include
68775         <kernel-features.h>.
68776         [__ASSUME_O_DIRECTORY]: Make code unconditional.
68777         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
68778         132096]: Remove conditional code.
68779         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
68780         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
68781         <kernel-features.h>.
68782         [__ASSUME_32BITUIDS]: Make code unconditional.
68783         [!__ASSUME_32BITUIDS]: Remove conditional code.
68784         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
68785         <kernel-features.h>.
68786         [__ASSUME_32BITUIDS]: Make code unconditional.
68787         [!__ASSUME_32BITUIDS]: Remove conditional code.
68788         * sysdeps/unix/sysv/linux/setegid.c: Do not include
68789         <kernel-features.h>.
68790         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
68791         unconditional.
68792         (__setresgid): Do not declare.
68793         [__ASSUME_32BITUIDS]: Make code unconditional.
68794         [!__ASSUME_32BITUIDS]: Remove conditional code.
68795         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
68796         <kernel-features.h>.
68797         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
68798         unconditional.
68799         (__setresuid): Do not declare.
68800         [__ASSUME_32BITUIDS]: Make code unconditional.
68801         [!__ASSUME_32BITUIDS]: Remove conditional code.
68802         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
68803         <kernel-features.h>.
68804         [__ASSUME_32BITUIDS]: Make code unconditional.
68805         [!__ASSUME_32BITUIDS]: Remove conditional code.
68806         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
68807         <kernel-features.h>.
68808         [__ASSUME_32BITUIDS]: Make code unconditional.
68809         [!__ASSUME_32BITUIDS]: Remove conditional code.
68811 2012-05-25  Richard Henderson  <rth@twiddle.net>
68813         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
68814         dl_hwcap to ifunc resolver.
68815         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
68816         elf_ifunc_invoke.
68817         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
68818         dl_hwcap to ifunc resolver.
68819         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
68821 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
68823         [BZ #14153]
68824         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
68825         for |x| <= 2**-26, not 2**-57.
68826         * math/libm-test.inc (acos_test): Do not allow spurious underflow
68827         exception.
68829 2012-05-24  Jeff Law  <law@redhat.com>
68831         * stdio-common/Makefile (tests): Add bug25.
68832         * stdio-common/bug25.c: New test.
68834 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
68836         [BZ #13576]
68837         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
68838         multiple of MALLOC_ALIGNMENT in size.
68839         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
68841 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
68843         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
68844         Require >= 256.
68845         (FILENAME_MAX): Use macro-int-constant.
68846         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
68847         (_IOFBF): Use macro-int-constant.
68848         (_IOLBF): Likewise.
68849         (_IONBF): Likewise.
68850         (SEEK_CUR): Likewise.
68851         (SEEK_END): Likewise.
68852         (SEEK_SET): Likewise.
68853         (TMP_MAX): Likewise.
68854         (EOF): Use macro-int-constant.  Require < 0.
68855         (NULL): Use macro-constant.  Require == 0.
68856         (stdin): Require type to be FILE *.
68857         (stdout): Likewise.
68858         (stderr): Likewise.
68859         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
68860         macro-int-constant.
68861         (EXIT_SUCCESS): Likewise.
68862         (NULL): Use macro-constant.  Require == 0.
68863         (RAND_MAX): Use macro-int-constant.
68864         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
68865         [C99-based standards] (strtof): Require function.
68866         [C99-based standards] (strtold): Likewise.
68867         [C99-based standards] (strtoll): Likewise.
68868         [C99-based standards] (strtoull): Likewise.
68869         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
68870         [ISO || ISO99 || ISO11] (limits.h): Likewise.
68871         [ISO || ISO99 || ISO11] (math.h): Likewise.
68872         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
68873         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
68874         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68876 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
68878         [BZ #14132]
68879         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
68880         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
68881         * intl/dgettext.c (DCGETTEXT): Likewise.
68882         * intl/gettext.c (DCGETTEXT): Likewise.
68883         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
68884         * posix/regex_internal.h (gettext): Likewise.
68885         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
68886         Remove declaration.
68887         * include/argz.h (__argz_count_internal)
68888         (__argz_stringify_internal): Remove declaration.
68889         (__argz_count, __argz_stringify): Declare hidden proto.
68890         * intl/dcgettext.c: Remove use of INTDEF.
68891         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
68892         * string/argz-stringify.c: Likewise.
68893         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
68894         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
68895         Declare hidden proto.
68896         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
68897         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
68898         Declare hidden proto.
68899         * include/stdio.h (__asprintf_internal): Don't declare.
68900         (__asprintf): Don't define as macro.  Declare hidden proto.
68901         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
68902         (__fsetlocking): Declare hidden proto.
68903         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
68904         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
68905         hidden proto.
68906         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
68907         (_IO_setlinebuf): Remove use of INTUSE.
68908         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
68909         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
68910         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
68911         Remove declaration.
68912         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
68913         (_IO_do_flush): Remove use of INTUSE.
68914         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
68915         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
68916         (_IO_adjust_column, _IO_least_wmarker)
68917         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
68918         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
68919         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
68920         (_IO_default_doallocate, _IO_wdefault_doallocate)
68921         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
68922         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
68923         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
68924         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
68925         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
68926         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
68927         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
68928         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
68929         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
68930         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
68931         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
68932         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
68933         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
68934         proto.
68935         (_IO_flush_all_internal, _IO_adjust_column_internal)
68936         (_IO_default_uflow_internal, _IO_default_finish_internal)
68937         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
68938         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
68939         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
68940         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
68941         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
68942         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
68943         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
68944         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
68945         (_IO_file_close_internal, _IO_file_close_it_internal)
68946         (_IO_file_underflow_internal, _IO_file_overflow_internal)
68947         (_IO_file_init_internal, _IO_file_attach_internal)
68948         (_IO_file_fopen_internal, _IO_file_read_internal)
68949         (_IO_file_sync_internal, _IO_file_seek_internal)
68950         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
68951         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
68952         (_IO_str_underflow_internal, _IO_str_overflow_internal)
68953         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
68954         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
68955         (_IO_list_all_internal, _IO_link_in_internal)
68956         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
68957         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
68958         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
68959         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
68960         (_IO_do_write_internal, _IO_padn_internal)
68961         (_IO_getline_info_internal, _IO_getline_internal)
68962         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
68963         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
68964         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
68965         (_IO_vfscanf_internal, _IO_vfprintf_internal)
68966         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
68967         (_IO_init_internal, _IO_un_link_internal): Don't declare.
68968         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
68969         with libc_hidden_ver, remove use of INTUSE.
68970         * libio/genops.c: Likewise.
68971         * libio/freopen.c: Likewise.
68972         * libio/freopen64.c: Likewise.
68973         * libio/iofclose.c: Likewise.
68974         * libio/iofdopen.c: Likewise.
68975         * libio/iofflush.c: Likewise.
68976         * libio/iofflush_u.c: Likewise.
68977         * libio/iofgets.c: Likewise.
68978         * libio/iofgets_u.c: Likewise.
68979         * libio/iofopen.c: Likewise.
68980         * libio/iofopncook.c: Likewise.
68981         * libio/iofread.c: Likewise.
68982         * libio/iofread_u.c: Likewise.
68983         * libio/ioftell.c: Likewise.
68984         * libio/iofwrite.c: Likewise.
68985         * libio/iogetline.c: Likewise.
68986         * libio/iogets.c: Likewise.
68987         * libio/iogetwline.c: Likewise.
68988         * libio/iopadn.c: Likewise.
68989         * libio/iopopen.c: Likewise.
68990         * libio/ioseekoff.c: Likewise.
68991         * libio/ioseekpos.c: Likewise.
68992         * libio/iosetbuffer.c: Likewise.
68993         * libio/iosetvbuf.c: Likewise.
68994         * libio/ioungetc.c: Likewise.
68995         * libio/ioungetwc.c: Likewise.
68996         * libio/iovdprintf.c: Likewise.
68997         * libio/iovsprintf.c: Likewise.
68998         * libio/iovsscanf.c: Likewise.
68999         * libio/memstream.c: Likewise.
69000         * libio/obprintf.c: Likewise.
69001         * libio/oldfileops.c: Likewise.
69002         * libio/oldiofclose.c: Likewise.
69003         * libio/oldiofdopen.c: Likewise.
69004         * libio/oldiofopen.c: Likewise.
69005         * libio/oldiopopen.c: Likewise.
69006         * libio/oldstdfiles.c: Likewise.
69007         * libio/putc.c: Likewise.
69008         * libio/setbuf.c: Likewise.
69009         * libio/setlinebuf.c: Likewise.
69010         * libio/stdfiles.c: Likewise.
69011         * libio/strops.c: Likewise.
69012         * libio/vasprintf.c: Likewise.
69013         * libio/vscanf.c: Likewise.
69014         * libio/vsnprintf.c: Likewise.
69015         * libio/vswprintf.c: Likewise.
69016         * libio/wfiledoalloc.c: Likewise.
69017         * libio/wfileops.c: Likewise.
69018         * libio/wgenops.c: Likewise.
69019         * libio/wmemstream.c: Likewise.
69020         * libio/wstrops.c: Likewise.
69021         * libio/__fpurge.c: Likewise.
69022         * libio/__fsetlocking.c: Likewise.
69023         * assert/assert.c: Likewise.
69024         * debug/fgets_chk.c: Likewise.
69025         * debug/fgets_u_chk.c: Likewise.
69026         * debug/fread_chk.c: Likewise.
69027         * debug/fread_u_chk.c: Likewise.
69028         * debug/gets_chk.c: Likewise.
69029         * debug/obprintf_chk.c: Likewise.
69030         * debug/vasprintf_chk.c: Likewise.
69031         * debug/vdprintf_chk.c: Likewise.
69032         * debug/vsnprintf_chk.c: Likewise.
69033         * debug/vsprintf_chk.c: Likewise.
69034         * malloc/mtrace.c: Likewise.
69035         * misc/error.c: Likewise.
69036         * misc/syslog.c: Likewise.
69037         * stdio-common/asprintf.c: Likewise.
69038         * stdio-common/fxprintf.c: Likewise.
69039         * stdio-common/getw.c: Likewise.
69040         * stdio-common/isoc99_fscanf.c: Likewise.
69041         * stdio-common/isoc99_scanf.c: Likewise.
69042         * stdio-common/isoc99_vfscanf.c: Likewise.
69043         * stdio-common/isoc99_vscanf.c: Likewise.
69044         * stdio-common/isoc99_vsscanf.c: Likewise.
69045         * stdio-common/printf-prs.c: Likewise.
69046         * stdio-common/printf_fp.c: Likewise.
69047         * stdio-common/printf_fphex.c: Likewise.
69048         * stdio-common/printf_size.c: Likewise.
69049         * stdio-common/putw.c: Likewise.
69050         * stdio-common/scanf.c: Likewise.
69051         * stdio-common/sprintf.c: Likewise.
69052         * stdio-common/tmpfile.c: Likewise.
69053         * stdio-common/vfprintf.c: Likewise.
69054         * stdio-common/vfscanf.c: Likewise.
69055         * stdlib/strfmon_l.c: Likewise.
69056         * sunrpc/openchild.c: Likewise.
69057         * sunrpc/xdr_stdio.c: Likewise.
69058         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
69059         * sysdeps/mach/hurd/tmpfile.c: Likewise.
69061 2012-05-24  Roland McGrath  <roland@hack.frob.com>
69063         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
69065         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
69066         in the third column, to generate for the shared library an IFUNC
69067         that uses _dl_vdso_vsym.
69068         * Makerules (COMPILE.c, compile-stdin.c): New variables.
69069         * Makeconfig (object-suffixes-noshared): New variable.
69071         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
69072         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
69073         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
69074         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
69076         [BZ #14132]
69077         * include/sys/time.h (__gettimeofday): Remove macro.
69078         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
69079         * time/gettimeofday.c (__gettimeofday): Remove #undef.
69080         Remove INTDEF.
69081         (__gettimeofday): Add libc_hidden_def.
69082         (gettimeofday): Add libc_hidden_weak.
69083         * sysdeps/mach/gettimeofday.c: Likewise.
69084         * sysdeps/posix/gettimeofday.c: Likewise.
69085         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
69086         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
69087         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
69088         (__gettimeofday_internal): Remove strong_alias.
69089         (__gettimeofday): Add libc_hidden_def.
69090         (gettimeofday): Add libc_hidden_weak.
69091         * sysdeps/unix/syscalls.list (gettimeofday):
69092         Remove __gettimeofday_internal alias.
69094 2012-05-24  Daniel Jacobowitz  <drow@false.org>
69095             H.J. Lu  <hongjiu.lu@intel.com>
69097         [BZ #12495]
69098         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
69099         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
69100         (largebin_index_32_big): New.
69101         (largebin_index): Use it for 16-byte alignment.
69102         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
69103         correction with front_misalign.
69105 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
69107         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
69108         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
69109         Likewise.
69110         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
69111         Likewise.
69112         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
69113         Likewise.
69114         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
69115         Likewise.
69116         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
69117         Likewise.
69118         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
69119         Likewise.
69120         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
69121         Likewise.
69122         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
69123         Likewise.
69124         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
69125         Likewise.
69126         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
69127         Likewise.
69128         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
69129         Likewise.
69130         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
69131         Likewise.
69133         * scripts/data/c++-types-x32-linux-gnu.data: New file.
69134         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
69136 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
69138         [BZ #10846]
69139         [BZ #14036]
69140         * math/libm-test.inc (exp_test): Add test from bug 14036.
69141         (pow_test): Add test from bug 10846.
69143         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
69144         and other flags.
69145         (special_function): Do not include flags in test name.
69146         (parse_args): Likewise.
69147         * sysdeps/i386/fpu/libm-test-ulps: Update.
69148         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
69149         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
69150         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
69151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69153         * math/gen-libm-test.pl (%beautify): Add entries for underflow
69154         exceptions.
69155         * math/libm-test.inc ("Philosophy"): Update comment about
69156         exception testing.
69157         (UNDERFLOW_EXCEPTION): New macro.
69158         (UNDERFLOW_EXCEPTION_OK): Likewise.
69159         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
69160         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
69161         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
69162         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
69163         (INVALID_EXCEPTION_OK): Update value.
69164         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
69165         (OVERFLOW_EXCEPTION_OK): Likewise.
69166         (IGNORE_ZERO_INF_SIGN): Likewise.
69167         (test_exceptions): Handle underflow exceptions.
69168         (acos_test): Update for underflow exception expectations.
69169         (cexp_test): Likewise.
69170         (clog_test): Likewise.
69171         (clog10_test): Likewise.
69172         (csqrt_test): Likewise.
69173         (ctan_test): Likewise.
69174         (ctanh_test): Likewise.
69175         (exp_test): Likewise.
69176         (exp10_test): Likewise.
69177         (exp2_test): Likewise.
69178         (expm1_test): Likewise.
69179         (fma_test): Likewise.
69180         (j0_test): Likewise.
69181         (jn_test): Likewise.
69182         (nexttoward_test): Likewise.
69183         (pow_test): Likewise.
69184         (scalbn_test): Likewise.
69185         (scalbln_test): Likewise.
69186         (tan_test): Likewise.
69187         (y1_test): Likewise.
69188         * sysdeps/i386/fpu/libm-test-ulps: Update.
69189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69191 2012-05-23  David S. Miller  <davem@davemloft.net>
69193         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
69194         (__libc_sigaction): Remove unused local variables.
69196 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
69198         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
69200 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
69202         mktime: avoid signed integer overflow
69203         * time/mktime.c (__mktime_internal): Do not mishandle the case
69204         where diff == INT_MIN.
69206         mktime: simplify computation of average
69207         * time/mktime.c (ranged_convert): Use new time_t_avg function
69208         instead of rolling our own (probably-slower) code.
69210         mktime: do not assume signed right shift propagates sign bit
69211         * time/mktime.c (isdst_differ): New static function.
69212         (__mktime_internal): No need to normalize tm_isdst now.
69213         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
69214         tm_isdst values.
69216         mktime: merge another wrapv change from gnulib
69217         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
69218         from some compilers.
69220         mktime: remove incorrect attempt at unusual arithmetics
69221         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
69222         The code didn't really work on such machines anyway.
69223         (TYPE_MINIMUM): Assume two's complement.
69224         (twos_complement_arithmetic): Verify that long_int and time_t
69225         are two's complement (or unsigned, in the latter case).
69227         mktime: check signed shifts on long_int and time_t, too
69228         * time/mktime.c (SHR): Check that shifts work as desired
69229         on the types long_int and time_t too, as SHR is used on
69230         such types.
69232         mktime: do not assume 'long' is wide enough
69233         * time/mktime.c (verify): Move decl up.
69234         (long_int): New type.
69235         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
69236         to remove assumption in the code that 'long' is wide enough to
69237         store year values.  This assumption is not true on x32 and on
69238         some non-glibc platforms.
69240         mktime: merge wrapv change from gnulib
69241         * time/mktime.c (WRAPV): New macro.
69242         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
69243         (guess_time_tm, __mktime_internal): Do not assume that signed
69244         integer overflow wraps around; modern compilers generate code
69245         where this assumption is no longer valid.
69247 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
69249         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
69250         Replace "jmp L(pseudo_end)" with "ret".
69251         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
69252         Likewise.
69254 2012-05-23  Andreas Jaeger  <aj@suse.de>
69256         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
69257         * sysdeps/unix/sysv/linux/poll.c: Remove file.
69259 2012-05-23  Andreas Jaeger  <aj@suse.de>
69260             Maximilian Attems  <max@stro.at>
69262         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
69263         New macros.
69265 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
69267         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
69268         code so that pseudo_end is just ret and the stack pointer is
69269         correct also for static library in error case.
69271 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
69273         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
69274         move to syscalls.list.
69275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
69276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
69277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
69278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
69280         * manual/install.texi (Running make install): Do not mention Linux
69281         kernel version for which pt_chown is not needed.
69282         (Linux): Do not mention problems with nscd with 2.0 kernels.
69283         * INSTALL: Regenerated.
69285 2012-05-23  Andreas Jaeger  <aj@suse.de>
69287         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
69288         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
69289         macro.
69290         * sysdeps/unix/sysv/linux/s390/bits/mman.h
69291         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
69292         * sysdeps/unix/sysv/linux/sh/bits/mman.h
69293         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
69294         * sysdeps/unix/sysv/linux/i386/bits/mman.h
69295         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
69296         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
69297         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
69298         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
69299         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
69300         * sysdeps/unix/sysv/linux/bits/in.h
69301         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
69303 2012-05-22  Roland McGrath  <roland@hack.frob.com>
69305         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
69306         (PREPARE_VERSION): Just use assert instead, it will be elided
69307         under [NDEBUG] anyway.
69309 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
69311         * sysdeps/unix/sysv/linux/Makefile: Include
69312         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
69313         (sysdep_routines): Remove sysctl.
69314         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
69315         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
69316         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
69317         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
69318         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
69320 2012-05-22  Andreas Jaeger  <aj@suse.de>
69322         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
69323         that pseudo_end is just ret and the stack pointer is correct also
69324         for static library in error case.
69326 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
69328         [BZ #14122]
69329         * nss/nsswitch.c (defconfig_entries): New variable.
69330         (__nss_database_lookup): Don't leak defconfig entries.
69331         (nss_parse_service_list): Don't leak on error paths.
69332         (free_database_entries): New function.
69333         (free_defconfig): New function.
69334         (free_mem): Move common code to free_database_entries.
69336 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
69338         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
69339         Add arch_prctl.
69340         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
69342         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
69343         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
69344         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
69345         New macro.
69346         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
69347         (INTERNAL_SYSCALL_TYPES): Likewise.
69348         (LOAD_ARGS_TYPES_[1-6]): Likewise.
69349         (LOAD_REGS_TYPES_[1-6]): Likewise.
69350         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
69351         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
69353 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69355         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
69356         copysignl for GLIBC_2_0.
69357         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
69358         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
69359         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
69360         logbl for GLIBC_2_0.
69361         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
69362         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
69364 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
69366         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
69367         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
69369         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
69370         Use "neg %eax".
69372         * time/mktime.c: Update copyright years.
69374 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
69376         mktime: merge comment-quoting-style change from gnulib
69377         * time/mktime.c: Quote 'like this' in comments.
69378         The GNU coding standards suggest that we no longer quote `like this',
69379         as "`" and "'" are typically rendered asymmetrically nowadays.
69380         The typical gnulib style is to quote 'like this' when quoting
69381         code, and "like this" when quoting English.
69383         * time/mktime.c (compile-command): Add "-I.".
69385         mktime: merge mktime-internal.h change from gnulib
69386         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
69388         mktime: merge time_r change from gnulib
69389         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
69391         mktime: merge DEBUG change from gnulib
69392         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
69393         case system <time.h> has a #define.
69395         mktime: merge <sys/types.h> change from gnulib
69396         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
69397         since <time.t> is now guaranteed to define time_t.
69399         mktime: merge HAVE_CONFIG_H change from gnulib
69400         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
69402 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
69404         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
69405         Use "neg %eax".
69407         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
69408         __rlim_t cast.
69409         (struct rusage): Use anonymous union to pad each field to
69410         __syscall_slong_t.
69412 2012-05-21  David S. Miller  <davem@davemloft.net>
69414         * Makefules (o-iterator): Remove .s cases.
69415         (compile-command.s): Delete.
69416         (COMPILE.s): Delete.
69417         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
69419 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
69421         * configure.in (libc_cv_predef_stack_protector): Only consider
69422         "foobar" and "__stack_chk_fail" lines in libc_undefs.
69423         * configure: Regenerated.
69425 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
69427         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
69428         New macro.  Use R*LP on int and pointer.
69429         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
69430         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
69431         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
69432         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
69434         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
69435         [__WORDSIZE_TIME64_COMPAT32] instead of
69436         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
69437         (struct utmp): Likewise.
69438         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
69439         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
69440         Renamed to ...
69441         (__WORDSIZE_TIME64_COMPAT32): This.
69442         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
69443         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
69444         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
69445         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
69446         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
69447         (__WORDSIZE_TIME64_COMPAT32): New macro.
69449 2012-05-21  Andreas Jaeger  <aj@suse.de>
69451         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
69452         only if [SHARED]. Add prototype for __wcschr_ia32.
69454 2012-05-21  Roland McGrath  <roland@hack.frob.com>
69456         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
69457         of %rbp unmolested in the jmp_buf while mangling the low bits.
69458         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
69459         unmolested high bits of %rbp while demangling the low bits.
69460         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
69462 2012-05-21  Andreas Jaeger  <aj@suse.de>
69464         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
69465         * sunrpc/svc_simple.c: Use it for registerrpc.
69466         * sunrpc/xcrypt.c: Use it for passwd2des.
69468         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
69470 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
69472         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
69473         Don't define if [__SYSCALL_WORDSIZE != 32].
69474         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
69475         New macro.
69477 2012-05-21  Bruno Haible  <bruno@clisp.org>
69478             Andreas Jaeger  <aj@suse.de>
69480         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
69481         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
69482         inptr and inend for must_buffer_ch.
69483         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
69484         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
69485         * stdio-common/Makefile (tests): Remove bug15.
69486         (bug15-ENV): Remove macro.
69487         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
69488         anymore.
69490 2012-05-19  Andreas Jaeger  <aj@suse.de>
69491             Roland McGrath  <roland@hack.frob.com>
69493         * manual/contrib.texi: Completely rewritten. It contains now an
69494         alphabetical list of contributors and their contributions.
69496 2012-05-21  Richard Henderson  <rth@twiddle.net>
69498         * misc/getauxval.c (__getauxval): Use unsigned long int.
69499         * misc/sys/auxv.h: Include <sys/cdefs.h>.
69500         (getauxval): Use unsigned long int.
69502 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
69504         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
69506 2012-05-21  Roland McGrath  <roland@hack.frob.com>
69508         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
69509         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
69510         __alignof__ (long double).
69512 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69514         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69516 2012-05-20  Richard Henderson  <rth@twiddle.net>
69518         * misc/getauxval.c: New file.
69519         * misc/sys/auxv.h: New file.
69520         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
69521         (routines): Add getauxval.
69522         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
69523         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
69524         * elf/dl-sysdep.c (_dl_auxv): Remove.
69525         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
69526         * elf/dl-support.c (_dl_auxv): New variable.
69527         (_dl_aux_init): Initialize it.
69528         * manual/startup.texi (Auxiliary Vector): New node.
69529         * sysdeps/generic/bits/hwcap.h: New file.
69530         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
69531         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
69532         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
69533         * sysdeps/sparc/sysdep.h: ... here.  Include it.
69534         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
69535         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
69536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69537         Update.
69538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
69539         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
69540         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
69541         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
69542         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
69543         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
69544         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
69545         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
69547 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69549         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69551 2012-05-19  David S. Miller  <davem@davemloft.net>
69553         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69555 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
69557         [BZ #14123]
69558         * math/s_ccosh.c: Include <float.h>
69559         (__ccosh): Avoid internal overflow calculating sinh and cosh
69560         values before multiplying by sin and cos values.
69561         * math/s_ccoshf.c: Likewise.
69562         * math/s_ccoshl.c: Likewise.
69563         * math/s_csin.c: Likewise.
69564         * math/s_csinf.c: Likewise.
69565         * math/s_csinl.c: Likewise.
69566         * math/s_csinh.c: Likewise.
69567         * math/s_csinhf.c: Likewise.
69568         * math/s_csinhl.c: Likewise.
69569         * math/libm-test.inc (ccos_test): Add more tests.
69570         (ccosh_test): Likewise.
69571         (csin_test): Likewise.
69572         (csinh_test): Likewise.
69573         * sysdeps/i386/fpu/libm-test-ulps: Update.
69574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69576 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
69578         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
69579         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
69581         * sysdeps/x86_64/x32/_itoa.h: Add comment.
69583 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
69585         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
69586         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
69587         * sysdeps/powerpc/soft-fp/Versions: Likewise.
69588         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
69589         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
69590         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
69591         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
69592         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
69593         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
69594         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
69595         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
69596         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
69597         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
69598         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
69599         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
69600         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
69601         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
69602         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
69603         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
69604         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
69605         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
69606         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
69607         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
69608         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
69609         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
69610         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
69611         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
69612         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
69613         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
69614         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
69615         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
69617 2012-05-18  Andreas Jaeger  <aj@suse.de>
69619         * csu/.gitignore: Delete.
69621 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
69623         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
69624         (timex): Use __syscall_slong_t.
69626 2012-05-18  Andreas Jaeger  <aj@suse.de>
69627             Carlos O'Donell  <carlos_odonell@mentor.com>
69629         * manual/install.texi (Configuring and compiling): Update
69630         description about files modified in the source directory.
69631         * INSTALL: Regenerated.
69633 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
69635         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
69636         value.  Use "or" to set return value to -1.
69637         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
69638         negate return value.
69640 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69642         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
69643         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
69644         failure if the compiler has Graphite support disabled.
69645         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
69646         Likewise.
69647         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
69648         (CFLAGS-memmove.c): Likewise.
69649         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
69650         Likewise.
69652 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
69654         * sysdeps/x86_64/x32/_itoa.h: New file.
69656         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
69657         getdents system call only if kernel and user dirents have the
69658         same d_ino and d_off.
69660         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
69661         LLONG_MAX != LONG_MAX.
69662         (_itoa_word): Use _ITOA_WORD_TYPE on value.
69663         (_fitoa_word): Likewise.
69665         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
69666         years.
69667         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
69668         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
69669         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
69671         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
69672         include <bits/wordsize.h>.  Check __x86_64__ instead of
69673         __WORDSIZE.
69674         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
69675         if __x86_64__ is defined.  Use anonymous union on fpstate.
69677         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
69678         anonymous union.
69680 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
69682         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
69683         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
69684         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
69685         Refer to _rtld_local_ro instead of _rtld_global_ro.
69686         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
69687         Likewise.
69688         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
69689         Likewise.
69690         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
69691         Likewise.
69692         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
69693         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
69694         of _rtld_global, and rtld_progname instead of _dl_argv[0].
69696         [BZ #10882]
69697         * sysdeps/powerpc/powerpc32/dl-machine.c
69698         (__elf_machine_runtime_setup) [PROF]: Don't reference
69699         _dl_prof_resolve.
69701 2012-05-18  Andreas Jaeger  <aj@suse.de>
69703         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
69704         function only available for GCCs before 3.4 since GCC 3.4
69705         introduced a builtin.
69706         (lrint): Likewise.
69707         (llrintf): Likewise.
69708         (llrint): Likewise.
69709         (fmaxf): Likewise.
69710         (fmax): Likewise.
69711         (fminf): Likewise.
69712         (fmin): Likewise.
69713         (rint): Likewise.
69714         (rintf): Likewise.
69715         (nearbyint): Likewise.
69716         (nearbyintf): Likewise.
69717         (ceil): Likewise.
69718         (ceilf): Likewise.
69719         (floor): Likewise.
69720         (floorf): Likewise.
69722 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
69724         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
69725         on both fields and cast pointer to __syscall_ulong_t.
69727         * bits/types.h (__fsword_t): New type.
69728         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
69729         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
69730         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69731         (__FSWORD_T_TYPE): Likewise.
69732         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69733         (__FSWORD_T_TYPE): Likewise.
69734         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69735         (__FSWORD_T_TYPE): Likewise.
69736         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
69737         (__FSWORD_T_TYPE): Likewise.
69738         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
69739         __SWORD_TYPE with __fsword_t.
69740         (statfs64): Likewise.
69742 2012-05-17  David S. Miller  <davem@davemloft.net>
69744         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
69746 2012-05-17  Andreas Jaeger  <aj@suse.de>
69748         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
69749         warning.
69751 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
69753         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
69755 2012-05-17  Andreas Jaeger  <aj@suse.de>
69757         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
69758         when it is used.
69760 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
69762         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
69764 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
69766         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
69767         * sysdeps/x86_64/tst-mallocalign1.c: New file.
69769 2012-05-17  Andreas Jaeger  <aj@suse.de>
69770             Carlos O'Donell  <carlos_odonell@mentor.com>
69772         [BZ #14059]
69773         * sysdeps/x86_64/multiarch/init-arch.h
69774         (bit_YMM_Usable): Rename to...
69775         (bit_AVX_Usable): ... this.
69776         (bit_FMA4_Usable): New macro.
69777         (bit_XMM_state): New macro.
69778         (bit_YMM_state): New macro.
69779         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
69780         [__ASSEMBLER__] (index_AVX_Usable): ... this.
69781         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
69782         (CPUID_OSXSAVE): New macro.
69783         (CPUID_AVX): New macro.
69784         (CPUID_FMA4): New macro.
69785         (index_YMM_Usable): Rename to...
69786         (index_AVX_Usable): ... this.
69787         (HAS_AVX): Use HAS_ARCH_FEATURE.
69788         (HAS_FMA4): Likewise.
69789         (HAS_YMM_USABLE): Remove.
69790         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69791         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
69792         are present.
69793         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
69794         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
69795         * sysdeps/x86_64/multiarch/Makefile: Likewise.
69796         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
69797         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
69799 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
69801         * math/libm-test.c: Support platforms without multiple rounding modes.
69802         * math/bug-nextafter.c: Support platforms without FP exceptions.
69803         * math/bug-nexttoward.c: Likewise.
69804         * math/test-fenv.c: Likewise.
69805         * math/test-misc.c: Likewise.
69806         * stdlib/bug-getcontext.c: Likewise.
69808 2012-05-17  Andreas Jaeger  <aj@suse.de>
69810         * manual/examples/search.c (critter_cmp): Change signature to
69811         avoid warnings.
69812         * manual/string.texi (Collation Functions): Likewise.
69814 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69816         * bits/types.h: Fold copyright years.
69817         * bits/typesizes.h: Likewise.
69818         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
69819         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
69820         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
69821         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
69822         * time/time.h: Likewise.
69824 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
69826         [BZ #208]
69827         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
69828         in instead of returning them.  Return void.
69829         (__libc_mallinfo): Accumulate over all arenas.
69830         (__malloc_stats): Adjust for change in int_mallinfo interface.
69832 2012-05-16  Roland McGrath  <roland@hack.frob.com>
69834         [BZ #10375]
69835         * configure.in (NM): Add AC_CHECK_TOOL for it.
69836         (libc_extra_cflags): New substituted variable.
69837         Check for -fstack-protector being used implicitly.
69838         * configure: Regenerated.
69839         * config.make.in (config-extra-cflags): New variable,
69840         gets @libc_extra_cflags@.
69841         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
69843         [BZ #10375]
69844         * configure.in: Check for _FORTIFY_SOURCE being predefined.
69845         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
69846         * configure: Regenerated.
69847         * config.make.in (CPPUNDEFS): New substituted variable.
69848         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
69849         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
69850         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
69852 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69854         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
69855         (mq_attr): Use __syscall_slong_t.
69857 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69859         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
69860         Check __x86_64__ instead of __WORDSIZE.
69861         (_STAT_VER_LINUX): Likewise.
69862         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
69863         __syscall_ulong_t and __syscall_slong_t.
69864         (stat64): Likewise.
69866 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69868         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
69870 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69872         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
69874 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69876         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
69877         __syscall_ulong_t.
69879         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
69880         include <bits/wordsize.h>.  Check __x86_64__ instead of
69881         __WORDSIZE.
69882         (greg_t): Use "__extension__ long long int" if __x86_64__ is
69883         defined.
69884         (mcontext_t): Replace "unsigned long" with "unsigned long long".
69886         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
69887         include <bits/wordsize.h>.  Check __x86_64__ instead of
69888         __WORDSIZE.
69889         (user_regs_struct): Use "__extension__ unsigned long long"
69890         instead of "unsigned long" if __x86_64__ is defined.
69891         (user): Likewise.  Pad after pointer field if __ILP32__ is
69892         defined.
69894 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
69896         * configure.in (makeinfo): Require version 4.5 or later.  Allow
69897         versions 5 to 9.
69898         * configure: Regenerated.
69899         * manual/install.texi (texinfo): Increase version requirement to
69900         4.5 or later.
69901         * INSTALL: Regenerated.
69903         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
69905 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69907         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
69909         * sysdeps/x86_64/x32/ffs.c: New file.
69911         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
69912         __syscall_ulong_t.
69913         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
69914         defined.  Use __syscall_ulong_t.
69915         (shminfo): Use __syscall_ulong_t.
69916         (shm_info): Likewise.
69918         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
69919         __syscall_ulong_t.
69921         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
69922         <bits/wordsize.h>.
69923         (msgqnum_t): Use __syscall_ulong_t.
69924         (msglen_t): Likewise.
69925         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
69926         __syscall_ulong_t.
69928         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
69929         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
69931         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
69933         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
69934         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
69936         * sysvipc/sys/msg.h (msgbuf): Replace long int with
69937         __syscall_slong_t.
69939         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
69940         include <bits/wordsize.h>.  Check __x86_64__ instead of
69941         __WORDSIZE.
69943         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
69944         "unsigned long long int" if __x86_64__ is defined.
69945         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
69947         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
69948         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
69949         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
69951         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
69952         <stdint.h>.
69953         (GET_PC): Cast to uintptr_t first.
69954         (GET_FRAME): Likewise.
69955         (GET_STACK): Likewise.
69957         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
69958         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
69959         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
69960         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
69961         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
69962         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
69963         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
69964         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
69965         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
69966         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
69967         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
69968         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
69969         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
69970         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
69971         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
69972         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
69973         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
69974         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
69975         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
69976         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
69977         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
69978         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
69979         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
69980         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
69981         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
69982         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
69983         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
69984         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
69985         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
69987 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
69989         * Makerules (+depfiles): Also collect depfiles from .oS in
69990         $(extra-objs).
69991         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
69992         .oS, $(libnldbl-routines)).
69994         * Makerules (native-compile-mkdep-flags): Define.
69995         * sunrpc/Makefile (extra-objs): Add $(addprefix
69996         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
69997         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
69998         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
69999         calling $(make-target-directory).
70001 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70003         * bits/types.h (__snseconds_t): Removed.
70004         * time/time.h (struct timespec): Replace __snseconds_t with
70005         __syscall_slong_t.
70006         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
70007         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
70008         Likewise.
70009         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70010         (__SNSECONDS_T_TYPE): Likewise.
70011         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70012         (__SNSECONDS_T_TYPE): Likewise.
70013         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70014         (__SNSECONDS_T_TYPE): Likewise.
70016 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70018         * sysdeps/mach/hurd/bits/typesizes.h
70019         (__SYSCALL_SLONG_TYPE): New macro.
70020         (__SYSCALL_ULONG_TYPE): Likewise.
70022 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70024         * bits/types.h (__syscall_slong_t): New type.
70025         (__syscall_ulong_t): Likewise.
70027         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
70028         (__SYSCALL_ULONG_TYPE): Likewise.
70029         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70030         (__SYSCALL_SLONG_TYPE): Likewise.
70031         (__SYSCALL_ULONG_TYPE): Likewise.
70032         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70033         (__SYSCALL_SLONG_TYPE): Likewise.
70034         (__SYSCALL_ULONG_TYPE): Likewise.
70035         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70036         (__SYSCALL_SLONG_TYPE): Likewise.
70037         (__SYSCALL_ULONG_TYPE): Likewise.
70039 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70041         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
70042         Add sigaltstack-offsets.sym.
70043         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
70044         <sigaltstack-offsets.h>.
70045         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
70046         longjmp_msg pointer.
70047         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
70048         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
70049         signal stack.
70050         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
70052 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
70054         * elf/stackguard-macros.h: Remove file.
70055         * sysdeps/generic/stackguard-macros.h: New file.
70056         * sysdeps/i386/stackguard-macros.h: Likewise.
70057         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
70058         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
70059         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
70060         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
70061         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
70062         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
70063         * sysdeps/x86_64/stackguard-macros.h: Likewise.
70064         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
70065         <elf/stackguard-macros.h>.
70067         [BZ #14109]
70068         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
70069         __aligned__ in attribute.
70070         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
70071         (gregset_t): Likewise.
70073 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70075         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
70076         * sysdeps/x86_64/64/Implies-after: Here.  New file.
70077         * sysdeps/x86_64/x32/Implies-after: New file.
70079 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70081         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
70082         and access return value for _dl_profile_fixup.  Use R10_LP to
70083         load frame size.
70085 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70087         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
70089 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70091         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
70092         * sysdeps/x86_64/x32/sysdep.h: New file.
70094 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70096         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
70097         * sysdeps/x86_64/setjmp.S: Likewise.
70099 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70101         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
70102         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
70103         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
70104         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
70105         remove unused global constant.
70107 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
70109         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
70110         include of <not-cancel.h>.
70112 2012-05-15  Roland McGrath  <roland@hack.frob.com>
70114         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
70116 2012-05-15  Jeff Law  <law@redhat.com>
70117             Andreas Jaeger  <aj@suse.de>
70119         [BZ #13594]
70120         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
70121         out from...
70122         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
70123         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
70124         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
70125         code changing __hst_map_handle.map.
70127 2012-05-15  Roland McGrath  <roland@hack.frob.com>
70129         * configure.in (sysnames): Look for Implies-before and Implies-after
70130         files.
70131         * configure: Regenerated.
70133 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70135         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
70136         8-byte data alignment with LP_SIZE alignment.
70138 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70140         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
70141         into R10_LP.
70143 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70145         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
70147 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70149         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
70150         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
70151         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
70152         Likewise.
70153         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
70155 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70157         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
70158         (stackinfo_sub_sp): Likewise.
70160 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70162         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
70163         RAX_LP.
70165 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70167         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
70168         into R*_LP.
70170 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70172         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
70173         sizes into R*_LP.
70175 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70177         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
70179 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70181         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
70182         into R11_LP and load __x86_64_shared_cache_size_half into
70183         R8_LP.
70185 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70187         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
70188         R8_LP.
70190 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70192         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
70193         logb for POWER7.
70194         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
70195         logbf for POWER7.
70196         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
70197         logbl for POWER7.
70198         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
70199         powerpc32/power7/fpu/s_logb.c via #include.
70200         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
70201         powerpc32/power7/fpu/s_logbf.c via #include.
70202         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
70203         powerpc32/power7/fpu/s_logbl.c via #include.
70205 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
70207         * README.libm: Remove file.
70209 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
70211         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
70212         count for x32.  Use R*_LP and omit operand-size suffix.
70214 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
70216         * shlib-versions: Move x86_64-.*-linux.* entries to ...
70217         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
70218         * sysdeps/x86_64/x32/shlib-versions: New file.
70220 2012-05-14  Roland McGrath  <roland@hack.frob.com>
70222         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
70223         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
70224         Use _dl_fatal_printf instead.
70226 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
70228         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
70229         set if not set by the user.  Do not allow for being unset.
70230         * sysdeps/unix/sysv/linux/configure: Regenerated.
70232 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
70234         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
70235         the `q' suffix from lea and replace .quad with ASM_ADDR.
70237 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
70239         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
70240         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
70241         instead of $17.
70242         (PTR_DEMANGLE): Likewise.
70244 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
70246         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
70247         (LP_OP): Likewise.
70248         (ASM_ADDR): Likewise.
70249         (RAX_LP): Likewise.
70250         (RBP_LP): Likewise.
70251         (RBX_LP): Likewise.
70252         (RCX_LP): Likewise.
70253         (RDI_LP): Likewise.
70254         (RSI_LP): Likewise.
70255         (RSP_LP): Likewise.
70256         (R8_LP): Likewise.
70257         (R9_LP): Likewise.
70258         (R10_LP): Likewise.
70259         (R10_LP): Likewise.
70260         (R11_LP): Likewise.
70261         (R12_LP): Likewise.
70262         (R13_LP): Likewise.
70263         (R14_LP): Likewise.
70264         (R15_LP): Likewise.
70266 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
70268         * sysdeps/x86_64/x32/dl-machine.h: New file.
70270 2012-05-14  Andreas Jaeger  <aj@suse.de>
70272         * manual/Makefile (subdir): Remove export of subdir.
70273         (all): Remove target.
70274         (.PHONY): Remove all from list.
70275         (mkinstalldirs): Remove.
70276         (.PHONY): Remove installdirs from list.
70277         ($(inst_infodir)/libc.info): Use make-target-directory.
70278         (installdirs): Remove.
70279         (subdir_%): Remove.
70280         (glibc-targets): Remove.
70281         (lib): Remove.
70282         (stubs): Remove.
70283         ($(objpfx)stubs ../po/manual.pot): Remove.
70284         ($(objpfx)stamp%): Remove.
70285         (make-target-directory): Remove.
70286         (subdir_install): Remove.
70287         (routines): Remove.
70288         (aux): Remove.
70289         (sources): Remove.
70290         (objects): Remove.
70291         (headers): Remove.
70293         [BZ #13750]
70294         * manual/.gitignore: Remove, it's not needed anymore.
70295         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
70296         all files in it.
70297         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
70298         directory.
70299         (texis): Renamed to $(objpfx)texis.
70300         (texis-path): New, contains path to generated files.
70301         (chapters.%): Use texis-path for complete path, add extra argument
70302         libc-texinfo.sh.
70303         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
70304         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
70305         (summary,texi, stamp-summary): Use complete path of
70306         files. Generate files in build dir.
70307         (dir-add.texi): Build in build dir.
70308         (libm-err.texi,stamp-libm-err): Likewise.
70309         (version.texi, stamp-version): Likewise.
70310         (.%c.texi): Likewise.
70311         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
70312         (mostlyclean): Remove target.
70313         (realclean): Remove target.
70314         (generated): Add new variable with contents from mostlyclean and
70315         realclean, remove entries duplicated in common-mostlyclean, add
70316         stamp-libm-err and stamp-version.
70317         (generated-dirs): Add libc directory.
70318         ($(inst_infodir)/libc.info): Install files from build dir.
70320         * manual/install.texi (Configuring and compiling): Adjust since
70321         the info files are not part of the tar ball anymore.
70323 2012-05-14  Andreas Jaeger  <aj@suse.de>
70325         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
70326         variable.
70328 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
70330         [BZ #13717]
70331         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
70332         to 2.2.0 where earlier.
70333         * sysdeps/unix/sysv/linux/configure: Regenerated.
70334         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
70335         Remove conditional code.
70336         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
70337         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
70338         Remove conditional code.
70339         [!__NR_lchown]: Likewise.
70340         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
70341         [__NR_lchown]: Likewise.
70342         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
70343         comment referencing __ASSUME_LCHOWN_SYSCALL.
70344         * sysdeps/unix/sysv/linux/i386/sigaction.c
70345         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
70346         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
70347         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
70348         Remove conditional code.
70349         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
70350         (__protocol_available): Remove #if 0 code.
70351         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
70352         conditional code.
70353         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
70354         * sysdeps/unix/sysv/linux/kernel-features.h
70355         (__ASSUME_GETCWD_SYSCALL): Don't define.
70356         (__ASSUME_REALTIME_SIGNALS): Likewise.
70357         (__ASSUME_PREAD_SYSCALL): Likewise.
70358         (__ASSUME_PWRITE_SYSCALL): Likewise.
70359         (__ASSUME_POLL_SYSCALL): Likewise.
70360         (__ASSUME_LCHOWN_SYSCALL): Likewise.
70361         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
70362         non-SPARC.
70363         (__ASSUME_SIOCGIFNAME): Don't define.
70364         (__ASSUME_MSG_NOSIGNAL): Likewise.
70365         (__ASSUME_SENDFILE): Define unconditionally.
70366         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
70367         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
70368         conditional code.
70369         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
70370         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
70371         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
70372         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
70373         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
70374         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
70375         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
70376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
70377         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
70378         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
70379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
70380         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
70381         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
70382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
70383         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
70384         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
70385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
70386         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
70387         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
70388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
70389         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
70390         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
70391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
70392         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
70393         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
70394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
70395         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
70396         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
70397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
70398         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
70399         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
70400         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
70401         Remove conditional code.
70402         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
70403         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
70404         Remove conditional code.
70405         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
70406         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
70407         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
70408         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
70409         Remove conditional code.
70410         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
70411         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
70412         Remove conditional code.
70413         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
70414         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
70415         Remove conditional code.
70416         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
70417         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
70418         Remove conditional code.
70419         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
70420         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
70421         Remove conditional code.
70422         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
70423         * sysdeps/unix/sysv/linux/sh/pwrite64.c
70424         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
70425         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
70426         * sysdeps/unix/sysv/linux/sigaction.c
70427         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
70428         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
70429         * sysdeps/unix/sysv/linux/sigpending.c
70430         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
70431         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
70432         * sysdeps/unix/sysv/linux/sigprocmask.c
70433         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
70434         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
70435         * sysdeps/unix/sysv/linux/sigsuspend.c
70436         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
70437         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
70438         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
70439         (__libc_missing_rt_sigs): Remove.
70440         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
70441         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
70442         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
70443         Remove conditional code.
70444         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
70445         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
70446         return 1.
70447         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
70448         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
70449         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
70450         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
70452 2012-05-14  Andreas Jaeger  <aj@suse.de>
70454         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
70455         it's not used in glibc.
70456         (__coshm1): Likewise.
70457         (__acosh1p): Likewise.
70458         (__sgn): Likewise.
70460         * manual/string.texi (Copying and Concatenation): Add missing
70461         variable in concat example.
70462         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
70464 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
70466         [BZ #14103]
70467         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
70468         __builtin_clzl with __builtin_clzll.
70470 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
70472         [BZ #14104]
70473         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
70474         libc_freeres_ptr.
70476 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70478         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
70479         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
70480         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
70481         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
70483 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
70485         * NEWS: Update ia64 info.
70487 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
70489         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
70490         used as bcopy.
70492 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
70494         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
70495         * sysdeps/unix/syscalls.list (dup3): Likewise.
70496         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
70497         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
70499 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
70501         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
70502         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
70504 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
70506         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
70507         thread pointer.
70508         (TLS_IE): Use mov/add instead of movq/addq to load thread
70509         pointer.
70510         (TLS_GD_PREFIX): New.
70511         (TLS_GD): Use it.
70513 2012-05-11  David S. Miller  <davem@davemloft.net>
70515         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
70516         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
70517         (_FPU_SETCW): Likewise.
70519 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
70521         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
70522         is 32-byte aligned.
70524 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
70526         [BZ #11837]
70527         * iconvdata/gb18030.c: Update tables.
70528         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
70529         characters specially.
70530         (BODY for TO_LOOP): Add encoding of missing ranges.
70532 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
70534         [BZ #13673]
70535         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
70536         * sysdeps/mach/hurd/dup3.c: Likewise.
70537         * sysdeps/mach/hurd/readlinkat.c: Likewise.
70538         * sysdeps/powerpc/memmove.c:: Likewise.
70540 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
70542         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
70543         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
70545 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
70547         * elf/elf.h (R_X86_64_RELATIVE64): New.
70548         (R_X86_64_NUM): Updated.
70549         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
70550         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
70551         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
70552         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
70553         tst-quad1pie tst-quad2pie
70554         (modules-names): Add tst-quadmod1 tst-quadmod2.
70555         ($(objpfx)tst-quad1): New dependency.
70556         ($(objpfx)tst-quad2): Likewise.
70557         ($(objpfx)tst-quad1pie): Likewise.
70558         ($(objpfx)tst-quad2pie): Likewise.
70559         * sysdeps/x86_64/tst-quad1.c: New file.
70560         * sysdeps/x86_64/tst-quad1pie.c: New file.
70561         * sysdeps/x86_64/tst-quad2.c: Likewise.
70562         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
70563         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
70564         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
70565         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
70566         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
70568 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70570         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
70571         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
70572         * streams/stropts.h (t_scalar_t): Define type.
70574         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
70575         (_PATH_PRESERVE): Set to "/var/lib".
70576         (_PATH_RWHODIR): Set to "/var/spool/rwho".
70578         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
70579         instead of int.
70581         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
70582         if __dir_mkfile succeeded.
70584         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
70585         checking for _hurd_dtablesize.  Unlock it right after having
70586         finished _hurd_dtable allocation.
70588 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
70590         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
70591         * sysdeps/mach/hurd/configure: Regenerated.
70592         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
70593         special-casing to...
70594         * sysdeps/gnu/configure.in: ... this new file.
70595         * sysdeps/unix/sysv/linux/configure: Regenerated.
70596         * sysdeps/gnu/configure: New generated file.
70598         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
70599         for Linux: use nsec instead of usec, as well as:
70600         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
70601         members of type struct timespec.
70602         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
70603         New macros.
70604         (struct stat64): Likewise.
70605         (_STATBUF_ST_NSEC): New macro.
70606         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
70608         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
70609         __strtoul_internal rather than strtoul.
70611 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
70613         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
70614         and reject them.
70616 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70618         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
70619         which preserves existing values.
70620         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
70622 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
70624         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
70625         TIMEOUT values.  Return EINVAL for NFDS values either negative or
70626         greater than FD_SETSIZE.
70628 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70630         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
70631         allocated, call __vm_protect to finish enabling the existing space, and
70632         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
70633         allocate the remainder.
70635 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
70637         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
70638         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
70640 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70642         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
70643         sysdeps/mach/hurd/readlink.c.
70645         * posix/tst-sysconf.c (posix_options): Only use
70646         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
70647         _POSIX_SYNCHRONIZED_IO when they are defined
70648         * sysdeps/mach/hurd/bits/posix_opt.h:
70649         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
70650         (_XOPEN_REALTIME): Undefine macro.
70651         (_XOPEN_REALTIME_THREADS): Undefine macro.
70652         (_XOPEN_SHM): Undefine macro.
70653         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
70654         macro to -1.
70655         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
70656         macro to -1.
70657         (_POSIX_ASYNC_IO): Undefine macro.
70658         (_POSIX_PRIORITIZED_IO): Undefine macro.
70659         (_POSIX_SPIN_LOCKS): Define macro to -1.
70661         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
70662         SA_NODEFER, SA_RESETHAND.
70663         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
70664         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
70665         F_DUPFD_CLOEXEC.
70667 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
70669         * elf/Makefile (pldd-modules): Define unconditionally.
70671 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
70673         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
70675 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70677         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
70678         Return ENOENT when name is empty.
70679         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
70681 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
70683         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
70685         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
70687 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70689         Fix mlock in all cases except non-readable pages.
70690         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
70691         instead of VM_PROT_ALL as parameter to __vm_wire function.
70693         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
70694         (__mkdir): When path is `/', just fail with EEXIST.
70695         * sysdeps/mach/hurd/mkdirat.c: Likewise.
70697 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
70699         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
70700         <sys/uio.h> (for writev).
70701         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
70702         and <sys/param.h> (for MIN).
70704 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
70706         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
70707         REQUESTED_TIME.  Properly set the remaining time and return EINTR
70708         if interrupted.
70710 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
70712         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
70713         Depend on against $(link-rpcuserlibs).
70715 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70717         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
70718         (__libc_stack_end): Do not use attribute_relro.
70719         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
70720         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
70721         to libthread-provided value.
70722         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
70723         attribute_relro.
70725 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
70727         [BZ #3748]
70728         * bits/libc-lock.h (__libc_once_get): New macro.
70729         * sysdeps/mach/bits/libc-lock.h: Likewise.
70730         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
70731         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
70732         instead of using implementation details.
70734         * libio/fileops.c: Unconditionally include <kernel-features.h>.
70735         * libio/freopen.c: Likewise.
70736         * libio/freopen64.c: Likewise.
70737         * misc/syslog.c: Likewise.
70738         * nscd/connections.c: Likewise.
70739         * nscd/netgroupcache.c: Likewise.
70740         * sysdeps/posix/getcwd.c: Likewise.
70742 2012-05-10  Roland McGrath  <roland@hack.frob.com>
70744         * math/w_ilogbf.c: Add #include <limits.h>.
70746 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70748         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
70749         path instead of returning without unlocking.
70751         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
70752         immediate-write ioctls.
70753         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
70755 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
70757         * sysdeps/mach/hurd/i386/init-first.c (init): Use
70758         __builtin_frame_address instead of making assumptions about the
70759         location of the return address relative to DATA.  Force early load of
70760         the return address.
70761         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
70762         __builtin_frame_address.
70764         dup3 for GNU Hurd.
70765         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
70766         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
70767         implement dup3 and do some further code clean-ups.
70768         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
70769         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
70771 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70773         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
70775         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
70776         HURD_CRITICAL_END around holding _hurd_dtable_lock.
70777         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
70778         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
70779         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
70780         d->port.lock.
70782         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
70783         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
70784         when handler == SIG_ERR, not when handler != SIG_ERR.
70786 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
70788         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
70789         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
70790         definitions.
70792         accept4 for GNU Hurd.
70793         * include/sys/socket.h (__libc_accept4): New prototype.
70794         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
70795         to implement __libc_accept4.
70796         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
70797         __libc_accept4.
70798         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
70800         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
70801         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
70802         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
70803         signal-defines.sym.
70805 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70807         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
70809 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
70811         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
70812         assertion on O_CLOEXEC flag.
70813         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
70814         * hurd/intern-fd.c: Likewise.
70815         * hurd/port2fd.c: Likewise.
70817 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70819         [BZ #3906]
70820         * bits/in.h (IPV6_PKTINFO): Define new macro.
70821         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
70823 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70825         [BZ #13954]
70826         [BZ #13955]
70827         [BZ #13956]
70828         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
70829         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
70830         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
70831         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
70832         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
70833         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
70834         * math/libm-test.inc (logb_test) : Additional logb tests.
70836 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
70837             Andreas Jaeger  <aj@suse.de>
70839         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
70840         * configure: Regenerated.
70841         * config.h.in (LINK_OBSOLETE_RPC): New macro.
70842         * config.make.in (link-obsolete-rpc): New substituted variable.
70843         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
70844         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
70845         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
70846         (shared-only-routines): Don't set it under [link-obsolete-rpc],
70847         so that libc.a contains the symbols.
70848         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
70849         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
70850         * sunrpc/auth_none.c: Likewise.
70851         * sunrpc/auth_unix.c: Likewise.
70852         * sunrpc/authdes_prot.c: Likewise.
70853         * sunrpc/authuxprot.c: Likewise.
70854         * sunrpc/clnt_gen.c: Likewise.
70855         * sunrpc/clnt_perr.c: Likewise.
70856         * sunrpc/clnt_raw.c: Likewise.
70857         * sunrpc/clnt_simp.c: Likewise.
70858         * sunrpc/clnt_tcp.c: Likewise.
70859         * sunrpc/clnt_udp.c: Likewise.
70860         * sunrpc/clnt_unix.c: Likewise.
70861         * sunrpc/des_crypt.c: Likewise.
70862         * sunrpc/des_soft.c: Likewise.
70863         * sunrpc/get_myaddr.c: Likewise.
70864         * sunrpc/key_call.c: Likewise.
70865         * sunrpc/key_prot.c: Likewise.
70866         * sunrpc/netname.c: Likewise.
70867         * sunrpc/pm_getmaps.c: Likewise.
70868         * sunrpc/pm_getport.c: Likewise.
70869         * sunrpc/pmap_clnt.c: Likewise.
70870         * sunrpc/pmap_prot.c: Likewise.
70871         * sunrpc/pmap_prot2.c: Likewise.
70872         * sunrpc/pmap_rmt.c: Likewise.
70873         * sunrpc/publickey.c: Likewise.
70874         * sunrpc/rpc_cmsg.c: Likewise.
70875         * sunrpc/rpc_common.c: Likewise.
70876         * sunrpc/rpc_dtable.c: Likewise.
70877         * sunrpc/rpc_prot.c: Likewise.
70878         * sunrpc/rpc_thread.c: Likewise.
70879         * sunrpc/rtime.c: Likewise.
70880         * sunrpc/svc.c: Likewise.
70881         * sunrpc/svc_auth.c: Likewise.
70882         * sunrpc/svc_raw.c: Likewise.
70883         * sunrpc/svc_run.c: Likewise.
70884         * sunrpc/svc_tcp.c: Likewise.
70885         * sunrpc/svc_udp.c: Likewise.
70886         * sunrpc/svc_unix.c: Likewise.
70887         * sunrpc/svcauth_des.c: Likewise.
70888         * sunrpc/xcrypt.c: Likewise.
70889         * sunrpc/xdr.c: Likewise.
70890         * sunrpc/xdr_array.c: Likewise.
70891         * sunrpc/xdr_float.c: Likewise.
70892         * sunrpc/xdr_intXX_t.c: Likewise.
70893         * sunrpc/xdr_mem.c: Likewise.
70894         * sunrpc/xdr_rec.c: Likewise.
70895         * sunrpc/xdr_ref.c: Likewise.
70896         * sunrpc/xdr_sizeof.c: Likewise.
70897         * sunrpc/xdr_stdio.c: Likewise.
70899 2012-05-10  Roland McGrath  <roland@hack.frob.com>
70901         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
70902         change.  Update copyright years.
70904 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
70906         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
70908 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
70909             Joseph Myers  <joseph@codesourcery.com>
70910             Paul Pluzhnikov  <ppluzhnikov@google.com>
70912         [BZ #14012]
70913         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
70914         requiring rpcgen.
70915         [cross-compiling] (extra-libs): Likewise.
70916         [cross-compiling] (extra-libs-others): Likewise.
70917         [cross-compiling] (librpcsvc-routines): Likewise.
70918         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
70919         [cross-compiling] (omit-deps): Likewise.
70920         (sunrpc-CPPFLAGS): New variable.
70921         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
70922         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
70923         (cross-rpcgen-objs): New variable.
70924         (extra-objs): Append $(cross-rpcgen-objs).
70925         ($(cross-rpcgen-objs)): New rule.
70926         ($(objpfx)cross-rpcgen): Likewise.
70927         (rpcgen-cmd): Define to use $(built-program-file).  Expand
70928         comment.
70929         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
70930         ($(objpfx)x%.stmp): Likewise.
70931         * sunrpc/proto.h [IS_IN_build] (_): Define.
70932         [IS_IN_build] (_libc_intl_domainname): Likewise.
70934 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
70936         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
70937         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
70938         and R_X86_64_TPOFF64.
70940 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
70942         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
70943         sysdeps/unix/sysv/syscalls.list.
70944         (stime): Likewise.
70945         (utime): Likewise.
70946         * sysdeps/unix/sysv/syscalls.list: Remove file.
70948 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
70950         [BZ #3440]
70951         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
70952         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
70953         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
70954         (__LC_IDENTIFICATION): Make these macros useful in #if
70955         expressions, as required by C99.
70957 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
70959         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
70960         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
70961         after this.
70963 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
70965         * stdlib/longlong.h: Updated from GCC.
70967 2012-05-09  Andreas Jaeger  <aj@suse.de>
70969         * nscd/nscd.c (run_modes): Make named enum, reorder so that
70970         default is first entry.
70971         (run_mode): Set type.
70972         (main): Remove informal message about syslog.
70973         (options): Fix typo.
70975         [BZ #14053]
70976         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
70977         to asm.
70978         (lrint): Likewise.
70979         (llrintf): Likewise.
70980         (llrint): Likewise.
70981         (rint): Likewise.
70982         (rintf): Likewise.
70983         (nearbyint): Likewise.
70984         (nearbyintf): Likewise.
70986 2012-05-09  Andreas Jaeger  <aj@suse.de>
70987             Pedro Alves  <palves@redhat.com>
70989         * nscd/nscd.c (run_mode): Use enum.
70990         (main): Cleanup coding style issue.
70992 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
70993             Andreas Jaeger  <aj@suse.de>
70995         * nscd/nscd.c (go_background): Replaced with...
70996         (run_mode): ... this.
70997         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
70998         (options): Add -F --foreground.
70999         (main): Implement it.
71000         (parse_opt): Parse it.
71002 2012-05-09  Andreas Jaeger  <aj@suse.de>
71004         [BZ #14083]
71005         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
71006         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
71007         -Wconversion warning.
71008         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
71009         Likewise.
71011 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
71013         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
71014         == 0.
71015         (LC_ALL): Use macro-int-constant.
71016         (LC_COLLATE): Likewise.
71017         (LC_CTYPE): Likewise.
71018         (LC_MESSAGES): Likewise.
71019         (LC_MONETARY): Likewise.
71020         (LC_NUMERIC): Likewise.
71021         (LC_TIME): Likewise.
71022         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
71023         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
71024         [ISO || ISO99 || ISO11] (*_t): Do not allow.
71025         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
71026         Specify type.
71027         [C99-based standards] (float_t): Expect type.
71028         [C99-based standards] (double_t): Expect type.
71029         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
71030         type.
71031         [C99-based standards] (HUGE_VALL): Likewise.
71032         [C99-based standards] (INFINITY): Likewise.
71033         [C99-based standards] (NAN): Likewise.
71034         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
71035         [C99-based standards] (FP_NAN): Likewise.
71036         [C99-based standards] (FP_NORMAL): Likewise.
71037         [C99-based standards] (FP_SUBNORMAL): Likewise.
71038         [C99-based standards] (FP_ZERO): Likewise.
71039         [C99-based standards] (FP_FAST_FMA): Use
71040         optional-macro-int-constant.  Specify type.  Require == 1.
71041         [C99-based standards] (FP_FAST_FMAF): Likewise.
71042         [C99-based standards] (FP_FAST_FMAL): Likewise.
71043         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
71044         [C99-based standards] (FP_ILOGBNAN): Likewise.
71045         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
71046         Specify type.
71047         [C99-based standards] (MATH_ERREXCEPT): Likewise.
71048         [C99-based standards] (math_errhandling): Specify type.
71049         [ISO99 || ISO11] (signgam): Do not allow.
71050         [non-C99-based standards] (copysignf): Do not allow.
71051         [non-C99-based standards] (exp2f): Likewise.
71052         [non-C99-based standards] (log2f): Likewise.
71053         [non-C99-based standards] (modff): Allow.
71054         [non-C99-based standards] (erff): Do not allow.
71055         [non-C99-based standards] (erfcf): Likewise.
71056         [non-C99-based standards] (gammaf): Likewise.
71057         [non-C99-based standards] (hypotf): Likewise.
71058         [non-C99-based standards] (j0f): Likewise.
71059         [non-C99-based standards] (j1f): Likewise.
71060         [non-C99-based standards] (jnf): Likewise.
71061         [non-C99-based standards] (lgammaf): Likewise.
71062         [non-C99-based standards] (tgammaf): Likewise.
71063         [non-C99-based standards] (y0f): Likewise.
71064         [non-C99-based standards] (y1f): Likewise.
71065         [non-C99-based standards] (ynf): Likewise.
71066         [non-C99-based standards] (isnanf): Likewise.
71067         [non-C99-based standards] (acoshf): Likewise.
71068         [non-C99-based standards] (asinhf): Likewise.
71069         [non-C99-based standards] (atanhf): Likewise.
71070         [non-C99-based standards] (cbrtf): Likewise.
71071         [non-C99-based standards] (expm1f): Likewise.
71072         [non-C99-based standards] (ilogbf): Likewise.
71073         [non-C99-based standards] (log1pf): Likewise.
71074         [non-C99-based standards] (logbf): Likewise.
71075         [non-C99-based standards] (nextafterf): Likewise.
71076         [non-C99-based standards] (remainderf): Likewise.
71077         [non-C99-based standards] (rintf): Likewise.
71078         [non-C99-based standards] (scalbf): Likewise.
71079         [non-C99-based standards] (copysignl): Likewise.
71080         [non-C99-based standards] (exp2l): Likewise.
71081         [non-C99-based standards] (log2l): Likewise.
71082         [non-C99-based standards] (modfl): Allow.
71083         [non-C99-based standards] (erfl): Do not allow.
71084         [non-C99-based standards] (erfcl): Likewise.
71085         [non-C99-based standards] (gammal): Likewise.
71086         [non-C99-based standards] (hypotl): Likewise.
71087         [non-C99-based standards] (j0l): Likewise.
71088         [non-C99-based standards] (j1l): Likewise.
71089         [non-C99-based standards] (jnl): Likewise.
71090         [non-C99-based standards] (lgammal): Likewise.
71091         [non-C99-based standards] (tgammal): Likewise.
71092         [non-C99-based standards] (y0l): Likewise.
71093         [non-C99-based standards] (y1l): Likewise.
71094         [non-C99-based standards] (ynl): Likewise.
71095         [non-C99-based standards] (isnanl): Likewise.
71096         [non-C99-based standards] (acoshl): Likewise.
71097         [non-C99-based standards] (asinhl): Likewise.
71098         [non-C99-based standards] (atanhl): Likewise.
71099         [non-C99-based standards] (cbrtl): Likewise.
71100         [non-C99-based standards] (expm1l): Likewise.
71101         [non-C99-based standards] (ilogbl): Likewise.
71102         [non-C99-based standards] (log1pl): Likewise.
71103         [non-C99-based standards] (logbl): Likewise.
71104         [non-C99-based standards] (nextafterl): Likewise.
71105         [non-C99-based standards] (remainderl): Likewise.
71106         [non-C99-based standards] (rintl): Likewise.
71107         [non-C99-based standards] (scalbl): Likewise.
71108         [ISO || ISO99 || ISO11] (*_t): Do not allow.
71109         [non-C99-based standards] (FP_*): Do not allow.
71110         [C99-based standards] (FP_*): Change to
71111         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
71112         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
71113         allow.
71114         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
71115         (SIG_ERR): Likewise.
71116         [X/Open-based standards] (SIG_HOLD): Likewise.
71117         (SIG_IGN): Likewise.
71118         (SIGABRT): Use macro-int-constant.  Specify type.  Require
71119         positive value.
71120         (SIGFPE): Likewise.
71121         (SIGILL): Likewise.
71122         (SIGINT): Likewise.
71123         (SIGSEGV): Likewise.
71124         (SIGTER): Likewise.
71125         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
71126         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
71127         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
71128         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
71129         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
71130         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
71131         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
71132         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
71133         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
71134         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
71135         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
71136         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
71137         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
71138         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
71139         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
71140         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
71141         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
71142         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
71143         [X/Open-based standards] (SIGTRAP): Likewise.
71144         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
71145         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
71146         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
71147         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
71148         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
71149         allow.
71151 2012-05-08  Ian Wienand  <ianw@vmware.com>
71153         [BZ #14080]
71154         * time/tzset.c (__tzset_parse_tz): Update default rules for
71155         daylight time changes in the Energy Policy Act of 2005.
71157 2012-05-09  Andreas Jaeger  <aj@suse.de>
71159         [BZ #13983]
71160         * elf/ldconfig.c (parse_conf): Change string to make clear that
71161         ldconfig only issued a warning if ld.so.conf does not exist.
71163 2012-05-08  David S. Miller  <davem@davemloft.net>
71165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
71166         movxtod instead of popping the value on the stack.
71168         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71170 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
71172         * config.h.in: Add HAVE_ARM_PCS_VFP.
71174 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
71176         [BZ #13979]
71177         * include/features.h: Warn if user requests __FORTIFY_SOURCE
71178         checking but the checks are disabled for any reason.
71180 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
71182         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
71183         and ELF64_R_TYPE with ELFW(R_TYPE).
71185 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
71187         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
71188         (ulimit): Likewise.
71190         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
71191         (settimeofday): Likewise.
71193 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
71195         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
71196         a struct th_u2 inside the union, and move tu_block/tu_code into
71197         a new th_u3 union of tu_block/tu_code inside of that.  Move
71198         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
71199         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
71200         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
71201         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
71202         (th_stuff): Change to th_u1.tu_stuff.
71203         (th_data): Define.
71204         (th_msg): Change to th_u1.th_u2.tu_data.
71206 2012-05-07  David S. Miller  <davem@davemloft.net>
71208         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71210         [BZ #14074]
71211         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
71212         (SETUP_PIC_REG): Use it.
71213         (SETUP_PIC_REG_LEAF): Use it.
71215 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
71217         [BZ #13885]
71218         [BZ #13923]
71219         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
71220         USE_AS_EXPM1L.
71221         (EXPL_FINITE): Likewise.
71222         (FLDLOG): Likewise.
71223         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
71224         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
71225         e_expl.S.
71226         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
71227         USE_AS_EXPM1L.
71228         (EXPL_FINITE): Likewise.
71229         (FLDLOG): Likewise.
71230         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
71231         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
71232         e_expl.S.
71233         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
71234         test of -max_value argument for long double.
71235         * sysdeps/i386/fpu/libm-test-ulps: Update.
71236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71238 2012-05-06  David S. Miller  <davem@davemloft.net>
71240         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
71241         quad soft-float symbols whose references which are compiler
71242         generated.
71243         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
71245 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
71247         [BZ #13884]
71248         [BZ #13914]
71249         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
71250         USE_AS_EXP10L.
71251         (EXPL_FINITE): Likewise.
71252         (FLDLOG): Likewise.
71253         (c0): Likewise.
71254         (c1): Likewise.
71255         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
71256         Adjust comments for base varying.
71257         (__expl_finite): Change alias to EXPL_FINITE.
71258         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
71259         e_expl.S.
71260         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
71261         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
71262         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
71263         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
71264         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
71265         USE_AS_EXP10L.
71266         (EXPL_FINITE): Likewise.
71267         (FLDLOG): Likewise.
71268         (c0): Likewise.
71269         (c1): Likewise.
71270         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
71271         Adjust comments for base varying.
71272         (__expl_finite): Change alias to EXPL_FINITE.
71273         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
71274         tests for bugs.
71275         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71277         [BZ #14064]
71278         * math/libm-test.inc (check_float_internal): Correct ulp
71279         calculation for subnormal expected results.
71281 2012-05-06  Andreas Jaeger  <aj@suse.de>
71283         * Makeconfig (+math-flags): New, set to -frounding-math.
71284         (+cflags): Add +math-flags so that all of glibc gets compiled with
71285         it.
71287         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
71289 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
71291         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
71292         Disable one test.
71294         [BZ #13787]
71295         [BZ #13922]
71296         [BZ #14036]
71297         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
71298         (__ieee754_expl): Allow for and saturate large arguments.
71299         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
71300         (u_threshold): Likewise.
71301         (__exp): Call __ieee754_exp before checking for overflow and
71302         underflow.
71303         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
71304         (u_threshold): Likewise.
71305         (__expf): Call __ieee754_expf before checking for overflow and
71306         underflow.
71307         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
71308         (u_threshold): Likewise.
71309         (__expl): Call __ieee754_expl before checking for overflow and
71310         underflow.
71311         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
71312         (__ieee754_expl): Allow for and saturate large arguments.
71313         * math/libm-test.inc (exp_test): Add another test.  Do not allow
71314         missing overflow exception on overflow.
71315         (expm1_test): Do not allow missing overflow exception on overflow.
71317         * sysdeps/i386/fpu/e_expl.c: Move to ...
71318         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
71319         rather than using inline asm.
71320         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
71321         * sysdeps/x86_64/fpu/e_expl.S: Copy from
71322         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
71324         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
71325         (nice): Likewise.
71326         (poll): Likewise.
71327         (signal): Likewise.
71328         (time): Likewise.
71329         (times): Likewise.
71331 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
71333         * sysdeps/unix/syscalls.list (adjtime): Add entry from
71334         sysdeps/unix/common/syscalls.list.
71335         (fchmod): Likewise.
71336         (fchown): Likewise.
71337         (ftruncate): Likewise.
71338         (getrusage): Likewise.
71339         (gettimeofday): Likewise.
71340         (setpgid): Likewise.
71341         (setregid): Likewise.
71342         (setreuid): Likewise.
71343         (sigaction): Likewise.
71344         (truncate): Likewise.
71345         (vhangup): Likewise.
71346         * sysdeps/unix/common/syscalls.list: Remove file.
71347         * sysdeps/unix/bsd/Implies: Don't include unix/common.
71348         * sysdeps/unix/sysv/linux/Implies: Likewise.
71350 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
71352         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
71353         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
71354         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
71355         Moved to ...
71356         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
71357         Here.
71358         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
71359         to ...
71360         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
71361         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
71362         to ...
71363         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
71364         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
71365         to ...
71366         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
71367         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
71368         to ...
71369         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
71370         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
71371         to ...
71372         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
71373         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
71374         to ...
71375         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
71376         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
71377         to ...
71378         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
71379         Here.
71380         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
71381         to ...
71382         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
71383         Here.
71384         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
71385         to ...
71386         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
71387         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
71388         Moved to ...
71389         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
71390         Here.
71391         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
71392         to ...
71393         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
71395 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
71397         * sysdeps/unix/common/bits/dirent.h: Remove file.
71398         * sysdeps/unix/common/bits/fcntl.h: Likewise.
71400         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
71401         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
71402         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
71403         * sysdeps/unix/bsd/isatty.c: Likewise.
71404         * sysdeps/unix/bsd/tcdrain.c: Likewise.
71405         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
71406         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
71408 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71410         [BZ #13563]
71411         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
71412         long double comparison inaccuracies.
71413         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
71414         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71416 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
71418         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
71419         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
71421 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
71423         [BZ #14049]
71424         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
71425         nonzero digits before rounding a hex value.
71426         * stdlib/tst-strtod.c (tests): Add another test.
71428 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71430         * sysdeps/s390/fpu/libm-test-ulps: Update.
71432 2012-05-03  Andreas Jaeger  <aj@suse.de>
71434         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
71435         does not get optimized out.
71436         (malloc_opt_barrier): New.
71438 2012-05-03  Andreas Jaeger  <aj@suse.de>
71439             Roland McGrath  <roland@hack.frob.com>
71441         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
71442         intermediate file deletion.
71443         (generated): Add .symlist files.
71445 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
71447         [BZ #13775]
71448         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
71449         Redirect under this condition.
71450         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
71451         [__USE_GNU] (__dprintf_chk): Not under this condition.
71452         [__USE_GNU] (__vdprintf_chk): Likewise.
71453         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
71454         under this condition.
71455         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
71456         [__USE_XOPEN2K8] (dprintf): Define under this condition.
71457         [__USE_XOPEN2K8] (vdprintf): Likewise.
71458         [__USE_GNU] (__dprintf_chk): Not under this condition.
71459         [__USE_GNU] (__vdprintf_chk): Likewise.
71460         [__USE_GNU] (dprintf): Likewise.
71461         [__USE_GNU] (vdprintf): Likewise.
71463 2012-05-03  Roland McGrath  <roland@hack.frob.com>
71465         * elf/Makefile (common-generated): Set this instead of generated for
71466         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
71467         $(all-built-dso)-derived lists.
71469 2012-05-03  Andreas Jaeger  <aj@suse.de>
71471         * sysdeps/i386/fpu/libm-test-ulps: Update.
71473         * FAQ: Removed.
71474         * FAQ.in: Likewise.
71475         * scripts/gen-FAQ.pl: Likewise.
71476         * manual/install.texi (Installation): Point to online location of
71477         FAQ.
71478         * Makefile (files-for-dist): Remove FAQ.
71479         (FAQ): Remove.
71481 2012-05-02  Allan McRae  <allan@archlinux.org>
71483         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
71484         (LDFLAGS-reldepmod5.so): Likewise.
71485         (LDFLAGS-reldep6mod1.so): Likewise.
71486         (LDFLAGS-reldep6mod4.so): Likewise.
71487         (LDFLAGS-reldep8mod3.so): Likewise.
71488         (LDFLAGS-unload4mod1.so): Likewise.
71489         (LDFLAGS-unload4mod2.so): Likewise.
71490         (LDFLAGS-tst-initorder): Likewise.
71491         (LDFLAGS-tst-initordera2.so): Likewise.
71492         (LDFLAGS-tst-initordera3.so): Likewise.
71493         (LDFLAGS-tst-initordera4.so): Likewise.
71494         (LDFLAGS-tst-initorderb2.so): Likewise.
71495         (LDFLAGS-noload): Likewise.
71496         (LDFLAGS-next): Likewise.
71497         (LDFLAGS-order2mod1.so): Likewise.
71498         (LDFLAGS-order2mod2.so): Likewise.
71499         (LDFLAGS-tst-initorder2): Likewise.
71500         (LDFLAGS-tst-initorder2a.so): Likewise.
71501         (LDFLAGS-tst-initorder2b.so): Likewise.
71502         (LDFLAGS-tst-initorder2c.so): Likewise.
71503         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
71505 2012-05-02  David S. Miller  <davem@davemloft.net>
71507         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71509 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
71511         [BZ #14055]
71512         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
71514 2012-05-02  Andreas Jaeger  <aj@suse.de>
71516         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
71517         since we manipulate rounding mode.
71518         (CPPFLAGS-test-idouble.c): Likewise.
71519         (CPPFLAGS-test-ifloat.c): Likewise.
71520         (CFLAGS-test-ldouble.c): Likewise.
71521         (CFLAGS-test-double.c): Likewise.
71522         (CFLAGS-test-float.c): Likewise.
71523         (CFLAGS-test-misc.c): Likewise.
71524         (CFLAGS-test-test-fenv.c): Likewise.
71526 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71528         [BZ #2550]
71529         [BZ #2570]
71530         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
71531         comparisons to determine direction to adjust input.
71533 2012-05-01  Roland McGrath  <roland@hack.frob.com>
71535         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
71536         output to the target.
71538         * scripts/localplt.awk: New file.
71539         * elf/Makefile ($(objpfx)check-localplt): Target removed.
71540         (check-localplt-CFLAGS): Variable removed.
71541         ($(all-built-dso:=.jmprel)): New static pattern rule.
71542         (generated): Add those targets.
71543         (localplt-built-dso): New variable.
71544         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
71546         * elf/check-localplt.c: File removed.
71548         * scripts/check-execstack.awk: New file.
71549         * elf/Makefile ($(objpfx)check-execstack): Target removed.
71550         (check-execstack-CFLAGS): Variable removed.
71551         ($(objpfx)check-execstack.h): Target removed.
71552         ($(objpfx)execstack-default): New target.
71553         (generated): Add that instead of check-execstack.h.
71554         ($(all-built-dso:=.phdr)): New static pattern rule.
71555         (generated): Add those targets.
71556         * elf/check-execstack.c: File removed.
71558         * scripts/check-textrel.awk: New file.
71559         * elf/Makefile ($(objpfx)check-textrel): Target removed.
71560         (check-textrel-CFLAGS): Variable removed.
71561         (all-built-dso): Use := to define.o
71562         ($(all-built-dso:=.dyn)): New static pattern rule.
71563         (generated): Add those targets.
71564         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
71565         * config.make.in (READELF): New substituted variable.
71566         * elf/check-textrel.c: File removed.
71568 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
71570         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
71571         allow.
71572         * conform/data/ctype.h-data [C99-based standards] (isblank):
71573         Expect function.
71574         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
71575         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
71576         [ISO || ISO99 || ISO11] (*_t): Do not allow.
71577         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
71578         Specify type.  Require positive value.
71579         (EILSEQ): Likewise.
71580         (ERANGE): Likewise.
71581         [ISO || POSIX] (EILSEQ): Do not expect.
71582         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
71583         Specify type.  Require positive value.
71584         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
71585         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
71586         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
71587         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
71588         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
71589         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
71590         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
71591         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
71592         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
71593         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
71594         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
71595         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
71596         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
71597         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
71598         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
71599         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
71600         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
71601         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
71602         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
71603         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
71604         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
71605         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
71606         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
71607         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
71608         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
71609         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
71610         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
71611         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
71612         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
71613         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
71614         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
71615         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
71616         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
71617         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
71618         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
71619         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
71620         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
71621         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
71622         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
71623         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
71624         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
71625         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
71626         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
71627         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
71628         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
71629         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
71630         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
71631         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
71632         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
71633         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
71634         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
71635         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
71636         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
71637         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
71638         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
71639         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
71640         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
71641         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
71642         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
71643         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
71644         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
71645         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
71646         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
71647         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
71648         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
71649         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
71650         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
71651         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
71652         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
71653         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
71654         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
71655         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
71656         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
71657         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
71658         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
71659         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
71660         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
71661         Require >= 2.
71662         (FLT_ROUNDS): Expect as macro, not constant.
71663         (FLT_MANT_DIG): Use macro-int-constant.
71664         (DBL_MANT_DIG): Likewise.
71665         (LDBL_MANT_DIG): Likewise.
71666         (FLT_DIG): Likewise.
71667         (DBL_DIG): Likewise.
71668         (LDBL_DIG): Likewise.
71669         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
71670         (DBL_MIN_EXP): Likewise.
71671         (LDBL_MIN_EXP): Likewise.
71672         (FLT_MAX_EXP): Use macro-int-constant.
71673         (DBL_MAX_EXP): Likewise.
71674         (LDBL_MAX_EXP): Likewise.
71675         (FLT_MAX_10_EXP): Likewise.
71676         (DBL_MAX_10_EXP): Likewise.
71677         (LDBL_MAX_10_EXP): Likewise.
71678         (FLT_MAX): Use macro-constant.
71679         (DBL_MAX): Likewise.
71680         (LDBL_MAX): Likewise.
71681         (FLT_EPSILON): Use macro-constant.  Give upper bound.
71682         (DBL_EPSILON): Likewise.
71683         (LDBL_EPSILON): Likewise.
71684         (FLT_MIN): Likewise.
71685         (DBL_MIN): Likewise.
71686         (LDBL_MIN): Likewise.
71687         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
71688         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
71689         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
71690         [ISO11] (FLT_HAS_SUBNORM): Likewise.
71691         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
71692         [ISO11] (DBL_DECIMAL_DIG): Likewise.
71693         [ISO11] (FLT_DECIMAL_DIG): Likewise.
71694         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
71695         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
71696         [ISO11] (FLT_TRUE_MIN): Likewise.
71697         [ISO11] (LDBL_TRUE_MIN): Likewise.
71698         [ISO || ISO99 || ISO11] (*_t): Do not allow.
71699         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
71700         (SCHAR_MIN): Use macro-int-constant.  Specify type.
71701         (SCHAR_MAX): Likewise.
71702         (UCHAR_MAX): Likewise.
71703         (CHAR_MIN): Likewise.
71704         (CHAR_MAX): Likewise.
71705         (MB_LEN_MAX): Use macro-int-constant.
71706         (SHRT_MIN): Use macro-int-constant.  Specify type.
71707         (SHRT_MAX): Likewise.
71708         (USHRT_MAX): Likewise.
71709         (INT_MAX): Likewise.
71710         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
71711         bound negative.
71712         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
71713         bound with "U".
71714         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
71715         bound with "L".
71716         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
71717         bound negative.  Suffix upper bound with "L".
71718         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
71719         bound with "UL".
71720         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
71721         Specify type.
71722         [C99-based standards] (LLONG_MAX): Likewise.
71723         [C99-based standards] (ULLONG_MAX): Likewise.
71724         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
71725         == 0.
71726         [ISO11] (max_align_t): Require type.
71727         [ISO || ISO99 || ISO11] (*_t): Do not allow.
71729         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
71730         from $CFLAGS, without defining away __attribute__ calls.
71731         (checknamespace): Use $CFLAGS_namespace.
71733         * conform/conformtest.pl (@keywords): Only include C99 keywords
71734         for standards based on C99 or C11.
71736         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
71737         Disable tests.
71738         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
71739         UNIX98]: Likewise.
71741         * conform/conformtest.pl: Handle "macro-int-constant" and test for
71742         usability of symbols in #if.
71744         * conform/conformtest.pl: If macro or constant types start
71745         "promoted:", expect the symbol to be of the following type
71746         promoted by the integer promotions.
71748         * conform/conformtest.pl: Parse all "constant" and "macro" lines
71749         in one place.  Also handle "macro-constant".
71751         * conform/conformtest.pl: Only accept expected macro values with
71752         "==".  Parse all "macro" lines in one place.
71753         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
71755         * conform/conformtest.pl: Handle braced types on "constant" lines
71756         instead of handling "typed-constant".
71757         * conform/data/signal.h-data: Use "constant" instead of
71758         "typed-constant".
71760         * conform/conformtest.pl: Handle "optional-" at start of lines in
71761         one place rather than duplicating several cases.  Handle each
71762         format of "macro" line with initial "optional-".
71764         * conform/conformtest.pl: Only accept expected constant or
71765         optional-constant values with "==".  Parse all "constant" lines in
71766         one place.  Parse all "optional-constant" lines in one place.
71767         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
71768         * conform/data/fmtmsg.h-data: Likewise.
71769         * conform/data/netinet/in.h-data: Likewise.
71770         * conform/data/tar.h-data: Likewise.
71771         * conform/data/limits.h-data: Use "==" form on "constant" and
71772         "optional-constant" lines.
71774         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
71775         Use -std=c99 for XOPEN2K.
71776         (@knownproblems): Remove.
71777         (newtoken): Don't check %isknown.
71779         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
71780         Do not expect macro.
71781         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
71782         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
71783         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
71784         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
71785         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
71786         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
71787         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
71788         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
71789         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
71790         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
71791         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
71792         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
71793         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
71794         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
71795         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
71796         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
71797         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
71798         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
71799         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
71800         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
71801         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
71802         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
71803         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
71804         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
71805         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
71806         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
71807         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
71808         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
71809         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
71810         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
71811         [XPG3] (acosh): Likewise.
71812         [XPG3] (asinh): Likewise.
71813         [XPG3] (atanh): Likewise.
71814         [XPG3] (cbrt): Likewise.
71815         [XPG3] (expm1): Likewise.
71816         [XPG3] (ilogb): Likewise.
71817         [XPG3] (log1p): Likewise.
71818         [XPG3] (logb): Likewise.
71819         [XPG3] (nextafter): Likewise.
71820         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
71821         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
71822         [XPG3] (remainder): Likewise.
71823         [XPG3] (rint): Likewise.
71824         [XPG3 || XPG4 || UNIX98] (round): Likewise.
71825         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
71826         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
71827         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
71828         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
71829         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
71830         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
71831         [UNIX98 || XOPEN2K] (scalb): Expect.
71832         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
71833         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
71834         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
71835         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
71836         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
71837         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
71838         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
71839         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
71840         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
71841         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
71842         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
71843         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
71844         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
71845         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
71846         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
71847         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
71848         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
71849         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
71850         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
71851         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
71852         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
71853         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
71854         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
71855         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
71856         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
71857         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
71858         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
71859         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
71860         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
71861         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
71862         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
71863         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
71864         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
71865         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
71866         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
71867         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
71868         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
71869         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
71870         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
71871         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
71872         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
71873         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
71874         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
71875         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
71876         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
71877         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
71878         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
71879         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
71880         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
71881         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
71882         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
71883         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
71884         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
71885         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
71886         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
71887         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
71888         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
71889         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
71890         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
71891         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
71892         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
71893         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
71894         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
71895         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
71896         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
71897         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
71898         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
71899         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
71900         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
71901         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
71902         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
71903         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
71904         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
71905         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
71906         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
71907         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
71908         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
71909         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
71910         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
71911         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
71912         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
71913         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
71914         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
71915         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
71916         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
71917         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
71918         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
71919         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
71920         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
71921         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
71922         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
71923         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
71924         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
71925         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
71926         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
71927         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
71928         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
71929         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
71930         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
71931         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
71932         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
71933         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
71934         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
71935         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
71936         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
71937         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
71938         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
71939         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
71940         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
71941         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
71942         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
71943         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
71944         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
71945         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
71946         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
71947         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
71948         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
71949         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
71950         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
71951         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
71952         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
71953         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
71954         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
71955         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
71956         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
71957         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
71958         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
71959         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
71960         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
71961         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
71962         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
71963         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
71964         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
71965         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
71966         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
71967         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
71968         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
71970         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
71971         _XOPEN_SOURCE_EXTENDED for XPG4.
71973         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
71975         * Makeconfig (localtime): Remove variable.
71976         (inst_localtime-file): Likewise.
71978 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
71980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
71981         Update.
71982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71983         Update.
71984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
71985         Update.
71986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
71987         Update.
71988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
71989         Update.
71990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
71991         Update.
71992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
71993         Update.
71994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
71995         Update.
71996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
71997         Update.
71999 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
72001         [BZ #2550]
72002         [BZ #2570]
72003         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
72004         comparisons to determine direction to adjust input.
72005         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
72006         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
72007         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
72008         Likewise.
72009         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
72010         Likewise.
72011         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
72012         Likewise.
72013         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
72014         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
72015         Likewise.
72016         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
72017         Likewise.
72018         * math/libm-test.inc (nexttoward_test): Add more tests.
72020 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
72022         [BZ #14040]
72023         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
72024         in version GLIBC_2.1, not GLIBC_2.0.
72025         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
72026         Likewise.
72028 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
72030         [BZ #13942]
72031         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
72032         (1 - x) * (1 + x).
72033         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
72034         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
72035         * math/libm-test.inc (acos_test): Add more tests.
72036         (asin_test): Likewise.
72037         * sysdeps/i386/fpu/libm-test-ulps: Update.
72038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72040         [BZ #14034]
72041         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
72042         of square root.
72043         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
72044         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
72045         * math/libm-test.inc (acos_test_tonearest): New function.
72046         (acos_test_towardzero): Likewise.
72047         (acos_test_downward): Likewise.
72048         (acos_test_upward): Likewise.
72049         (asin_test_tonearest): Likewise.
72050         (asin_test_towardzero): Likewise.
72051         (asin_test_downward): Likewise.
72052         (asin_test_upward): Likewise.
72053         (main): Call the new functions.
72054         * sysdeps/i386/fpu/libm-test-ulps: Update.
72055         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72057         [BZ #13884]
72058         [BZ #13924]
72059         * math/e_exp10.c: Include <float.h>.
72060         (__ieee754_exp10): Handle underflow here rather than multiplying
72061         large negative argument by M_LN10.
72062         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
72063         of __ieee754_expf.
72064         * math/e_exp10l.c: Include <float.h>.
72065         (__ieee754_exp10l): Handle underflow here rather than multiplying
72066         large negative argument by M_LN10l.
72067         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
72068         spurious overflow exception on underflow.
72070 2012-04-29  Marek Polacek  <polacek@redhat.com>
72072         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
72073         (__fortify_function): New macro.
72074         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
72075         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
72076         __extern_always_inline.
72077         * libio/bits/stdio2.h: Likewise.
72078         * libio/bits/stdio.h: Likewise.
72079         * string/string.h: Likewise.
72080         * string/bits/string3.h: Likewise.
72081         * include/stdio.h: Likewise.
72082         * stdlib/bits/stdlib.h: Likewise.
72083         * stdlib/stdlib.h: Likewise.
72084         * rt/bits/mqueue2.h: Likewise.
72085         * rt/mqueue.h: Likewise.
72086         * posix/bits/unistd.h: Likewise.
72087         * posix/unistd.h: Likewise.
72088         * io/bits/poll2.h: Likewise.
72089         * io/bits/fcntl2.h: Likewise.
72090         * io/fcntl.h: Likewise.
72091         * io/sys/poll.h: Likewise.
72092         * misc/bits/syslog.h: Likewise.
72093         * misc/bits/syslog-ldbl.h: Likewise.
72094         * misc/sys/syslog.h: Likewise.
72095         * socket/bits/socket2.h: Likewise.
72096         * socket/sys/socket.h: Likewise.
72097         * debug/tst-chk1.c: Likewise.
72098         * wcsmbs/bits/wchar2.h: Likewise.
72099         * wcsmbs/bits/wchar-ldbl.h: Likewise.
72100         * wcsmbs/wchar.h: Likewise.
72102 2012-04-29  Andreas Jaeger  <aj@suse.de>
72104         * Makerules (tests): Remove enable-check-abi protection.
72105         (check-abi-warn): Remove.
72106         (check-abi-%): Remove check-abi-warn usage.
72108         * configure.in: Remove check-abi configure option.
72109         * configure: Regenerated.
72110         * config.make.in (enable-check-abi): Remove.
72112 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
72114         [BZ #14033]
72115         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
72116         double functions to double *_finite functions.
72118         [BZ #13941]
72119         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
72120         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
72121         LDBL_MIN_EXP.
72122         * stdio-common/Makefile (tests): Add tst-sprintf3.
72123         * stdio-common/tst-sprintf3.c: New file.
72125         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
72126         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
72128 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
72130         * conform/conformtest.pl: Remove duplicate typed-constant
72131         handling.
72133 2012-04-28  David S. Miller  <davem@davemloft.net>
72135         * Makerules (%.abilist): Add vpath on sysdep_dirs.
72136         (check-abi-%): Remove AWK script prerequisite and explicit
72137         abilist directory.
72138         (check-abi): Rewrite to just diff the symlist with the abilist.
72139         (config-tls, config-abi-config): Delete, no longer used.
72140         (update-abi-%): Remove AWK script and explicit abilist directory.
72141         (update-abi): Rewrite to simply compare and conditionally copy the
72142         symlist and the sysdep abilist file.  Remove update-abi-config
72143         checks.
72144         * abilist/ld.abilist: Remove.
72145         * abilist/libBrokenLocale.abilist: Remove.
72146         * abilist/libanl.abilist: Remove.
72147         * abilist/libcrypt.abilist: Remove.
72148         * abilist/libdl.abilist: Remove.
72149         * abilist/librt.abilist: Remove.
72150         * abilist/libthread_db.abilist: Remove.
72151         * abilist/libutil.abilist: Remove.
72152         * scripts/extract-abilist.awk: Remove.
72153         * scripts/merge-abilist.awk: Remove.
72154         * sysdeps/generic/libcidn.abilist: New file.
72155         * sysdeps/generic/libnss_compat.abilist: New file.
72156         * sysdeps/generic/libnss_db.abilist: New file.
72157         * sysdeps/generic/libnss_dns.abilist: New file.
72158         * sysdeps/generic/libnss_files.abilist: New file.
72159         * sysdeps/generic/libnss_hesiod.abilist: New file.
72160         * sysdeps/generic/libnss_nis.abilist: New file.
72161         * sysdeps/generic/libnss_nisplus.abilist: New file.
72162         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
72163         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
72164         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
72165         file.
72166         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
72167         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
72168         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
72169         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
72170         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
72171         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
72172         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
72173         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
72174         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
72175         file.
72176         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
72177         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
72178         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
72179         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
72180         file.
72181         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
72182         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
72183         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
72184         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
72185         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
72186         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
72187         file.
72188         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
72189         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
72190         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
72191         file.
72192         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
72193         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
72194         New file.
72195         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
72196         New file.
72197         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
72198         New file.
72199         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
72200         New file.
72201         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
72202         New file.
72203         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
72204         New file.
72205         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
72206         New file.
72207         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
72208         New file.
72209         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
72210         New file.
72211         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
72212         New file.
72213         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
72214         New file.
72215         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
72216         New file.
72217         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
72218         New file.
72219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
72220         file.
72221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
72222         New file.
72223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
72224         New file.
72225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
72226         file.
72227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
72228         New file.
72229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
72230         New file.
72231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
72232         file.
72233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
72234         New file.
72235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
72236         New file.
72237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
72238         New file.
72239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
72240         New file.
72241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
72242         New file.
72243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
72244         New file.
72245         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
72246         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
72247         file.
72248         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
72249         New file.
72250         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
72251         file.
72252         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
72253         file.
72254         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
72255         file.
72256         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
72257         file.
72258         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
72259         file.
72260         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
72261         New file.
72262         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
72263         file.
72264         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
72265         file.
72266         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
72267         New file.
72268         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
72269         file.
72270         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
72271         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
72272         file.
72273         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
72274         New file.
72275         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
72276         file.
72277         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
72278         file.
72279         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
72280         file.
72281         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
72282         file.
72283         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
72284         file.
72285         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
72286         New file.
72287         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
72288         file.
72289         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
72290         file.
72291         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
72292         New file.
72293         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
72294         file.
72295         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
72296         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
72297         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
72298         file.
72299         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
72300         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
72301         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
72302         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
72303         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
72304         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
72305         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
72306         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
72307         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
72308         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
72309         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
72310         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
72311         file.
72312         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
72313         New file.
72314         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
72315         file.
72316         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
72317         file.
72318         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
72319         file.
72320         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
72321         file.
72322         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
72323         file.
72324         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
72325         New file.
72326         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
72327         New file.
72328         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
72329         file.
72330         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
72331         New file.
72332         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
72333         file.
72334         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
72335         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
72336         file.
72337         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
72338         New file.
72339         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
72340         file.
72341         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
72342         file.
72343         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
72344         file.
72345         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
72346         file.
72347         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
72348         file.
72349         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
72350         New file.
72351         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
72352         New file.
72353         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
72354         file.
72355         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
72356         New file.
72357         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
72358         file.
72360 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
72362         * conform/conformtest.pl: Fix typo in handling typed-constant from
72363         allow-header.
72365 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
72367         * README: Cut down references to pre-2.6 Linux kernels and
72368         Linuxthreads.  Update lists of configurations in libc and ports
72369         and sort alphabetically.  Say "or newer" with Linux kernel version
72370         requirements.
72372         * config.h.in [IS_IN_build]: Allow compiling without optimization.
72374 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
72376         [BZ #887]
72377         * math/libm-test.inc (logb_test_downward): New test to expose
72378         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
72379         rounding mode.
72381 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
72383         [BZ #14027]
72384         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
72385         to be done.
72386         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
72387         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
72389 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
72391         * sysdeps/unix/i386/brk.S: Remove file.
72392         * sysdeps/unix/i386/dl-brk.S: Likewise.
72393         * sysdeps/unix/i386/pipe.S: Likewise.
72394         * sysdeps/unix/i386/sigreturn.S: Likewise.
72395         * sysdeps/unix/i386/syscall.S: Likewise.
72396         * sysdeps/unix/i386/vfork.S: Likewise.
72397         * sysdeps/unix/i386/wait.S: Likewise.
72399         * sysdeps/unix/common/tcsendbrk.c: Move to ...
72400         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
72402         * configure.in (arm*-none*): Do not allow without
72403         --enable-hacker-mode.
72404         (netbsd*): Remove case setting base_os.
72405         (386bsd*): Likewise.
72406         (freebsd*): Likewise.
72407         (bsdi*): Likewise.
72408         (osf*): Likewise.
72409         (sunos*): Likewise.
72410         (ultrix*): Likewise.
72411         (newsos*): Likewise.
72412         (dynix*): Likewise.
72413         (*bsd*): Likewise.
72414         (sysv*): Likewise.
72415         (isc*): Likewise.
72416         (esix*): Likewise.
72417         (sco*): Likewise.
72418         (minix*): Likewise.
72419         (irix4*): Likewise.
72420         (irix6*): Likewise.
72421         (solaris[2-9]*): Likewise.
72422         (none): Likewise.
72423         * configure: Regenerated.
72425 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72427         [BZ #11521]
72428         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
72429         overflow or cancellation in calculating denominator.
72430         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
72431         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
72432         down expression to avoid unexpected rounding in newer GCCs.
72433         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
72435 2012-04-26  David S. Miller  <davem@davemloft.net>
72437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
72438         long-double compat symbols.
72439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
72440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
72441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
72442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
72443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
72444         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
72445         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
72446         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
72447         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
72448         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
72449         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
72450         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
72451         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
72453 2012-04-25  David S. Miller  <davem@davemloft.net>
72455         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
72456         HWCAP_* values only after the memory barriers have been defined.
72457         (atomic_full_barrier): Define.
72458         (atomic_read_barrier): Define.
72459         (atomic_write_barrier): Define.
72461 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
72463         * shlib-versions: Add libgcc_s version information.
72464         * sysdeps/generic/libgcc_s.h: Remove.
72465         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
72466         libgcc_s.h.
72467         * sysdeps/gnu/unwind-resume.c: Likewise.
72468         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
72470 2012-04-25  David S. Miller  <davem@davemloft.net>
72472         * sysdeps/unix/sparc/brk.S: Delete.
72473         * sysdeps/unix/sparc/dl-brk.S: Delete.
72474         * sysdeps/unix/sparc/pipe.S: Delete.
72475         * sysdeps/unix/sparc/sysdep.S: Delete.
72476         * sysdeps/unix/sparc/sysdep.h: Delete.
72477         * sysdeps/unix/sparc/vfork.S: Delete.
72478         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
72479         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
72480         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
72481         (ret_ERRVAL, r0, r1, MOVE): Define.
72482         (JUMPTARGET): Remove.
72483         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
72484         sysdeps/unix/sparc/sysdep.h
72485         (ENTRY, END): Remove.
72486         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72488 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
72490         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
72491         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
72492         -DIS_IN_build.
72494         * timezone/README: Update upstream location and email address for
72495         tzcode and tzdata.
72496         * timezone/zdump.c: Update from tzcode 2012b.
72497         * timezone/zic.c: Likewise.
72499         * configure.in (libc_cv_as_needed): Remove test.
72500         * configure: Regenerated.
72501         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
72502         conditional definition.
72503         [$(have-as-needed) != yes] (no-as-needed): Likewise.
72504         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
72505         * config.make.in (have-as-needed): Remove variable.
72507 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
72508             Paul Pluzhnikov  <ppluzhnikov@google.com>
72510         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
72511         strings correctly.
72513 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
72515         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
72516         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
72517         * sysdeps/sh/strlen.S: Likewise.
72519 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
72521         * sysdeps/unix/fork.S: Remove file.
72522         * sysdeps/unix/i386/fork.S: Likewise.
72523         * sysdeps/unix/sparc/fork.S: Likewise.
72525         * sysdeps/unix/system.c: Remove file.
72526         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
72528         * sysdeps/unix/getegid.S: Remove file.
72529         * sysdeps/unix/geteuid.S: Likewise.
72531 2012-04-24  Roland McGrath  <roland@hack.frob.com>
72533         * scripts/check-localplt.awk: New file.
72534         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
72535         of diff.
72536         * scripts/data/localplt-generic.data: Add a comment.
72538         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
72539         NODE when __dir_mkfile failed.
72540         * sysdeps/mach/hurd/symlinkat.c: Likewise.
72541         Reported by Ludovic Courtès <ludo@gnu.org>.
72543 2012-04-24  Andreas Jaeger  <aj@suse.de>
72545         * Makerules (common-clean): Also remove gen-as-const-headers
72546         files.
72548 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
72550         * Makerules (native-compile): Do not change working directory for
72551         build.  Use $(OUTPUT_OPTION) in command.
72552         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
72554 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72556         [BZ #13886]
72557         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
72558         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
72559         * math/libm-test.inc (floor_test): Add more tests.
72560         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
72562 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
72564         * sysdeps/unix/getdents.c: Remove file.
72565         * sysdeps/unix/sysv/getdents.c: Likewise.
72566         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
72568         * sysdeps/unix/syscalls.list (madvise): Add syscall from
72569         sysdeps/unix/mman/syscalls.list.
72570         (mmap): Likewise.
72571         (mprotect): Likewise.
72572         (msync): Likewise.
72573         (munmap): Likewise.
72574         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
72575         * sysdeps/unix/mman/syscalls.list: Remove.
72576         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
72578         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
72579         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
72580         * configure: Regenerated.
72581         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
72582         $(libgcc_s_suffix).
72583         * config.make.in (libgcc_s_suffix): Remove variable.
72585 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
72587         * sysdeps/unix/sysv/gethostname.c: Move to ...
72588         * sysdeps/posix/gethostname.c: ... here.
72590         * sysdeps/unix/execve.S: Remove file.
72592         * sysdeps/unix/_exit.S: Remove file.
72594 2012-04-23  Andreas Jaeger  <aj@suse.de>
72596         [BZ #13739]
72597         * manual/Makefile: Remove make dist support, there's no
72598         need for a stand-alone documentation tar ball.
72599         (TEXI2DVI): Define always, it's not in Makeconfig.
72600         (dist): Removed.
72601         (tar-it): Removed.
72602         (edition): Removed.
72603         (glibc-doc-$(edition).tar): Removed
72604         (%.Z): Removed.
72605         (%.gz): Removed.
72606         (%.uu): Removed.
72607         (ETAGS): Remove, it's in Makeconfig.
72608         (move-if-change): Remove, it's in Makeconfig.
72610 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
72612         [BZ #13970]
72613         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
72614         (strtod, strtof, strtold, strtol, strtoul, strtoq)
72615         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
72616         (strtod_l, strtof_l, strtold_l): Remove __wur.
72617         It is not necessarily an error to ignore strtol's return value.
72618         One can reliably look at the stored endptr to decide whether
72619         the number had valid syntax.
72621 2012-04-21  Andreas Jaeger  <aj@suse.de>
72623         [BZ #13739]
72624         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
72626 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
72628         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
72629         * sysdeps/unix/sysv/Versions: Remove file.
72631 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
72633         [BZ #13927]
72634         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72636 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
72638         [BZ #7064]
72639         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
72640         version from __vm86.
72642 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
72644         * sysdeps/unix/common/lxstat.c: Remove file.
72645         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
72647         * sysdeps/unix/sysv/Makefile: Remove file.
72649         * sysdeps/unix/sysv/direct.h: Remove file.
72651         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
72652         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
72653         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
72654         * sysdeps/unix/sysv/bits/signum.h: Likewise.
72655         * sysdeps/unix/sysv/bits/stat.h: Likewise.
72656         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
72657         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
72659         * sysdeps/unix/sysv/setrlimit.c: Remove file.
72661         * sysdeps/unix/xmknod.c: Remove file.
72662         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
72664         * sysdeps/unix/sysv/settimeofday.c: Remove file.
72666         * sysdeps/unix/sysv/i386/time.S: Remove file.
72668         * sysdeps/unix/fxstat.c: Remove file.
72669         * sysdeps/unix/xstat.c: Likewise.
72670         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
72672         * sysdeps/unix/sysv/sigaction.c: Remove file.
72674         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
72675         (sysdep_headers): Remove variable.
72676         [termio.h not in sysdep_headers] (generated): Likewise.
72677         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
72678         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
72679         * sysdeps/unix/sysv/tcdrain.c: Likewise.
72680         * sysdeps/unix/sysv/tcflow.c: Likewise.
72681         * sysdeps/unix/sysv/tcflush.c: Likewise.
72682         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
72683         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
72684         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
72685         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
72686         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
72688         * sysdeps/unix/siglist.c: Remove file.
72690         * sysdeps/unix/getppid.S: Remove file.
72692         * sysdeps/unix/mkdir.c: Remove file.
72693         * sysdeps/unix/rmdir.c: Likewise.
72695 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
72697         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
72698         ERR_MAX value.
72699         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
72700         errlist-compat value.
72702 2012-04-18  David S. Miller  <davem@davemloft.net>
72704         * sysdeps/generic/memcopy.h (reg_char): Delete.
72705         * debug/strcat_chk.c: Use char, not reg_char.
72706         * debug/strcpy_chk.c: Likewise.
72707         * debug/strncat_chk.c: Likewise.
72708         * debug/strncpy_chk.c: Likewise.
72709         * string/memchr.c: Likewise.
72710         * string/memrchr.c: Likewise.
72711         * string/rawmemchr.c: Likewise.
72712         * string/strcat.c: Likewise.
72713         * string/strchr.c: Likewise.
72714         * string/strchrnul.c: Likewise.
72715         * string/strcmp.c: Likewise.
72716         * string/strcpy.c: Likewise.
72717         * string/strncat.c: Likewise.
72718         * string/strncmp.c: Likewise.
72719         * string/strncpy.c: Likewise.
72721 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
72723         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
72724         __builtin_memcopy is called when src and dest ranges are known to not
72725         overlap.
72727 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
72729         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
72730         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
72731         fwd_align_merge macro call.
72732         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
72733         bwd_align_merge macro call.
72734         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
72736 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
72738         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
72739         bwd_align_merge macros.
72740         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
72741         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
72742         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
72744 2012-04-18  David S. Miller  <davem@davemloft.net>
72746         * sysdeps/sparc/sparc64/memcopy.h: Delete.
72748 2012-04-18  Andreas Jaeger  <aj@suse.de>
72750         [BZ# 6794]
72751         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
72752         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
72753         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
72755         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
72756         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
72757         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
72759         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
72760         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
72761         Adjust for changed ldbl-128 files.
72763         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
72764         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
72765         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
72767 2012-04-17  David S. Miller  <davem@davemloft.net>
72769         * sysdeps/sparc/sparc32/memcopy.h: Delete.
72771 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
72773         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
72774         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
72775         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
72776         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
72777         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
72778         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
72780 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72782         [BZ #6794]
72783         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
72784         * math/libm-test.inc: Add ilogb errno and exception tests.
72785         * math/w_ilogb.c: New file: ilogb wrapper.
72786         * math/w_ilogbf.c: New file: ilogbf wrapper.
72787         * math/w_ilogbl.c: New file: ilogbl wrapper.
72788         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
72789         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
72790         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
72791         exception being thrown with 0.0 as argument.
72792         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
72793         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
72794         exception being thrown with 0.0 as argument.
72795         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
72796         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
72797         exception being thrown with 0.0 as argument.
72798         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
72799         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
72800         exception being thrown with 0.0 as argument.
72801         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
72802         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
72803         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
72804         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
72805         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
72806         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
72807         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
72808         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
72809         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
72811 2012-04-17  Petr Baudis  <pasky@ucw.cz>
72813         * include/sys/uio.h: Change __vector to __iovec to avoid clash
72814         with altivec.
72816 2012-04-16  Marek Polacek  <polacek@redhat.com>
72818         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
72820 2012-04-16  Marek Polacek  <polacek@redhat.com>
72822         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
72823         operands of fdivp instruction.
72825 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
72827         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
72828         * elf/tst-auditmod3b.c: Likewise.
72829         * elf/tst-auditmod4b.c: Likewise.
72830         * elf/tst-auditmod5b.c: Likewise.
72831         * elf/tst-auditmod6b.c: Likewise.
72832         * elf/tst-auditmod6c.c: Likewise.
72833         * elf/tst-auditmod7b.c: Likewise.
72834         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
72835         * sysdeps/x86_64/preconfigure.in: Likewise.
72836         * sysdeps/x86_64/preconfigure: Regenerated.
72838 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
72840         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
72841         __ILP32__.
72843 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
72845         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
72846         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
72848 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
72850         [BZ #13973]
72851         * locale/iso-639.def: Fix gl language name. Spotted by
72852         Yaron Shahrabani.
72854 2012-04-12  Roland McGrath  <roland@hack.frob.com>
72856         [BZ #2074]
72857         * libio/libio.h (__io_write_fn): Update comment.
72859 2012-04-12  Petr Baudis  <pasky@ucw.cz>
72861         [BZ #2074]
72862         * stdio.texi (Hook Functions): The user provided writer function
72863         is not allowed to return -1.
72865 2012-04-11  David S. Miller  <davem@davemloft.net>
72867         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72869 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
72871         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
72872         Add a leading slash to rtkaio.
72874 2012-04-11  Jim Meyering  <meyering@redhat.com>
72876         [BZ #11959]
72877         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
72878         It is not necessarily an error to ignore fwrite's return
72879         value.  One can reliably use ferror to test for errors after
72880         the fact.
72882 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
72884         * bits/types.h (__snseconds_t): New type.
72885         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
72887         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
72888         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
72889         (__SNSECONDS_T_TYPE): Likewise.
72890         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
72891         (__SNSECONDS_T_TYPE): Likewise.
72892         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
72893         (__SNSECONDS_T_TYPE): Likewise.
72895 2012-04-10  Andreas Jaeger  <aj@suse.de>
72897         [BZ #2636]
72898         * manual/time.texi (Processor Time): Return type of times is
72899         elapsed real time since an arbitrary point in the past.
72900         (CPU Time): Move CLK_TCK from here...
72901         (Processor Time): ...to here.  Correct description.
72902         * manual/conf.texi (Constants for Sysconf): Correct description of
72903         _SC_CLK_TCK.
72905 2012-04-10  David S. Miller  <davem@davemloft.net>
72907         [BZ #13967]
72908         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
72909         where the is a gap between DT_REL(A) and DT_JMPREL.
72911 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
72913         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
72914         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
72915         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
72917 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
72919         * elf/dl-support.c (_dl_inhibit_cache): New variable.
72920         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
72921         (dl_main): Handle --inhibit-cache.
72922         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
72923         _dl_inhibit_cache.
72924         * elf/dl-load.c (_dl_map_object): Use it.
72925         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
72927 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
72929         [BZ #13872]
72930         * sysdeps/i386/fpu/e_powl.S (p78): New object.
72931         (__ieee754_powl): Saturate large exponents rather than testing for
72932         overflow of y*log2(x).
72933         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72934         * math/libm-test.inc (pow_test): Do not permit spurious overflow
72935         exceptions.
72937         [BZ #11521]
72938         * math/s_ctan.c: Include <float.h>.
72939         (__ctan): Avoid internal overflow or cancellation in calculating
72940         denominator.
72941         * math/s_ctanf.c: Likewise.
72942         * math/s_ctanl.c: Likewise.
72943         * math/s_ctanh.c: Likewise.
72944         * math/s_ctanhf.c: Likewise.
72945         * math/s_ctanhl.c: Likewise.
72946         * math/libm-test.inc (ctan_test): Add more tests.
72947         (ctanh_test): Likewise.
72948         * sysdeps/i386/fpu/libm-test-ulps: Update.
72949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72951 2012-04-09  Andreas Jaeger  <aj@suse.de>
72953         [BZ #6894]
72954         * manual/filesys.texi (Directory Entries): Mention that d_namlen
72955         is an optional BSD extension.
72957         [BZ #10254]
72958         * manual/stdio.texi (Opening Streams): Document additional fopen
72959         parameters.
72961 2012-04-09  Roland McGrath  <roland@hack.frob.com>
72963         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
72964         %eax without telling the compiler.
72966 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
72968         [BZ # 13963]
72969         * manual/install.texi: Use sourceware.org.
72971 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
72973         [BZ #13873]
72974         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
72975         (__ieee754_pow): Generate overflow and underflow using huge*huge
72976         and tiny*tiny rather than just returning constant infinity or zero
72977         for large exponents.
72978         * math/libm-test.inc (pow_test): Require overflow exceptions for
72979         applicable cases of large exponents.
72981         [BZ #706]
72982         * sysdeps/i386/fpu/e_pow.S (p10): New object.
72983         (__ieee754_pow): Use iterative multiplication algorithm only for
72984         integer exponents with absolute value below 1024.  Check for odd
72985         integer exponents when using algorithm for real exponents.
72986         * math/libm-test.inc (pow_test): Add more tests.
72987         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72989 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
72991         [BZ #13705]
72992         * math/libm-test.inc (exp_test): Do not allow overflow exception
72993         on underflow test.
72995 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
72997         [BZ #13705]
72998         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
72999         instead of __kernel_standard_f.
73001 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
73003         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
73004         * sysdeps/x86_64/memset_chk.S: Likewise.
73006 2012-04-08  Andreas Jaeger  <aj@suse.de>
73008         [BZ #10153]
73009         * manual/startup.texi (Environment Access): Describe return value
73010         for putenv and setenv.
73012         [BZ #6895]
73013         * manual/filesys.texi (Directory Entries): Add description for
73014         DT_LNK.
73016         [BZ #6890]
73017         * manual/filesys.texi (Directory Entries): Clarify that it's file
73018         system not operating system in the description of DT_UNKNOWN.
73020         [BZ #6578]
73021         * manual/syslog.texi (closelog): Fix reference, it's openlog.
73023 2012-04-08  Stephen Compall  <s11@member.fsf.org>
73025         [BZ #6649]
73026         * manual/llio.texi (Opening and Closing Files): Add cross
73027         reference to explain mode argument.
73029 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
73031         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
73032         * sysdeps/x86_64/memset_chk.S: Likewise.
73034 2012-04-07  David S. Miller  <davem@davemloft.net>
73036         * elf/elf.h (R_SPARC_WDISP10): Define.
73037         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
73038         R_SPARC_SIZE32.
73039         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
73040         R_SPARC_SIZE64 and R_SPARC_H34.
73042 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
73044         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
73045         conditions and remove no longer applicable assertion.
73047 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
73049         * bits/byteswap.h: Include <features.h>.
73050         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
73051         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
73053 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
73055         * bits/byteswap.h (__bswap_16): Removed.
73056         Include <bits/byteswap-16.h> to get __bswap_16.
73057         * sysdeps/i386/bits/byteswap.h: Likewise.
73058         * sysdeps/s390/bits/byteswap.h: Likewise.
73059         * sysdeps/x86_64/bits/byteswap.h: Likewise.
73060         * bits/byteswap-16.h: New file.
73061         * sysdeps/i386/bits/byteswap-16.h: Likewise.
73062         * sysdeps/s390/bits/byteswap-16.h: Likewise.
73063         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
73064         * string/Makefile (headers): Add bits/byteswap-16.h.
73066 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
73068         [BZ #13895]
73069         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
73070         extra indirection.
73071         * nss/Makefile (tests-static, tests): Add tst-nss-static.
73072         * nss/tst-nss-static.c: New.
73074 2012-04-06  Robert Millan  <rmh@gnu.org>
73076         [BZ #6486]
73077         * manual/llio.texi (File Position Primitive): lseek
73078         refers to WHENCE when it really means OFFSET.
73080 2012-04-06  Andreas Jaeger  <aj@suse.de>
73082         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
73083         strncmp declarations.
73085         * abilist/libc.abilist: Add __poll and __ppoll.
73087 2012-04-05  David S. Miller  <davem@davemloft.net>
73089         * scripts/check-local-headers.sh: Accept a host triplet in the
73090         path matched by the exclude regexp.
73092         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
73093         definition.
73094         * sysdeps/powerpc/powerpc32/dl-machine.h
73095         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
73096         * sysdeps/s390/s390-32/dl-machine.h
73097         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
73098         * sysdeps/sparc/sparc32/dl-machine.h
73099         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
73100         * sysdeps/sparc/sparc64/dl-machine.h
73101         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
73103         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
73104         lazy binding.
73105         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
73106         undefined symbol errors.
73108         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
73109         DT_NEEDED entries.
73111 2012-04-05  Michael Matz  <matz@suse.de>
73113         [BZ #13592]
73114         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
73116 2012-04-05  Andreas Jaeger  <aj@suse.de>
73118         [BZ #13908]
73119         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
73120         comment.
73122 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
73124         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
73125         which ROUND is no valid rounding mode.
73127 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
73129         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
73130         read again.
73131         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
73133 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
73135         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
73136         an exception using FPU order intentionally.
73138 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
73140         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
73141         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
73142         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
73143         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
73145 2012-04-05  Simon Josefsson  <simon@josefsson.org>
73147         [BZ #12340]
73148         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
73149         EINVAL when BUFLEN is too smal.
73151 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
73153         [BZ #13553]
73154         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
73155         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
73157 2012-04-03  Andreas Jaeger  <aj@suse.de>
73159         [BZ #13938]
73160         * manual/setjmp.texi (System V contexts): Fix sentence.
73162         [BZ #13926]
73163         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
73164         New macro for this case.
73165         [!__GNUC__] (__bswap_64): New inline function for this case.
73166         * sysdeps/x86_64/bits/byteswap.h: Likewise.
73167         * bits/byteswap.h: Likewise.
73168         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
73169         ull, guard with __GLIBC_HAVE_LONG_LONG.
73171         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
73172         __GLIBC_HAVE_LONG_LONG.
73174         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
73175         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
73177 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
73179         [BZ #13691]
73180         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
73181         inptr and inend, rather than using last_ch.
73183 2012-04-02  David S. Miller  <davem@davemloft.net>
73185         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
73186         * stdio-common/printf-parse.h (read_int): Change return type to
73187         'int', return -1 on INT_MAX overflow.
73188         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
73189         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
73190         overflows INT_MAX.  Check for overflow of in-format-string precision
73191         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
73192         SIZE_MAX not INT_MAX for integer overflow test.
73193         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
73194         skip the construct in the format string but do not record anything.
73195         * stdio-common/bug22.c: Adjust to test both width/prevision
73196         INT_MAX overflow as well as total length INT_MAX overflow.  Check
73197         explicitly for proper errno values.
73199 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
73201         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
73202         CHAR_MAX.
73203         * string/test-strcmp.c [! WIDE]: Likewise.
73204         * time/tst-mktime2.c: Likewise for INT_MAX.
73205         * string/test-string.h: #include <sys/param.h> for MIN.
73207         * csu/init-first.c (__libc_init_first): Call __ctype_init.
73208         * sysdeps/i386/init-first.c (init): Likewise.
73209         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
73210         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
73211         * sysdeps/sh/init-first.c (init): Likewise.
73213 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
73215         * po/ru.po: Update from translation team.
73216         * po/vi.po: Likewise.
73218 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
73220         * resolv/nss_dns/dns-host.c: Merge copyright years.
73222 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73224         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
73225         Optimize memcpy with prefetch if
73226         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
73227         src, dst pointers have unequal 16 byte alignments.
73229 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
73231         [BZ #13928]
73232         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
73233         from a CNAME entry and return the minimum ttl for the query.
73234         (gaih_getanswer_slice): Likewise.
73236 2012-03-30  Jeff Law  <law@redhat.com>
73238         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
73239         due to long keys.
73240         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
73241         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
73243         * resolv/nss_dns/dns-host.c: Update copyright year.
73245 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
73247         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
73248         requests to save a system call.  Fix check that all bytes are sent.
73250         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
73251         comments for sendmmsg.
73253 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73255         [BZ #13691]
73256         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
73257         with only 1 character between 0x0041 and 0x01b0.
73258         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
73259         * wcsmbs/tst-mbsnrtowcs.c: New file.
73261 2012-03-29  David S. Miller  <davem@davemloft.net>
73263         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
73264         small copies by hand.
73266 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
73268         [BZ #13761]
73269         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
73270         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
73271         group memberships.
73273 2012-03-28  David S. Miller  <davem@davemloft.net>
73275         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
73276         that branches into memcpy.
73277         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
73278         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
73279         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
73280         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
73281         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
73282         bits.
73283         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
73284         implementation too.
73285         * sysdeps/sparc/mempcpy.S: New file.
73287         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
73288         the IFUNC routine in the libc case.
73289         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
73291         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
73292         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
73293         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
73294         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
73295         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
73296         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
73297         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
73298         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
73300         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
73301         loop to 256 bytes instead of 64 bytes and fix test signedness.
73303         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
73304         * sysdeps/sparc/sparc32/Makefile: rather than here...
73305         * sysdeps/sparc/sparc64/Makefile: and here.
73307 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
73309         * malloc/mallocbug.c: Avoid warnings about unused variables.
73311 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
73313         [BZ #13760]
73314         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
73315         in the right place. Discard and retry query if response is
73316         larger than input buffer size.
73318 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
73320         [BZ #369]
73321         [BZ #2678]
73322         [BZ #3866]
73323         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
73324         x for large integer exponent.
73325         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
73326         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
73327         sign of result as needed afterwards.
73328         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
73329         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
73330         result for underflowing pow the same as for overflow.
73331         (__kernel_standard_l): Handle powl overflow and underflow here
73332         rather than calling __kernel_standard.
73333         * math/libm-test.inc (pow_test): Add more tests.
73335         [BZ #3868]
73336         [BZ #13879]
73337         [BZ #13910]
73338         [BZ #13911]
73339         [BZ #13912]
73340         [BZ #13913]
73341         [BZ #13915]
73342         [BZ #13916]
73343         [BZ #13917]
73344         [BZ #13918]
73345         [BZ #13919]
73346         [BZ #13920]
73347         [BZ #13921]
73348         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
73349         * sysdeps/ieee754/k_standard.c: Include <float.h>.
73350         (__kernel_standard_l): New function.
73351         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
73352         __kernel_standard.
73353         * math/w_acosl.c (__acosl): Likewise.
73354         * math/w_asinl.c (__asinl): Likewise.
73355         * math/w_atan2l.c (__atan2l): Likewise.
73356         * math/w_atanhl.c (__atanhl): Likewise.
73357         * math/w_coshl.c (__coshl): Likewise.
73358         * math/w_exp10l.c (__exp10l): Likewise.
73359         * math/w_exp2l.c (__exp2l): Likewise.
73360         * math/w_fmodl.c (__fmodl): Likewise.
73361         * math/w_hypotl.c (__hypotl): Likewise.
73362         * math/w_j0l.c (__j0l, __y0l): Likewise.
73363         * math/w_j1l.c (__j1l, __y1l): Likewise.
73364         * math/w_jnl.c (__jnl, __ynl): Likewise.
73365         * math/w_lgammal.c (__lgammal): Likewise.
73366         * math/w_log10l.c (__log10l): Likewise.
73367         * math/w_log2l.c (__log2l): Likewise.
73368         * math/w_logl.c (__logl): Likewise.
73369         * math/w_powl.c (__powl): Likewise.
73370         * math/w_remainderl.c (__remainderl): Likewise.
73371         * math/w_scalbl.c (sysv_scalbl): Likewise.
73372         * math/w_sinhl.c (__sinhl): Likewise.
73373         * math/w_sqrtl.c (__sqrtl): Likewise.
73374         * math/w_tgammal.c (__tgammal): Likewise.
73375         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
73376         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
73377         * math/libm-test.inc (acos_test): Add more tests.
73378         (acosh_test): Likewise.
73379         (asin_test): Likewise.
73380         (atanh_test): Likewise.
73381         (exp_test): Likewise.
73382         (exp10_test): Likewise.
73383         (exp2_test): Likewise.
73384         (expm1_test): Likewise.
73385         (lgamma_test): Likewise.
73386         (log_test): Likewise.
73387         (log10_test): Likewise.
73388         (log1p_test): Likewise.
73389         (log2_test): Likewise.
73390         (pow_test): Do not allow some spurious overflow exceptions.
73391         (sqrt_test): Add more tests.
73392         (tgamma_test): Likewise.
73393         (y0_test): Likewise.
73394         (y1_test): Likewise.
73395         (yn_test): Likewise.
73397 2012-03-27  Anton Blanchard  <anton@samba.org>
73399         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
73400         MAP_HUGETLB.
73401         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
73402         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
73403         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
73405 2012-03-27  David S. Miller  <davem@davemloft.net>
73407         * conform/Makefile: Run run-conformtest.sh using $(BASH).
73409         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
73410         have-as-vis3 check.
73412 2012-03-27  Andreas Jaeger  <aj@suse.de>
73414         * sysdeps/x86_64/elf/configure.in: Moved to ...
73415         * sysdeps/x86_64/configure.in: ... here.
73416         * sysdeps/x86_64/elf/start.S: Moved to ...
73417         * sysdeps/x86_64/start.S: ... here.
73418         * sysdeps/x86_64/elf/configure: Delete.
73420         * sysdeps/x86_64/configure.in: Merge contents from
73421         sysdeps/i386/configure.in (without i686 check).
73423         * sysdeps/i386/elf/Versions: Merge into ...
73424         * sysdeps/i386/Versions: ... this.
73425         * sysdeps/i386/elf/Versions: Delete file.
73426         * sysdeps/i386/elf/start.S: Moved to ...
73427         * sysdeps/i386/start.S: ...here.
73428         * sysdeps/i386/elf/configure.in: Merge into...
73429         * sysdeps/i386/configure.in: ...here.
73430         * sysdeps/i386/elf/configure.in: Delete file.
73431         * sysdeps/i386/elf/configure: Delete file.
73433         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
73434         * debug/backtracesyms.c: ... here.
73435         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
73436         * debug/backtracesymsfd.c: ... here.
73437         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
73438         * sysdeps/generic/ifunc-sel.h: ... here.
73440         * sysdeps/unix/i386/start.c: Delete file.
73441         * sysdeps/unix/sparc/start.c: Delete file.
73442         * sysdeps/unix/start.c: Delete file.
73444         * sysdeps/sh/elf/configure.in: Moved to ...
73445         * sysdeps/sh/configure.in: ... here.
73446         * sysdeps/sh/elf/start.S: Moved to ...
73447         * sysdeps/sh/start.S: ... here.
73448         * sysdeps/sh/elf/configure: Delete file.
73450         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
73451         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
73452         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
73453         * sysdeps/powerpc/powerpc64/entry.h: ... here.
73454         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
73455         * sysdeps/powerpc/powerpc64/start.S: here.
73456         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
73457         * sysdeps/powerpc/powerpc64/Makefile: ... this.
73458         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
73459         * sysdeps/powerpc/powerpc64/configure.in: ... this.
73460         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
73462         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
73463         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
73464         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
73465         * sysdeps/powerpc/powerpc32/start.S: ... here.
73466         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
73467         * sysdeps/powerpc/powerpc32/configure.in: ... this.
73468         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
73470         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
73471         * sysdeps/powerpc/ifunc-sel.h: ... here.
73472         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
73473         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
73475         * sysdeps/sparc/elf/configure.in: Moved to ...
73476         * sysdeps/sparc/configure.in: ... here.
73477         * sysdeps/sparc/elf/configure: Delete file.
73478         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
73479         * sysdeps/sparc/sparc32/start.S: ... here.
73480         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
73481         * sysdeps/sparc/sparc64/start.S: ... here.
73482         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
73483         * sysdeps/sparc/sparc32/Makefile: ... this.
73484         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
73485         * sysdeps/sparc/sparc64/Makefile: ... this.
73487         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
73488         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
73489         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
73490         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
73491         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
73492         * sysdeps/s390/s390-32/setjmp.S: ... here.
73493         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
73494         * sysdeps/s390/s390-32/configure.in: ... here.
73495         * sysdeps/s390/s390-32/elf/configure: Delete file.
73496         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
73497         * sysdeps/s390/s390-32/start.S: ... here.
73499         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
73500         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
73501         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
73502         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
73503         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
73504         * sysdeps/s390/s390-64/setjmp.S: ... here.
73505         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
73506         * sysdeps/s390/s390-64/configure.in: ... here
73507         * sysdeps/s390/s390-64/elf/configure: Delete file.
73508         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
73509         * sysdeps/s390/s390-64/start.S: ... here.
73510         * sysdeps/s390/s390-64/elf/configure: Delete.
73512         * configure.in: Remove support for elf directories in sysdeps.
73514         * configure: Regenerated.
73515         * sysdeps/i386/configure: Regenerated.
73516         * sysdeps/powerpc/powerpc32/configure: Regenerated.
73517         * sysdeps/powerpc/powerpc64/configure: Regenerated.
73518         * sysdeps/s390/s390-32/configure: Regenerated.
73519         * sysdeps/s390/s390-64/configure: Regenerated.
73520         * sysdeps/sh/configure: Regenerated.
73521         * sysdeps/sparc/configure: Regenerated.
73522         * sysdeps/x86_64/configure: Regenerated.
73524 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
73526         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73528         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
73529         denormal result into account.
73531 2012-03-25  Roland McGrath  <roland@hack.frob.com>
73533         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
73534         Reported by Allan McRae <allan@archlinux.org>.
73536 2012-03-23  Jeff Law  <law@redhat.com>
73538         * nss/getnssent.c (__nss_getent): Fix typo.
73540 2012-03-23  David S. Miller  <davem@davemloft.net>
73542         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73544 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
73546         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
73547         to pad to uint64_t for each field.
73548         (dl_tls_index): Replace unsigned long with uint64_t.
73550 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
73551         Paul Pluzhnikov  <ppluzhnikov@google.com>
73553         [BZ #6528]
73554         * grp/Makefile (otherlibs): Don't set it.
73555         * inet/Makefile (otherlibs): Likewise.
73556         * login/Makefile (otherlibs): Likewise.
73557         * nscd/Makefile (otherlibs): Likewise.
73558         * posix/Makefile (otherlibs): Likewise.
73559         * pwd/Makefile (otherlibs): Likewise.
73560         * rt/Makefile (otherlibs): Likewise.
73561         * sunrpc/Makefile (otherlibs): Likewise.
73562         * nss/Makefile (otherlibs): Likewise.
73563         Add libnss_files to routines and static-only-routines.
73564         ($(objpfx)getent): Remove rule.
73565         * resolv/Makefile: Add libnss_dns and libresolv to routines and
73566         static-only-routines.
73568 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
73570         [BZ #13892]
73571         * math/s_cexp.c: Include <float.h>.
73572         (__cexp): Handle exp result overflowing not necessarily
73573         overflowing both real and imaginary parts of result.
73574         * math/s_cexpf.c: Likewise.
73575         * math/s_cexpl.c: Likewise.
73576         * math/libm-test.inc (cexp_test): Add more tests.
73577         * sysdeps/i386/fpu/libm-test-ulps: Update.
73578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73580 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
73582         * include/link.h (ELFW): New macro.
73583         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
73584         Replace ELF64_R_TYPE with ELFW(R_TYPE).
73586 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
73588         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
73589         with uint64_t.
73591 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
73593         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
73594         declaration.
73595         (struct La_x32_retval): Likewise.
73597 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
73599         * sysdeps/x86_64/preconfigure.in: New file.
73600         * sysdeps/x86_64/preconfigure: New generated file.
73602 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
73604         [BZ #13824]
73605         * math/e_exp2l.c: Include <float.h>.
73606         (__ieee754_exp2l): Handle overflow and underflow cases
73607         separately.  Only pass fractional part of argument to
73608         __ieee754_expl.
73609         * math/libm-test.inc (exp2_test): Add more tests.
73611         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
73612         negating x to take absolute value.
73613         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
73614         Likewise.
73615         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
73616         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
73617         Likewise.
73618         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
73619         computing low part if x was negated.
73620         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
73622 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
73624         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
73625         la_x32_gnu_pltexit.
73626         (pltexit): Cast int_retval to ptrdiff_t.
73627         * elf/tst-auditmod3b.c: Likewise.
73628         * elf/tst-auditmod4b.c: Likewise.
73629         * elf/tst-auditmod5b.c: Likewise.
73630         * elf/tst-auditmod6b.c: Likewise.
73631         * elf/tst-auditmod6c.c: Likewise.
73632         * elf/tst-auditmod7b.c: Likewise.
73634         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
73635         and x32_gnu_pltexit.
73637         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
73638         __ELF_NATIVE_CLASS.
73639         (La_x32_regs): New macro.
73640         (La_x32_retval): Likewise.
73641         (la_x32_gnu_pltenter): New function prototype.
73642         (la_x32_gnu_pltexit): Likewise.
73644 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
73646         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
73647         exponent.
73649         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73651         * configure.in (libc_cv_cc_nofma): Check for option to disable
73652         generation of FMA instructions.
73653         * configure: Regenerate.
73654         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
73655         * sysdeps/ieee754/dbl-64/Makefile: New file.
73656         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
73657         Remove brandred-fma4.
73658         (CFLAGS-brandred-fma4.c): Remove.
73659         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
73660         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
73661         define.
73662         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
73663         define.
73665 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
73667         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
73668         LLONG_MAX != LONG_MAX.
73669         (_itoa_word): Use _ITOA_WORD_TYPE on value.
73670         (_fitoa_word): Likewise.
73671         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
73672         LLONG_MAX != LONG_MAX.
73673         * stdio-common/_itowa.h: Include <_itoa.h>.
73674         (_itowa_word): Use _ITOA_WORD_TYPE on value.
73675         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
73676         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
73677         only if not defined.
73678         (_ITOA_WORD_TYPE): Likewise.
73679         (_itoa_word): Use _ITOA_WORD_TYPE on value.
73680         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
73682 2012-03-21  David S. Miller  <davem@davemloft.net>
73684         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73686 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
73688         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
73689         of x86_64 when setting libc_cv_slibdir, libdir and
73690         libc_cv_localedir.
73691         * sysdeps/unix/sysv/linux/configure: Regenerated.
73693 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
73695         * manual/lang.texi (Old Varargs): Remove section.
73696         (How Variadic): Update menu.
73697         (va_start): Do not mention varargs.h.
73699 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
73700             Joseph Myers  <joseph@codesourcery.com>
73702         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
73703         link test.
73704         * configure: Regenerated.
73706 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
73708         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
73709         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
73710         conformtest.pl
73712 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
73714         * NOTES: Remove.
73715         * Makefile (files-for-dist): Remove NOTES.
73716         (NOTES): Remove rule.
73717         * README: Don't refer to NOTES.
73718         * manual/creature.texi: Don't include macros.texi.
73719         * manual/intro.texi (creature.texi): Remove comment referring to
73720         NOTES.
73722         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
73723         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
73724         * configure: Regenerated.
73725         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
73726         LIBC_TRY_CC_OPTION.
73727         (libc_cv_as_i686): Likewise.
73728         (libc_cv_cc_avx): Likewise.
73729         (libc_cv_cc_sse2avx): Likewise.
73730         (libc_cv_cc_fma4): Likewise.
73731         (libc_cv_cc_novzeroupper): Likewise.
73732         * sysdeps/i386/configure: Regenerated.
73734         [BZ #13883]
73735         * sysdeps/i386/fpu/s_cexp.S: Remove.
73736         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
73737         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
73738         * math/libm-test.inc (cexp_test): Add more tests.
73739         * sysdeps/i386/fpu/libm-test-ulps: Update.
73740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73742 2012-03-21  Allan McRae  <allan@archlinux.org>
73744         * timezone/Makefile: Do not install iso3166.tab and zone.tab
73746 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
73748         [BZ #13871]
73749         * math/w_exp2.c: Do not include <float.h>.
73750         (o_threshold, u_threshold): Remove.
73751         (__exp2): Calculate result before checking finiteness and calling
73752         __kernel_standard.
73753         * math/w_exp2f.c: Likewise.
73754         * math/w_exp2l.c: Likewise.
73755         * math/libm-test.inc (exp2_test): Require overflow exception for
73756         1e6 input.
73758         [BZ #3866]
73759         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
73760         range of signed 64-bit integers before using fistpll.  Remove
73761         checks for whether integers fit in mantissa bits.
73762         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
73763         the range of signed 32-bit integers before using fistpl.  Remove
73764         checks for whether integers fit in mantissa bits.
73765         * sysdeps/i386/fpu/e_powl.S (p64): New object.
73766         (__ieee754_powl): Test for y outside the range of signed 64-bit
73767         integers before using fistpll.  Reduce 64-bit values to 63-bit
73768         ones as needed.
73769         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
73770         divide-by-zero is raised for zero to large negative powers.
73771         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
73772         (__ieee754_powl): Test for y outside the range of signed 64-bit
73773         integers before using fistpll.  Reduce 64-bit values to 63-bit
73774         ones as needed.
73775         * math/libm-test.inc (pow_test): Add more tests.
73777 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
73779         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
73780         <stdio-common/_itoa.h>.
73781         * debug/segfault.c: Likewise.
73782         * elf/dl-cache.c: Likewise.
73783         * elf/dl-minimal.c: Likewise.
73784         * elf/dl-misc.c: Likewise.
73785         * elf/dl-sysdep.c: Likewise.
73786         * elf/dl-version.c: Likewise.
73787         * elf/rtld.c: Likewise.
73788         * hurd/hurdsock.c: Likewise.
73789         * hurd/lookup-retry.c: Likewise.
73790         * malloc/malloc.c: Likewise.
73791         * malloc/mtrace.c: Likewise.
73792         * nscd/nscd_getgr_r.c: Likewise.
73793         * nscd/nscd_getpw_r.c: Likewise.
73794         * nscd/nscd_getserv_r.c: Likewise.
73795         * posix/getopt_init.c: Likewise.
73796         * posix/wordexp.c: Likewise.
73797         * stdio-common/_itoa.c: Likewise.
73798         * stdio-common/printf_fphex.c: Likewise.
73799         * stdio-common/vfprintf.c: Likewise.
73800         * string/_strerror.c: Likewise.
73801         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
73802         * sysdeps/i386/i686/hp-timing.h: Likewise.
73803         * sysdeps/mach/_strerror.c: Likewise.
73804         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
73805         * sysdeps/mach/hurd/sethostid.c: Likewise.
73806         * sysdeps/mach/hurd/xmknodat.c: Likewise.
73807         * sysdeps/mach/xpg-strerror.c: Likewise.
73808         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
73809         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
73810         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
73811         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
73812         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
73813         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
73814         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
73815         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
73816         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
73817         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
73818         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
73819         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
73820         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
73821         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
73822         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
73823         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
73824         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
73825         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
73826         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
73827         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
73828         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
73830         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
73832         * stdio-common/_itoa.h: Moved to ...
73833         * sysdeps/generic/_itoa.h: Here.
73835         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
73837         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
73838         instead of "_itoa.h" and "_itowa.h".
73839         * stdio-common/vfprintf.: Likewise.
73841 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
73843         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
73844         <bits/wordsize.h>.
73845         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
73846         (__signbit): Likewise.
73847         (llrintf): Likewise.
73848         (llrint): Likewise.
73850 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
73852         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
73853         __WORDSIZE != 64.
73855 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
73857         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
73858         OVERFLOW_EXCEPTION_OK.
73859         * math/libm-test.inc ("Philosophy"): Update comment about
73860         exception testing.
73861         (OVERFLOW_EXCEPTION): Define.
73862         (OVERFLOW_EXCEPTION_OK): Likewise.
73863         (INVALID_EXCEPTION_OK): Renumber.
73864         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
73865         (IGNORE_ZERO_INF_SIGN): Likewise.
73866         (test_exceptions): Handle FE_OVERFLOW.
73867         (exp10_test): Expect overflow exceptions.
73868         (exp2_test): Likewise.
73869         (expm1_test): Likewise.
73870         (nextafter_test): Likewise.
73871         (pow_test): Likewise.
73872         (scalbn_test): Likewise.
73873         (scalbln_test): Likewise.
73875 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
73877         * sysdeps/x86_64/bits/atomic.h
73878         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
73879         64bit integer.
73880         (atomic_exchange_acq): Likewise.
73881         (__arch_exchange_and_add_body): Likewise.
73882         (__arch_add_body): Likewise.
73883         (atomic_add_negative): Likewise.
73884         (atomic_add_zero): Likewise.
73886 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
73888         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
73889         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
73891 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
73893         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
73894         Check __x86_64__ instead of __WORDSIZE.
73896 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
73898         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
73900 2012-03-19  David S. Miller  <davem@davemloft.net>
73902         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73904         * sysdeps/sparc/fpu/fenv_private.h: New file.
73905         * sysdeps/sparc/fpu/math_private.h: Use it.
73906         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
73907         Remove.
73908         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
73909         (libc_feholdexcept_setroundl): Remove.
73910         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
73911         Remove.
73912         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
73913         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
73915 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
73917         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
73918         int64_t instead of long int.
73919         (INSERT_WORDS64): Likewise.
73921 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
73923         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
73924         _Unwind_GetCFA return to _Unwind_Ptr first.
73926 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
73928         [BZ #13629]
73929         * math/s_clog.c: Include <float.h>.
73930         (__clog): Scale large or subnormal inputs.
73931         * math/s_clogf.c: Likewise.
73932         * math/s_clogl.c: Likewise.
73933         * math/s_clog10.c: Include <float.h>.
73934         (M_LOG10_2): Define.
73935         (__clog10): Scale large or subnormal inputs.
73936         * math/s_clog10f.c: Likewise.
73937         * math/s_clog10l.c: Likewise.
73938         * math/libm-test.inc (clog_test): Add more tests.
73939         (clog10_test): Likewise.
73940         * sysdeps/i386/fpu/libm-test-ulps: Update.
73941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73943         [BZ #11451]
73944         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
73945         x and y.
73946         * math/libm-test.inc (atan2_test): Add another test.
73948         * Makerules (common-objdir-compile): Remove.
73949         * sysdeps/unix/Makefile (config-generated): Do not add
73950         $(unix-generated) to variable.
73951         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
73952         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
73953         Remove rule.
73954         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
73955         Likewise.
73956         [generic bits/local_lim.h] (before-compile): Do not append to
73957         variable.
73958         [generic bits/local_lim.h] (common-generated): Likewise.
73959         [generic sys/param.h] (before-compile): Do not append to variable.
73960         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
73961         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
73962         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
73963         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
73964         include.
73965         [generic sys/param.h] (sys/param.h-includes): Remove variable.
73966         [generic sys/param.h] (sys/param.h-includes): Remove rule.
73967         [generic sys/param.h] ($(addprefix
73968         $(common-objpfx),$(sys/param.h-includes))): Likewise.
73969         [generic sys/param.h] (common-generated): Do not append to
73970         variable.
73971         [generic sys/param.h] (sysdep_headers): Likewise.
73972         [generic bits/errno.h] (before-compile): Do not append to
73973         variable.
73974         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
73975         rule.
73976         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
73977         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
73978         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
73979         [generic bits/errno.h] (common-generated): Do not append to
73980         variable.
73981         [generic bits/ioctls.h] (before-compile): Do not append to
73982         variable.
73983         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
73984         rule.
73985         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
73986         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
73987         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
73988         rule.
73989         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
73990         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
73991         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
73992         [generic bits/ioctls.h] (common-generated): Do not append to
73993         variable.
73994         [generic sys/syscall.h] (syscall.h): Remove variable.
73995         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
73996         rule.
73997         [generic sys/syscall.h] (before-compile): Do not append to
73998         variable.
73999         [generic sys/syscall.h] (common-generated): Likewise.
74000         * sysdeps/unix/errnos-tmpl.c: Remove file.
74001         * sysdeps/unix/errnos.awk: Likewise.
74002         * sysdeps/unix/ioctls-tmpl.c: Likewise.
74003         * sysdeps/unix/ioctls.awk: Likewise.
74004         * sysdeps/unix/mk-local_lim.c: Likewise.
74005         * sysdeps/unix/snarf-ioctls: Likewise.
74007 2012-03-19  Richard Henderson  <rth@twiddle.net>
74009         * sysdeps/i386/fpu/fenv_private.h: New file.
74010         * sysdeps/i386/fpu/math_private.h: Use it.
74011         (math_opt_barrier, math_force_eval): Remove.
74012         (libc_feholdexcept_setround_53bit): Remove.
74013         (libc_feupdateenv_53bit): Remove.
74014         * sysdeps/x86_64/fpu/math_private.h: Likewise.
74015         (math_opt_barrier, math_force_eval): Remove.
74016         (libc_feholdexcept): Remove.
74017         (libc_feholdexcept_setround): Remove.
74018         (libc_fetestexcept, libc_fesetenv): Remove.
74019         (libc_feupdateenv_test): Remove.
74020         (libc_feupdateenv, libc_feholdsetround): Remove.
74021         (libc_feresetround): Remove.
74023         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
74024         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
74026         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
74027         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
74028         (libc_feupdateenv_testl): New.
74029         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
74030         (libc_feupdateenv_testf): New.
74031         (libc_feupdateenv): Use libc_feupdateenv_test.
74032         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
74033         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
74035         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
74036         (libc_feholdsetroundf, libc_feholdsetroundl): New.
74037         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
74038         (libc_feresetround_noex): New.
74039         (libc_feresetround_noexf): New.
74040         (libc_feresetround_noexl): New.
74041         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
74042         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
74043         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
74044         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
74045         SET_RESTORE_ROUND.
74046         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
74047         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
74048         (__cos): Likewise.
74049         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
74050         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
74051         SET_RESTORE_ROUND_NOEX.
74052         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
74053         SET_RESTORE_ROUND_NOEXF.
74054         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
74055         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
74056         (libc_feholdsetroundf): New.
74057         (libc_feresetround, libc_feresetroundf): New.
74059         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
74060         (libc_feholdexcept_setround_53bit): Convert from macro to function.
74061         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
74063         * sysdeps/generic/math_private.h: Include <fenv.h>.
74064         (default_libc_feholdexcept): New.
74065         (default_libc_feholdexcept_setround): New.
74066         (default_libc_fesetenv, default_libc_feupdateenv): New.
74067         (libc_feholdexcept): Only define if undefined.
74068         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
74069         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
74070         (libc_feholdexcept_setroundl): Likewise.
74071         (libc_feholdexcept_setround_53bit): Likewise.
74072         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
74073         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
74074         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
74075         (libc_feupdateenv_53bit): Likewise.
74076         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
74077         (libc_feholdexcept): Convert from macro to inline function.
74078         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
74079         (libc_fesetenv, libc_feupdateenv): Likewise.
74081         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
74082         not previously defined.
74083         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
74084         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
74085         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
74086         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
74087         * sysdeps/ieee754/flt-32/math_private.h: New file.
74088         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
74089         math_private.h below SET_FLOAT_WORD.
74090         (__isnan, __isinf_ns, __finite): Remove.
74091         (__isnanf, __isinf_nsf, __finitef): Remove.
74093 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
74095         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74097 2012-03-17  David S. Miller  <davem@davemloft.net>
74099         [BZ #6471]
74100         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
74101         for 2.16.
74103 2012-03-16  David S. Miller  <davem@davemloft.net>
74105         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
74106         warnings.
74108         [BZ #6471]
74109         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
74110         properly.
74111         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
74112         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
74113         sysdep_routines when subdir is sysvipc.
74114         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
74115         __getshmlba helper.
74117         * sysdeps/sparc/fpu/libm-test/ulps: Update.
74119 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
74121         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
74122         [__LP64__].
74124 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
74126         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
74127         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
74128         (__lround): Renamed to ...
74129         (__llround): This.  Replace long int with long long int.
74130         Define lround functions as aliases of llround functions.
74131         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
74133 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
74135         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
74136         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
74137         adresses to uintptr_t.  Replace "long int" and "unsigned long
74138         int" with "greg_t" on va_arg.
74140 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
74142         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
74143         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
74145         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
74146         Move e_machine check before EI_CLASS check.  Handle x32
74147         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
74148         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
74149         SKIP_EM_IA_64 and include
74150         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
74152         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
74153         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
74154         (add_system_dir): New macro.
74156         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
74157         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
74159 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
74161         [BZ #2551]
74162         [BZ #2552]
74163         [BZ #2553]
74164         [BZ #2554]
74165         [BZ #2562]
74166         [BZ #2563]
74167         [BZ #2565]
74168         [BZ #2566]
74169         [BZ #2576]
74170         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
74171         (y0): Likewise.
74172         * math/w_j0f.c (j0f): Likewise.
74173         (y0f): Likewise.
74174         * math/w_j0l.c (__j0l): Likewise.
74175         (__y0l): Likewise.
74176         * math/w_j1.c (j1): Likewise.
74177         (y1): Likewise.
74178         * math/w_j1f.c (j1f): Likewise.
74179         (y1f): Likewise.
74180         * math/w_j1l.c (__j1l): Likewise.
74181         (__y1l): Likewise.
74182         * math/w_jn.c (jn): Likewise.
74183         (yn): Likewise.
74184         * math/w_jnf.c (jnf): Likewise.
74185         (ynf): Likewise.
74186         * math/w_jnl.c (__jnl): Likewise.
74187         (__ynl): Likewise.
74188         * math/libm-test.inc (j0_test): Add more tests.
74189         (j1_test): Likewise.
74190         (jn_test): Likewise.  Add trailing semicolon to existing test.
74191         (y0_test): Likewise.
74192         (y1_test): Likewise.
74193         * sysdeps/i386/fpu/libm-test-ulps: Update.
74194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74196         [BZ #13851]
74197         [BZ #13854]
74198         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
74199         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
74200         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
74201         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
74202         (__tanl): Set errno for infinite argument.
74203         * sysdeps/i386/fpu/mptan.c: Remove.
74204         * sysdeps/i386/fpu/s_tan.S: Likewise.
74205         * sysdeps/i386/fpu/s_tanl.S: Likewise.
74206         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
74207         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
74208         * math/libm-test.inc (tan_test): Add more tests and enable more
74209         tests for double and long double.
74210         * sysdeps/i386/fpu/libm-test-ulps: Update.
74211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74213 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
74215         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
74216         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
74218 2012-03-16  Roland McGrath  <roland@hack.frob.com>
74220         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
74221         * configure.in: Use it for both main tree and add-ons.
74222         * configure: Regenerated.
74224 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
74226         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
74228 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
74230         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
74231         in comment.
74233         [BZ #13851]
74234         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
74235         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
74236         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
74237         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
74238         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
74239         infinite argument.
74240         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
74241         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
74242         != 0 for prec == 2.
74243         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
74244         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
74245         * sysdeps/i386/fpu/s_cosl.S: Likewise.
74246         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
74247         * sysdeps/i386/fpu/s_sinl.S: Likewise.
74248         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
74249         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
74250         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
74251         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
74252         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
74253         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
74254         * math/libm-test.inc (cos_test): Add more tests and enable more
74255         tests for long double.
74256         (sin_test): Likewise.
74257         (sincos_test): Likewise.
74258         * sysdeps/i386/fpu/libm-test-ulps: Update.
74259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74261 2012-03-16  David S. Miller  <davem@davemloft.net>
74263         * sysdeps/sparc/fpu/math_private.h: New file.
74265 2012-03-15  David S. Miller  <davem@davemloft.net>
74267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
74268         file.
74269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
74270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
74271         file.
74272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
74273         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
74274         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
74275         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
74276         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
74277         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
74278         sysdep routines.
74279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
74281         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
74282         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
74284         * sysdeps/sparc/sparc-ifunc.h: New file.
74285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
74286         sparc-ifunc.h
74287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
74288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
74289         Likewise.
74290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
74291         Likewise.
74292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
74293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
74294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
74295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
74296         Likewise.
74297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
74298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
74299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
74300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
74301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
74302         Likewise.
74303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
74304         Likewise.
74305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
74306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
74307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
74308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
74309         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
74310         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
74311         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
74312         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
74313         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
74314         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
74315         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
74316         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
74317         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
74318         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
74319         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
74320         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
74321         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
74322         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
74323         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
74324         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
74325         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
74326         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
74327         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
74328         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
74330 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
74332         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
74333         scaling.
74334         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74336 2012-03-15  Andreas Jaeger  <aj@suse.de>
74338         [BZ #13852]
74339         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
74340         ieee754/flt-32 implementation for sin, cos and sincos.
74341         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
74342         * sysdeps/i386/fpu/s_cosf.S: Likewise.
74343         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
74344         * sysdeps/i386/fpu/s_sinf.S: Likewise.
74345         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
74346         ieee754/flt-32 implementation for tan.
74348         * math/libm-test.inc (cos_test): Enable some large input tests for
74349         float as well
74350         (sin_test): Likewise.
74351         (sincos_test): Likewise.
74352         (tan_test): Add tests for large input.
74354         * sysdeps/i386/fpu/libm-test-ulps: Update.
74356 2012-03-15  Andreas Jaeger  <aj@suse.de>
74358         [BZ #13658]
74359         * math/libm-test.inc (cos_test): Add more test cases.
74360         (sin_test): Likewise.
74361         (sincos_test): Likewise.
74363 2012-03-15  Andreas Jaeger  <aj@suse.de>
74365         [BZ #13837]
74366         * math/libm-test.inc (cos_test): Add a test case for large input
74367         value.
74368         (sin_test): Likewise.
74369         (sincos_test): Likewise.
74371 2012-03-15  Andreas Jaeger  <aj@suse.de>
74372             Joseph Myers  <joseph@codesourcery.com>
74374         [BZ #13658]
74375         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
74376         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
74377         * sysdeps/i386/fpu/branred.c: Likewise.
74378         * sysdeps/i386/fpu/dosincos.c: Likewise.
74379         * sysdeps/i386/fpu/mpa.c: Likewise.
74380         * sysdeps/i386/fpu/s_cos.S: Likewise.
74381         * sysdeps/i386/fpu/s_sin.S: Likewise.
74382         * sysdeps/i386/fpu/s_sincos.S: Likewise.
74383         * sysdeps/i386/fpu/sincos32.c: Likewise.
74385         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
74386         Define.
74387         (libc_feupdateenv_53bit): Define.
74388         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
74389         Define.
74390         (libc_feupdateenv_53bit): Define.
74392         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
74393         53 bit (without extend i386 double precision).
74395         * math/libm-test.inc (sincos_test): Add tests for large input.
74396         (sin): Likewise.
74397         (cos): Likewise.
74399         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
74401 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
74403         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74405 2012-03-15  David S. Miller  <davem@davemloft.net>
74407         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
74408         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
74409         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
74410         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
74411         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
74412         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
74413         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
74414         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
74415         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
74416         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
74417         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
74418         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
74419         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
74420         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
74421         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
74422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
74423         file.
74424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
74425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
74426         file.
74427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
74428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
74429         file.
74430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
74431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
74432         file.
74433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
74434         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
74435         fmin/fmax sysdep routines.
74436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
74438 2012-03-14  David S. Miller  <davem@davemloft.net>
74440         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
74441         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
74442         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
74443         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
74444         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
74445         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
74446         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
74447         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
74448         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
74449         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
74450         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
74451         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
74452         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
74453         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
74454         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
74455         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
74456         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
74457         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
74458         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
74459         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
74460         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
74461         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
74462         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
74463         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
74464         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
74465         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
74466         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
74467         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
74468         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
74469         routines.
74470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
74471         file.
74472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
74473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
74474         file.
74475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
74476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
74477         file.
74478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
74479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
74480         file.
74481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
74482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
74483         file.
74484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
74485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
74486         file.
74487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
74488         file.
74489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
74490         file.
74491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
74492         file.
74493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
74494         New file.
74495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
74496         file.
74497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
74498         file.
74499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
74500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
74501         file.
74502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
74503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
74504         file.
74505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
74506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
74507         file.
74508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
74509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
74510         VIS3 routines.
74512         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
74513         New file.
74515         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74517         * sysdeps/sparc/configure.in: New file.
74518         * sysdeps/sparc/configure: Generate.
74519         * configure.in (libc_cv_sparc_as_vis3): Substitute.
74520         * configure: Regenerate.
74521         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
74522         * config.make.in (have-as-vis3): New.
74523         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
74524         available use -Av9d instead of -Av9a.
74525         * sysdeps/sparc/sparc64/Makefile: Likewise.
74526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
74527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
74528         New file.
74529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
74530         file.
74531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
74532         New file.
74533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
74534         file.
74535         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
74536         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
74537         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
74538         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
74539         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
74541         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
74542         fzeros/fnegs to load 0x80000000 into a float register instead of
74543         using the stack.
74544         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
74546 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
74548         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74549         bits/syscall.h.
74550         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
74551         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
74552         ($(inst_includedir)/bits/syscall.h): Remove rule.
74553         ($(objpfx)bits/syscall.d): Include instead of
74554         $(objpfx)syscall-list.d.
74555         (generated): Change syscall-list.h and syscall-list.d to
74556         bits/syscall.h and bits/syscall.d.
74558 2012-03-14  Roland McGrath  <roland@hack.frob.com>
74560         [BZ #13846]
74561         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
74563 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
74565         [BZ #13841]
74566         * math/s_csqrt.c: Include <float.h>.
74567         (__csqrt): Scale large or subnormal inputs.
74568         * math/s_csqrtf.c: Likewise.
74569         * math/s_csqrtl.c: Likewise.
74570         * math/libm-test.inc (csqrt_test): Add more tests.
74571         * sysdeps/i386/fpu/libm-test-ulps: Update.
74572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74574         [BZ #13840]
74575         * math/libm-test.inc (hypot_test): Add more tests.
74577 2012-03-13  David S. Miller  <davem@davemloft.net>
74579         [BZ #13840]
74580         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
74581         double-precision for the calculation instead of scaling.
74583 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
74585         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
74586         manipulate bits before adding and subtracting TWO52[sx].
74587         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
74588         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
74589         Likewise.
74590         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
74592 2012-03-13  David S. Miller  <davem@davemloft.net>
74594         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
74595         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
74596         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
74597         rtld-global-offsets.h
74598         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
74600         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
74601         large parameters.
74603         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
74605         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
74606         'err' in the ifdef scope in which it is actually used.
74608         * nss/nss_db/db-init.c: Include string.h
74610 2012-03-12  David S. Miller  <davem@davemloft.net>
74612         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
74613         masking out of the most significant byte of random value used.
74614         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
74615         Fix coding style in previous change.
74617         * sysdeps/unix/sysv/linux/kernel-features.h
74618         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
74619         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
74620         expression.
74621         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
74622         later.
74624 2012-03-11  David S. Miller  <davem@davemloft.net>
74626         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
74627         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
74628         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
74629         for 'resultvar' otherwise things get truncated on 64-bit.
74631         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
74632         Fix masking out of the most significant byte of random value used.
74634         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74636 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
74638         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74640 2012-03-09  David S. Miller  <davem@davemloft.net>
74642         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
74643         variables with appropriate CPP guards.
74644         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
74645         from the frame pointer, not the stack pointer.  Correct layout
74646         comments.  Fix test on resulting framesize and the management of
74647         the outregs buffer for pltexit.  Preserve floating point return
74648         values across _dl_call_pltexit call.
74649         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
74650         framesize and the management of the outregs buffer for pltexit.
74651         Preserve floating point return values across _dl_call_pltexit
74652         call.
74653         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
74654         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
74655         (la_sparc64_gnu_pltexit): New functions.
74656         (print_exit): Fix format string for return register value.
74658 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
74660         * sunrpc/Makefile (others): Add rpcgen.
74661         ($(objpfx)rpcgen): Remove special build rule and dependency on
74662         libc.
74663         * sunrpc/rpcgen.c: New file.
74665 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
74667         [BZ #13673]
74668         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
74669         * stdio-common/bug-vfprintf-nargs.c: Likewise.
74670         * sysdeps/i386/crti.S: Likewise.
74671         * sysdeps/i386/crtn.S: Likewise.
74672         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
74673         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
74674         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
74675         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
74676         * sysdeps/sh/crti.S: Likewise.
74677         * sysdeps/sh/crtn.S: Likewise.
74678         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
74680         [BZ #13673]
74681         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
74682         with URL.
74683         * locale/programs/locfile-kw.gperf: Likewise.
74684         * locale/programs/charmap-kw.h: Regenerated.
74685         * locale/programs/locfile-kw.h: Likewise.
74687         [BZ #13673]
74688         * intl/plural.y: Replace FSF snail mail address with URL.
74689         * intl/plural.c: Regenerated.
74691 2012-03-09  Richard Henderson  <rth@twiddle.net>
74693         * include/math_private.h: Remove file.
74694         * math/math_private.h: Move file ...
74695         * sysdeps/generic/math_private.h: ... here.
74697         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
74698         * sysdeps/powerpc/fpu/math_private.h: Likewise.
74699         * sysdeps/x86_64/fpu/math_private.h: Likewise.
74701         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
74702         and <math_private.h>.
74703         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
74704         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
74705         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
74706         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
74707         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
74708         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
74709         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
74710         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74711         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
74712         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
74713         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74714         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
74715         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
74716         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74717         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
74718         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
74719         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
74720         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
74721         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
74722         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
74723         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74724         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
74725         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
74726         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74727         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
74728         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
74729         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
74730         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
74731         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74732         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
74733         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
74734         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74735         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
74736         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
74737         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
74738         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
74739         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
74740         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
74741         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
74742         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74743         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
74744         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
74745         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
74746         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
74747         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
74748         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
74749         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
74750         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
74751         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
74752         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
74753         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
74754         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
74755         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
74756         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
74757         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
74758         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
74759         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
74760         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
74761         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
74762         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
74763         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
74764         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
74765         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74766         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
74767         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
74768         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
74769         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
74770         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
74771         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
74772         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
74773         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
74774         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
74775         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
74776         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
74777         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
74778         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
74779         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
74780         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
74781         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
74782         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
74783         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
74784         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
74785         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
74786         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
74787         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
74788         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
74789         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
74790         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
74791         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
74792         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
74793         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
74794         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
74795         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74796         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
74797         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
74798         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
74799         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
74800         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
74801         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
74802         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
74803         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
74804         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
74805         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
74806         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
74807         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
74808         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
74809         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
74810         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
74811         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
74812         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
74813         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
74814         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
74815         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
74816         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
74817         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
74818         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
74819         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
74820         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
74821         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
74822         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
74823         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
74824         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
74825         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
74826         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
74827         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
74828         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
74829         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
74830         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
74831         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
74832         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
74833         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
74834         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
74835         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
74836         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
74837         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
74838         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
74839         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
74840         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
74841         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
74842         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
74843         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
74844         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
74845         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
74846         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
74847         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
74848         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
74849         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
74850         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
74851         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
74852         * sysdeps/ieee754/k_standard.c: Likewise.
74853         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
74854         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
74855         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
74856         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
74857         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
74858         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
74859         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
74860         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
74861         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
74862         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
74863         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
74864         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
74865         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
74866         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
74867         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
74868         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
74869         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
74870         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
74871         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
74872         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
74873         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
74874         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
74875         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
74876         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
74877         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
74878         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
74879         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
74880         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
74881         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
74882         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
74883         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
74884         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
74885         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
74886         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
74887         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
74888         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
74889         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
74890         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
74891         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
74892         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
74893         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
74894         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
74895         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
74896         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
74897         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
74898         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
74899         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
74900         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
74901         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
74902         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
74903         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
74904         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
74905         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
74906         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
74907         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
74908         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
74909         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
74910         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
74911         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
74912         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
74913         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
74914         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
74915         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
74916         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
74917         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
74918         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
74919         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
74920         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
74921         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
74922         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
74923         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
74924         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
74925         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
74926         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
74927         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
74928         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
74929         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
74930         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
74931         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
74932         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
74933         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
74934         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
74935         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
74936         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
74937         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
74938         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
74939         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
74940         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
74941         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
74942         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
74943         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
74944         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
74945         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
74946         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
74947         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
74948         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
74949         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
74950         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
74951         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
74952         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
74953         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
74954         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
74955         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
74956         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
74957         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
74958         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
74959         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
74960         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
74961         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
74962         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
74963         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
74964         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
74965         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
74966         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
74967         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
74968         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
74969         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
74970         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
74971         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
74972         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
74973         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
74974         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
74975         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
74976         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
74977         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
74978         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
74979         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
74980         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
74981         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
74982         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
74983         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
74984         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
74985         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
74986         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
74987         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
74988         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
74989         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
74990         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
74991         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
74992         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
74993         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
74994         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
74995         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
74996         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
74997         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
74998         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
74999         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
75000         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
75001         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
75002         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
75003         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
75004         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
75005         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
75006         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
75007         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
75008         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
75009         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
75010         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
75011         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
75012         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
75013         * sysdeps/ieee754/s_lib_version.c: Likewise.
75014         * sysdeps/ieee754/s_matherr.c: Likewise.
75015         * sysdeps/ieee754/s_signgam.c: Likewise.
75016         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
75017         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
75018         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
75019         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
75020         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
75021         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
75022         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
75023         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
75024         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
75025         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
75026         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
75027         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
75028         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
75029         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
75030         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
75031         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
75032         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
75033         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
75034         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
75035         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
75036         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
75038 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
75040         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
75041         * sunrpc/rpc_main.c: Likewise.
75042         * sunrpc/rpc_svcout.c: Likewise.
75044 2012-03-09  David S. Miller  <davem@davemloft.net>
75046         * include/math_private.h: New file.
75048 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
75050         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
75051         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
75052         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
75053         from <bits/socket_type.h>.
75054         (enum __socket_type): Don't define here.
75055         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
75056         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75057         bits/socket_type.h.
75059         [BZ #13566]
75060         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
75061         checking __USE_GNU.
75063         * Makerules ($(inst_includedir)/%.h): New rule.
75064         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
75065         (install-others): Remove variable setting.
75066         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
75068 2012-03-08  Richard Henderson  <rth@twiddle.net>
75070         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
75071         from macro to inline function; merge with the
75072         !__LIBC_INTERNAL_MATH_INLINES version.
75073         (__ieee754_sqrtf): Likewise.
75075         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
75076         to inline function.
75077         (__rintf, __floor, __floorf): Likewise.
75079         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
75080         macro to inline function.
75081         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
75083         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
75084         not <math/math_private.h>.
75086 2012-03-08  David S. Miller  <davem@davemloft.net>
75088         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
75089         copyright year.
75090         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
75092 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
75094         * resolv/gai_misc.c (handle_requests): Fix struct timespec
75095         normalization.
75096         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
75097         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
75099 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
75101         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
75102         be defined individually, they must be defined as a block.  Define
75103         S for printing a string instead of hidint the different by using a
75104         macro for adding the 'l'.
75105         * stdio-common/tst-fphex-wide.c: Adjust.
75107 2012-03-07  Marek Polacek  <polacek@redhat.com>
75109         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
75111 2012-03-08  Marek Polacek  <polacek@redhat.com>
75113         [BZ #13806]
75114         * stdio-common/Makefile (tests): Add tst-fphex-wide.
75115         * stdio-common/tst-fphex.c: Define a few macros to make the
75116         test reusable.  Use them.
75117         * stdio-common/tst-fphex-wide.c: New file.
75119 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
75121         [BZ #6911]
75122         * manual/macros.texi (gnusystems): New macro.
75123         (nongnusystems): Likewise.
75124         (gnulinuxhurdsystems): Likewise.
75125         (gnuhurdsystems): Likewise..
75126         (gnulinuxsystems): Likewise.
75127         * manual/charset.texi: Use new macros or @theglibc{} to refer to
75128         variants of the GNU system, not "GNU system".
75129         * manual/conf.texi: Likewise.
75130         * manual/errno.texi: Likewise.  Update example of errno macro
75131         expansion.
75132         * manual/filesys.texi: Likewise.
75133         (getumask): Document as specific to GNU/Hurd.
75134         * manual/install.texi: Likewise.  Reword some references to
75135         GNU/Linux.
75136         * manual/intro.texi: Likewise.
75137         * manual/io.texi: Likewise.
75138         (File Name Portability): Detail which constraints are inapplicable
75139         to all GNU systems and which are only inapplicable to GNU/Hurd.
75140         * manual/job.texi: Likewise.
75141         * manual/llio.texi: Likewise.
75142         (O_NOCTTY): Document as present on GNU/Linux.
75143         * manual/maint.texi: Likewise.
75144         * manual/memory.texi: Likewise.
75145         * manual/pattern.texi: Likewise.
75146         * manual/pipe.texi: Likewise.
75147         * manual/process.texi: Likewise.
75148         * manual/resource.texi: Likewise.
75149         (RUSAGE_CHILDREN): Remove statement about specifying a particular
75150         child on GNU/Hurd.
75151         * manual/setjmp.texi: Likewise.
75152         * manual/signal.texi: Likewise.
75153         * manual/startup.texi: Likewise.
75154         * manual/stdio.texi: Likewise.
75155         * manual/terminal.texi: Likewise.
75156         (ONLCR): Document as POSIX.
75157         (OXTABS): Document availability on GNU/Linux as XTABS.
75158         (ONOEOT): Document availability separately from other bits.
75159         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
75160         * manual/time.texi: Likewise.
75161         * manual/users.texi: Likewise.
75162         * INSTALL: Regenerated.
75163         * sysdeps/gnu/errlist.c: Regenerated.
75165         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
75166         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
75167         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
75168         puts.
75169         * configure: Regenerated.
75171 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
75173         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
75174         default includes instead of AC_HEADER_CHECK.
75175         * sysdeps/i386/configure: Regenerated.
75177         [BZ #10716]
75178         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
75179         * math/s_cacoshf.c (__cacoshf): Likewise.
75180         * math/s_cacoshl.c (__cacoshl): Likewise.
75181         * math/s_casinh.c (__casinh): Set signs of result from argument.
75182         * math/s_casinhf.c (__casinhf): Likewise.
75183         * math/s_casinhl.c (__casinhl): Likewise.
75184         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
75185         (casinh_test): Add more tests.
75186         * sysdeps/i386/fpu/libm-test-ulps: Update.
75187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75189 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
75191         * po/zh_TW.po: Update from translation team.
75193         * login/Makefile (distribute): Remove variable.
75194         * catgets/Makefile: Likewise.
75195         * mach/Makefile: Likewise.
75196         * malloc/Makefile: Likewise.
75197         * misc/Makefile: Likewise.
75198         * iconv/Makefile: Likewise.
75199         * nscd/Makefile: Likewise.
75200         * hurd/Makefile: Likewise.
75201         * manual/Makefile: Likewise.
75202         * locale/Makefile: Likewise.
75203         * intl/Makefile: Likewise.
75204         * conform/Makefile: Likewise.
75205         * nss/Makefile: Likewise.
75206         * time/Makefile: Likewise.
75207         * soft-fp/Makefile: Likewise.
75208         * dirent/Makefile: Likewise.
75209         * gmon/Makefile: Likewise.
75210         * po/Makefile: Likewise.
75211         * rt/Makefile: Likewise.
75212         * socket/Makefile: Likewise.
75213         * math/Makefile: Likewise.
75214         * signal/Makefile: Likewise.
75215         * debug/Makefile: Likewise.
75216         * elf/Makefile: Likewise.
75217         * timezone/Makefile: Likewise.
75218         * stdlib/Makefile: Likewise.
75219         * iconvdata/Makefile: Likewise.
75220         * sunrpc/Makefile: Likewise.
75221         * io/Makefile: Likewise.
75222         * argp/Makefile: Likewise.
75223         * inet/Makefile: Likewise.
75224         * hesiod/Makefile: Likewise.
75225         * grp/Makefile: Likewise.
75226         * csu/Makefile: Likewise.
75227         * wctype/Makefile: Likewise.
75228         * crypt/Makefile: Likewise.
75229         * libio/Makefile: Likewise.
75230         * string/Makefile: Likewise.
75231         * nis/Makefile: Likewise.
75232         * resolv/Makefile: Likewise.
75233         * stdio-common/Makefile: Likewise.
75234         * wcsmbs/Makefile: Likewise.
75235         * dlfcn/Makefile: Likewise.
75236         * posix/Makefile: Likewise.
75238         [BZ #6959]
75239         * timezone/Makefile: Don't install timezone files, just the programs
75240         and scripts.
75242 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
75244         * nss/databases.def: Add missing gshadow entry.
75246         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
75248 2012-03-06  Marek Polacek  <polacek@redhat.com>
75250         [BZ #13726]
75251         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
75252         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
75253         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
75254         * stdio-common/tst-long-dbl-fphex.c: New file.
75256 2012-03-06  David S. Miller  <davem@davemloft.net>
75258         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75259         (set_obp_int): New function.
75260         (get_obp_int): New function.
75261         (__get_clockfreq_via_dev_openprom): Likewise.
75262         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
75263         Avoid unused variable warnings on 'val' and use builtin_expect.
75264         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
75265         __builtin_expect.
75266         (INLINE_CLONE_SYSCALL): Likewise.
75268 2012-03-05  David S. Miller  <davem@davemloft.net>
75270         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75272 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
75274         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75276         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
75277         only for |x| >= 40.
75278         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
75280 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
75282         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
75283         Replace gettimeofday with __vdso_gettimeofday.
75285         * sysdeps/unix/sysv/linux/x86_64/init-first.c
75286         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
75287         __vdso_clock_gettime and __vdso_getcpu.
75289         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
75290         time with __vdso_time.
75292 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
75294         * manual/lang.texi (size_t): Note types to which size_t may be
75295         equivalent with the GNU C Library, but do not describe when
75296         differences between them are significant.
75298 2012-03-05  Andreas Jaeger  <aj@suse.de>
75300         * sysdeps/i386/fpu/libm-test-ulps: Update.
75302 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
75304         [BZ #3976]
75305         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
75306         (__ieee754_pow): Save and restore rounding mode and use
75307         round-to-nearest for main computations.
75308         * math/libm-test.inc (pow_test_tonearest): New function.
75309         (pow_test_towardzero): Likewise.
75310         (pow_test_downward): Likewise.
75311         (pow_test_upward): Likewise.
75312         (main): Call the new functions.
75313         * sysdeps/i386/fpu/libm-test-ulps: Update.
75314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75316         [BZ #3976]
75317         * math/libm-test.inc (cosh_test_tonearest): New function.
75318         (cosh_test_towardzero): Likewise.
75319         (cosh_test_downward): Likewise.
75320         (cosh_test_upward): Likewise.
75321         (sinh_test_tonearest): Likewise.
75322         (sinh_test_towardzero): Likewise.
75323         (sinh_test_downward): Likewise.
75324         (sinh_test_upward): Likewise.
75325         (main): Call the new functions.
75326         * sysdeps/i386/fpu/libm-test-ulps: Update.
75327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75329 2012-03-05  Tom de Vries  <tom@codesourcery.com>
75331         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
75332         default stack guard is set in last bytes.
75333         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
75335 2012-03-05  Kees Cook  <keescook@chromium.org>
75337         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
75339         [BZ #13656]
75340         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
75341         possibly allocate from heap instead of stack.
75342         * stdio-common/bug-vfprintf-nargs.c: New file.
75343         * stdio-common/Makefile (tests): Add nargs overflow test.
75345 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
75347         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75349 2012-03-03  Marek Polacek  <polacek@redhat.com>
75351         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
75352         * math/math_private.h: Likewise.
75353         * stdlib/tst-strtod.c: Likewise.
75354         * sysdeps/i386/i486/bits/atomic.h: Likewise.
75355         * sysdeps/x86_64/bits/atomic.h: Likewise.
75357 2012-03-02  David S. Miller  <davem@davemloft.net>
75359         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
75360         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
75361         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
75362         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
75363         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
75364         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
75365         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
75366         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
75368 2012-03-02  Roland McGrath  <roland@hack.frob.com>
75370         [BZ #13792]
75371         * manual/examples/README: New file, says the example source files
75372         can be used under GPL>=2.
75373         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
75374         line containing just "*/".
75375         * manual/examples/add.c: Add copyright header (GPL>=2).
75376         * manual/examples/argp-ex1.c: Likewise.
75377         * manual/examples/argp-ex2.c: Likewise.
75378         * manual/examples/argp-ex3.c: Likewise.
75379         * manual/examples/argp-ex4.c: Likewise.
75380         * manual/examples/atexit.c: Likewise.
75381         * manual/examples/db.c: Likewise.
75382         * manual/examples/dir.c: Likewise.
75383         * manual/examples/dir2.c: Likewise.
75384         * manual/examples/execinfo.c: Likewise.
75385         * manual/examples/filecli.c: Likewise.
75386         * manual/examples/filesrv.c: Likewise.
75387         * manual/examples/fmtmsgexpl.c: Likewise.
75388         * manual/examples/genpass.c: Likewise.
75389         * manual/examples/inetcli.c: Likewise.
75390         * manual/examples/inetsrv.c: Likewise.
75391         * manual/examples/isockad.c: Likewise.
75392         * manual/examples/longopt.c: Likewise.
75393         * manual/examples/memopen.c: Likewise.
75394         * manual/examples/memstrm.c: Likewise.
75395         * manual/examples/mkfsock.c: Likewise.
75396         * manual/examples/mkisock.c: Likewise.
75397         * manual/examples/mygetpass.c: Likewise.
75398         * manual/examples/pipe.c: Likewise.
75399         * manual/examples/popen.c: Likewise.
75400         * manual/examples/rprintf.c: Likewise.
75401         * manual/examples/search.c: Likewise.
75402         * manual/examples/select.c: Likewise.
75403         * manual/examples/setjmp.c: Likewise.
75404         * manual/examples/sigh1.c: Likewise.
75405         * manual/examples/sigusr.c: Likewise.
75406         * manual/examples/stpcpy.c: Likewise.
75407         * manual/examples/strdupa.c: Likewise.
75408         * manual/examples/strftim.c: Likewise.
75409         * manual/examples/strncat.c: Likewise.
75410         * manual/examples/subopt.c: Likewise.
75411         * manual/examples/swapcontext.c: Likewise.
75412         * manual/examples/termios.c: Likewise.
75413         * manual/examples/testopt.c: Likewise.
75414         * manual/examples/testpass.c: Likewise.
75415         * manual/examples/timeval_subtract.c: Likewise.
75417         [BZ #13792]
75418         * manual/time.texi (Elapsed Time): Move timeval_subtract example
75419         function to ...
75420         * manual/timeval_subtract.c.texi: ... here, new file.
75422 2012-03-02  David S. Miller  <davem@davemloft.net>
75424         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
75426 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
75428         [BZ #3976]
75429         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
75430         (__sin): Save and restore rounding mode and use round-to-nearest
75431         for all computations.
75432         (__cos): Save and restore rounding mode and use round-to-nearest
75433         for all computations.
75434         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
75435         <fenv.h>.
75436         (tan): Save and restore rounding mode and use round-to-nearest for
75437         all computations.
75438         * math/libm-test.inc (cos_test_tonearest): New function.
75439         (cos_test_towardzero): Likewise.
75440         (cos_test_downward): Likewise.
75441         (cos_test_upward): Likewise.
75442         (sin_test_tonearest): Likewise.
75443         (sin_test_towardzero): Likewise.
75444         (sin_test_downward): Likewise.
75445         (sin_test_upward): Likewise.
75446         (tan_test_tonearest): Likewise.
75447         (tan_test_towardzero): Likewise.
75448         (tan_test_downward): Likewise.
75449         (tan_test_upward): Likewise.
75450         (main): Call the new functions.
75451         * sysdeps/i386/fpu/libm-test-ulps: Update.
75452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75454         [BZ #10135]
75455         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
75456         small n, then large n, before computing and testing k+n.
75457         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
75458         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
75459         Likewise.
75460         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
75461         Likewise.
75462         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
75463         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
75464         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
75465         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
75466         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
75467         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
75468         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
75469         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
75470         * math/libm-test.inc (scalbn_test): Add more tests.
75471         (scalbln_test): Likewise.
75473         * manual/filesys.texi (mode_t): Describe constraints on size and
75474         signedness, not exact equivalence to a particular type.
75475         (ino_t): Likewise.
75476         (ino64_t): Likewise.
75477         (dev_t): Likewise.
75478         (nlink_t): Likewise.
75479         (blkcnt_t): Likewise.
75480         (blkcnt64_t): Likewise.
75481         * manual/llio.texi (off_t): Likewise.
75483         [BZ #3976]
75484         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
75485         (__ieee754_exp): Save and restore rounding mode and use
75486         round-to-nearest for all computations.
75487         * math/libm-test.inc (exp_test_tonearest): New function.
75488         (exp_test_towardzero): Likewise.
75489         (exp_test_downward): Likewise.
75490         (exp_test_upward): Likewise.
75491         (main): Call the new functions.
75492         * sysdeps/i386/fpu/libm-test-ulps: Update.
75493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75495 2012-03-01  Chris Demetriou  <cgd@google.com>
75497         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
75498         have predictable order.
75500 2012-03-01  David S. Miller  <davem@davemloft.net>
75502         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
75504         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
75505         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
75506         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
75507         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
75509         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
75510         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
75511         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
75512         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
75513         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
75514         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
75515         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
75516         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
75517         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
75519         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75521         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
75522         * sysdeps/sparc/fpu/libm-test-ulps: to here.
75523         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
75525         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
75526         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
75527         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
75528         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
75529         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
75530         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
75531         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
75532         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
75533         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
75534         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
75535         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
75536         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
75537         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
75538         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
75539         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
75540         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
75541         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
75542         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
75543         * sysdeps/sparc/elf/configure: Regenerated.
75545 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
75547         * configure.in (AS, LD): Require binutils 2.20 or later.
75548         * configure: Regenerated.
75549         * manual/install.texi (Tools for Compilation): Give binutils 2.20
75550         as required minimum version.
75551         * INSTALL: Regenerated.
75553         [BZ #2541]
75554         [BZ #4108]
75555         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
75556         before squaring exponent.
75557         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
75558         bottom long double and 27 bits of top long double before squaring
75559         exponent.
75560         * math/libm-test.inc (erfc_test): Add more tests.
75561         * sysdeps/i386/fpu/libm-test-ulps: Update.
75562         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
75563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75565 2012-03-01  Kai Tietz  <ktietz@redhat.com>
75567         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
75568         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
75569         containing bit-fields.
75570         * soft-fp/extended.h (_FP_UNION_E): Likewise.
75571         * soft-fp/single.h (_FP_UNION_S): Likewise.
75572         * soft-fp/double.h (_FP_UNION_D): Likewise.
75574 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
75576         [BZ #13786]
75577         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
75578         not include ../strcmp.S.
75579         [USE_AS_STRNCASECMP_L]: Likewise.
75580         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
75581         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
75582         * sysdeps/i386/i686/multiarch/strncase_l-c.c
75583         (__strncasecmp_l_ia32): Define as alias to
75584         __strncasecmp_l_nonascii.
75586         [BZ #5794]
75587         * math/libm-test.inc (expm1_test): Add test for bug 5794.
75588         * sysdeps/i386/fpu/libm-test-ulps: Update.
75589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75591         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
75592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75594 2012-02-29  Jeff Law  <law@redhat.com>
75596         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
75597         out of bounds read.
75599 2012-02-29  Marek Polacek  <polacek@redhat.com>
75601         [BZ #13706]
75602         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
75603         * elf/Makefile: Add rules to run tst-unused-dep.out.
75605 2012-02-28  David S. Miller  <davem@davemloft.net>
75607         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
75608         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
75609         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
75610         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
75611         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
75612         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
75614 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
75616         * math/libm-test.inc (llround_test): Move one test from
75617         lround_test.  Use TEST_f_L in moved test.
75618         (lround_test): Move misplaced test to llround_test.  Add testcase
75619         from bug 2561.
75621 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
75623         * sysdeps/x86_64/fpu/e_expf.S: New file.
75624         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
75626 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
75628         [BZ #13637]
75629         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
75630         of remain_len that may cause incomplete multi-byte character and
75631         false match.
75632         * posix/bug-regex33.c: New file.
75633         * posix/Makefile (tests): Add bug-regex33.
75635 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
75637         * manual/macros.texi: New file.
75638         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
75639         * manual/libc.texinfo: Include macros.texi.
75640         * manual/creatute.texi: Likewise.
75641         * manual/install.texi: Likewise.
75642         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
75643         @glibcadj{} in references to the GNU C Library.
75644         * manual/charset.texi: Likewise.
75645         * manual/conf.texi: Likewise.
75646         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
75647         when not using those macros.
75648         * manual/creature.texi: Likewise.
75649         * manual/crypt.texi: Likewise.
75650         * manual/errno.texi: Likewise.
75651         * manual/filesys.texi: Likewise.
75652         * manual/header.texi: Likewise.
75653         * manual/install.texi: Likewise.
75654         * manual/intro.texi: Likewise.
75655         * manual/io.texi: Likewise.
75656         * manual/job.texi: Likewise.
75657         * manual/lang.texi: Likewise.
75658         * manual/libc.texiinfo: Likewise.
75659         * manual/llio.texi: Likewise.
75660         * manual/locale.texi: Likewise.
75661         * manual/maint.texi: Likewise.
75662         * manual/math.texi: Likewise.
75663         * manual/memory.texi: Likewise.
75664         * manual/message.texi: Likewise.
75665         * manual/nss.texi: Likewise.
75666         * manual/pattern.texi: Likewise.
75667         * manual/process.texi: Likewise.
75668         * manual/resource.texi: Likewise.
75669         * manual/search.texi: Likewise.
75670         * manual/setjmp.texi: Likewise.
75671         * manual/signal.texi: Likewise.
75672         * manual/socket.texi: Likewise.
75673         * manual/startup.texi: Likewise.
75674         * manual/stdio.texi: Likewise.
75675         * manual/string.texi: Likewise.
75676         * manual/sysinfo.texi: Likewise.
75677         * manual/syslog.texi: Likewise.
75678         * manual/terminal.texi: Likewise.
75679         * manual/time.texi: Likewise.
75680         * manual/users.texi: Likewise.
75681         * INSTALL: Regenerated.
75682         * NOTES: Regenerated.
75683         * sysdeps/gnu/errlist.c: Regenerated.
75685 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
75687         * include/dirent.h: Include <dirstream.h> before
75688         <dirent/dirent.h>.
75690 2012-02-28  David S. Miller  <davem@davemloft.net>
75692         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
75693         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
75694         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
75695         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
75697 2012-02-27  David S. Miller  <davem@davemloft.net>
75699         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
75700         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
75701         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
75702         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
75704         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
75705         frame pointer instead of stack pointer relative arg slot.
75706         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
75707         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
75708         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
75710 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
75712         [BZ #3992]
75713         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
75715 2012-02-27  David S. Miller  <davem@davemloft.net>
75717         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
75718         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
75719         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
75720         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
75721         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
75722         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
75723         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
75724         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
75726 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
75728         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
75729         later.  Allow versions 5-9.
75730         * configure: Regenerated.
75731         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
75732         required minimum version and 4.6 as recommended version.  Do not
75733         mention bugs in GCC 2.7 and 2.8.
75734         * INSTALL: Regenerated.
75736 2012-02-27  David S. Miller  <davem@davemloft.net>
75738         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
75739         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
75740         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
75741         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
75742         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
75743         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
75744         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
75745         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
75747         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
75748         manipulate bits before adding and subtracting TWO112[sx].
75749         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
75751 2012-02-27  Roland McGrath  <roland@hack.frob.com>
75753         [BZ #13775]
75754         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
75755         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
75756         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
75757         being in POSIX, because they are in 1003.1-2008.
75759         * rt/tst-aio.c: Include <fcntl.h>.
75760         * rt/tst-aio7.c: Likewise.
75761         * rt/tst-aio64.c: Likewise.
75763         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
75765 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
75767         * manual/install.texi (--with-headers): Describe headers as
75768         interface headers, not private headers.
75769         (Specific advice for GNU/Linux systems): Describe use of headers
75770         from "make headers_install", not private headers from older
75771         kernels.
75772         * INSTALL: Regenerated.
75773         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
75774         Change to 2.6.19.
75775         * sysdeps/unix/sysv/linux/configure: Regenerated.
75777         * manual/llio.texi (fclean): Remove documentation.
75779         * manual/Makefile (libc-texi-generated): New variable.  Include
75780         version.texi.
75781         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
75782         $(libc-texi-generated), not duplicated list of files.
75783         (version.texi, stamp-version): New rules.
75784         (realclean): Remove $(libc-texi-generated), not individual files
75785         from that list.  Do not remove dir-add.texinfo.
75786         * manual/libc.texinfo: Comment out uses of edition numbers and
75787         references to printed manual.  Remove last-updated dates.
75788         (EDITION): Comment out.
75789         (ISBN): Likewise.
75790         (VERSION, UPDATED): Remove.
75791         (version.texi): Include.
75793 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
75795         * sysdeps/posix/spawni.c: Include <signal.h>.
75796         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
75797         * sysdeps/pthread/aio_fsync.c: Likewise.
75799 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
75801         * conform/Makefile (tests): Run only when not cross-compiling and
75802         when fast-check is not defined.
75804         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
75805         * conform/data/limits.h-data: Fixes for POSIX2008.
75806         * conform/run-conformtest.sh: Run all tests.
75807         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
75808         headers.
75809         * include/bits/dlfcn.h: Likewise.
75810         * include/langinfo.h: Likewise.
75811         * include/monetary.h: Likewise.
75812         * include/sys/poll.h: Likewise.
75814         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
75815         for __USE_GNU.
75816         * posix/spawn.h: Define __need_sigset_t.
75817         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
75818         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
75819         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
75820         to get sigevent_t only.
75821         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
75822         only for __USE_GNU.
75823         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
75824         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
75825         process_vm_writev only for __USE_GNU.
75826         * termios/termios.h: Declare tcgetsid also for POSIX2008.
75828         * conform/Makefile: For now ignore errors from run-conformtest.
75829         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
75830         POSIX to avoid namespace pollution.  Don't prepend headers.
75831         * conform/data/aio.h-data: Fixes for POSIX testing.
75832         * conform/data/fcntl.h-data: Likewise.
75833         * conform/data/glob.h-data: Likewise.
75834         * conform/data/grp.h-data: Likewise.
75835         * conform/data/pthread.h-data: Likewise.
75836         * conform/data/pwd.h-data: Likewise.
75837         * conform/data/signal.h-data: Likewise.
75838         * conform/data/spawn.h-data: Likewise.
75839         * conform/data/stdio.h-data: Likewise.
75840         * conform/data/stdlib.h-data: Likewise.
75841         * conform/data/stropts.h-data: Likewise.
75842         * conform/data/sys/mman.h-data: Likewise.
75843         * conform/data/sys/stat.h-data: Likewise.
75844         * conform/data/sys/types.h-data: Likewise.
75845         * conform/data/sys/wait.h-data: Likewise.
75846         * conform/data/time.h-data: Likewise.
75847         * conform/data/unistd.h-data: Likewise.
75848         * conform/data/utime.h-data: Likewise.
75850         * io/sys/stat.h: fchmod was always in POSIX.
75851         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
75852         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
75853         * rt/aio.h: Define __need_timespec before including <time.h>.
75854         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
75855         struct.  Add forward declaration of pthread_attr_t and use it in
75856         sigevent.
75857         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
75858         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
75859         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
75860         always remove CLK_TCK definition.
75862 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
75864         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
75866 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
75868         * conform/run-conformtest.sh: New file.
75869         * conform/Makefile: Run run-conformtest for tests.
75870         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
75871         support.
75873         * conform/data/uchar.h-data: New file.
75874         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
75875         * conform/data/arpa/inet.h-data: Likewise.
75876         * conform/data/assert.h-data: Likewise.
75877         * conform/data/complex.h-data: Likewise.
75878         * conform/data/cpio.h-data: Likewise.
75879         * conform/data/ctype.h-data: Likewise.
75880         * conform/data/dirent.h-data: Likewise.
75881         * conform/data/dlfcn.h-data: Likewise.
75882         * conform/data/errno.h-data: Likewise.
75883         * conform/data/fcntl.h-data: Likewise.
75884         * conform/data/float.h-data: Likewise.
75885         * conform/data/fmtmsg.h-data: Likewise.
75886         * conform/data/fnmatch.h-data: Likewise.
75887         * conform/data/ftw.h-data: Likewise.
75888         * conform/data/glob.h-data: Likewise.
75889         * conform/data/grp.h-data: Likewise.
75890         * conform/data/iconv.h-data: Likewise.
75891         * conform/data/inttypes.h-data: Likewise.
75892         * conform/data/langinfo.h-data: Likewise.
75893         * conform/data/libgen.h-data: Likewise.
75894         * conform/data/limits.h-data: Likewise.
75895         * conform/data/locale.h-data: Likewise.
75896         * conform/data/math.h-data: Likewise.
75897         * conform/data/monetary.h-data: Likewise.
75898         * conform/data/mqueue.h-data: Likewise.
75899         * conform/data/ndbm.h-data: Likewise.
75900         * conform/data/net/if.h-data: Likewise.
75901         * conform/data/netdb.h-data: Likewise.
75902         * conform/data/netinet/in.h-data: Likewise.
75903         * conform/data/nl_types.h-data: Likewise.
75904         * conform/data/poll.h-data: Likewise.
75905         * conform/data/pthread.h-data: Likewise.
75906         * conform/data/pwd.h-data: Likewise.
75907         * conform/data/regex.h-data: Likewise.
75908         * conform/data/sched.h-data: Likewise.
75909         * conform/data/search.h-data: Likewise.
75910         * conform/data/semaphore.h-data: Likewise.
75911         * conform/data/setjmp.h-data: Likewise.
75912         * conform/data/signal.h-data: Likewise.
75913         * conform/data/spawn.h-data: Likewise.
75914         * conform/data/stdarg.h-data: Likewise.
75915         * conform/data/stdio.h-data: Likewise.
75916         * conform/data/stdlib.h-data: Likewise.
75917         * conform/data/string.h-data: Likewise.
75918         * conform/data/strings.h-data: Likewise.
75919         * conform/data/stropts.h-data: Likewise.
75920         * conform/data/sys/ipc.h-data: Likewise.
75921         * conform/data/sys/mman.h-data: Likewise.
75922         * conform/data/sys/msg.h-data: Likewise.
75923         * conform/data/sys/resource.h-data: Likewise.
75924         * conform/data/sys/select.h-data: Likewise.
75925         * conform/data/sys/sem.h-data: Likewise.
75926         * conform/data/sys/shm.h-data: Likewise.
75927         * conform/data/sys/socket.h-data: Likewise.
75928         * conform/data/sys/stat.h-data: Likewise.
75929         * conform/data/sys/statvfs.h-data: Likewise.
75930         * conform/data/sys/time.h-data: Likewise.
75931         * conform/data/sys/timeb.h-data: Likewise.
75932         * conform/data/sys/times.h-data: Likewise.
75933         * conform/data/sys/types.h-data: Likewise.
75934         * conform/data/sys/uio.h-data: Likewise.
75935         * conform/data/sys/un.h-data: Likewise.
75936         * conform/data/sys/utsname.h-data: Likewise.
75937         * conform/data/sys/wait.h-data: Likewise.
75938         * conform/data/syslog.h-data: Likewise.
75939         * conform/data/tar.h-data: Likewise.
75940         * conform/data/termios.h-data: Likewise.
75941         * conform/data/utime.h-data: Likewise.
75942         * conform/data/utmpx.h-data: Likewise.
75943         * conform/data/varargs.h-data: Likewise.
75944         * conform/data/wchar.h-data: Likewise.
75945         * conform/data/wctype.h-data: Likewise.
75946         * conform/data/wordexp.h-data: Likewise.
75948         * include/stropts.h: New file.
75949         * include/uchar.h: New file.
75950         * include/aio.h: Changes to allow conformtest.pl to use the headers.
75951         * include/assert.h: Likewise.
75952         * include/ctype.h: Likewise.
75953         * include/dirent.h: Likewise.
75954         * include/dlfcn.h: Likewise.
75955         * include/fcntl.h: Likewise.
75956         * include/fnmatch.h: Likewise.
75957         * include/glob.h: Likewise.
75958         * include/grp.h: Likewise.
75959         * include/libio.h: Likewise.
75960         * include/locale.h: Likewise.
75961         * include/math.h: Likewise.
75962         * include/net/if.h: Likewise.
75963         * include/netdb.h: Likewise.
75964         * include/netinet/in.h: Likewise.
75965         * include/pthread.h: Likewise.
75966         * include/pwd.h: Likewise.
75967         * include/regex.h: Likewise.
75968         * include/sched.h: Likewise.
75969         * include/search.h: Likewise.
75970         * include/setjmp.h: Likewise.
75971         * include/signal.h: Likewise.
75972         * include/stdio.h: Likewise.
75973         * include/stdlib.h: Likewise.
75974         * include/string.h: Likewise.
75975         * include/sys/cdefs.h: Likewise.
75976         * include/sys/mman.h: Likewise.
75977         * include/sys/msg.h: Likewise.
75978         * include/sys/resource.h: Likewise.
75979         * include/sys/select.h: Likewise.
75980         * include/sys/socket.h: Likewise.
75981         * include/sys/stat.h: Likewise.
75982         * include/sys/statvfs.h: Likewise.
75983         * include/sys/time.h: Likewise.
75984         * include/sys/times.h: Likewise.
75985         * include/sys/uio.h: Likewise.
75986         * include/sys/utsname.h: Likewise.
75987         * include/sys/wait.h: Likewise.
75988         * include/termios.h: Likewise.
75989         * include/time.h: Likewise.
75990         * include/ulimit.h: Likewise.
75991         * include/unistd.h: Likewise.
75992         * include/utime.h: Likewise.
75993         * include/wchar.h: Likewise.
75994         * include/wctype.h: Likewise.
75995         * include/wordexp.h: Likewise.
75997         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
75999         * time/time.h: TIME_UTC must be a macro.
76000         Make timespec_get available for ISO C11 only as well.
76002 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
76004         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
76005         Reported by Peng Haitao <penght@cn.fujitsu.com>.
76007 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
76009         * configure.in: Use -o not -a in test for unsupported multi-arch.
76011 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
76013         * manual/texinfo.tex: Update to version 2012-01-19.16.
76015 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
76017         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
76019 2012-02-24  Roland McGrath  <roland@hack.frob.com>
76021         [BZ #13738]
76022         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
76023         * manual/fdl-1.3.texi: New file.
76024         * manual/fdl-1.1.texi: File removed.
76026         [BZ #13738]
76027         * manual/libc.texinfo (FDL_VERSION): New @set.
76028         Use it for mention of FDL in cover text.
76029         (Documentation License): Use it in @include file name.
76031 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
76032             Roland McGrath  <roland@hack.frob.com>
76034         [BZ #5461]
76035         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
76036         (not LONG_LONG_MAX and LONG_LONG_MIN.
76037         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
76038         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
76039         name.
76040         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
76042 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
76044         [BZ #2547]
76045         [BZ #11365]
76046         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
76047         manipulate bits before adding and subtracting TWO23[sx].
76048         * math/libm-test.inc (nearbyint_test): Add more tests.
76050 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
76052         [BZ #2548]
76053         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
76054         bits before adding and subtracting TWO23[sx].
76055         * math/libm-test.inc (rint_test): Add more tests.
76056         (rint_test_tonearest): Likewise.
76057         (rint_test_towardzero): Likewise.
76058         (rint_test_downward): Likewise.
76059         (rint_test_upward: Likewise.
76061 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
76063         [BZ #10110]
76064         * include/stdc-predef.h: New file.  Extracted from features.h.
76065         * include/features.h: Include stdc-predef.h.
76066         * Makefile (headers): Add stdc-predef.h.
76067         * CONFORMANCE (Compiler limitations): Update.
76069 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
76071         * manual/libc.texinfo (VERSION, UPDATED): Revert.
76073 2012-02-21  David S. Miller  <davem@davemloft.net>
76075         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
76076         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
76078 2012-02-20  David S. Miller  <davem@davemloft.net>
76080         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
76081         using a normal save/restore sequence, rather than allocating a
76082         dummy stack frame just to store a frame pointer and restore.
76083         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
76085 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
76087         * manual/install.texi: Fix stray word in line-wrapped comment.
76089 2012-02-20  David S. Miller  <davem@davemloft.net>
76091         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
76092         both binutils and gcc support GOTDATA.
76094         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
76095         "rd %pc" in the PIC register setup sequences.
76097         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
76098         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
76099         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
76100         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
76101         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
76102         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
76103         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
76104         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
76105         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
76106         (SYSCALL_ERROR_HANDLER): Likewise.
76107         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
76108         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
76109         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
76110         (SYSCALL_ERROR_HANDLER): Likewise.
76112         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
76113         (HAVE_GCC_GOTDATA): New.
76114         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
76115         relocation support in both binutils and gcc.
76116         * sysdeps/sparc/elf/configure: Regenerate.
76118         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
76119         * sysdeps/sparc/sparc32/elf/configure: Delete.
76120         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
76121         * sysdeps/sparc/sparc64/elf/configure: Delete.
76122         * sysdeps/sparc/elf/configure.in: New file.
76123         * sysdeps/sparc/elf/configure: Generate.
76125         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
76126         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
76127         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
76128         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
76129         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
76131 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
76133         * manual/install.texi: Do not mention specific glibc version
76134         numbers.
76135         * manual/libc.texinfo (VERSION, UPDATED): Update.
76136         (@copying): Use @copyright{} and range of years.
76138 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
76140         [BZ #13695]
76141         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
76142         [crti.S not in sysdirs] (generated): Do not append.
76143         [crti.S not in sysdirs] (omit-deps): Likewise.
76144         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
76145         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
76146         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
76147         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
76148         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
76149         Likewise.
76150         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
76151         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
76152         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
76153         * csu/defs.awk: Remove file.
76154         * sysdeps/generic/initfini.c: Likewise.
76155         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
76156         variable.
76157         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
76158         Likewise.
76160 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
76162         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
76163         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
76164         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
76165         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
76166         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
76167         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
76168         <bits/epoll.h>.
76169         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
76170         (__EPOLL_PACKED): Define to empty if not defined by
76171         <bits/epoll.h>.
76172         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
76173         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76174         bits/epoll.h.
76176 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
76178         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
76179         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
76180         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
76181         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
76182         <bits/timerfd.h>.
76183         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
76184         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76185         bits/timerfd.h.
76187 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
76189         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
76190         in C locale.
76191         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
76192         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
76193         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
76194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76196 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
76198         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76199         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
76201 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
76203         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
76204         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
76205         defined.
76206         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
76207         Likewise.
76208         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
76209         entry for 2.16.
76211 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
76213         * math/w_acos.c: Use non-signaling floating-point comparisons.
76214         * math/w_acosf.c: Likewise.
76215         * math/w_acosh.c: Likewise.
76216         * math/w_acoshf.c: Likewise.
76217         * math/w_acoshl.c: Likewise.
76218         * math/w_acosl.c: Likewise.
76219         * math/w_asin.c: Likewise.
76220         * math/w_asinf.c: Likewise.
76221         * math/w_asinl.c: Likewise.
76222         * math/w_atanh.c: Likewise.
76223         * math/w_atanhf.c: Likewise.
76224         * math/w_atanhl.c: Likewise.
76225         * math/w_exp2.c: Likewise.
76226         * math/w_exp2f.c: Likewise.
76227         * math/w_exp2l.c: Likewise.
76228         * math/w_j0.c: Likewise.
76229         * math/w_j0f.c: Likewise.
76230         * math/w_j0l.c: Likewise.
76231         * math/w_j1.c: Likewise.
76232         * math/w_j1f.c: Likewise.
76233         * math/w_j1l.c: Likewise.
76234         * math/w_jn.c: Likewise.
76235         * math/w_jnf.c: Likewise.
76236         * math/w_log.c: Likewise.
76237         * math/w_log10.c: Likewise.
76238         * math/w_log10f.c: Likewise.
76239         * math/w_log10l.c: Likewise.
76240         * math/w_log2.c: Likewise.
76241         * math/w_log2f.c: Likewise.
76242         * math/w_log2l.c: Likewise.
76243         * math/w_logf.c: Likewise.
76244         * math/w_logl.c: Likewise.
76245         * math/w_sqrt.c: Likewise.
76246         * math/w_sqrtf.c: Likewise.
76247         * math/w_sqrtl.c: Likewise.
76248         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
76249         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
76250         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
76251         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
76252         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
76254 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
76256         [BZ #9739]
76257         * manual/string.texi (strnlen): Use correct parameter name in
76258         equivalent expression.
76260 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
76262         [BZ #11174]
76263         * manual/users.texi (seteuid): Consistently use neweuid for
76264         argument name.
76266 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
76268         [BZ #13704]
76269         * manual/nss.texi (Services in the NSS configuration): Correct
76270         list of services in example configuration file.
76272 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
76274         [BZ #11322]
76275         * manual/arith.texi: Remove statements about negative zero
76276         behaving identically to zero.
76278 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
76280         [BZ #5993]
76281         * manual/install.texi: Do not document upgrading from libc5.
76283 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
76285         [BZ #4596]
76286         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
76288 2012-02-18  David S. Miller  <davem@davemloft.net>
76290         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
76291         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
76292         %o7 across the call.
76293         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
76294         instead.
76295         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
76296         SETUP_PIC_REG_LEAF.
76297         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
76298         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
76299         * sysdeps/sparc/crtn.S: Likewise.
76301 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
76303         * aout/Makefile: Remove.
76305 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
76307         [BZ #13058]
76308         * manual/examples/argp-ex1.c (main): Format definition in GNU
76309         style.
76310         * manual/examples/argp-ex2.c (main): Likewise.
76311         * manual/examples/argp-ex3.c (main): Likewise.
76312         * manual/examples/argp-ex4.c (main): Likewise.
76313         * manual/examples/longopt.c (main): Use new-style prototype
76314         definition.
76315         * manual/examples/strncat.c (main): Specify return type and use
76316         (void) for arguments.
76317         * manual/examples/subopt.c (main): Use char **argv argument.
76319 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
76321         [BZ #5077]
76322         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
76323         rounding modes.
76325 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
76327         [BZ #6907]
76328         * manual/string.texi (strchr): Change when strchrnul is
76329         recommended.
76331 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
76333         [BZ #174]
76334         * manual/locale.texi (setlocale): Document LOCPATH.
76336 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
76338         [BZ #10210]
76339         * manual/process.texi (execle): Move @dots{} before last argument.
76341 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
76343         [BZ #12047]
76344         * manual/charset.texi (Generic Charset Conversion): Fix typo
76345         (LC_TYPE -> LC_CTYPE).
76347 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
76349         [BZ #5805]
76350         * manual/arith.texi (scalbn): Use @var{} on parameter names.
76351         (scalbnf): Likewise.
76352         (scalbnl): Likewise.
76353         (scalbln): Likewise.
76354         (scalblnf): Likewise.
76355         (scalblnl): Likewise.
76356         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
76357         (vwarnx): Likewise.
76358         (verr): Likewise.
76359         (verrx): Likewise.
76360         * manual/filesys.texi (telldir): Use braces around return type.
76361         * manual/llio.texi (mmap): Add space after comma.
76362         (mmap64): Likewise.
76363         * manual/math.texi (jn): Use @var{} on parameter names.
76364         (jnf): Likewise.
76365         (jnl): Likewise.
76366         (yn): Likewise.
76367         (ynf): Likewise.
76368         (ynl): Likewise.
76369         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
76370         line.
76371         * manual/resource.texi (ulimit): Use @dots{} instead of literal
76372         "...".
76373         (sched_get_priority_min): Remove semicolon on @deftypefun line.
76374         (sched_get_priority_max): Likewise.
76375         * manual/signal.texi (sigvec): Add space after comma.
76376         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
76377         names.
76378         (if_indextoname): Likewise.
76379         (if_freenameindex): Likewise.
76380         (sendto): Use ',' instead of '.' in prototype.
76381         * manual/startup.texi (syscall): Use @dots{} instead of literal
76382         "...".
76383         * manual/stdio.texi (__fpending): Separate initial words of
76384         paragraph from @deftypefun line.
76385         * manual/syslog.texi (syslog): Use @dots{} instead of literal
76386         "...".
76387         (vsyslog): Use @var{} on parameter names.
76388         * manual/terminal.texi (stty): Use @var{} on parameter names.
76389         * manual/users.texi (getutmp): Use @var{} on parameter names.
76390         (getutmpx): Likewise.
76392 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
76394         [BZ #6884]
76395         * manual/stdio.texi (fopen): Fix typos in description of
76396         ",ccs=STRING".
76398 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
76400         [BZ #4026]
76401         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
76402         get clock_id definition.
76404 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
76406         [BZ #4822]
76407         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
76408         (madvise): Cast every argument to void on its own.
76410 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
76412         [BZ #9902]
76413         * manual/startup.texi (Exit Status): Fix typo.
76415 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
76417         [BZ #10140]
76418         * manual/examples/argp-ex1.c: Include <stdlib.h>.
76419         * manual/examples/argp-ex2.c: Likewise.
76420         * manual/examples/argp-ex3.c: Likewise.
76422 2012-02-16  Richard Henderson  <rth@redhat.com>
76424         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
76425         * sysdeps/s390/s390-32/initfini.c: Remove.
76426         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
76427         * sysdeps/s390/s390-64/initfini.c: Remove.
76429 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
76431         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
76432         compiler output for sysdeps/generic/initfini.c.
76433         * sysdeps/sh/elf/initfini.c: Remove file.
76435 2012-02-16  David S. Miller  <davem@davemloft.net>
76437         [BZ #11494]
76438         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
76440         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
76441         * sysdeps/sparc/crti.S: New file.
76442         * sysdeps/sparc/crtn.S: New file.
76443         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
76444         * sysdeps/sparc/sparc64/Makefile: Likewise.
76446 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
76448         [BZ #3335]
76449         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
76451 2012-02-15  Roland McGrath  <roland@hack.frob.com>
76453         [BZ #4822]
76454         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
76456         * mach/devstream.c (cookie_io_functions_t): Macro removed.
76457         (write, read, close): Likewise.
76458         Patch by Aurelien Jarno <aurelien@aurel32.net>.
76460 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
76462         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
76463         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
76464         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
76465         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
76466         <bits/signalfd.h>.
76467         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
76468         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76469         bits/signalfd.h.
76471 2012-02-14  Marek Polacek  <polacek@redhat.com>
76473         * sysdeps/x86_64/crti.S: New file.
76474         * sysdeps/x86_64/crtn.S: New file.
76475         * sysdeps/x86_64/elf/initfini.c: Remove file.
76477 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
76479         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
76480         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
76481         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
76482         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
76483         <bits/inotify.h>.
76484         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
76485         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76486         bits/inotify.h.
76488 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
76490         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
76491         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
76492         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
76493         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
76494         <bits/eventfd.h>.
76495         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
76496         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76497         bits/eventfd.h.
76499 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
76501         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
76502         __feraiseexcept instead of feraiseexcept.
76504         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
76505         nanosleep invocations.
76506         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
76507         strings, and add error checking for a nanosleep invocations.
76509 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
76511         Replace FSF snail mail address with URLs, as per GNU coding standards.
76512         Most of the snail mail addresses were wrong anyway, and omitting
76513         them makes the source code easier to maintain.  Almost all of the
76514         changes are to license notices and to locale LC_IDENTIFICATION
76515         addresses, except for this one:
76516         * manual/libc.texinfo: In "Published by", give the FSF's URL,
76517         not its snail mail address.
76519 2012-02-09  Richard Henderson  <rth@twiddle.net>
76521         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
76522         of kernel-features.h.
76524         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
76526 2012-02-08  Marek Polacek  <polacek@redhat.com>
76528         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
76529         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
76530         * sysdeps/gnu/_G_config.h: Likewise.
76531         * sysdeps/generic/_G_config.h: Likewise.
76533 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
76535         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
76536         tests.
76537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76539         * sysdeps/powerpc/powerpc32/crti.S: New file.
76540         * sysdeps/powerpc/powerpc32/crtn.S: New file.
76541         * sysdeps/powerpc/powerpc64/crti.S: New file.
76542         * sysdeps/powerpc/powerpc64/crtn.S: New file.
76544         * Makeconfig (have-initfini): Don't set.
76545         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
76546         * configure.in (nopic_initfini): Don't substitute.
76547         * config.h.in (HAVE_INITFINI): Don't #undef.
76548         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
76549         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
76551 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
76553         Support crti.S and crtn.S provided directly by architectures.
76554         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
76555         [crti.S in sysdirs] (omit-deps): Likewise.
76556         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
76557         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
76558         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
76559         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
76560         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
76561         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
76562         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
76563         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
76564         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
76565         compiler output for sysdeps/generic/initfini.c.
76566         * sysdeps/i386/elf/Makefile: Remove file.
76567         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
76569 2012-02-07  Marek Polacek  <polacek@redhat.com>
76571         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
76572         * sysdeps/gnu/_G_config.h: Likewise.
76573         * sysdeps/mach/hurd/_G_config.h: Likewise.
76575 2012-02-07  Marek Polacek  <polacek@redhat.com>
76577         * math/Makefile (tests): Add tst-CMPLX2.
76578         * math/tst-CMPLX2.c: New file.
76580 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
76582         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76584         * math/libm-test.inc (jn_test): Add missing L suffix.
76586 2012-02-06  Marek Polacek  <polacek@redhat.com>
76588         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
76589         * sysdeps/i386/fpu/e_powf.S: Likewise.
76590         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
76591         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
76592         * sysdeps/i386/fpu/e_acosh.S: Likewise.
76593         * sysdeps/i386/fpu/e_pow.S: Likewise.
76594         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
76595         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
76596         * sysdeps/i386/fpu/s_expm1.S: Likewise.
76597         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
76598         * sysdeps/i386/fpu/e_log2.S: Likewise.
76599         * sysdeps/i386/fpu/e_log2l.S: Likewise.
76600         * sysdeps/i386/fpu/e_scalb.S: Likewise.
76601         * sysdeps/i386/fpu/e_powl.S: Likewise.
76602         * sysdeps/i386/fpu/s_log1p.S: Likewise.
76603         * sysdeps/i386/fpu/e_log10f.S: Likewise.
76604         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
76605         * sysdeps/i386/fpu/e_logl.S: Likewise.
76606         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
76607         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
76608         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
76609         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
76610         * sysdeps/i386/fpu/e_log2f.S: Likewise.
76611         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
76612         * sysdeps/i386/fpu/e_log.S: Likewise.
76613         * sysdeps/i386/fpu/s_cexp.S: Likewise.
76614         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
76615         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
76616         * sysdeps/i386/fpu/e_logf.S: Likewise.
76617         * sysdeps/i386/fpu/e_log10l.S: Likewise.
76618         * sysdeps/i386/fpu/e_atanh.S: Likewise.
76619         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
76620         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
76621         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
76622         * sysdeps/i386/fpu/e_log10.S: Likewise.
76623         * sysdeps/i386/fpu/s_frexp.S: Likewise.
76624         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
76625         * sysdeps/i386/fpu/s_asinh.S: Likewise.
76626         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
76627         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
76628         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
76629         * sysdeps/i386/asm-syntax.h: Likewise.
76630         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
76631         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
76632         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
76633         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
76634         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
76635         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
76636         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
76637         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
76638         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
76639         * sysdeps/powerpc/sysdep.h: Likewise.
76640         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
76641         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
76643 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
76645         [BZ #411]
76646         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
76648 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
76650         * sysdeps/i386/sysdep.h: Include <features.h>.
76651         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
76652         version.
76654 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
76656         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
76657         Define.
76658         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
76659         LOAD_PIC_REG_STR.
76661 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
76663         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
76664         (SETUP_PIC_REG): Use GET_PC_THUNK.
76665         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
76666         macro.
76668 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
76670         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
76671         for non-PIC compilation.
76672         (SETUP_PIC_REG): Add .p2align directive.
76673         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
76674         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
76675         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
76676         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
76677         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
76678         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
76679         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
76680         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
76681         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
76682         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
76683         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
76684         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
76685         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
76686         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
76687         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
76688         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
76689         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
76690         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
76691         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
76692         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
76693         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
76694         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
76695         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
76696         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
76697         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
76698         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
76699         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
76700         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
76701         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
76702         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
76703         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
76704         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
76705         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
76706         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
76707         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
76708         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
76709         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
76710         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
76711         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
76712         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
76713         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
76715 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
76717         * math/tst-CMPLX.c: Include <stdio.h>.
76719 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
76721         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
76722         float.
76723         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
76724         * sysdeps/sparc/bits/mathdef.h: Likewise.
76726 2012-01-31  Marek Polacek  <polacek@redhat.com>
76728         * libio/libio.h: Don't define _PARAMS.
76729         * locale/programs/config.h: Don't define PARAMS.
76730         * stdlib/strtol_l.c: Likewise.
76731         (__strtol_l): Remove PARAMS from the prototype.
76733 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
76735         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
76736         names.  Just use the correct names.  Remove unnecessary wrapper
76737         functions.
76738         * malloc/arena.c: Likewise.
76739         * malloc/hooks.c: Likewise.
76741         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
76742         ARENA_TEST says not to.  Simplify test for creation of a new arena.
76743         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
76745 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
76747         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
76748         into tail calls.
76749         (update_get_addr): New function.
76750         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
76751         GET_ADDR_MODULE parameter.
76753 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
76755         * crypt/cert.c: Remove __STDC__ conditionals.
76756         * crypt/crypt-entry.c: Likewise.
76757         * crypt/crypt_util.c: Likewise.
76758         * libio/filedoalloc.c: Likewise.
76759         * libio/fileops.c: Likewise.
76760         * libio/genops.c: Likewise.
76761         * libio/iofclose.c: Likewise.
76762         * libio/iofdopen.c: Likewise.
76763         * libio/iofopen.c: Likewise.
76764         * libio/iofopen64.c: Likewise.
76765         * libio/iogetdelim.c: Likewise.
76766         * libio/iopopen.c: Likewise.
76767         * libio/obprintf.c: Likewise.
76768         * libio/oldfileops.c: Likewise.
76769         * libio/oldiofclose.c: Likewise.
76770         * libio/oldiofdopen.c: Likewise.
76771         * libio/oldiofopen.c: Likewise.
76772         * libio/oldiopopen.c: Likewise.
76773         * libio/wfiledoalloc.c: Likewise.
76774         * libio/wgenops.c: Likewise.
76775         * locale/programs/xmalloc.c: Likewise.
76776         * misc/syslog.c: Likewise.
76777         * stdio-common/xbug.c: Likewise.
76778         * string/memchr.c: Likewise.
76779         * string/memcmp.c: Likewise.
76780         * string/memrchr.c: Likewise.
76781         * string/rawmemchr.c: Likewise.
76782         * sysdeps/posix/getcwd.c: Likewise.
76783         * time/strftime_l.c: Likewise.
76785 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
76787         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
76788         * config.make.in (config-cflags-sse2avx): Define.
76789         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
76790         Fix typo.
76792 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
76794         * scripts/config.guess: Update from upstream config git repository.
76795         * scripts/config.sub: Likewise.
76797 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
76799         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
76800         (EM_NUM): Update.
76801         (R_TILEPRO_*, R_TILEGX_*): New macros.
76803         * scripts/firstversions.awk: Fix bug in version range handling.
76805         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
76807         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
76809         * include/sys/epoll.h: New file.
76810         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
76811         libc_hidden_def.
76813 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
76815         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
76816         Avoid unnecessary __WORDSIZE == 64 test.
76817         (fmaxf): Use VEX format if possible.
76818         (fmax): Likewise.
76819         (fminf): Likewise.
76820         (fmin): Likewise.
76822         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
76823         * math/math_private.h: Remove libc_fegetround* and
76824         libc_fesetround*.
76825         * sysdeps/i386/configure.in: Check for -msse2avx.
76826         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
76827         also if SSE2AVX is defined.
76828         Remove libc_fegetround* and libc_fesetround*.
76829         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
76830         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
76831         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
76832         of HAS_YMM_USABLE.
76833         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
76834         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
76835         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
76836         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
76837         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
76839         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
76841 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76843         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
76844         size is not set.
76845         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
76847 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
76849         [BZ #13618]
76850         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
76851         relocation.
76852         * Makeconfig (libm): Define.
76853         * elf/Makefile: Add rules to build and run tst-relsort1.
76854         * elf/tst-relsort1.c: New file.
76855         * elf/tst-relsort1mod1.c: New file.
76856         * elf/tst-relsort1mod2.c: New file.
76858 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
76860         * math/s_ldexp.c: Remove __STDC__ conditionals.
76861         * math/s_ldexpf.c: Likewise.
76862         * math/s_ldexpl.c: Likewise.
76863         * math/s_nextafter.c: Likewise.
76864         * math/s_nexttowardf.c: Likewise.
76865         * math/s_significand.c: Likewise.
76866         * math/s_significandf.c: Likewise.
76867         * math/s_significandl.c: Likewise.
76868         * math/w_jnl.c: Likewise.
76869         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
76870         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
76871         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
76872         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
76873         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
76874         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
76875         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
76876         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
76877         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
76878         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
76879         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
76880         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
76881         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
76882         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
76883         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
76884         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
76885         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
76886         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
76887         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
76888         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
76889         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
76890         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
76891         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
76892         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
76893         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
76894         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
76895         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
76896         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
76897         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
76898         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
76899         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
76900         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
76901         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
76902         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
76903         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
76904         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
76905         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
76906         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
76907         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
76908         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
76909         * sysdeps/ieee754/k_standard.c: Likewise.
76910         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
76911         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
76912         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
76913         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
76914         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
76915         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
76916         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
76917         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
76918         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
76919         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
76920         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
76921         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
76922         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
76923         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
76924         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
76925         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
76926         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
76927         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
76928         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
76929         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
76930         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
76931         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
76932         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
76933         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
76934         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
76935         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
76936         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
76937         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
76938         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
76939         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
76940         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
76941         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
76942         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
76943         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
76944         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
76945         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
76946         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
76947         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
76948         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
76949         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
76950         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
76951         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
76952         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
76953         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
76954         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
76955         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
76956         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
76957         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
76958         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
76959         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
76960         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
76961         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
76962         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
76963         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
76964         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
76965         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
76966         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
76967         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
76968         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
76969         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
76970         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
76971         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
76972         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
76973         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
76974         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
76975         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
76976         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
76977         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
76978         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
76979         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
76980         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
76981         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
76982         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
76983         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
76984         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
76985         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
76986         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
76987         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
76988         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
76989         * sysdeps/ieee754/s_matherr.c: Likewise.
76990         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
76991         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
76992         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
76993         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
76995 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
76997         * crypt/md5.h: Remove __STDC__ conditionals.
76998         * libio/libioP.h: Likewise.
76999         * locale/programs/config.h: Likewise.
77000         * sysdeps/generic/sysdep.h: Likewise.
77001         * sysdeps/i386/asm-syntax.h: Likewise.
77002         * sysdeps/s390/asm-syntax.h: Likewise.
77003         * sysdeps/unix/sysdep.h: Likewise.
77004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
77005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
77007 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
77009         * libio/libio.h: Remove __STDC__ conditionals.
77010         * malloc/obstack.h: Likewise.
77011         * math/complex.h: Likewise.
77012         * math/math.h: Likewise.
77013         * sysdeps/generic/_G_config.h: Likewise.
77014         * sysdeps/gnu/_G_config.h: Likewise.
77015         * sysdeps/mach/hurd/_G_config.h: Likewise.
77016         * sysdeps/powerpc/bits/mathdef.h: Likewise.
77017         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
77018         * sysdeps/sparc/bits/mathdef.h: Likewise.
77020 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
77022         [BZ #13583]
77023         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
77024         Clean up HAS_* macros.
77025         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
77026         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
77027         possible.
77028         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
77029         HAS_AVX.
77030         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
77031         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
77032         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
77033         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
77034         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
77036 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
77038         * elf/tst-unique3.cc (gets): Remove declaration.
77039         * elf/tst-unique3lib.cc (gets): Likewise.
77040         * elf/tst-unique3lib2.cc (gets): Likewise.
77041         * elf/tst-unique4.cc (gets): Likewise.
77043 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
77045         * include/stdio.h: Add C++ protection.  Add gets declarations and
77046         definitions.
77047         * debug/tst-chk1.c: Don't declare gets here.
77048         * stdio-common/tst-gets.c: Likewise.
77050 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
77052         * posix/glob: Remove directory.
77054 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
77056         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
77058 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
77060         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
77061         of the non-standard EPFNOSUPPORT.
77063 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77065         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
77066         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
77067         ANYWHERE set to 1 only on KERN_NO_SPACE error.
77069 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
77071         * wcsmbs/uchar.h: Test __STDC_VERSION__.
77073 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
77075         * nscd/aicache.c (addhstaiX): Do not cache negative results of
77076         transient errors.
77077         * nscd/grpcache.c (cache_addgr): Likewise.
77078         * nscd/hstcache.c (cache_addhst): Likewise.
77079         * nscd/initgrcache.c (addinitgroupsX): Likewise.
77080         * nscd/pwdcache.c (cache_addpw): Likewise.
77081         * nscd/servicescache.c (cache_addserv): Likewise.
77083 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
77085         * malloc/malloc.c: Various cleanups.
77086         * malloc/hooks.c: Likewise.
77088         * stdlib/Makefile (tests): Add bug-fmtmsg1.
77089         * stdlib/bug-fmtmsg1.c: New file.
77091         * stdlib/fmtmsg.c (init): Add missing unlock.
77092         Patch by Peng Haitao <penght@cn.fujitsu.com>.
77094 2012-01-12  Marek Polacek  <polacek@redhat.com>
77096         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
77097         and _GNU_SOURCE.
77099 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
77101         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
77102         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
77103         macro to ensure uniqueness of label name.
77104         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
77105         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
77107 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
77109         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
77111         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
77112         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
77113         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
77114         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
77116 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
77118         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
77120         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
77121         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
77122         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
77124         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
77126         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
77127         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
77128         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
77129         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
77131         * math/bits/math-finite.h: Add ldexp support.
77133 2012-01-10  Marek Polacek  <polacek@redhat.com>
77135         * locale/programs/localedef.h (show_archive_content): Add noreturn
77136         attribute.
77138 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
77140         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
77142 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
77144         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
77146         * io/Makefile (headers): Add bits/poll2.h.
77148 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
77150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
77151         typo #include statement.
77153 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
77155         * include/sys/cdefs.h: Define __attribute_alloc_size.
77156         * catgets/gencat.c: Add alloc_size attribute and apply consistently
77157         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
77158         * elf/pldd.c: Likewise.
77159         * iconv/iconv_charmap.c: Likewise.
77160         * iconv/iconvconfig.c: Likewise.
77161         * iconv/strtab.c: Likewise.
77162         * locale/programs/locale.c: Likewise.
77163         * locale/programs/localedef.h: Likewise.
77164         * locale/programs/simple-hash.c: Likewise.
77165         * nscd/nscd.h: Likewise.
77166         * nss/makedb.c: Likewise.
77167         * sysdeps/generic/ldconfig.h: Likewise.
77168         * locale/programs/localedef.c: Remove xmalloc prototype.
77169         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
77171 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
77173         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
77174         appropriate.
77176 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
77178         * math/Makefile (tests): Add tst-CMPLX.
77179         * math/tst-CMPLX.c: New file.
77181         * math/complex.h (CMPLXL): Fix typo.
77183         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
77184         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
77185         GLIBC_2.16.
77186         * debug/tst-chk1.c: Add poll and ppoll tests.
77187         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
77188         * include/sys/poll.h: Add hidden proto for ppoll.
77189         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
77190         * sysdeps/mach/hurd/ppoll.c: Likewise.
77191         * io/ppoll.c: Likewise.
77192         * debug/poll_chk.c: New file.
77193         * debug/ppoll_chk.c: New file.
77194         * include/bits/poll2.h: New file.
77195         * io/bits/poll2.h: New file.
77197         [BZ #1350]
77198         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
77200         * configure.in: static is always set to yes.  Remove.
77201         * config.make.in: Don't set build-static.
77202         * Makeconfig: Remove use of build-static.
77203         * dlfcn/Makefile: Likewise.
77204         * elf/Makefile: Likewise.
77205         * math/Makefile: Likewise.
77206         * misc/Makefile: Likewise.
77207         * nptl/Makefile: Likewise.
77208         * sysdeps/mach/hurd/Makefile: Likewise.
77210         * configure.in: PWD_P is not used anymore.
77211         * config.make.in: Remove PWD_P entry.
77213         * configure.in: Remove last remnants of RANLIB.
77214         No need to check for signed size_t anymore.
77215         Don't set libc_commonpagesize and libc_relro_required here for Alpha
77216         and IA-64.
77217         Remove __builtin_expect test because we require at least gcc 3.4.
77218         * aclocal.m4: Likewise.
77220         * wcsmbs/mbrtoc16.c: Implement using towc function.
77221         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
77222         * wcsmbs/wcsmbsload.c: Likewise.
77223         * iconv/gconv_simple.c: Likewise.
77224         * iconv/gconv_int.h: Likewise.
77225         * iconv/gconv_builtin.h: Likewise.
77226         * iconv/iconv_prog.c: Remove CHAR16 handling.
77228         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
77230         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
77232         * configure.in: Remove --with-elf and --enable-bounded options.
77233         Dont set base_machine for ia64.  More non-ELF conditions removed.
77234         Remove testing and setting of leading underscore information.
77235         * config.make.in (build-bounded): Set to no.
77236         * config.h.in: Remove NO_UNDERSCORES entry.
77237         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
77238         them.
77239         * csu/start.c: Remove !NO_UNDERSCORE code.
77240         * locale/localeinfo.h: Likewise.
77241         * sysdeps/generic/machine-gmon.h: Likewise.
77242         * sysdeps/generic/sysdep.h: Likewise.
77243         * sysdeps/i386/sysdep.h: Likewise.
77244         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
77245         * sysdeps/mach/sysdep.h: Likewise.
77246         * sysdeps/s390/s390-32/sysdep.h: Likewise.
77247         * sysdeps/s390/s390-64/sysdep.h: Likewise.
77248         * sysdeps/sh/sysdep.h: Likewise.
77249         * sysdeps/sparc/sparc32/alloca.S: Likewise.
77250         * sysdeps/unix/i386/sysdep.S: Likewise.
77251         * sysdeps/unix/sparc/start.c: Likewise.
77252         * sysdeps/unix/sparc/sysdep.S: Likewise.
77253         * sysdeps/unix/sparc/sysdep.h: Likewise.
77254         * sysdeps/unix/start.c: Likewise.
77255         * sysdeps/unix/x86_64/sysdep.S: Likewise.
77256         * sysdeps/x86_64/sysdep.h: Likewise.
77258 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
77260         [BZ #13553]
77261         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
77262         for non-gcc.
77263         * argp/argp-fmtstream.h: Use const instead __const.
77264         * argp/argp.h: Likewise.
77265         * assert/assert.h: Likewise.
77266         * bits/fenv.h: Likewise.
77267         * bits/sched.h: Likewise.
77268         * bits/sigset.h: Likewise.
77269         * bits/sigthread.h: Likewise.
77270         * catgets/nl_types.h: Likewise.
77271         * conform/data/pthread.h-data: Likewise.
77272         * crypt/crypt-private.h: Likewise.
77273         * crypt/crypt.h: Likewise.
77274         * crypt/crypt_util.c: Likewise.
77275         * ctype/ctype.h: Likewise.
77276         * debug/execinfo.h: Likewise.
77277         * debug/mbsnrtowcs_chk.c: Likewise.
77278         * debug/mbsrtowcs_chk.c: Likewise.
77279         * debug/wcsnrtombs_chk.c: Likewise.
77280         * debug/wcsrtombs_chk.c: Likewise.
77281         * debug/wcstombs_chk.c: Likewise.
77282         * dirent/dirent.h: Likewise.
77283         * dlfcn/dlfcn.h: Likewise.
77284         * elf/neededtest4.c: Likewise.
77285         * grp/grp.h: Likewise.
77286         * gshadow/gshadow.h: Likewise.
77287         * iconv/gconv.h: Likewise.
77288         * iconv/gconv_int.h: Likewise.
77289         * iconv/gconv_simple.c: Likewise.
77290         * iconv/iconv.h: Likewise.
77291         * iconv/loop.c: Likewise.
77292         * iconv/skeleton.c: Likewise.
77293         * include/aio.h: Likewise.
77294         * include/aliases.h: Likewise.
77295         * include/argz.h: Likewise.
77296         * include/arpa/inet.h: Likewise.
77297         * include/assert.h: Likewise.
77298         * include/dirent.h: Likewise.
77299         * include/dlfcn.h: Likewise.
77300         * include/execinfo.h: Likewise.
77301         * include/fcntl.h: Likewise.
77302         * include/fenv.h: Likewise.
77303         * include/glob.h: Likewise.
77304         * include/grp.h: Likewise.
77305         * include/libintl.h: Likewise.
77306         * include/mntent.h: Likewise.
77307         * include/netdb.h: Likewise.
77308         * include/pwd.h: Likewise.
77309         * include/rpc/netdb.h: Likewise.
77310         * include/sched.h: Likewise.
77311         * include/search.h: Likewise.
77312         * include/shadow.h: Likewise.
77313         * include/signal.h: Likewise.
77314         * include/stdio.h: Likewise.
77315         * include/stdlib.h: Likewise.
77316         * include/string.h: Likewise.
77317         * include/sys/socket.h: Likewise.
77318         * include/sys/stat.h: Likewise.
77319         * include/sys/statfs.h: Likewise.
77320         * include/sys/statvfs.h: Likewise.
77321         * include/sys/syslog.h: Likewise.
77322         * include/sys/time.h: Likewise.
77323         * include/sys/uio.h: Likewise.
77324         * include/time.h: Likewise.
77325         * include/unistd.h: Likewise.
77326         * include/utmp.h: Likewise.
77327         * include/wchar.h: Likewise.
77328         * include/wctype.h: Likewise.
77329         * inet/aliases.h: Likewise.
77330         * inet/arpa/inet.h: Likewise.
77331         * inet/netinet/ether.h: Likewise.
77332         * inet/netinet/in.h: Likewise.
77333         * intl/libintl.h: Likewise.
77334         * io/bits/fcntl2.h: Likewise.
77335         * io/fcntl.h: Likewise.
77336         * io/ftw.h: Likewise.
77337         * io/sys/poll.h: Likewise.
77338         * io/sys/stat.h: Likewise.
77339         * io/sys/statfs.h: Likewise.
77340         * io/sys/statvfs.h: Likewise.
77341         * io/utime.h: Likewise.
77342         * libio/bits/stdio.h: Likewise.
77343         * libio/bits/stdio2.h: Likewise.
77344         * libio/libio.h: Likewise.
77345         * libio/libioP.h: Likewise.
77346         * libio/stdio.h: Likewise.
77347         * locale/lc-ctype.c: Likewise.
77348         * locale/locale.h: Likewise.
77349         * login/utmp.h: Likewise.
77350         * malloc/arena.c: Likewise.
77351         * malloc/malloc.c: Likewise.
77352         * malloc/malloc.h: Likewise.
77353         * malloc/mcheck.c: Likewise.
77354         * malloc/mtrace.c: Likewise.
77355         * math/bits/mathcalls.h: Likewise.
77356         * math/fenv.h: Likewise.
77357         * math/math_private.h: Likewise.
77358         * misc/bits/error.h: Likewise.
77359         * misc/bits/syslog.h: Likewise.
77360         * misc/err.h: Likewise.
77361         * misc/error.h: Likewise.
77362         * misc/fstab.h: Likewise.
77363         * misc/mntent.h: Likewise.
77364         * misc/regexp.h: Likewise.
77365         * misc/search.h: Likewise.
77366         * misc/sgtty.h: Likewise.
77367         * misc/sys/mman.h: Likewise.
77368         * misc/sys/syslog.h: Likewise.
77369         * misc/sys/uio.h: Likewise.
77370         * misc/sys/xattr.h: Likewise.
77371         * misc/ttyent.h: Likewise.
77372         * nis/rpcsvc/ypclnt.h: Likewise.
77373         * nss/nss.h: Likewise.
77374         * posix/bits/unistd.h: Likewise.
77375         * posix/fnmatch.h: Likewise.
77376         * posix/glob.h: Likewise.
77377         * posix/sched.h: Likewise.
77378         * posix/spawn.h: Likewise.
77379         * posix/sys/wait.h: Likewise.
77380         * posix/unistd.h: Likewise.
77381         * posix/wordexp.h: Likewise.
77382         * pwd/pwd.h: Likewise.
77383         * resolv/netdb.h: Likewise.
77384         * resource/sys/resource.h: Likewise.
77385         * rt/aio.h: Likewise.
77386         * rt/bits/mqueue2.h: Likewise.
77387         * rt/mqueue.h: Likewise.
77388         * shadow/shadow.h: Likewise.
77389         * signal/signal.h: Likewise.
77390         * socket/send.c: Likewise.
77391         * socket/sendto.c: Likewise.
77392         * socket/sys/socket.h: Likewise.
77393         * stdio-common/printf.h: Likewise.
77394         * stdlib/bits/stdlib.h: Likewise.
77395         * stdlib/fmtmsg.h: Likewise.
77396         * stdlib/monetary.h: Likewise.
77397         * stdlib/stdlib.h: Likewise.
77398         * stdlib/ucontext.h: Likewise.
77399         * streams/stropts.h: Likewise.
77400         * string/argz.h: Likewise.
77401         * string/bits/string2.h: Likewise.
77402         * string/string.h: Likewise.
77403         * string/strings.h: Likewise.
77404         * sunrpc/rpc/auth.h: Likewise.
77405         * sunrpc/rpc/auth_des.h: Likewise.
77406         * sunrpc/rpc/clnt.h: Likewise.
77407         * sunrpc/rpc/netdb.h: Likewise.
77408         * sunrpc/rpc/pmap_clnt.h: Likewise.
77409         * sunrpc/rpc/xdr.h: Likewise.
77410         * sysdeps/generic/inttypes.h: Likewise.
77411         * sysdeps/generic/net/if.h: Likewise.
77412         * sysdeps/generic/sys/swap.h: Likewise.
77413         * sysdeps/gnu/net/if.h: Likewise.
77414         * sysdeps/gnu/utmpx.h: Likewise.
77415         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
77416         * sysdeps/i386/i486/bits/string.h: Likewise.
77417         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
77418         * sysdeps/s390/bits/string.h: Likewise.
77419         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
77420         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
77421         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
77422         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
77423         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
77424         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
77425         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
77426         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
77427         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
77428         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
77429         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
77430         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
77431         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
77432         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
77433         * sysdeps/unix/sysv/linux/readv.c: Likewise.
77434         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
77435         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
77436         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
77437         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
77438         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
77439         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
77440         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
77441         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
77442         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
77443         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
77444         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
77445         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
77446         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
77447         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
77448         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
77449         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
77450         * sysvipc/sys/ipc.h: Likewise.
77451         * sysvipc/sys/msg.h: Likewise.
77452         * sysvipc/sys/sem.h: Likewise.
77453         * sysvipc/sys/shm.h: Likewise.
77454         * termios/termios.h: Likewise.
77455         * time/sys/time.h: Likewise.
77456         * time/time.h: Likewise.
77457         * wcsmbs/bits/wchar2.h: Likewise.
77458         * wcsmbs/uchar.h: Likewise.
77459         * wcsmbs/wchar.h: Likewise.
77460         * wctype/wctype.h: Likewise.
77462         [BZ #13551]
77463         * Makeconfig: Remove all but ELF support including AIX support.
77464         * Makerules: Likewise.
77465         * config.h.in: Likewise.
77466         * config.make.in: Likewise.
77467         * configure: Likewise.
77468         * configure.in: Likewise.
77469         * csu/Makefile: Likewise.
77470         * csu/version.c: Likewise.
77471         * debug/Makefile: Likewise.
77472         * dlfcn/Makefile: Likewise.
77473         * elf/Makefile: Likewise.
77474         * extra-lib.mk: Likewise.
77475         * iconv/Makefile: Likewise.
77476         * include/libc-symbols.h: Likewise.
77477         * include/shlib-compat.h: Likewise.
77478         * resolv/Makefile: Likewise.
77479         * resolv/res_libc.c: Likewise.
77480         * rt/Makefile: Likewise.
77481         * sysdeps/i386/asm-syntax.h: Likewise.
77482         * sysdeps/i386/sysdep.h: Likewise.
77483         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
77484         * sysdeps/mach/sysdep.h: Likewise.
77485         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
77486         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
77487         * sysdeps/s390/asm-syntax.h: Likewise.
77488         * sysdeps/s390/s390-32/sysdep.h: Likewise.
77489         * sysdeps/s390/s390-64/sysdep.h: Likewise.
77490         * sysdeps/sh/sysdep.h: Likewise.
77491         * sysdeps/unix/sparc/sysdep.h: Likewise.
77492         * sysdeps/wordsize-32/divdi3.c: Likewise.
77493         * sysdeps/x86_64/sysdep.h: Likewise.
77495         * argp/Versions: Remove _argp_unlock_xxx.
77497         [BZ #13559]
77498         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
77499         * abilist/libBrokenLocale.abilist: Likewise.
77500         * abilist/libanl.abilist: Likewise.
77501         * abilist/libc.abilist: Likewise.
77502         * abilist/libcrypt.abilist: Likewise.
77503         * abilist/libdl.abilist: Likewise.
77504         * abilist/libm.abilist: Likewise.
77505         * abilist/libnsl.abilist: Likewise.
77506         * abilist/libpthread.abilist: Likewise.
77507         * abilist/libresolv.abilist: Likewise.
77508         * abilist/librt.abilist: Likewise.
77509         * abilist/libthread_db.abilist: Likewise.
77510         * abilist/libutil.abilist: Likewise.
77511         * abilist/libnss_db.abilist: New file.
77513         * scripts/abilist.awk: Add support for indirect functions.
77515         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
77517         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
77519         * shlib-versions: Remove entries for ports architectures.
77521         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
77522         files in ports.
77523         * elf/stackguard-macros.h: Remove support for IA-64.
77524         * elf/tst-auditmod1.c: Likewise.
77525         * sysdeps/generic/ldsodefs.h: Likewise.
77527         * sysdeps/unix/sysv/linux/configure.in: Ports should define
77528         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
77529         configure files.
77531         [BZ #13552]
77532         * configure.in: Remove --enable-omitfp support.
77533         * FAQ.in: Adjust.
77534         * config.make.in: Likewise.
77535         * Makeconfig: Likewise.
77536         * manual/install.texi: Likewise.
77538         In case anyone cares, the IA-64 architecture could move to ports.
77539         * sysdeps/ia64/*: Removed.
77540         * sysdeps/unix/sysv/linux/ia64/*: Removed.
77541         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
77543         [BZ #13555]
77544         * configure.in: Remove entries for unsupported architectures.
77546         [BZ #13533]
77547         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
77548         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
77549         routines.
77550         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
77551         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
77552         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
77553         fall back to using wcrtomb.
77554         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
77555         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
77556         renaming.
77557         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
77558         * wcsmbs/tst-c16c32-1.c: New file.
77560         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
77561         local variable.
77563         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
77565         * elf/tst-unique3.cc: Add explicit declaration of gets.
77566         * elf/tst-unique3lib.cc: Likewise.
77567         * elf/tst-unique3lib2.cc: Likewise.
77568         * elf/tst-unique4.cc: Likewise.
77570         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
77572 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
77574         [BZ #13566]
77575         * assert/assert.h (static_assert): Don't define for C++.
77576         * libio/stdio.h (gets): Do declare for C++ <= C++11.
77577         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
77579 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
77581         * iconv/loop.c (single loop): Fix assertion in storing of
77582         remaining bytes.
77584         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
77586 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
77588         * posix/getconf.c: Update copyright year.
77589         * nss/getent.c: Likewise.
77590         * nss/makedb.c: Likewise.
77591         * iconv/iconvconfig.c: Likewise.
77592         * iconv/iconv_prog.c: Likewise.
77593         * elf/ldconfig.c: Likewise.
77594         * elf/pldd.c: Likewise.
77595         * elf/sotruss.ksh: Likewise.
77596         * catgets/gencat.c: Likewise.
77597         * csu/version.c: Likewise.
77598         * elf/ldd.bash.in: Likewise.
77599         * elf/sprof.c (print_version): Likewise.
77600         * locale/programs/locale.c: Likewise.
77601         * locale/programs/localedef.c: Likewise.
77602         * login/programs/pt_chown.c: Likewise.
77603         * nscd/nscd.c (print_version): Likewise.
77604         * debug/xtrace.sh: Likewise.
77605         * malloc/memusage.sh: Likewise.
77606         * malloc/mtrace.pl: Likewise.
77607         * debug/catchsegv.sh: Likewise.
77609 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
77611         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
77612         pure attribute.
77614 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
77616         [BZ #13533]
77617         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
77618         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
77619         transformations.
77620         * iconv/gconv_int.h: Likewise.
77621         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
77622         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
77623         from libc for GLIBC_2.16.
77624         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
77625         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
77626         * wcsmbs/uchar.h: Really define mbstate_t.
77627         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
77628         * wcsmbs/c16rtomb.c: New file.
77629         * wcsmbs/mbrtoc16.c: New file.
77630         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
77631         for C/POSIX locale.
77632         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
77633         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
77635         * wcsmbs/wchar.h: Add missing __restrict.
77637 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
77639         [BZ #13532]
77640         * time/Makefile (routines): Add timespec_get.
77641         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
77642         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
77643         timespec for ISO C11.
77644         * time/timespec_get.c: New file.
77645         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
77646         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
77648         [BZ #13531]
77649         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
77650         * stdlib/stdlib.h: Declare aligned_alloc.
77651         * Versions.def: Add GLIBC_2.16 for libc.
77652         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
77654         [BZ 13527]
77655         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
77656         ISO C11.
77658         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
77659         code.
77661         [BZ #13528]
77662         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
77664         [BZ #13529]
77665         * assert/assert.h (static_assert): Define.
77667         * version.h: Update for 2.16 development version.
77669         [BZ #13526]
77670         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
77671         _ISOC11_SOURCE.
77673         * version.h (RELEASE): Bump for 2.15 release.
77674         * include/features.h (__GLIBC_MINOR__): Bump to 15.
77676         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
77677         Patch by Marek Polacek <mpolacek@redhat.com>.
77679         * bits/byteswap.h: Protect long long constants with __extension__.
77680         * sysdeps/i386/bits/byteswap.h: Likewise.
77681         * sysdeps/ia64/bits/byteswap.h: Likewise.
77682         * sysdeps/s390/bits/byteswap.h: Likewise.
77683         * sysdeps/x86_64/bits/byteswap.h: Likewise.
77685 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77687         [BZ #13540]
77688         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
77689         destination buffer.
77690         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
77692 2011-12-23  Marek Polacek  <polacek@redhat.com>
77694         * elf/dl-addr.c (determine_info): Add inline keyword.
77695         * elf/tst-auditmod4b.c (check_avx): Likewise.
77696         * elf/tst-auditmod6b.c (check_avx): Likewise.
77697         * elf/tst-auditmod6c.c (check_avx): Likewise.
77698         * elf/tst-auditmod7b.c (check_avx): Likewise.
77700 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
77702         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
77703         !__SSE_MATH__.
77705 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77707         [BZ #13540]
77708         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
77709         processing for last bytes.
77711 2011-08-06  Bruno Haible  <bruno@clisp.org>
77713         [BZ #13061]
77714         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
77715         U+0385, not to U+1FEE.
77717         [BZ #13062]
77718         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
77719         entry for U+00A5 U+0301.
77721 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
77723         [BZ #13166]
77724         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
77725         buffer for the output is too small.
77727         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
77728         optimization.
77730         [BZ #13185]
77731         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
77732         SSE flags if possible.
77734 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77736         [BZ #13540]
77737         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
77738         processing for last bytes.
77740 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
77742         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
77743         (syscall-list-default-options, syscall-list-default-condition)
77744         (syscall-list-includes): Define.
77745         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
77746         list of ABIs and options and #if conditions for each ABI.  Do not
77747         handle common syscalls between ABIs specially.
77748         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
77749         Remove.
77750         (syscall-list-variants, syscall-list-32bit-options)
77751         (syscall-list-32bit-condition, syscall-list-64bit-options)
77752         (syscall-list-64bit-condition): Define.
77753         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
77754         (syscall-list-variants, syscall-list-32bit-options)
77755         (syscall-list-32bit-condition, syscall-list-64bit-options)
77756         (syscall-list-64bit-condition): Define.
77757         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
77758         Remove.
77759         (syscall-list-variants, syscall-list-32bit-options)
77760         (syscall-list-32bit-condition, syscall-list-64bit-options)
77761         (syscall-list-64bit-condition): Define.
77762         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
77763         Remove.
77764         (syscall-list-variants, syscall-list-32bit-options)
77765         (syscall-list-32bit-condition, syscall-list-64bit-options)
77766         (syscall-list-64bit-condition): Define.
77768 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
77770         * locale/iso-639.def: Add brx entry.
77772         [BZ #13328]
77773         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
77774         Proposed by Mariusz_Cukr <marcukr@op.pl>.
77776         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
77777         __feraiseexcept_renamed.
77779 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
77781         [BZ #13538]
77782         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
77783         EPOLLET with unsigned values.
77784         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
77785         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
77787         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
77788         to large cancellation.
77789         * math/s_cacoshf.c: Likewise.
77790         * math/s_cacoshl.c: Likewise.
77792 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
77794         [BZ #13305]
77795         [BZ #12786]
77796         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
77797         * math/s_cacoshf.c: Likewise.
77798         * math/s_cacoshl.c: Likewise.
77800 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
77802         [BZ #13439]
77803         * iconv/gconv.h: Define __GCONV_SWAP.
77804         * iconvdata/unicode.c: The swap bit must be stored in __flags.
77805         * iconvdata/utf-16.c: Likewise.
77806         * iconvdata/utf-32.c: Likewise.
77808 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
77810         [BZ #13524]
77811         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
77812         numerator after shifting it by one limb.
77814 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
77816         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
77817         under [__USE_EXTERN_INLINES].
77819 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
77821         [BZ #13446]
77822         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
77824 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77826         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
77827         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
77828         optimized code.
77829         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
77830         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
77831         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
77832         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
77833         for strncasecmp/strncasecmp_l compilation.
77834         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
77835         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
77837 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
77839         [BZ #13484]
77840         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
77841         of __asm__.
77843 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
77845         [BZ #13506]
77846         * time/tzfile.c (__tzfile_read): Check values from file header.
77848 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
77850         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
77851         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
77852         * powerpc/powerpc32/dl-start.S: Likewise.
77853         * powerpc/powerpc32/elf/start.S: Likewise.
77854         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
77855         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
77856         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
77857         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
77858         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
77859         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
77860         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
77861         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
77862         * powerpc/powerpc32/fpu/s_round.S: Likewise.
77863         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
77864         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
77865         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
77866         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
77867         * powerpc/powerpc32/memset.S: Likewise.
77868         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
77869         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
77870         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
77871         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
77872         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
77873         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
77874         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
77875         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
77876         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
77877         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
77878         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
77879         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
77880         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
77882 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77884         * math/libm-test.inc: Added more nearbyint tests.
77885         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
77886         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
77887         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
77888         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
77890 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
77892         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
77893         FD_CLOEXEC.
77895 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77897         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
77898         Add wcscpy-ssse3 wcscpy-c.
77899         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
77900         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
77901         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
77902         * sysdeps/x86_64/wcschr.S: New file.
77903         * sysdeps/x86_64/wcsrchr.S: New file.
77904         * string/test-strcmp.c: Remove checking of wcscmp function for
77905         wrong alignments.
77906         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
77907         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
77908         wcsrchr-sse2 wcsrchr-c.
77909         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
77910         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
77911         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
77912         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
77913         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
77914         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
77915         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
77916         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
77917         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
77918         * wcsmbc/wcschr.c (WCSCHR): New macro.
77920 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77922         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
77923         * wcsmbs/test-wcsrchr.c: New file.
77924         * string/test-strrchr.c: Add wcsrchr support.
77925         (WIDE): New macro.
77926         * wcsmbs/test-wcscpy.c: New file.
77927         * string/test-strcpy.c: Add wcscpy support.
77928         (WIDE): New macro.
77930 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
77932         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
77933         the inner loop.
77935 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
77937         [BZ #13472]
77938         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
77940 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
77942         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
77943         Minor optimizations.
77945         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
77946         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
77947         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
77949 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
77951         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
77952         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
77953         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
77954         for gcc to avoid warnings.
77955         * inet/Makefile (tests): Add tst-checks.
77956         * inet/tst-checks.c: New file.
77958         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
77959         warning.
77961         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
77962         __wmemcmp_sse2.
77964         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
77965         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
77967         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
77969 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
77971         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
77972         problem.
77974         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
77976 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
77978         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
77979         conditional on GCC version.
77980         (__arch_compare_and_exchange_val_8_acq)
77981         (__arch_compare_and_exchange_val_16_acq)
77982         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
77983         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
77984         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
77986 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
77988         * sysdeps/sh/backtrace.c: New file.
77990 2011-12-02  Andreas Schwab  <schwab@redhat.com>
77992         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
77993         parenthesis.
77995 2011-12-01  Andreas Schwab  <schwab@redhat.com>
77997         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
77998         falling back to utime.
78000 2011-11-30  Andreas Schwab  <schwab@redhat.com>
78002         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
78003         expectations for float.
78005 2011-11-29  Andreas Schwab  <schwab@redhat.com>
78007         * locale/weight.h (findidx): Add parameter len.
78008         * locale/weightwc.h (findidx): Likewise.
78009         * posix/fnmatch_loop.c (FCT): Adjust caller.
78010         * posix/regcomp.c (build_equiv_class): Likewise.
78011         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
78012         * posix/regexec.c (check_node_accept_bytes): Likewise.
78013         * string/strcoll_l.c (STRCOLL): Likewise.
78014         * string/strxfrm_l.c (STRXFRM): Likewise.
78016 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
78018         * Makefile.in: Remove CVSOPT handling.
78019         * configure.in: Remove use of AC_REVISION.
78020         * iconvdata/Makefile (distribute): No need to filter out CVS.
78021         * scripts/list-sources.sh: Remove CVS, subversion and monotone
78022         handling.
78024 2011-11-16  Andreas Schwab  <schwab@redhat.com>
78026         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
78027         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
78028         [USE_AS_STRNCASECMP_L]: Likewise.
78029         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
78030         NO_TLS_DIRECT_SEG_REFS.
78031         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
78032         Fix argument offsets for non-PIC.
78033         [USE_AS_STRNCASECMP_L]: Likewise.
78034         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
78035         NO_TLS_DIRECT_SEG_REFS.
78037 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
78039         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
78040         O_CLOEXEC.
78041         * locale/loadlocale.c (_nl_load_locale): Likewise.
78043 2011-11-15  Andreas Schwab  <schwab@redhat.com>
78045         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
78046         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
78047         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
78048         (SYSCALL_GETTIME): Set errno on error.
78050         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
78051         count references to noai6ai_cached.
78053 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
78055         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
78057         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
78058         FD_CLOEXEC for /proc/self/maps.
78060         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
78061         FD_CLOEXEC for /proc/meminfo.
78063         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
78064         gai.conf.
78066         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
78067         FD_CLOEXEC for given file.
78069         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
78071         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
78072         FD_CLOEXEC for /etc/hosts.
78073         (_gethtent): Likewise.
78075         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
78077         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
78078         cancellation and set FD_CLOEXEC for /etc/netgroup.
78080         * nss/nss_files/files-key.c (search): Don't allow cancellation when
78081         reading /etc/publickey.
78083         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
78084         allow cancellation when reading /etc/group.
78086         * nss/nss_files/files-alias.c (internal_setent): Don't allow
78087         cancellation.
78088         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
78090         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
78091         when using data file.
78093         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
78095         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
78096         (write_nis_obj): Use "c" and "e" in fopen.
78098         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
78100         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
78102         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
78104         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
78106         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
78107         locale.alias.
78109         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
78111         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
78113         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
78115         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
78116         file parsing and set FD_CLOEXEC.
78118 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
78120         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
78122 2011-11-14  Andreas Schwab  <schwab@redhat.com>
78124         * malloc/arena.c (arena_get2): Don't call reused_arena when
78125         _int_new_arena failed.
78127 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
78129         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
78130         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
78131         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
78132         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
78133         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
78134         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
78135         to compile strcasecmp and strncasecmp.
78136         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
78137         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
78139         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
78141 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
78143         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
78144         locale-defines.sym to gen-as-const-headers.
78145         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
78146         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
78147         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
78148         to compile strcasecmp and strncasecmp.
78149         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
78150         strcasecmp_l and strncasecmp_l.
78151         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
78152         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
78153         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
78154         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
78155         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
78156         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
78157         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
78158         * sysdeps/i386/i686/multiarch/strncase.S: New file.
78159         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
78160         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
78161         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
78163 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
78165         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
78166         result of SYSDEP_GETTIME_CPU to retval.
78167         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
78168         parameter list to macro.  Remove trailing semicolon.  Adjust users.
78170         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
78171         variable.
78173         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
78174         mantissa words.
78175         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
78177         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
78178         from unused variable.
78180         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
78181         DWARF definitions.
78182         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
78183         for assembling.
78185         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
78186         over namespaces.
78188         * sunrpc/rpc_prot.c (rejected): Fix case value.
78190         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
78191         unsigned long long int to avoid warnings in shift.
78193         * posix/regex_internal.c (re_string_reconstruct): Actually use result
78194         of use of trans.
78195         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
78196         variable tmp.
78198         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
78199         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
78200         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
78202         * nis/nis_table.c (nis_list): Use variable of correct type for
78203         result of __follow_path call.
78205 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78207         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
78208         of math functions ceil, trunc, floor, round, and sqrt, when
78209         avaliable on the platform.
78210         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
78211         name clash.
78212         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
78213         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
78214         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
78216 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
78218         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
78219         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
78221 2011-11-11  Roland McGrath  <roland@hack.frob.com>
78223         * include/unistd.h: Fix __readlink return type.
78224         Reported by Chris Metcalf <cmetcalf@tilera.com>.
78226 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
78228         * stdlib/ucontext.h: Undo last change for makecontext.
78230 2011-11-11  Andreas Schwab  <schwab@redhat.com>
78232         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
78234         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
78235         * setjmp/setjmp.h: Mark functions as non-leaf.
78236         * setjmp/bits/setjmp2.h: Likewise.
78237         * stdlib/ucontext.h: Likewise.
78239 2011-11-10  Andreas Schwab  <schwab@redhat.com>
78241         * malloc/arena.c (_int_new_arena): Don't increment narenas.
78242         (reused_arena): Don't check arena limit.
78243         (arena_get2): Atomically check arena limit.
78245 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
78247         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
78248         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
78250         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
78251         instructions.
78253 2011-11-07  Andreas Schwab  <schwab@redhat.com>
78255         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
78256         handler when locking.
78258         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
78259         Fix size of allocated buffer.
78261 2011-11-04  Andreas Schwab  <schwab@redhat.com>
78263         [BZ #10103]
78264         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
78265         declarations for long double functions.
78266         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
78268         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
78270 2011-11-03  Andreas Schwab  <schwab@redhat.com>
78272         * nscd/nscd.c (main): Don't start AVC thread until credentials are
78273         installed.
78275         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
78276         is disabled.
78278 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78280         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
78282 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
78284         * include/alloca.h (stackinfo_alloca_round): Define.
78285         (extend_alloca): Use it.
78286         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
78287         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
78288         here.
78290         * scripts/check-local-headers.sh: Ignore libaudit.h.
78292         * nscd/Makefile (extra-objs): Make recursively expanded.
78294 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
78296         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
78297         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
78299         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
78300         * posix/tst-rfc3484-2.c: Likewise.
78301         * posix/tst-rfc3484-3.c: Likewise.
78303         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
78304         process_vm_writev.
78305         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
78306         process_vm_writev.
78307         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
78308         process_vm_writev from libc using GLIBC_2.15 version.
78310         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
78312 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
78314         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
78315         stack usage.
78317 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
78319         [BZ #13367]
78320         * nss/getent.c (initgroups_keys): Show error message in case no group
78321         names are given.
78323         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
78324         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
78325         __bump_nl_timestamp.
78326         * nscd/connections (nscd_init): When host database is served open
78327         netlink socket and request notification about configuration changes.
78328         (main_loop_poll): Track netlink file descriptor and bump timestamp
78329         in case data becomes available.
78330         (main_loop_epoll): Likewise.
78331         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
78332         (database_pers_head): Add extra_data fileds.
78333         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
78334         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
78335         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
78336         Adjust caller.
78337         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
78338         in6ai data, call __free_in6ai.
78339         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
78340         Add -DHAVE_NETLINK.
78341         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
78342         interface information.  Reuse previous data if netlink timestamp
78343         is not changed.
78344         (__bump_nl_timestamp): New function.
78345         (__free_in6ai): New function.
78347 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
78349         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
78350         close_not_cancel_no_status here.
78351         (__check_pf): Reorganize code a bit to not call close twice if OOM.
78353 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
78355         [BZ #13276]
78356         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
78357         return value.
78359         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
78360         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
78361         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
78363 2011-07-03  Andreas Jaeger  <aj@suse.de>
78365         [BZ #10709]
78366         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
78367         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
78368         * math/libm-test.inc (sin_test): Add test case.
78370 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
78372         [BZ #13337]
78373         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
78374         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
78376         * elf/chroot_canon.c (chroot_canon): Cleanups.
78378         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
78380         [BZ #13335]
78381         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
78382         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
78384         * string/test-strchr.c: Make usable for strchrnul testing.
78385         * string/test-strchrnul.c: New file.
78386         * string/Makefile (strop-tests): Add strchrnul.
78388         * po/it.po: Update from translation team.
78389         * po/es.po: Likewise.
78391 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
78393         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
78394         the three constants needed as parameters.  Drop the others.
78395         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
78396         __m128i_strloadu_tolower.
78397         Create and initialize variable zero and use it in all the places
78398         where _mm_setzero_si128 was used.
78400         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
78401         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
78402         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
78403         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
78404         anymore.
78405         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
78406         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
78407         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
78408         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
78409         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
78410         __mpranred, __mptan.
78411         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
78412         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
78413         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
78414         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
78415         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
78416         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
78417         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
78418         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
78419         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
78421 2011-10-28  Andreas Schwab  <schwab@redhat.com>
78423         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
78424         redefine if SHARED.
78425         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
78427         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
78428         wide char related routines to wcsmbs subdir.
78430 2011-10-27  Andreas Schwab  <schwab@redhat.com>
78432         [BZ #13344]
78433         * misc/sys/cdefs.h (__THROWNL): Define.
78434         * posix/unistd.h: Use __THREADNL instead of __THREAD
78435         for memory synchronization functions.
78437 2011-10-26  Roland McGrath  <roland@hack.frob.com>
78439         [BZ #13349]
78440         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
78441         doesn't exist.
78442         * manual/stdio.texi (Obstack Streams): Node removed.
78444 2011-10-26  Andreas Schwab  <schwab@redhat.com>
78446         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
78447         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
78448         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
78450         * math/math_private.h (math_force_eval): Allow non-addressable
78451         arguments.
78452         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
78454 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
78456         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
78457         file is not needed.
78459         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
78460         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
78461         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
78462         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
78463         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
78464         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
78465         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
78466         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
78467         Add AVX variants.
78468         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
78469         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
78470         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
78471         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
78472         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
78473         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
78474         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
78475         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
78476         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
78477         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
78478         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
78479         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
78480         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
78481         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
78482         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
78483         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
78484         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
78485         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
78486         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
78488         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
78489         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
78491         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
78492         place.  Use VEX encoding when compiling for AVX.
78494 2011-10-25  Andreas Schwab  <schwab@redhat.com>
78496         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
78497         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
78499         * string/test-strchr.c (do_test): Don't generate NUL bytes.
78501 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
78503         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
78504         useless if() expression.
78505         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
78506         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
78507         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
78508         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
78509         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
78510         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
78511         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
78512         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
78513         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
78514         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
78515         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
78516         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
78517         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
78518         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
78519         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
78520         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
78521         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
78522         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
78523         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
78525         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
78527 2011-10-25  Andreas Schwab  <schwab@redhat.com>
78529         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
78530         condition.
78531         * elf/dl-fini.c (_dl_sort_fini): Likewise.
78533 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
78535         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
78536         .text section.  Avoid duplicate constants.
78537         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
78538         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
78539         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
78540         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
78541         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
78542         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
78543         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
78544         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
78545         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
78546         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
78547         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
78548         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
78549         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
78550         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
78551         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
78552         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
78553         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
78554         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
78555         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
78556         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
78557         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
78558         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
78559         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
78560         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
78561         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
78562         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
78563         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
78564         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
78565         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
78566         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
78567         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
78568         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
78569         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
78570         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
78571         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
78572         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
78573         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
78574         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
78575         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
78576         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
78577         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
78578         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
78579         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
78580         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
78581         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
78583 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
78585         * sysdeps/x86_64/dla.h: Move to ...
78586         * sysdeps/x86_64/fpu/dla.h: ...here.
78587         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
78588         situations.  Use __builtin_fma only for gcc 4.6 and up.
78590         * config.make.in: Add have-mfma4 entry.
78591         * configure.in: Substitute libc_cv_cc_fma4.
78592         * math/Makefile (dbl-only-routines): Add sincostab.
78593         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
78594         Use __sincostab not sincos.
78595         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
78596         name is a macro.
78597         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
78598         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
78599         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
78600         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
78601         using __copysign.
78602         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
78603         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
78604         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
78605         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
78606         and __inv.
78607         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
78608         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
78609         __copysign.
78610         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
78611         define aliases when function name is a macro.
78612         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
78613         sysdeps/ieee754/dbl-64/sincos.tbl.
78614         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
78615         fma4-enabled routines.
78616         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
78617         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
78618         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
78619         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
78620         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
78621         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
78622         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
78623         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
78624         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
78625         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
78626         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
78627         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
78628         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
78629         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
78630         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
78631         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
78632         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
78633         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
78634         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
78635         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
78636         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
78637         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
78638         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
78639         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
78640         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
78641         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
78642         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
78643         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
78644         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
78645         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
78647         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
78648         rename.
78649         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
78650         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
78651         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
78652         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
78653         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
78654         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
78655         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
78656         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
78658 2011-10-24  Andreas Schwab  <schwab@redhat.com>
78660         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
78662 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
78664         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
78666         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
78667         prediction.
78668         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
78670         * string/strnlen.c: Don't define STRNLEN, reverse logic.
78671         Remove unused variable magic_bits.
78672         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
78674         * string/strnlen.c: Define and use STRNLEN macro.
78675         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
78676         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
78677         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
78678         * wcsmbs/wcslen.c: Define and use WCSLEN.
78679         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
78680         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
78681         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
78682         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
78683         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
78684         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
78685         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
78687 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78689         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78690         strnlen-sse2-no-bsf.
78691         Rename strlen-no-bsf to strlen-sse2-no-bsf.
78692         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
78693         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
78694         Add strnlen support.
78695         (USE_AS_STRNLEN): New macro.
78696         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
78697         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
78698         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
78699         * sysdeps/x86_64/wcslen.S: New file.
78701 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
78703         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
78704         XMM-moves are used for copying on small sizes.
78706 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78708         * wcsmbs/Makefile (strop-tests): Add wcschr.
78709         * wcsmbs/test-wcschr.c: New file.
78710         * string/test-strchr.c: Update.
78711         Add wcschr support.
78712         (WIDE): New macro.
78714 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78716         * wcsmbs/Makefile (strop-tests): Add wcslen.
78717         * wcsmbs/test-wcslen.c: New file.
78718         * string/test-strlen.c: Update.
78719         Add wcslen support.
78720         (WIDE): New macro.
78722 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
78724         * po/it.po: Update from translation team.
78726 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78728         * sysdeps/x86_64/wcscmp.S: Update.
78729         Fix wrong comparison semantics.
78730         wcscmp shall use signed comparison not unsigned.
78731         Don't use substraction to avoid overflow bug.
78732         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
78733         * wcsmbc/wcscmp.c: Likewise.
78734         * string/test-strcmp.c: Likewise.
78735         Add new tests to check cases with negative values.
78737 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
78739         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
78740         * sysdeps/x86_64/dla.h: ...here.  New file.
78741         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
78742         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
78743         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
78744         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
78745         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
78746         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
78747         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
78748         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
78749         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
78751 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
78753         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
78754         __ynl_finite aliases.
78756 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
78758         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78760         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
78761         define DLA_FMA.
78762         [DLA_FMA] (EMULV): Use DLA_FMA.
78763         [DLA_FMA] (MUL12): Use EMULV.
78764         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
78765         that are not needed.
78766         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
78767         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
78768         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
78769         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
78770         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
78771         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
78772         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
78774 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
78776         * math/s_nan.c: Undef __nan.
78777         * math/s_nanf.c: Undef __nanf.
78778         * math/s_nanl.c: Undef __nanl.
78779         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
78780         "math_private.h".
78782 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
78784         * math/s_catan.c: Add branch predictions.
78785         * math/s_catanf.c: Likewise.
78786         * math/s_catanh.c: Likewise.
78787         * math/s_catanhf.c: Likewise.
78788         * math/s_catanhl.c: Likewise.
78789         * math/s_catanl.c: Likewise.
78790         * math/s_cexp.c: Likewise.
78791         * math/s_cexpf.c: Likewise.
78792         * math/s_cexpl.c: Likewise.
78793         * math/s_clog.c: Likewise.
78794         * math/s_clog10.c: Likewise.
78795         * math/s_clog10f.c: Likewise.
78796         * math/s_clog10l.c: Likewise.
78797         * math/s_clogf.c: Likewise.
78798         * math/s_clogl.c: Likewise.
78799         * math/s_csqrt.c: Likewise.
78800         * math/s_csqrtf.c: Likewise.
78801         * math/s_csqrtl.c: Likewise.
78802         * math/s_ctanf.c: Likewise.
78803         * math/s_ctanh.c: Likewise.
78804         * math/s_ctanhf.c: Likewise.
78805         * math/s_ctanhl.c: Likewise.
78806         * math/s_ctanl.c: Likewise.
78808         * math/math_private.h: Define __nan, __nanf, __nanl.
78809         * math/s_cacosh.c: Include <math_private.h>.
78810         * math/s_cacoshl.c: Likewise.
78811         * math/s_casinh.c: Likewise.
78812         * math/s_casinhf.c: Likewise.
78813         * math/s_casinhl.c: Likewise.
78814         * math/s_ccos.c: Rely entire on ccosh.
78815         * math/s_ccosf.c: Rely entire on ccoshf.
78816         * math/s_ccosl.c: Rely entirely on ccoshl.
78817         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
78818         Remove tests for FE_INVALID.
78819         * math/s_ccoshf.c: Likewise.
78820         * math/s_ccoshl.c: Likewise.
78821         * math/s_csin.c: Likewise.
78822         * math/s_csinf.c: Likewise.
78823         * math/s_csinh.c Likewise.
78824         * math/s_csinhf.c: Likewise.
78825         * math/s_csinhl.c: Likewise.
78826         * math/s_csinl.c: Likewise.
78827         * math/s_ctan.c: Likewise.
78828         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
78829         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
78830         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
78832 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
78834         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
78835         compilation problems.
78837         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
78838         __builtin_expect.
78840 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
78842         * sysdeps/i386/configure.in: Test for -mfma4 option.
78843         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
78844         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
78845         COMMON_CPUID_INDEX_80000001.
78846         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
78847         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
78848         use it if FMA3 is not supported.
78849         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
78851         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
78852         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
78854 2011-10-20  Andreas Schwab  <schwab@redhat.com>
78856         [BZ #12892]
78857         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
78858         it would create a cycle with a link time dependency.
78860 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
78862         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
78863         instruction.
78864         * string/Makefile (strop-tests): Add rawmemchr.
78865         * string/test-rawmemchr.c: New file.
78867         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
78868         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
78869         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
78870         when compiling str{,n}casecmp and when AVX is available.  Hook up
78871         new optimized code in initializers.
78873 2011-10-19  Andreas Schwab  <schwab@redhat.com>
78875         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
78876         __feraiseexcept instead of feraiseexcept.
78878 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
78880         * math/math_private.h: Define defaults for libc_fetestexcept and
78881         libc_feupdateenv.
78882         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
78883         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
78884         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
78885         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
78886         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
78887         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
78888         libc_fetestexcept and libc_feupdateenv.
78890         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
78891         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
78892         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
78893         * sysdeps/x86_64/fpu/math_private.h: Define special version of
78894         libc_feholdexcept_setround.
78896         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
78897         Add s_nearbyint-c and s_nearbyintf-c.
78898         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
78899         nearbyintf inlines.
78900         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
78901         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
78902         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
78903         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
78905         * math/math_private.h: Define defaults for libc_fegetround,
78906         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
78907         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
78908         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
78909         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
78910         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
78911         standard functions.
78912         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
78913         Remove comments and hacks for old compiler versions.
78914         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
78915         libc_fegetround, libc_fesetround, libc_feholdexcept, and
78916         libc_feholdexceptl.
78918 2011-10-18  Andreas Schwab  <schwab@redhat.com>
78920         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
78921         (__feraiseexcept_renamed): Add __NTH.
78922         (feraiseexcept): Add __NTH.  Rename local variables to fix
78923         namespace violations.
78925 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
78927         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
78929         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
78931         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
78932         recently added interfaces.
78933         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
78935         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
78936         about macro parameter expansion.
78938         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
78939         __NO_MATH_INLINES is defined.  Cleanups.
78941         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
78942         and __floorf is target has SSE4.1.
78943         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
78944         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
78945         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
78946         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
78948         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
78949         name.
78950         (floorf): Likewise.
78952         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
78954 2011-10-17  Andreas Schwab  <schwab@redhat.com>
78956         * misc/sys/cdefs.h: Fix last change.
78958         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
78959         database lookup.
78961 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
78963         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
78965         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
78966         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
78967         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
78968         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
78969         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
78970         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
78971         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
78972         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
78973         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
78974         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
78975         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
78976         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
78977         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
78978         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
78979         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
78980         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
78981         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
78982         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
78983         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
78984         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
78985         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
78986         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
78988         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
78989         ceil, ceilf, floor, floorf.
78991         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
78992         Perform IRELATIVE relocations last.
78994         * elf/do-rel.h: Add another parameter nrelative, replacing the
78995         local variable with the same name.  Change name of the function
78996         to end in Rel or Rela (uppercase).
78997         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
78998         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
78999         elf_dynamic_do_##reloc function.
79001 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
79003         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
79004         is sufficient, at least on modern CPUs.
79006         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
79008         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
79009         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
79011         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
79012         __expl_finite.
79013         * math/bits/math-finite.h: Add entries for exp.
79014         * math/e_expl.c: Add __*_finite alias.
79015         * sysdeps/i386/fpu/e_exp.S: Likewise.
79016         * sysdeps/i386/fpu/e_expf.S: Likewise.
79017         * sysdeps/i386/fpu/e_expl.c: Likewise.
79018         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79019         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
79020         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
79021         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
79022         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
79023         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
79024         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
79026         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
79027         is sufficient, at least on modern CPUs.
79029         * ctype/ctype-info.c (__ctype_init): Define.
79030         * include/ctype.h (__ctype_init): Declare.
79031         (__ctype_b_loc): The variable is always initialized.
79032         (__ctype_toupper_loc): Likewise.
79033         (__ctype_tolower_loc): Likewise.
79034         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
79035         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
79037 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
79039         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
79041         * configure.in: Also look in $cxxmachine/include for C++ system
79042         headers.
79044 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79046         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
79047         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
79048         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
79049         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
79050         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
79051         (USE_AS_WMEMCMP): New macro.
79052         Fixing indents.
79053         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
79054         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
79055         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
79056         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
79057         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79058         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
79059         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
79060         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
79061         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
79062         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
79063         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
79064         (USE_AS_WMEMCMP): New macro.
79065         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
79066         * sysdeps/string/test-memcmp.c: Update.
79067         Fix simple_wmemcmp.
79068         Add new tests.
79069         * wcsmbs/wmemcmp.c: Update.
79070         (WMEMCMP): New macro.
79071         Fix overflow bug.
79073 2011-10-12  Andreas Jaeger  <aj@suse.de>
79075         [BZ #13268]
79076         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
79078 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
79080         * libio/iofwide.c (do_length): Avoid warning.
79082         * ctype/ctype.h (__isctype_f): Add missing __THROW.
79084 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
79086         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
79088         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
79089         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
79090         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
79091         * sysdeps/i386/i686/fpu/e_log.S: New file.
79092         * sysdeps/i386/i686/fpu/e_logf.S: New file.
79093         * sysdeps/i386/i686/fpu/e_logl.S: New file.
79095         * ctype/ctype.h: Add support for inlined isXXX functions when
79096         compiling C++ code.
79098 2011-10-14  Andreas Schwab  <schwab@redhat.com>
79100         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
79102         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
79104 2011-10-13  Roland McGrath  <roland@hack.frob.com>
79106         [BZ #13291]
79107         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
79109 2011-10-13  Andreas Schwab  <schwab@redhat.com>
79111         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
79112         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
79113         feraiseexcept.
79115         * sysdeps/x86_64/memrchr.S: Check for zero size.
79117         * string/stratcliff.c: Add memrchr tests.
79119 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79121         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79122         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
79123         rawmemchr-sse2 rawmemchr-sse2-bsf.
79124         * sysdeps/i386/i686/multiarch/memchr.S: New file.
79125         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
79126         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
79127         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
79128         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
79129         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
79130         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
79131         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
79132         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
79133         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
79134         * string/memrchr.c (MEMRCHR): New macro.
79136 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
79138         Add integration with gcc's -ffinite-math-only and optimize wrapper
79139         functions in libm.
79140         * Versions.def: Define GLIBC_2.15 version for libm.
79141         * math/Makefile (headers): Add bits/math-finite.h.
79142         * math/bits/math-finite.h: New file.
79143         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
79144         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
79145         * math/e_acoshl.c: Add __*_finite alias.
79146         * math/e_acosl.c: Likewise.
79147         * math/e_asinl.c: Likewise.
79148         * math/e_atan2l.c: Likewise.
79149         * math/e_atanhl.c: Likewise.
79150         * math/e_coshl.c: Likewise.
79151         * math/e_exp10.c: Likewise.
79152         * math/e_exp10f.c: Likewise.
79153         * math/e_exp10l.c: Likewise.
79154         * math/e_exp2l.c: Likewise.
79155         * math/e_fmodl.c: Likewise.
79156         * math/e_gammal_r.c: Likewise.
79157         * math/e_hypotl.c: Likewise.
79158         * math/e_j0l.c: Likewise.
79159         * math/e_j1l.c: Likewise.
79160         * math/e_jnl.c: Likewise.
79161         * math/e_lgammal_r.c: Likewise.
79162         * math/e_log10l.c: Likewise.
79163         * math/e_log2l.c: Likewise.
79164         * math/e_logl.c: Likewise.
79165         * math/e_powl.c: Likewise.
79166         * math/e_sinhl.c: Likewise.
79167         * math/e_sqrtl.c: Likewise.
79168         * math/e_scalb.c: Completely rewritten and optimized.
79169         * math/e_scalbf.c: Likewise.
79170         * math/e_scalbl.c: Likewise.
79171         * math/w_acos.c: Likewise.
79172         * math/w_acosf.c: Likewise.
79173         * math/w_acosl.c: Likewise.
79174         * math/w_acosh.c: Likewise.
79175         * math/w_acoshf.c: Likewise.
79176         * math/w_acoshl.c: Likewise.
79177         * math/w_asin.c: Likewise.
79178         * math/w_asinf.c: Likewise.
79179         * math/w_asinl.c: Likewise.
79180         * math/w_atan2.c: Likewise.
79181         * math/w_atan2f.c: Likewise.
79182         * math/w_atan2l.c: Likewise.
79183         * math/w_atanh.c: Likewise.
79184         * math/w_atanhf.c: Likewise.
79185         * math/w_atanhl.c: Likewise.
79186         * math/w_exp10.c: Likewise.
79187         * math/w_exp10f.c: Likewise.
79188         * math/w_exp10l.c: Likewise.
79189         * math/w_fmod.c: Likewise.
79190         * math/w_fmodf.c: Likewise.
79191         * math/w_fmodl.c: Likewise.
79192         * math/w_j0.c: Likewise.
79193         * math/w_j0f.c: Likewise.
79194         * math/w_j0l.c: Likewise.
79195         * math/w_j1.c: Likewise.
79196         * math/w_j1f.c: Likewise.
79197         * math/w_j1l.c: Likewise.
79198         * math/w_jn.c: Likewise.
79199         * math/w_jnf.c: Likewise.
79200         * math/w_log.c: Likewise.
79201         * math/w_logf.c: Likewise.
79202         * math/w_logl.c: Likewise.
79203         * math/w_log10.c: Likewise.
79204         * math/w_log10f.c: Likewise.
79205         * math/w_log10l.c: Likewise.
79206         * math/w_log2.c: Likewise.
79207         * math/w_log2f.c: Likewise.
79208         * math/w_log2l.c: Likewise.
79209         * math/w_pow.c: Likewise.
79210         * math/w_powf.c: Likewise.
79211         * math/w_powl.c: Likewise.
79212         * math/w_remainder.c: Likewise.
79213         * math/w_remainderf.c: Likewise.
79214         * math/w_remainderl.c: Likewise.
79215         * math/w_scalb.c: Likewise.
79216         * math/w_scalbf.c: Likewise.
79217         * math/w_scalbl.c: Likewise.
79218         * math/w_sqrt.c: Likewise.
79219         * math/w_sqrtf.c: Likewise.
79220         * math/w_sqrtl.c: Likewise.
79221         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
79222         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
79223         used.
79224         * math/math_private.h: Declare __kernel_standard_f.
79225         * math/w_cosh.c: Remove cruft and optimize a bit.
79226         * math/w_coshf.c: Likewise.
79227         * math/w_coshl.c: Likewise.
79228         * math/w_exp2.c: Likewise.
79229         * math/w_exp2f.c: Likewise.
79230         * math/w_exp2l.c: Likewise.
79231         * math/w_hypot.c: Likewise.
79232         * math/w_hypotf.c: Likewise.
79233         * math/w_hypotl.c: Likewise.
79234         * math/w_lgamma.c: Likewise.
79235         * math/w_lgamma_r.c: Likewise.
79236         * math/w_lgammaf.c: Likewise.
79237         * math/w_lgammaf_r.c: Likewise.
79238         * math/w_lgammal.c: Likewise.
79239         * math/w_lgammal_r.c: Likewise.
79240         * math/w_sinh.c: Likewise.
79241         * math/w_sinhf.c: Likewise.
79242         * math/w_sinhl.c: Likewise.
79243         * math/w_tgamma.c: Likewise.
79244         * math/w_tgammaf.c: Likewise.
79245         * math/w_tgammal.c: Likewise.
79246         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
79247         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
79248         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
79249         Minor optimizations.  Pretty printing.  Remove cruft.
79250         * sysdeps/i386/fpu/e_acosf.S: Likewise.
79251         * sysdeps/i386/fpu/e_acosh.S: Likewise.
79252         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
79253         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
79254         * sysdeps/i386/fpu/e_acosl.c: Likewise.
79255         * sysdeps/i386/fpu/e_asin.S: Likewise.
79256         * sysdeps/i386/fpu/e_asinf.S: Likewise.
79257         * sysdeps/i386/fpu/e_atan2.S: Likewise.
79258         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
79259         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
79260         * sysdeps/i386/fpu/e_atanh.S: Likewise.
79261         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
79262         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
79263         * sysdeps/i386/fpu/e_exp10.S: Likewise.
79264         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
79265         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
79266         * sysdeps/i386/fpu/e_exp2.S: Likewise.
79267         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
79268         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
79269         * sysdeps/i386/fpu/e_fmod.S: Likewise.
79270         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
79271         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
79272         * sysdeps/i386/fpu/e_hypot.S: Likewise.
79273         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
79274         * sysdeps/i386/fpu/e_log.S: Likewise.
79275         * sysdeps/i386/fpu/e_log10.S: Likewise.
79276         * sysdeps/i386/fpu/e_log10f.S: Likewise.
79277         * sysdeps/i386/fpu/e_log10l.S: Likewise.
79278         * sysdeps/i386/fpu/e_log2.S: Likewise.
79279         * sysdeps/i386/fpu/e_log2f.S: Likewise.
79280         * sysdeps/i386/fpu/e_log2l.S: Likewise.
79281         * sysdeps/i386/fpu/e_logf.S: Likewise.
79282         * sysdeps/i386/fpu/e_logl.S: Likewise.
79283         * sysdeps/i386/fpu/e_pow.S: Likewise.
79284         * sysdeps/i386/fpu/e_powf.S: Likewise.
79285         * sysdeps/i386/fpu/e_powl.S: Likewise.
79286         * sysdeps/i386/fpu/e_remainder.S: Likewise.
79287         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
79288         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
79289         * sysdeps/i386/fpu/e_scalb.S: Likewise.
79290         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
79291         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
79292         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
79293         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
79294         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
79295         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
79296         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
79297         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79298         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
79299         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
79300         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
79301         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
79302         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
79303         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
79304         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
79305         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
79306         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
79307         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79308         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
79309         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
79310         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79311         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
79312         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
79313         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
79314         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79315         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
79316         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
79317         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
79318         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
79319         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
79320         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
79321         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
79322         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
79323         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
79324         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
79325         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
79326         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
79327         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
79328         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
79329         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
79330         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
79331         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
79332         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
79333         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
79334         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
79335         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
79336         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
79337         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
79338         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
79339         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
79340         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
79341         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
79342         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
79343         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
79344         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
79345         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
79346         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
79347         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
79348         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
79349         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
79350         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
79351         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
79352         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
79353         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
79354         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
79355         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
79356         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
79357         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
79358         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
79359         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
79360         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
79361         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
79362         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
79363         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
79364         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
79365         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
79366         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
79367         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
79368         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
79369         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
79370         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
79371         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
79372         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
79373         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
79374         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
79375         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
79376         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
79377         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
79378         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
79379         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
79380         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
79381         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
79382         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
79383         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
79384         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
79385         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
79386         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
79387         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
79388         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
79389         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
79390         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
79391         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
79392         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
79393         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
79394         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
79395         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
79396         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
79397         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
79398         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
79399         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
79400         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
79401         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
79402         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
79403         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
79404         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
79405         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
79406         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
79407         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
79408         (__isnanf): Likewise.
79409         (__isinf_ns): Likewise.
79410         (__isinf_nsf): Likewise.
79411         (__finite): Likewise.
79412         (__finitef): Likewise.
79413         (__ieee754_sqrt): Define as macro.
79414         (__ieee754_sqrtf): Define as macro.
79415         (__ieee754_sqrtl): Define as macro.
79416         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
79417         inlined copy.
79418         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
79419         __FINITE_MATH_ONLY__ consistent.
79420         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
79422 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
79424         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
79425         of rawmemchr.
79427         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
79429 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
79431         * po/ja.po: Update from translation team.
79433 2011-10-08  Roland McGrath  <roland@hack.frob.com>
79435         * locale/programs/locarchive.c (prepare_address_space): New function.
79436         (create_archive, enlarge_archive, open_archive): Use it.
79438         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
79439         inside [SHARED], where it is used.
79441         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
79443         * nss/getent.c (netgroup_keys): Remove unused variable.
79444         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
79446 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
79448         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
79449         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
79450         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
79451         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
79452         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
79453         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
79454         * math/Makefile (libm-calls): Add s_isinf_ns.
79455         * math/divtc3.c: Use __isinf_nsl instead of isinf.
79456         * math/multc3.c: Likewise.
79457         * math/s_casin.c: Likewise.
79458         * math/s_casinf.c: Likewise.
79459         * math/s_casinl.c: Likewise.
79460         * math/s_ccos.c: Likewise.
79461         * math/s_ccosf.c: Likewise.
79462         * math/s_ccosl.c: Likewise.
79463         * math/s_ctan.c: Likewise.
79464         * math/s_ctanf.c: Likewise.
79465         * math/s_ctanh.c: Likewise.
79466         * math/s_ctanhf.c: Likewise.
79467         * math/s_ctanhl.c: Likewise.
79468         * math/s_ctanl.c: Likewise.
79469         * math/w_fmod.c: Likewise.
79470         * math/w_fmodf.c: Likewise.
79471         * math/w_fmodl.c: Likewise.
79472         * math/w_remainder.c: Likewise.
79473         * math/w_remainderf.c: Likewise.
79474         * math/w_remainderl.c: Likewise.
79475         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
79476         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
79477         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
79478         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
79479         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
79480         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
79481         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
79482         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
79484         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
79485         of the number.
79486         * stdio-common/printf_fphex.c: Likewise.
79487         * stdio-common/printf_size.c: Likewise.
79489         * math/e_exp10.c: Include math_private.h using <...> not "...".
79490         * math/e_exp10f.c: Likewise.
79491         * math/e_exp10l.c: Likewise.
79492         * math/e_exp2l.c: Likewise.
79493         * math/e_j0l.c: Likewise.
79494         * math/e_j1l.c: Likewise.
79495         * math/e_jnl.c: Likewise.
79496         * math/e_lgammal_r.c: Likewise.
79497         * math/e_rem_pio2l.c: Likewise.
79498         * math/e_scalb.c: Likewise.
79499         * math/e_scalbf.c: Likewise.
79500         * math/e_scalbl.c: Likewise.
79501         * math/k_cosl.c: Likewise.
79502         * math/k_sinl.c: Likewise.
79503         * math/k_tanl.c: Likewise.
79504         * math/s_cacoshf.c: Likewise.
79505         * math/s_catan.c: Likewise.
79506         * math/s_catanf.c: Likewise.
79507         * math/s_catanh.c: Likewise.
79508         * math/s_catanhf.c: Likewise.
79509         * math/s_catanhl.c: Likewise.
79510         * math/s_catanl.c: Likewise.
79511         * math/s_ccosh.c: Likewise.
79512         * math/s_ccoshf.c: Likewise.
79513         * math/s_ccoshl.c: Likewise.
79514         * math/s_cexp.c: Likewise.
79515         * math/s_cexpf.c: Likewise.
79516         * math/s_cexpl.c: Likewise.
79517         * math/s_clog.c: Likewise.
79518         * math/s_clog10.c: Likewise.
79519         * math/s_clog10f.c: Likewise.
79520         * math/s_clog10l.c: Likewise.
79521         * math/s_clogf.c: Likewise.
79522         * math/s_clogl.c: Likewise.
79523         * math/s_csin.c: Likewise.
79524         * math/s_csinf.c: Likewise.
79525         * math/s_csinh.c: Likewise.
79526         * math/s_csinhf.c: Likewise.
79527         * math/s_csinhl.c: Likewise.
79528         * math/s_csinl.c: Likewise.
79529         * math/s_csqrt.c: Likewise.
79530         * math/s_csqrtf.c: Likewise.
79531         * math/s_csqrtl.c: Likewise.
79532         * math/s_ctan.c: Likewise.
79533         * math/s_ctanf.c: Likewise.
79534         * math/s_ctanh.c: Likewise.
79535         * math/s_ctanhf.c: Likewise.
79536         * math/s_ctanhl.c: Likewise.
79537         * math/s_ctanl.c: Likewise.
79538         * math/s_ldexp.c: Likewise.
79539         * math/s_ldexpf.c: Likewise.
79540         * math/s_ldexpl.c: Likewise.
79541         * math/s_significand.c: Likewise.
79542         * math/s_significandf.c: Likewise.
79543         * math/s_significandl.c: Likewise.
79544         * math/w_acos.c: Likewise.
79545         * math/w_acosf.c: Likewise.
79546         * math/w_acosh.c: Likewise.
79547         * math/w_acoshf.c: Likewise.
79548         * math/w_acoshl.c: Likewise.
79549         * math/w_acosl.c: Likewise.
79550         * math/w_asin.c: Likewise.
79551         * math/w_asinf.c: Likewise.
79552         * math/w_asinl.c: Likewise.
79553         * math/w_atan2.c: Likewise.
79554         * math/w_atan2f.c: Likewise.
79555         * math/w_atan2l.c: Likewise.
79556         * math/w_atanh.c: Likewise.
79557         * math/w_atanhf.c: Likewise.
79558         * math/w_atanhl.c: Likewise.
79559         * math/w_cosh.c: Likewise.
79560         * math/w_coshf.c: Likewise.
79561         * math/w_coshl.c: Likewise.
79562         * math/w_dremf.c: Likewise.
79563         * math/w_exp10.c: Likewise.
79564         * math/w_exp10f.c: Likewise.
79565         * math/w_exp10l.c: Likewise.
79566         * math/w_exp2.c: Likewise.
79567         * math/w_exp2f.c: Likewise.
79568         * math/w_fmod.c: Likewise.
79569         * math/w_fmodf.c: Likewise.
79570         * math/w_fmodl.c: Likewise.
79571         * math/w_hypot.c: Likewise.
79572         * math/w_hypotf.c: Likewise.
79573         * math/w_hypotl.c: Likewise.
79574         * math/w_j0.c: Likewise.
79575         * math/w_j0f.c: Likewise.
79576         * math/w_j0l.c: Likewise.
79577         * math/w_j1.c: Likewise.
79578         * math/w_j1f.c: Likewise.
79579         * math/w_j1l.c: Likewise.
79580         * math/w_jn.c: Likewise.
79581         * math/w_jnf.c: Likewise.
79582         * math/w_jnl.c: Likewise.
79583         * math/w_lgamma.c: Likewise.
79584         * math/w_lgamma_r.c: Likewise.
79585         * math/w_lgammaf.c: Likewise.
79586         * math/w_lgammaf_r.c: Likewise.
79587         * math/w_lgammal.c: Likewise.
79588         * math/w_lgammal_r.c: Likewise.
79589         * math/w_log.c: Likewise.
79590         * math/w_log10.c: Likewise.
79591         * math/w_log10f.c: Likewise.
79592         * math/w_log10l.c: Likewise.
79593         * math/w_log2.c: Likewise.
79594         * math/w_log2f.c: Likewise.
79595         * math/w_log2l.c: Likewise.
79596         * math/w_logf.c: Likewise.
79597         * math/w_logl.c: Likewise.
79598         * math/w_pow.c: Likewise.
79599         * math/w_powf.c: Likewise.
79600         * math/w_powl.c: Likewise.
79601         * math/w_remainder.c: Likewise.
79602         * math/w_remainderf.c: Likewise.
79603         * math/w_remainderl.c: Likewise.
79604         * math/w_scalb.c: Likewise.
79605         * math/w_scalbf.c: Likewise.
79606         * math/w_scalbl.c: Likewise.
79607         * math/w_sinh.c: Likewise.
79608         * math/w_sinhf.c: Likewise.
79609         * math/w_sinhl.c: Likewise.
79610         * math/w_sqrt.c: Likewise.
79611         * math/w_sqrtf.c: Likewise.
79612         * math/w_sqrtl.c: Likewise.
79613         * math/w_tgamma.c: Likewise.
79614         * math/w_tgammaf.c: Likewise.
79615         * math/w_tgammal.c: Likewise.
79617         * po/ja.po: Update from translation team.
79619 2011-09-29  Andreas Jaeger  <aj@suse.de>
79621         [BZ #13179]
79622         * sunrpc/netname.c (netname2host): Fix logic.
79624         [BZ #6779]
79625         [BZ #6783]
79626         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
79627         correctly.
79628         * math/w_remainder.c (__remainder): Likewise.
79629         * math/w_remainderf.c (__remainderf): Likewise.
79630         * math/libm-test.inc (remainder_test): Add test cases.
79632 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79634         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
79635         sdiv_qrnnd.
79637 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
79639         * string/test-memcmp.c: Avoid unncessary #defines.
79640         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
79642 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79644         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
79645         Use new sse2 version for core i3 - i7 as it's faster
79646         than sse42 version.
79647         (bit_Prefer_PMINUB_for_stringop): New.
79648         * sysdeps/x86_64/rawmemchr.S: Update.
79649         Replace with faster SSE2 version.
79650         * sysdeps/x86_64/memrchr.S: New file.
79651         * sysdeps/x86_64/memchr.S: Update.
79652         Replace with faster SSE2 version.
79654 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
79656         * elf/dl-load.c (lose): Add cast to avoid warning.
79658 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
79660         * po/ca.po: Update from translation team.
79662         * inet/getnetgrent_r.c: Hook up nscd.
79663         * nscd/Makefile (routines): Add nscd_netgroup.
79664         (nscd-modules): Add netgroupcache.
79665         (CFLAGS-netgroupcache.c): Define.
79666         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
79667         (cache_search): Add const to second parameter.
79668         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
79669         INNETGR.
79670         (dbs): Add netgrdb entry.
79671         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
79672         (verify_persistent_db): Handle netgrdb.
79673         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
79674         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
79675         GETFDNETGR.
79676         (netgroup_response_header): Define.
79677         (innetgroup_response_header): Define.
79678         (datahead): Add netgroup_response_header and innetgroup_response_header
79679         elements.
79680         * nscd/nscd.conf: Add entries for netgroup cache.
79681         * nscd/nscd.h (dbtype): Add netgrdb.
79682         (_PATH_NSCD_NETGROUP_DB): Define.
79683         (netgroup_iov_disabled): Declare.
79684         (xmalloc, xcalloc, xrealloc): Move declarations here.
79685         (cache_search): Adjust prototype.
79686         Add netgroup-related prototypes.
79687         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
79688         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
79689         (__nscd_innetgr): Declare.
79690         * nscd/selinux.c (perms): Use access_vector_t as element type and
79691         add netgroup-related initializers.
79692         * nscd/netgroupcache.c: New file.
79693         * nscd/nscd_netgroup.c: New file.
79694         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
79695         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
79696         For four parameters use innetgr.
79697         * nss/nss_files/files-init.c: Add definition and callback for netgr.
79698         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
79699         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
79700         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
79702         * nscd/connections.c (register_traced_file): Don't register file
79703         for disabled databases.
79705 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
79707         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
79709         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
79710         from tree and freeing node.
79712 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
79714         * nss/nsswitch.c (__nss_database_lookup): Handle
79715         nss_parse_service_list out of memory case.
79717 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
79719         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
79720         out of memory case.
79722 2011-10-04  Andreas Schwab  <schwab@redhat.com>
79724         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
79725         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
79726         pass it down.
79727         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
79728         elf_machine_rela, elf_machine_lazy_rel.
79729         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
79730         (ELF_DYNAMIC_DO_REL): Likewise.
79731         (ELF_DYNAMIC_DO_RELA): Likewise.
79732         (ELF_DYNAMIC_RELOCATE): Likewise.
79733         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
79734         to ELF_DYNAMIC_DO_REL.
79735         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
79736         (dl_main): In trace mode always set __RTLD_NOIFUNC.
79737         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
79738         elf_machine_rela.
79739         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
79740         skip_ifunc, don't call ifunc function if non-zero.
79741         (elf_machine_rela): Likewise.
79742         (elf_machine_lazy_rel): Likewise.
79743         (elf_machine_lazy_rela): Likewise.
79744         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
79745         (elf_machine_lazy_rel): Likewise.
79746         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
79747         Likewise.
79748         (elf_machine_lazy_rel): Likewise.
79749         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
79750         Likewise.
79751         (elf_machine_lazy_rel): Likewise.
79752         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
79753         (elf_machine_lazy_rel): Likewise.
79754         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
79755         (elf_machine_lazy_rel): Likewise.
79756         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
79757         (elf_machine_lazy_rel): Likewise.
79758         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
79759         (elf_machine_lazy_rel): Likewise.
79760         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
79761         (elf_machine_lazy_rel): Likewise.
79762         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
79763         (elf_machine_lazy_rel): Likewise.
79765 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
79767         * nss/nss_files/files-init.c (_nss_files_init): Use static
79768         initialization for all the *_traced_file variables.
79770 2011-09-28  Andreas Schwab  <schwab@redhat.com>
79772         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
79774 2011-09-27  Roland McGrath  <roland@hack.frob.com>
79776         [BZ #13226]
79777         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
79779 2011-09-27  Andreas Schwab  <schwab@redhat.com>
79781         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
79782         Reread the line before reparsing it.
79784 2011-09-26  Andreas Schwab  <schwab@redhat.com>
79786         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
79788 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
79789             Maxim Kuvyrkov  <maxim@codesourcery.com>
79790             Joseph Myers  <joseph@codesourcery.com>
79792         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
79793         if needed for __stack_chk_guard.
79795 2011-09-19  Roland McGrath  <roland@hack.frob.com>
79797         * sysdeps/posix/spawni.c (script_execute): Always define it.
79798         It will be optimized away if unused.
79799         (maybe_script_execute): New function.
79800         (__spawni): Call it.
79802         * Makerules: Don't include tls.make.
79803         (config-tls): Always set to thread.
79804         * tls.make.c: File removed.
79806 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
79808         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
79809         * config.make.in (CPPFLAGS-config): New substituted variable.
79811 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
79813         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
79815         [BZ #13192]
79816         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
79817         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
79819 2011-09-15  Roland McGrath  <roland@hack.frob.com>
79821         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
79822         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
79823         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
79824         (CALL_FAIL): Likewise.
79825         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
79826         (CALL_FAIL): Macro removed.
79827         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
79829 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
79831         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
79832         for __FINITE_MATH_ONLY__ == 1.
79834 2011-09-15  Andreas Schwab  <schwab@redhat.com>
79836         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
79837         __ieee754_sqrt instead of sqrt.
79838         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
79839         __ieee754_sqrtf instead of sqrtf.
79840         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
79841         __floorf instead of floorf.
79842         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
79843         __floorf, __truncf instead of floorf, truncf.
79845 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
79847         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
79849         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
79850         __extern_always_inline.
79851         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
79852         32-bit.
79854 2011-09-14  Andreas Schwab  <schwab@redhat.com>
79856         * elf/rtld.c (dl_main): Also relocate in dependency order when
79857         doing symbol dependency testing.
79859 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
79861         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
79862         Always define `refsym'.
79864 2011-09-13  Andreas Schwab  <schwab@redhat.com>
79866         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
79867         (__FD_ELT): Renamed from __FDELT.
79868         * misc/bits/select2.h (__FD_ELT): Likewise.
79869         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
79870         __FD_MASK instead of __FDELT, __FDMASK.
79871         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
79872         Likewise.
79873         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
79874         Likewise.
79876         * elf/Makefile (gen-ldd): Fix pattern.
79878         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
79879         (init_tls): Likewise.
79881 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
79883         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
79885 2011-09-12  Andreas Schwab  <schwab@redhat.com>
79887         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
79888         `struct cmsghdr *' instead of `void *'.
79889         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
79890         Likewise.
79892 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
79894         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
79895         if non-absolute.
79896         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
79897         ldd_rewrite_script.
79899 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
79901         * configure.in: Remove --with-tls option.
79902         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
79903         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
79904         out in case it is missing.
79905         * sysdeps/ia64/elf/configure.in: Likewise.
79906         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
79907         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
79908         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
79909         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
79910         * sysdeps/sh/elf/configure.in: Likewise.
79911         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
79912         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
79913         * sysdeps/x86_64/elf/configure.in: Likewise.
79914         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
79915         * sysdeps/mach/hurd/tls.h: Likewise.
79917         [BZ #13067]
79918         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
79920         [BZ #13090]
79921         * configure.in: Fix use of AC_INIT.
79923         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
79925 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
79927         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
79928         __set_errno.
79929         * malloc/hooks.c: Likewise.
79931         [BZ #11929]
79932         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
79933         variables statically.
79934         (narenas): Initialize.
79935         (list_lock): Initialize.
79936         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
79937         initializtion of main_arena and list_lock.  Small cleanups.
79938         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
79939         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
79940         Add initializers to main_arena and mp_.
79941         (malloc_state): Remove pagesize member.  Change all users to use
79942         GLRO(dl_pagesize).
79944         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
79945         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
79946         is always initialized.
79948         * malloc/malloc.c: Removed unused configurations and dead code.
79949         * malloc/arena.c: Likewise.
79950         * malloc/hooks.c: Likewise.
79951         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
79953         * include/tls.h: Removed.  USE___THREAD must always be defined.
79954         * bits/libc-tsd.h: Don't handle !USE___THREAD.
79955         * elf/dl-libc.c: Likewise.
79956         * elf/dl-tsd.c: Likewise.
79957         * include/errno.h: Likewise.
79958         * include/netdb.h: Likewise.
79959         * include/resolv.h: Likewise.
79960         * inet/herrno-loc.c: Likewise.
79961         * inet/herrno.c: Likewise.
79962         * malloc/arena.c: Likewise.
79963         * malloc/hooks.c: Likewise.
79964         * malloc/malloc.c: Likewise.
79965         * resolv/res-state.c: Likewise.
79966         * resolv/res_libc.c: Likewise.
79967         * sysdeps/i386/dl-machine.h: Likewise.
79968         * sysdeps/ia64/dl-machine.h: Likewise.
79969         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
79970         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
79971         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
79972         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
79973         * sysdeps/sh/dl-machine.h: Likewise.
79974         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
79975         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
79976         * sysdeps/unix/i386/sysdep.S: Likewise.
79977         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
79978         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
79979         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
79980         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
79981         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
79982         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
79983         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
79984         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
79985         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
79986         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
79987         * sysdeps/unix/x86_64/sysdep.S: Likewise.
79988         * sysdeps/x86_64/dl-machine.h: Likewise.
79989         * tls.make.c: Likewise.
79991         * configure.in: Remove --with-__thread option.  Make tests for
79992         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
79993         tls_model attribute fail if no support is available.  Remove
79994         USE_IN_LIBIO.
79995         * Makeconfig: Adjust for dropped configure option.  All features are
79996         now mandatory.
79997         * Makerules: Likewise.
79998         * Versions.def: Likewise.
79999         * argp/argp-fmtstream.c: Likewise.
80000         * argp/argp-fmtstream.h: Likewise.
80001         * argp/argp-help.c: Likewise.
80002         * assert/assert.c: Likewise.
80003         * config.h.in: Likewise.
80004         * config.make.in: Likewise.
80005         * configure: Likewise.
80006         * configure.in: Likewise.
80007         * csu/Versions: Likewise.
80008         * csu/init.c: Likewise.
80009         * elf/tst-audit2.c: Likewise.
80010         * elf/tst-tls10.c: Likewise.
80011         * elf/tst-tls10.h: Likewise.
80012         * elf/tst-tls11.c: Likewise.
80013         * elf/tst-tls12.c: Likewise.
80014         * elf/tst-tls14.c: Likewise.
80015         * elf/tst-tlsmod11.c: Likewise.
80016         * elf/tst-tlsmod12.c: Likewise.
80017         * elf/tst-tlsmod13.c: Likewise.
80018         * elf/tst-tlsmod13a.c: Likewise.
80019         * elf/tst-tlsmod14a.c: Likewise.
80020         * elf/tst-tlsmod15b.c: Likewise.
80021         * elf/tst-tlsmod16a.c: Likewise.
80022         * elf/tst-tlsmod16b.c: Likewise.
80023         * elf/tst-tlsmod7.c: Likewise.
80024         * elf/tst-tlsmod8.c: Likewise.
80025         * elf/tst-tlsmod9.c: Likewise.
80026         * gmon/gmon.c: Likewise.
80027         * grp/fgetgrent_r.c: Likewise.
80028         * grp/putgrent.c: Likewise.
80029         * hurd/fopenport.c: Likewise.
80030         * include/libc-symbols.h: Likewise.
80031         * include/tls.h: Likewise.
80032         * intl/gettextP.h: Likewise.
80033         * intl/loadinfo.h: Likewise.
80034         * locale/global-locale.c: Likewise.
80035         * locale/localeinfo.h: Likewise.
80036         * mach/devstream.c: Likewise.
80037         * malloc/arena.c: Likewise.
80038         * malloc/set-freeres.c: Likewise.
80039         * misc/err.c: Likewise.
80040         * misc/getttyent.c: Likewise.
80041         * misc/mntent_r.c: Likewise.
80042         * posix/getopt.c: Likewise.
80043         * posix/wordexp.c: Likewise.
80044         * pwd/fgetpwent_r.c: Likewise.
80045         * resolv/Versions: Likewise.
80046         * resolv/res_hconf.c: Likewise.
80047         * shadow/fgetspent_r.c: Likewise.
80048         * shadow/putspent.c: Likewise.
80049         * stdio-common/printf_fphex.c: Likewise.
80050         * stdio-common/tmpfile.c: Likewise.
80051         * stdlib/abort.c: Likewise.
80052         * stdlib/fmtmsg.c: Likewise.
80053         * sunrpc/auth_unix.c: Likewise.
80054         * sunrpc/clnt_perr.c: Likewise.
80055         * sunrpc/clnt_tcp.c: Likewise.
80056         * sunrpc/clnt_udp.c: Likewise.
80057         * sunrpc/clnt_unix.c: Likewise.
80058         * sunrpc/openchild.c: Likewise.
80059         * sunrpc/svc_simple.c: Likewise.
80060         * sunrpc/svc_tcp.c: Likewise.
80061         * sunrpc/svc_udp.c: Likewise.
80062         * sunrpc/svc_unix.c: Likewise.
80063         * sunrpc/xdr.c: Likewise.
80064         * sunrpc/xdr_array.c: Likewise.
80065         * sunrpc/xdr_rec.c: Likewise.
80066         * sunrpc/xdr_ref.c: Likewise.
80067         * sunrpc/xdr_stdio.c: Likewise.
80069 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
80071         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80073 2011-07-03  Andreas Jaeger  <aj@suse.de>
80075         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
80076         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
80077         regenerate with gen-libm-tests.pl.
80079 2010-05-12  Petr Baudis  <pasky@suse.cz>
80081         [BZ #11589]
80082         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
80083         around j0() zero points by switching to j1().
80084         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
80085         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
80086         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
80087         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
80089 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
80091         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
80092         instead of 0.
80093         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
80094         instead of 0.
80095         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
80096         Patch in part by Pavel Roskin <proski@gnu.org>.
80098         [BZ #13138]
80099         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
80100         realloc.
80101         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
80102         Free memory block if necessary.
80104         [BZ #12847]
80105         * libio/genops.c (INTDEF): For string streams the _lock pointer can
80106         be NULL.  Don't lock in this case.
80108 2011-09-09  Roland McGrath  <roland@hack.frob.com>
80110         * elf/elf.h (ELFOSABI_GNU): New macro.
80111         (ELFOSABI_LINUX): Define to that.
80113 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
80115         * string/strncat.c (strncat): Undef the symbol in case it has been
80116         defined in bits/string.h.
80118 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
80120         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
80122         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
80123         link map.
80125 2011-08-17  Andreas Jaeger  <aj@suse.de>
80127         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
80129 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
80130             Ian Lance Taylor  <iant@google.com>
80132         * math/libm-test.inc (lround_test): New testcase.
80133         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
80135 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
80137         * Makefile: Remove support for automatic cvs check-ins.
80138         * Makerules: Likewise.
80139         * config.make.in: Likewise.
80140         * configure.in: Likewise.
80141         * intl/Makefile: Likewise.
80142         * locale/Makefile: Likewise.
80143         * po/Makefile: Likewise.
80144         * posix/Makefile: Likewise.
80145         * sysdeps/gnu/Makefile: Likewise.
80146         * sysdeps/mach/hurd/Makefile: Likewise.
80147         * sysdeps/sparc/sparc32/Makefile: Likewise.
80149         [BZ #13118]
80150         * posix/Makefile (bug-regex32-ENV): Define.
80151         Patch by John Stanley <jpsinthemix@verizon.net>.
80153         * misc/Makefile (headers): Add bits/select2.h.
80154         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
80155         * misc/bits/select2.h: New file.
80156         * include/bits/select2.h: New file.
80157         * debug/Makefile (routines): Add fdelt_chk.
80158         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
80159         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
80160         FD_ISSET.
80161         * debug/fdelt_chk.c: New file.
80163         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
80164         * wcsmbs/test-wmemcmp.c: Likewise.
80165         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
80166         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
80168 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80170         * string/Makefile (strop-tests): Add memcmp.
80171         * string/test-wmemcmp.c: New file.
80172         * string/test-memcmp.c: Add wmemcmp support.
80174 2011-09-08  Roland McGrath  <roland@hack.frob.com>
80176         [BZ #13153]
80177         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
80178         2011-07-19 change.
80180         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
80181         garbage value in a __mach_port_mod_refs call in the cases of the
80182         task-self and thread-self ports.
80184 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80186         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
80188 2011-09-08  Andreas Schwab  <schwab@redhat.com>
80190         * elf/dl-load.c (lose): Check for non-null L.
80192 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
80194         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
80196         * elf/dl-libc.c (dlerror_run): Pass back error code from
80197         dl_catch_error.
80199         [BZ #13123]
80200         * elf/dl-load.c (lose): Free l_origin if it is valid.
80202         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
80203         names.
80204         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
80205         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
80206         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
80207         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
80208         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
80209         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
80211 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80213         * sysdeps/powerpc/fpu/e_hypot.c: New file.
80214         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
80215         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
80216         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
80217         * sysdeps/powerpc/fpu/k_cosf.c: New file.
80218         * sysdeps/powerpc/fpu/k_sinf.c: New file.
80219         * sysdeps/powerpc/fpu/s_cosf.c: New file.
80220         * sysdeps/powerpc/fpu/s_sinf.c: New file.
80221         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
80222         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
80224 2011-08-15  Alan Modra  <amodra@gmail.com>
80226         [BZ #13092]
80227         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
80228         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
80229         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
80230         ppc_mcount to static-only-routines.
80231         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
80232         __mcount_internal.
80233         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
80234         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
80236 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
80238         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
80239         for finite and infinity parameters.
80241 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
80243         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
80244         and add nop instructions for throughput optimization.
80245         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
80247 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
80249         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
80250         aligned copy for power7 with vector-scalar instructions.
80251         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
80253 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
80255         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
80256         AVX check.
80258 2011-09-07  Andreas Schwab  <schwab@redhat.com>
80260         [BZ #13144]
80261         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
80262         last change.
80264 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
80266         * sysdeps/unix/sysv/linux/x86_64/init-first.c
80267         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
80268         syscall wrapper around clock_gettime in __vdso_clock_gettime.
80269         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
80270         clock_gettime.
80272 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
80274         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
80275         Forgot to demangle the pointer.
80277         * sysdeps/i386/sysdep.h: Define atom_text_section.
80278         * sysdeps/x86_64/sysdep.h: Likewise.
80279         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
80280         section with atom_text_section.
80281         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
80282         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
80283         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
80284         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
80285         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
80287         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
80288         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
80289         already be defined.  Change to take two parameters and don't assign
80290         result to variable.  Adjust all users.
80291         Define INTERNAL_GETTIME if not already defined.
80292         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
80293         call.
80294         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
80295         HAVE_CLOCK_GETTIME_VSYSCALL.
80296         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
80298         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
80299         gettimeofday vsyscall, just use time.
80301 2011-09-06  Andreas Schwab  <schwab@redhat.com>
80303         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
80304         <errno.h>.
80306 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
80308         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
80309         syscall on x86-64.
80310         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
80311         syscall.
80312         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
80313         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
80314         syscall if possible.
80316 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
80318         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
80319         e_ident.  Don't pass to find_mapsXX.
80320         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
80322 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
80324         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80325         strchr-sse2-no-bsf strrchr-sse2-no-bsf
80326         * sysdeps/x86_64/multiarch/strchr.S: Update.
80327         Check bit_slow_BSF bit.
80328         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
80329         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
80330         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
80332 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
80334         [BZ #13134]
80335         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
80336         before glibc 2.15.
80337         (tryshell): Define.
80338         (__spawni): Change last parameter to be flag.  Test
80339         SPAWN_XFLAGS_USE_PATH flag to use path or not.
80340         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
80341         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
80342         * posix/spawni.c: Likewise.
80343         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
80344         * posix/spawnp.c: Likewise.  Change normal version to use
80345         SPAWN_XFLAGS_USE_PATH.
80346         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
80347         SPAWN_XFLAGS_TRY_SHELL.
80349         [BZ #13150]
80350         * posix/glob.h: Remove gcc 1.x support.
80352         [BZ #13068]
80353         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
80355 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
80357         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80358         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
80359         strrchr-sse2-bsf
80360         * sysdeps/i386/i686/multiarch/strchr.S: New file.
80361         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
80362         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
80363         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
80364         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
80365         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
80367 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80369         * sysdeps/x86_64/wcscmp.S: New file.
80371         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
80372         wcscmp-c wcscmp-sse2
80373         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
80374         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
80375         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
80376         * wcsmbs/wcscmp.c: Allow renaming.
80378 2011-09-05  David S. Miller  <davem@davemloft.net>
80380         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
80381         stack slot, rather than the struct return pointer slot.
80382         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
80383         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
80384         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
80385         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
80387 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
80389         * po/ja.po: Update from translation team.
80391         [BZ #13144]
80392         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
80393         kernel in 64-bit binaries.
80395 2011-09-01  David S. Miller  <davem@davemloft.net>
80397         * elf/elf.h (HWCAP_SPARC_*): Move to..
80398         * sysdeps/sparc/sysdep.h: this new file and add new values.
80399         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
80400         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
80401         _DL_HWCAP_COUNT to 24.
80402         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
80403         entries.
80404         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
80405         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
80406         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
80407         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
80408         instead of magic constants.
80409         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
80411 2011-08-31  David S. Miller  <davem@davemloft.net>
80413         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
80414         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
80415         Reimplement to do errno handling inline.
80416         (SYSCALL_ERROR_HANDLER): New macro.
80417         (__SYSCALL_STRING): Do not do errno handling in asm.
80418         (__CLONE_SYSCALL_STRING): Delete.
80419         (__INTERNAL_SYSCALL_STRING): Delete.
80420         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
80421         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
80422         (PSEUDO): Reimplement to do errno handling inline.
80423         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
80424         (SYSCALL_ERROR_HANDLER): New macro.
80425         (__SYSCALL_STRING): Do not do errno handling in asm.
80426         (__CLONE_SYSCALL_STRING): Delete.
80427         (__INTERNAL_SYSCALL_STRING): Delete.
80428         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
80429         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
80430         i386.
80431         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
80432         (inline_syscall*): Add 'err' argument.
80433         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
80434         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
80435         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
80436         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
80438         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
80439         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
80441 2011-08-30  Andreas Schwab  <schwab@redhat.com>
80443         * elf/rtld.c (dl_main): Relocate objects in dependency order.
80445 2011-08-29  Jiri Olsa <jolsa@redhat.com>
80447         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
80448         directive.
80450 2011-08-24  David S. Miller  <davem@davemloft.net>
80452         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
80454 2011-08-24  Andreas Schwab  <schwab@redhat.com>
80456         * elf/Makefile: Add rules to build and run unload8 test.
80457         * elf/unload8.c: New file.
80458         * elf/unload8mod1.c: New file.
80459         * elf/unload8mod1x.c: New file.
80460         * elf/unload8mod2.c: New file.
80461         * elf/unload8mod3.c: New file.
80463         * elf/dl-close.c (_dl_close_worker): Reset private search list if
80464         it wasn't used.
80466 2011-08-23  David S. Miller  <davem@davemloft.net>
80468         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
80469         subtract stack bias.
80470         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
80471         %sp not %fp in calculations.
80472         (_JMPBUF_UNWINDS_ADJ): Likewise.
80474         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
80475         (aio_suspend): Call it to force an exception region around the
80476         AIO_MISC_WAIT() invocation.
80478 2011-08-23  Andreas Schwab  <schwab@redhat.com>
80480         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
80481         backslash.
80483 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
80485         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
80486         protection macro.
80487         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
80488         and <dl-machine.h>.
80489         (Elf64_FuncDesc): Remove.
80491 2011-08-22  David S. Miller  <davem@davemloft.net>
80493         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
80494         sigaltstack check, add missing cfi directives.
80495         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
80496         missing cfi directives, and sigaltstack handling.
80498 2011-08-16  Andreas Schwab  <schwab@redhat.com>
80500         [BZ #11724]
80501         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
80502         object is seen twice.
80503         * elf/dl-fini.c (_dl_sort_fini): Likewise.
80505         * elf/Makefile (distribute): Add tst-initorder2.c.
80506         (tests): Add tst-initorder2.
80507         (modules-names): Add tst-initorder2a tst-initorder2b
80508         tst-initorder2c tst-initorder2d.  Add rules to build them.
80509         ($(objpfx)tst-initorder2.out): New rule.
80510         * elf/tst-initorder2.c: New file.
80511         * elf/tst-initorder2.exp: New file.
80513 2011-08-22  Andreas Schwab  <schwab@redhat.com>
80515         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
80517         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
80518         dependencies back to end of function.
80520         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
80521         $(elfobjdir)/ld.so.
80523 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
80525         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
80526         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
80527         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
80528         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
80529         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
80530         of __vdso_gettimeofday.
80531         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
80532         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
80533         attribute_hidden.
80534         (_libc_vdso_platform_setup): Remove initialization of
80535         __vdso_gettimeofday and __vdso_time.
80537 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
80539         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
80540         and fgetc_unlocked.
80541         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
80542         getc_unlocked.
80544         * elf/dl-open.c (add_to_global): Report additions to the global scope
80545         for LD_DEBUG=scopes.
80546         (dl_open_worker): Also print scope of newly loaded dependencies.
80547         (_dl_show_scope): Indicate if there is no scope.
80549         [BZ #13114]
80550         * stdio-common/Makefile (tests): Add bug24.
80551         * stdio-common/bug24.c: New file.
80553 2011-08-19  Andreas Jaeger  <aj@suse.de>
80555         [BZ #13114]
80556         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
80557         non-existant file when using close-on-exec mode.
80559 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
80561         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
80562         the very first instruction.
80564         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
80565         the CFI state in the end.
80566         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
80567         inclusion of dl-trampoline.h.
80568         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
80570 2011-08-19  Andreas Schwab  <schwab@redhat.com>
80572         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
80573         expectations for long double.
80575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
80576         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
80578 2011-08-14  David S. Miller  <davem@davemloft.net>
80580         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
80581         artificual limit depends upon the system page size.
80583 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
80585         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
80586         * resolv/Makefile: Define CFLAGS-libresolv.
80588 2011-08-17  Andreas Schwab  <schwab@redhat.com>
80590         * nss/makedb.c (compute_tables): Make variables used in nested
80591         function static.
80593 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
80595         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
80596         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
80597         if buffer was too small.
80599         * elf/pldd.c (main): Attach to all threads in the process.
80600         Rewrite /proc handling to use *at functions.
80602 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
80604         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
80605         specifies first scope to show.
80606         (dl_open_worker): Update callers.  Move printing scope of new
80607         object to before the relocation.
80608         * elf/rtld.c (dl_main): Update _dl_show_scope call.
80609         * sysdeps/generic/ldsodefs.h: Update declaration.
80611         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
80612         string for the scope number.
80614 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
80616         * nscd/servicescache.c (cache_addserv): Make sure written is always
80617         initialized.
80619 2011-08-14  Roland McGrath  <roland@hack.frob.com>
80621         * sysdeps/i386/i486/bits/atomic.h
80622         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
80623         statement expression, so as to suppress "set but not used" warning.
80624         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
80626         * string/strncat.c (STRNCAT): Use prototype definition.
80628         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
80629         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
80630         -Iprograms here.
80631         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
80632         (localedef-modules): Add localedef.
80633         (locale-modules): Add locale.
80635         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
80636         * elf/rtld.c (dl_main): Invert order of assignment in last change,
80637         to avoid a warning.
80639 2011-08-14  David S. Miller  <davem@davemloft.net>
80641         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
80642         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
80644 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
80646         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
80647         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
80648         * elf/rtld.c (dl_main): Set l_name of vDSO.
80649         Call _dl_show_scope when DL_DEBUG_SCOPES.
80650         (process_dl_debug): Recognize scopes flag and also set it for all.
80651         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
80652         Declare _dl_show_scope.
80654         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
80655         (do_dlopen): Pass caller_dlopen to dl_open.
80656         (__libc_dlopen_mode): Initialize caller_dlopen.
80658         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
80659         of libc.  Make tolower call locale-independent.  Optimize a bit by
80660         using isdigit instead of isalnum.
80661         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
80663 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
80665         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
80666         was a dependency or dynamically loaded.
80668 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
80670         * intl/l10nflist.c: Allow architecture-specific pop function.
80671         * sysdeps/x86_64/l10nflist.c: New file.
80673         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
80674         classification.
80676 2011-08-10  Andreas Schwab  <schwab@redhat.com>
80678         * include/dirent.h: Add libc_hidden_proto for scandirat and
80679         scandirat64.  Don't declare __scandirat64.
80680         * dirent/scandirat.c: Add libc_hidden_def.
80681         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
80682         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
80684 2011-08-10  David S. Miller  <davem@davemloft.net>
80686         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
80687         enum.
80688         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
80689         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
80690         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
80692 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
80694         * Versions.def [libc]: Add GLIBC_2.15.
80695         * dirent/Makefile (routines): Add scandirat and scandirat64.
80696         * dirent/Versions [libc]: Export scandirat and scandirat64 for
80697         GLIBC_2.15.
80698         * dirent/dirent.h: Declare scandirat and scandirat64.
80699         * dirent/scandirat.c: New file.
80700         * dirent/scandirat64.c: New file.
80701         * sysdeps/wordsize-64/scandirat.c: New file.
80702         * sysdeps/wordsize-64/scandirat64.c: New file.
80703         * dirent/opendir.c: Define opendirat.
80704         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
80705         using scandirat.
80706         * dirent/scandir64.c: Adjust for scandir.c change.
80707         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
80708         __scandirat64, and __scandir_cancel_handler.
80709         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
80710         additional parameter and use openat instead of open (outside of ld.so).
80711         Add new __opendir as wrapper around __opendirat.
80712         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
80713         here without requiring old scandirat implementation.
80715 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
80717         * dirent/scandir.c (cancel_handler): Renamed to
80718         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
80719         defined.  Adjust users.
80720         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
80721         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
80723 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
80725         * string/test-string.h (IMPL): Use __STRING to expand name and then
80726         stringify it.
80728         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
80729         of cleanups.
80731 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80733         * string/Makefile: Update.
80734         (strop-tests): Append strncat.
80735         * string/test-wcscmp.c: New file.
80736         New comprehensive test for wcscmp.
80737         * string/test-strcmp.c: Update.
80738         (WIDE): New define.
80740 2011-07-22  Andreas Schwab  <schwab@redhat.com>
80742         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
80743         line.
80745 2011-07-26  Andreas Schwab  <schwab@redhat.com>
80747         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
80748         encoding to ACE if AI_IDN.
80750 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
80752         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
80753         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
80755 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
80757         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
80758         Fix overflow bug in strncat.
80759         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
80761         * string/test-strncat.c: Update.
80762         Add new tests for checking overflow bugs.
80764 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
80766         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80767         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
80768         * sysdeps/i386/i686/multiarch/strcat.S: New file.
80769         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
80770         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
80771         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
80772         * sysdeps/i386/i686/multiarch/strncat.S: New file.
80773         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
80774         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
80776         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
80777         (USE_AS_STRCAT): Define.
80778         Add strcat and strncat support.
80779         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
80781 2011-07-25  Andreas Schwab  <schwab@redhat.com>
80783         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
80784         __n bigger than INT_MAX+1.
80785         (__strncmp_g): Likewise.
80787 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
80789         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
80790         * libio/stido.h: Likewise.
80792         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
80793         (AF_NFC): Define.
80794         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
80795         (AF_NFC): Define.
80797         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
80798         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
80799         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
80800         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
80801         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
80803         [BZ #13021]
80804         * scripts/test-installation.pl: Don't expect libnss_test1 to be
80805         installed.
80807         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
80808         typo.
80809         (_dl_x86_64_save_sse): Likewise.
80811 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
80813         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
80814         OSXSAVE.
80815         (_dl_x86_64_save_sse): Likewise.
80817         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
80819         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
80821 2011-07-21  Andreas Schwab  <schwab@redhat.com>
80823         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
80824         change.
80825         (_dl_x86_64_save_sse): Use correct AVX check.
80827 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80829         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
80830         bug in strncpy/strncat.
80831         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
80833 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
80835         * string/tester.c (test_strcat): Add tests for different alignments
80836         of source and destination.
80837         (test_strncat): Likewise.
80839 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
80841         [BZ #12852]
80842         * posix/glob.c (glob): Check passed in values before using them in
80843         expressions to avoid some overflows.
80844         (glob_in_dir): Likewise.
80846         [BZ #13007]
80847         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
80848         check for AVX enablement so that we don't crash with old kernels and
80849         new hardware.
80850         * elf/tst-audit4.c: Add same checks here.
80851         * elf/tst-audit6.c: Likewise.
80853         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
80855 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
80857         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
80859 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
80861         * po/cs.po: Update from translation team.
80862         * po/bg.po: Likewise.
80864 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
80866         * misc/sys/cdefs.h: Add support for const attribute.
80867         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
80868         to gnu_dev_{major,minor,makedev} functions.
80870 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
80872         * intl/dcigettext.c (get_output_charset): Add missing bracket.
80874 2011-07-20  Andreas Schwab  <schwab@redhat.com>
80876         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
80877         strlen results.
80879 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80881         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
80882         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
80883         register in order to avoid conflicts with the soft frame pointer
80884         being held in r11 when necessary.
80885         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
80886         (INTERNAL_VSYSCALL_NCS): Likewise.
80888 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
80890         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
80891         * elf/dl-fini.c (_dl_fini): Adjust caller.
80892         * elf/dl-close.c (_dl_close_worker): Likewise.
80893         * sysdeps/generic/ldsodefs.h: Adjust declaration.
80895 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
80897         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
80898         "aux_cache->nlibs < 0".
80900         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
80901         in the reload-count case.
80903 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
80905         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80906         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
80907         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
80908         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
80909         * sysdeps/x86_64/multiarch/strcat.S: New file.
80910         * sysdeps/x86_64/multiarch/strncat.S: New file.
80911         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
80912         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
80913         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
80914         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
80915         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
80916         (USE_AS_STRCAT): Define.
80917         Add strcat and strncat support.
80918         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
80919         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
80920         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
80921         * string/strncat.c: Update.
80922         (USE_AS_STRNCAT): Define.
80923         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80924         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
80925         and i7.
80926         * sysdeps/x86_64/multiarch/init-arch.h
80927         (bit_Prefer_PMINUB_for_stringop): New.
80928         (index_Prefer_PMINUB_for_stringop): Likewise.
80929         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
80930         bit_Prefer_PMINUB_for_stringop.
80932 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
80934         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
80935         buffer64.
80936         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
80937         of casting of buffer.
80938         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
80939         buffer32 and buffer64.
80940         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
80941         writes instead of casting of buffer.
80942         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
80943         buffer32.
80944         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
80945         casting of buffer.
80947 2011-07-19  Andreas Schwab  <schwab@redhat.com>
80949         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
80951 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
80953         * nscd/nscd.c (termination_handler): Don't do anything for a database
80954         if it has not yet been initialized.
80956 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
80958         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
80960 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
80962         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
80964 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
80966         * po/nl.po: Update from translation team.
80967         * po/sv.po: Likewise.
80969 2011-07-16  Roland McGrath  <roland@hack.frob.com>
80971         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
80972         now disallowed by GCC.
80974         * configure.in (use-default-link): Default to yes if a test -shared
80975         link meets our qualifications.
80976         * configure: Regenerated.
80978         * config.make.in (output-format): New variable.
80979         * configure.in: Check for ld --print-output-format support.
80980         * configure: Regenerated.
80981         * Makerules ($(common-objpfx)format.lds)
80982         [$(output-format) != unknown]: Just use $(output-format),
80983         instead of the linker-script munging.
80985 2011-07-14  Roland McGrath  <roland@hack.frob.com>
80987         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
80988         of $(common-objpfx)shlib.lds.
80989         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
80991         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
80992         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
80994         * configure.in (-z relro check): Adjust test code to add a large
80995         writable data section after it.
80996         * configure: Regenerated.
80998 2011-07-11  Roland McGrath  <roland@hack.frob.com>
81000         * configure.in (-z relro check): Fix test code to make the variable
81001         truly const.
81002         * configure: Regenerated.
81004 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
81006         * nscd/nscd.h (struct traced_file): Define.
81007         (struct database_dyn): Remove inotify_descr, reset_res, and filename
81008         elements.  Add traced_files.
81009         (inotify_fd): Declare.
81010         (register_traced_file): Declare.
81011         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
81012         (inotify_fd): Export.
81013         (resolv_conf_descr): Remove.
81014         (nscd_init): Move inotify descriptor creation to main.
81015         Don't register files for notification here.
81016         (register_traced_file): New function.
81017         (invalidate_cache): Don't use reset_res to determine whether to call
81018         res_init, go through the list of registered files.
81019         (main_loop_poll): The inotify descriptors are now stored in the
81020         structures for the traced files.
81021         (main_loop_epoll): Likewise.
81022         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
81023         to __nss_disable_nscd.
81024         * nscd/cache.c (prune_cache): There is no single inotify descriptor
81025         for a database anymore.  Check the records for all the registered
81026         files instead.
81027         * nss/Makefile (libnss_files-routines): Add files-init.
81028         (libnss_db-routines): Add db-init.
81029         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
81030         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
81031         * nss/nss_db/db-init.c: New file.
81032         * nss/nss_files/files-init.c: New file.
81033         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
81034         __nss_lookup_function.
81035         (__nss_lookup_function): Call nss_load_library.
81036         (nss_load_all_libraries): New function.
81037         (__nss_disable_nscd): Take parameter with callback function for files
81038         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
81039         used for the cached services.
81040         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
81041         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
81042         options for features to all the files in nscd.
81044         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
81046 2011-07-10  Roland McGrath  <roland@hack.frob.com>
81048         * csu/elf-init.c (__libc_csu_init): Comment typo.
81050 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
81052         * po/pl.po: Update from translation team.
81053         * po/ja.po: Likewise.
81054         * po/ru.po: Likewise.
81055         * po/ko.po: Likewise.
81056         * po/fr.po: Likewise.
81058 2011-07-09  Roland McGrath  <roland@hack.frob.com>
81060         * configure.in (.ctors/.dtors header and trailer check):
81061         Use an empirical test on a built program.
81062         * configure: Regenerated.
81064         * configure.in (-z relro check): Use an empirical test on a built DSO.
81065         Detect, but do not require, on ia64.
81066         * configure: Regenerated.
81068         * configure.in (READELF): Find it with AC_CHECK_TOOL.
81069         Update tests that use readelf to use $READELF instead.
81070         * configure: Regenerated.
81072 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
81074         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
81075         if the result is not used.
81077 2011-07-05  Andreas Jaeger  <aj@suse.de>
81079         [BZ#9696]
81080         * stdlib/tst-strtod.c: Add testcase.
81082 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
81084         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
81085         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
81086         The latter has a higher limit.  Take additional parameter to pass to
81087         the new function.
81088         (__pathconf): Pass file to __statfs_link_max.
81089         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
81090         __statfs_link_max.
81091         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
81092         __statfs_link_max.
81094         [BZ #12868]
81095         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
81096         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
81097         Handle Lustre.
81098         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
81099         (__statfs_filesize_max): Likewise.
81100         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
81102 2011-07-05  Andreas Jaeger  <aj@suse.de>
81104         * resolv/res_comp.c (dn_skipname): Remove unused variable.
81106 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
81108         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
81109         `status' variable.
81110         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
81111         Likewise.
81113 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
81115         * Makefile (strop-tests): Add strncat.
81116         * string/test-strncat.c: New file.
81118 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
81120         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
81122 2011-06-21  Andreas Jaeger  <aj@suse.de>
81124         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
81125         Copy rule from iconvdata/Makefile.
81127 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
81129         [BZ #12922]
81130         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
81131         but no long options are defined, just return 'W'.
81133 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
81135         [BZ #9696]
81136         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
81138 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
81140         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
81141         netgroups to read.
81142         (innetgr): Likewise.
81144 2011-07-05  Roland McGrath  <roland@hack.frob.com>
81146         * config.make.in (install_root): Default to $(DESTDIR).
81148 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
81150         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
81152 2011-07-02  Roland McGrath  <roland@hack.frob.com>
81154         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
81156         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
81157         containing directory rather than embedding absolute directory names.
81159         * scripts/check-local-headers.sh: Rewritten using awk.
81160         Match by word, not by line.  Print error messages for matches.
81161         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
81163         * Makerules [shlib-lds-flags empty]:
81164         ($(common-objpfx)libc_pic.opts): New target.
81165         ($(common-objpfx)libc_pic.os.clean): New target.
81166         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
81168         * config.make.in (OBJCOPY): New variable.
81169         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
81170         * configure: Regenerated.
81172         * config.make.in (use-default-link): New variable.
81173         * configure.in (use_default_link): Grok --with-default-link to set it.
81174         * configure: Regenerated.
81175         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
81176         (shlib-lds, shlib-lds-flags): Define to empty.
81178         * Makerules (shlib-lds): New variable.
81179         (shlib-lds-flags): New variable.
81180         (build-shlib, build-moduile, build-module-asneeded): Use it.
81181         ($(common-objpfx)libc.so): Use $(shlib-lds).
81182         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
81183         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
81185         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
81186         DT_FLAGS/DT_FLAGS_1 with zero flags.
81188         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
81189         linker script munging.
81191 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
81193         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
81194         as 128-bit value.
81195         * crypt/sha512.c (sha512_process_block): Perform total addition using
81196         128-bit if possible.
81197         (__sha512_finish_ctx): Likewise.
81198         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
81199         as 64-bit value.
81200         * crypt/sha256.c (SWAP64): Define.
81201         (sha256_process_block): Perform total addition using 64-bit if
81202         possible.
81203         (__sha256_finish_ctx): Likewise.
81205 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
81207         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
81208         * nscd/initgrcache.c (addinitgroupsX): Likewise.
81209         * nscd/hstcache.c (cache_addhst): Likewise.
81210         * nscd/grpcache.c (cache_addgr): Likewise.
81211         * nscd/aicache.c (addhstaiX): Likewise.
81212         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
81214 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
81216         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
81217         * nscd/initgrcache.c (addinitgroupsX): Likewise.
81218         * nscd/hstcache.c (cache_addhst): Likewise.
81219         * nscd/grpcache.c (cache_addgr): Likewise.
81220         * nscd/aicache.c (addhstaiX): Likewise.
81222 2011-07-01  Andreas Schwab  <schwab@redhat.com>
81224         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
81225         domain only when needed.
81227 2011-06-30  Andreas Schwab  <schwab@redhat.com>
81229         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
81230         is always restored.
81232 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
81234         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
81235         are re-adding the entry.
81236         * nscd/servicescache.c (cache_addserv): Likewise.
81238 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
81240         * sysdeps/generic/dl-irel.h: fix protection against multiple
81241         inclusions.
81242         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
81244 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
81246         [BZ #12935]
81247         * malloc/memusage.sh: Fix quoting in message.
81248         * debug/xtrace.sh: Likewise.
81250         * configure.in: Remove support for --experimental-malloc option, make
81251         it the default.
81252         * config.make.in: Likewise.
81253         * malloc/Makefile: Likewise.
81255 2011-06-27  Andreas Schwab  <schwab@redhat.com>
81257         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
81258         two-byte characters.
81260 2011-06-27  Roland McGrath  <roland@hack.frob.com>
81262         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
81263         AC_CACHE_CHECK invocation.
81264         * configure: Regenerated.
81266         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
81268 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
81270         [BZ #12350]
81271         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
81272         bit from old_res_options.
81274         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
81276         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
81277         value type for setfct.
81279 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
81281         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
81282         __gettimeofday instead of gettimeofday.
81284 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
81286         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
81288 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
81290         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
81292         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
81293         info.
81295 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
81297         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81298         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
81299         strcpy-sse2-unaligned strncpy-sse2-unaligned
81300         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
81301         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
81302         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
81303         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
81304         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
81305         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
81306         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
81307         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
81308         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
81309         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
81310         (STRCPY): Support SSE2 and SSSE3 versions.
81312 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
81314         [BZ #12874]
81315         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
81316         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
81317         kernels which artificially limit size of requests.
81319 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
81321         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81322         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
81323         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
81324         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
81325         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
81326         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
81327         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
81328         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
81329         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
81330         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
81331         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
81332         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
81333         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
81334         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
81335         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
81336         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81337         Enable unaligned load optimization for Intel Core i3, i5 and i7
81338         processors.
81339         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
81340         Define.
81341         (index_Fast_Unaligned_Load): Define.
81342         (HAS_FAST_UNALIGNED_LOAD): Define.
81344 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
81346         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
81348 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
81350         [BZ #12907]
81351         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
81352         until it is clear that the information is realy needed.
81353         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
81355 2011-06-22  Andreas Schwab  <schwab@redhat.com>
81357         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
81359 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
81361         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
81362         /sys/devices/system/cpu/online if it is usable.
81364         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
81365         reading the information from the /proc filesystem to once a second.
81367 2011-06-21  Andreas Jaeger  <aj@suse.de>
81369         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
81370         NULL after inclusion of kernel headers.
81372 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
81374         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
81375         calls to internal_setent.
81377         [BZ #12885]
81378         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
81379         addresses using gethostbyname4_r ignore IPv4 addresses.
81381         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
81382         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
81384         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
81386 2011-06-20  David S. Miller  <davem@davemloft.net>
81388         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
81389         inclusions.
81390         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
81392         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
81393         (elf_irel): Use it.
81394         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
81395         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
81396         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
81397         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
81398         * sysdeps/x86_64/dl-irel.h: Likewise.
81400         * elf/dl-runtime.c: Use elf_ifunc_invoke.
81401         * elf/dl-sym.c: Likewise.
81403 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
81405         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
81406         need to dereference resplen2.
81408 2011-06-14  Andreas Schwab  <schwab@redhat.com>
81410         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
81412 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
81414         * Makeconfig: Define vardbdir and inst_vardbdir.
81415         * nss/Makefile: Add rules to install db-Makefile.
81417         * nss/nss_db/db-XXX.c: Cleanup.
81419         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
81420         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
81421         GLIBC_PRIVATE.
81422         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
81423         * nss/makedb.c: Implement -g option to specify that value strings
81424         are generated and should not be added to table iterated over for
81425         get*ent calls.
81426         * nss/nss_db/db-initgroups.c: New file.
81428         * nss/getent.c: Add support for initgroups lookups through getgrouplist
81429         interface.
81431         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
81432         (internal_getgrouplist): Adjust to name change.
81433         Update use_initgroups_entry if this is not the first call.
81434         * nss/databases.def: Add initgroups entry.
81436         * nss/makedb.c (compute_tables): Check result of multiple hash table
81437         sizes to minimize maximum chain length.
81439 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
81441         * Versions.def: Add entry for libnss_db.
81442         * shlib-versions: Likewise.
81443         * nss/Makefile: Add rules to build libnss_db.
81444         * nss/Versions: Add libnss_db information.  Organize libnss_files
81445         entries better.
81446         * nss/db-Makefile: Add gshadow support.  Change rules for the new
81447         makedb progra.  Some minor improvements to generate smaller files.
81448         * nss/nss_db/nss_db.h: Move NSS database header data structures to
81449         here from...
81450         * nss/makedb.c: ...here.
81451         Improve database format to be smaller and require less memory at
81452         runtime.
81453         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
81454         db anymore.
81455         * nss/nss_db/db-netgrp.c: Likewise.
81456         * nss/nss_db/db-open.c: Likewise.
81457         * nss/nss_files/flies-XXX.x: Adjust comments.
81458         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
81459         * nss/nss_files/files-grp.c: Likewise.
81460         * nss/nss_files/files-hosts.c: Likewise.
81461         * nss/nss_files/files-network.c: Likewise.
81462         * nss/nss_files/files-proto.c: Likewise.
81463         * nss/nss_files/files-pwd.c: Likewise.
81464         * nss/nss_files/files-rpc.c: Likewise.
81465         * nss/nss_files/files-service.c: Likewise.
81466         * nss/nss_files/files-sgrp.c: Likewise.
81467         * nss/nss_files/files-spwd.c: Likewise.
81468         * nss/nss_db/db-alias.c: Removed.
81469         * nss/nss_db/dummy-db.h: Removed.
81471 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
81473         * nss/makedb.c: Rewritten to not use database library.
81474         * nss/Makefile: Update to build new makedb program.
81476 2011-06-14  Andreas Jaeger  <aj@suse.de>
81478         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
81479         memset declaration.
81481 2011-06-10  Andreas Schwab  <schwab@redhat.com>
81483         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
81484         tmpbuf.
81486 2011-06-10  Roland McGrath  <roland@hack.frob.com>
81488         * Makerules (shlib.lds): Fail if the linker script comes out empty.
81489         * elf/Makefile ($(objpfx)ld.so): Likewise.
81491         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
81492         Don't list ld.so twice in dependencies.
81494         * posix/bug-regex31.c: Include <stdlib.h>.
81496         * nscd/hstcache.c (cache_addhst): Remove unused variable.
81498         * nis/nss_compat/compat-spwd.c
81499         (getspent_next_nss_netgr): Remove unused variable.
81500         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
81502         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
81503         nonmembers" output to use the right array.
81505         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
81507         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
81509         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
81510         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
81511         * catgets/gencat.c (read_input_file): Likewise.
81512         * locale/programs/locarchive.c (enlarge_archive): Likewise.
81514         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
81515         variable definition inside #if's controlling its use.
81517         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
81519         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
81521         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
81523         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
81524         unreachable code.
81526         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
81528         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
81529         * configure: Regenerated.
81531         * Makerules: Revert last change.
81532         * elf/Makefile: Likewise.
81534 2011-06-09  Roland McGrath  <roland@hack.frob.com>
81536         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
81537         * elf/Makefile ($(objpfx)librtld.os): Likewise.
81538         (reloc-link): Likewise.
81540 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
81542         * elf/Makefile: Add rules to build pldd.
81543         * elf/pldd.c: New file.
81544         * elf/pldd-xx.c: New file.
81546 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
81548         * version.h: Update for 2.15 development version.
81550 2011-06-07  David S. Miller  <davem@davemloft.net>
81552         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
81553         ifuncs.
81554         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
81555         elf_machine_lazy_rel): Likewise.
81556         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
81557         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
81558         elf_machine_lazy_rel): Likewise.
81559         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
81560         dl_hwcap via passed in argument.
81561         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
81562         Likewise.
81564 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81566         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
81568 2011-06-06  Roland McGrath  <roland@hack.frob.com>
81570         [BZ #12849]
81571         * manual/fdl-1.1.texi: New file, verbatim from:
81572         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
81573         * manual/lgpl-2.1.texi: New file, verbatim from:
81574         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
81575         * manual/Makefile (licenses): New variable, list those new file names.
81576         (texis): Use it.
81577         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
81579         * manual/fdl.texi: File removed.
81580         * manual/lesser.texi: File removed.
81581         * manual/libc.texinfo (Copying, Documentation License):
81582         Use new @include file names, put @appendix directive before @include.
81584 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
81586         [BZ #12841]
81587         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
81588         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
81589         (mq_open): Add __NTH.
81591 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
81593         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81594         Assume Intel Core i3/i5/i7 processor if AVX is available.
81596 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
81598         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
81599         typo.
81601 2011-05-31  Andreas Schwab  <schwab@redhat.com>
81603         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
81604         memory.  Use alloca_account.  Fix memory leak when retrying.
81606 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
81608         * version.h (RELEASE): Bump for 2.14 release.
81609         * include/features.h (__GLIBC_MINOR__): Bump to 14.
81611         * config.make.in (RANLIB): Remove entry.
81613 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
81615         * po/Makefile (po-sed-cmd): Add ksh to extensions.
81616         (libc.pot): Work around missing support for .ksh extension in xgettext.
81618         [BZ #12684]
81619         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
81620         if both request failed.
81621         (send_dg): In case of server errors clear resplen or *resplen2.
81623         [BZ #12454]
81624         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
81625         when there are multiple maps.
81626         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
81627         (_dl_fini): Remove test here.
81629         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
81631 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
81633         [BZ #12350]
81634         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
81635         bit from old_res_options.
81636         (gaih_inet): Likewise.
81638         [BZ #11099]
81639         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
81640         as signed.
81642         * resolv/res_init.c (res_setoptions): Make the code more compact.
81644         [BZ #11558]
81645         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
81646         set RES_USEVC.
81648         [BZ #11634]
81649         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
81651         * malloc/malloc.h: Mark malloc hook variables as deprecated.
81653         [BZ #11781]
81654         * malloc/malloc.h: Declare malloc hook variables as volatile.
81656         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
81657         in last patch.
81659         [BZ #11799]
81660         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
81661         raise in the comment.
81662         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
81663         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
81664         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
81666 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
81668         [BZ #12811]
81669         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
81670         grow the buffers more if it already has to be sufficient.
81671         (build_wcs_upper_buffer): Likewise.
81672         * posix/regexec.c (check_matching): Likewise.
81673         (clean_state_log_if_needed): Likewise.
81674         (extend_buffers): Don't enlarge buffers beyond size of the input
81675         buffer.
81676         Patches mostly by Emil Wojak <emil@wojak.eu>.
81677         * posix/bug-regex32.c: New file.
81678         * posix/Makefile (tests): Add bug-regex32.
81680         * locale/findlocale.c (_nl_find_locale): Return right away if
81681         _nl_explode_name failed.
81682         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
81684         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
81686         * debug/xtrace.sh: Unify messages.
81687         * malloc/memusage.sh: Likewise.
81689         [BZ #12813]
81690         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
81691         time symbol from vDSO.  Substitute with vsyscall if not available.
81692         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
81693         __vdso_time.
81695         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
81696         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
81697         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
81698         Add sendmmsg and internal_sendmmsg.
81699         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
81700         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
81701         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
81703         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
81704         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
81705         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
81707 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
81709         [BZ #12813]
81710         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
81711         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
81712         available.
81713         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
81714         __vdso_getcpu.
81716         [BZ #12814]
81717         * iconvdata/Makefile (tests): Add bug-iconv9.
81718         * iconvdata/bug-iconv9.c: New file.
81720 2011-05-27  Andreas Schwab  <schwab@redhat.com>
81722         [BZ #12814]
81723         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
81725 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
81727         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
81728         (struct user_regs_struct): Change intcs field back to cs.
81730 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
81732         * po/ja.po: Update from translation team.
81734 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
81736         [BZ #12795]
81737         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
81738         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
81740 2011-05-20  Andreas Schwab  <schwab@redhat.com>
81742         * stdlib/longlong.h: Update from GCC.
81744 2011-05-23  Andreas Schwab  <schwab@redhat.com>
81746         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
81747         parameter name.
81748         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
81749         Add parameter name.
81750         (__sysconf): Pass it down.
81752 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
81754         [BZ #12671]
81755         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
81756         some situations.
81757         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
81758         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
81759         add in in __libc_use_alloca calls.  Adjust callers.
81760         (glob): Use malloc in some situations.
81762         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
81763         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
81764         pltexit.
81766 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
81768         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
81769         and CLOCK_BOOTTIME_ALARM.
81771         [BZ #12782]
81772         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
81773         is returned.
81775         * string/_strerror.c (__strerror_r): Print negative errors as signed
81776         numbers.
81778         [BZ #12777]
81779         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
81780         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
81781         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
81783         * configure.in: Fix typo in redirection and correct removal of test
81784         files in two cases.
81786         [BZ #12788]
81787         * locale/setlocale.c (new_composite_name): Fix test to check for
81788         identical name of all categories.
81790         [BZ #12792]
81791         * libio/filedoalloc.c (local_isatty): New function.
81792         (_IO_file_doallocate): Use local_isatty.
81793         * stdio-common/perror.c (perror): In case a new stream is used
81794         forward the stream error.
81795         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
81796         error flag.
81798 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
81800         [BZ #11884]
81801         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
81802         alloca.
81803         * include/alloca.h (extend_alloca_account): Define.
81805         [BZ #11857]
81806         * posix/regex.h: Fix comments with documentation of user-accessible
81807         fields after compilation and describe correct free'ing of pattern
81808         after re_compile_pattern.
81809         Patch by Reuben Thomas <rrt@sc3d.org>.
81811 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
81813         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
81814         and -mno-altivec to prevent the compiler from using Altivec and/or
81815         VSX instructions when the corresponding registers are not available.
81817 2011-05-19  Andreas Schwab  <schwab@redhat.com>
81819         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
81821 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
81823         * libio/freopen.c (freopen): Use __dup2, not dup2.
81824         * libio/freopen64.c (freopen64): Likewise.
81826 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
81828         [BZ #12775]
81829         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
81830         * math/Makefile (tests): Add test-powl.
81831         (CFLAGS-test-powl.c): Define.
81832         * math/test-powl.c: New file.
81834 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81836         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
81838 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
81840         [BZ #11837]
81841         * iconvdata/gb18030.c: Update to GB18020-2005.
81843 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
81845         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
81846         RE_SYNTAX_POSIX_AWK): Update to match recent development.
81847         Patch by Aharon Robbins <arnold@skeeve.com>.
81849         [BZ #11892]
81850         * stdlib/putenv.c (putenv): Don't always create copy of the variable
81851         on the stack.
81853         [BZ #11895]
81854         * misc/pselect.c (__pselect): Handle timeout value errors hidden
81855         through underflows.
81857         [BZ #12766]
81858         * misc/error.c (error_at_line): Ensure file_name and old_file_name
81859         point to strings before performing equality test for error_one_per_line
81860         mode.
81862         [BZ #11697]
81863         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
81865         [BZ #11820]
81866         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
81867         (struct user_fpregs_struct): Avoid __uint*_t types.
81869         [BZ #6420]
81870         * malloc/mtrace.c (tr_where): Add additional parameter to point to
81871         symbol info.  Use it instead of calling _dl_addr locally.
81872         (lock_and_info): New function.
81873         (tr_freehook): Call lock_and_info and pass symbol info as additional
81874         parameter to tr_where.
81875         (tr_mallochook): Likewise.
81876         (tr_reallochook): Likewise.
81877         (tr_memalignhook): Likewise.
81879         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
81880         used and couldn't be at all thread-safe.
81882 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
81884         * libio/freopen.c (freopen): Don't close old file descriptor
81885         before the new one is opened.  Instead dup the new file descriptor
81886         to the old one after the new stream is created.
81887         * libio/freopen64.c (freopen64): Likewise.
81888         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
81889         * libio/fileops.c (_IO_new_file_close_it): Handle new
81890         _IO_FLAGS2_NOCLOSE flag.
81891         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
81892         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
81893         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
81894         _IO_FLAGS2_NOCLOSE flag.
81895         * include/unistd.h: Add hidden_proto for dup3.
81896         Define __have_dup3.
81897         * io/dup3.c: Define hidden symbol.
81898         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
81900         [BZ #7101]
81901         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
81902         when an incomplete long option is used.
81903         * posix/tst-getopt_long1.c: New file.
81904         * posix/Makefile (tests): Add tst-getopt_long1.
81906         [BZ #10138]
81907         * scripts/config.guess: Update from autoconf-2.68.
81908         * scripts/config.sub: Likewise.
81910         [BZ #10157]
81911         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
81912         tests into ...
81913         (has_cpuclock): ...this.  New function.
81914         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
81915         macro here based on has_cpuclock code.
81917         [BZ #10149]
81918         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
81919         First byte (not low byte) is now always NUL.
81920         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
81922         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
81923         Use non-cancelable interfaces.
81925         [BZ #9809]
81926         * locale/iso-639.def: Add entry for Sorani.
81928         [BZ #11901]
81929         * include/stdlib.h: Move include protection to the right place.
81930         Define abort_msg_s.  Declare __abort_msg with it.
81931         * stdlib/abort.c (__abort_msg): Adjust type.
81932         * assert/assert.c (__assert_fail_base): New function.  Majority
81933         of code from __assert_fail.  Allocate memory for __abort_msg with
81934         mmap.
81935         (__assert_fail): Now call __assert_fail_base.
81936         * assert/assert-perr.c: Remove bulk of implementation.  Use
81937         __assert_fail_base.
81938         * include/assert.hL Declare __assert_fail_base.
81939         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
81940         mmap.
81941         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
81943 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
81945         [BZ #11952]
81946         [BZ #12453]
81947         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
81948         until all modules are registered in the DTV.
81949         * elf/Makefile: Add rules to build and run tst-tls19.
81950         * elf/tst-tls19.c: New file.
81951         * elf/tst-tls19mod1.c: New file.
81952         * elf/tst-tls19mod2.c: New file.
81953         * elf/tst-tls19mod3.c: New file.
81954         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
81956         [BZ #12083]
81957         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
81958         correctly.
81960         [BZ #12601]
81961         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
81962         two-byte sequence errors.
81963         * iconvdata/Makefile (tests): Add bug-iconv8.
81964         * iconvdata/bug-iconv8.c: New file.
81966         [BZ #12626]
81967         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
81968         buf2 definition.
81970         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
81972         [BZ #12432]
81973         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
81974         (dummy_getcfa): New function.
81975         (init): Get _Unwind_GetCFA address, use dummy if not found.
81976         (backtrace_helper): In recursion check, also check whether CFA changes.
81977         (__backtrace): Completely initialize arg.
81979         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
81980         storing incomplete byte sequence in state object.  Avoid testing for
81981         guaranteed too small input if we know there is enough data available.
81983 2011-05-11  Andreas Schwab  <schwab@redhat.com>
81985         * Makeconfig (+link-pie): Indent.
81986         * Rules (binaries-pie): Define if $(have-fpie) and
81987         $(build-shared).
81988         (binaries-shared): Also filter out $(binaries-pie).
81989         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
81990         * nscd/Makefile (others-pie): Add nscd.
81991         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
81992         ($(objpfx)nscd): Remove command override.
81993         * login/Makefile (others-pie): Add pt_chown.
81994         ($(objpfx)pt_chown): Remove command override.
81995         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
81996         remove command overrides.
81998 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
82000         * libio/tst_putwc.c: Fix error messages.
82002         [BZ #12724]
82003         * libio/fileops.c (_IO_new_file_close_it): Always flush when
82004         currently writing and seek to current position when not.
82005         * libio/Makefile (tests): Add bug-fclose1.
82006         * libio/bug-fclose1.c: New file.
82008 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
82010         [BZ #12511]
82011         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
82012         don't set DF_1_NODELETE here.
82013         (do_lookup_x): When entering new entry test for copy relocation
82014         and if necessary set DF_1_NODELETE flag.
82015         * elf/tst-unique4.cc: New file.
82016         * elf/tst-unique4.h: New file.
82017         * elf/tst-unique4lib.cc: New file.
82018         * elf/Makefile: Add rules to build and run tst-unique4.
82019         Patch by Piotr Bury <pbury@goahead.com>.
82021 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
82023         [BZ #12052]
82024         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
82026         [BZ #12625]
82027         * misc/mntent_r.c (addmntent): Flush the stream after the output
82029         [BZ #12393]
82030         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
82031         (is_trusted_path_normalize): Skip initial colon.  Append slash
82032         to empty buffer.  Duplicate is_trusted_path code but allow
82033         constructed patch to be prefix.
82034         (is_dst): Allow $ORIGIN followed by /.
82035         (_dl_dst_substitute): Correct clearing of check_for_trusted.
82036         Correct testing of result of is_trusted_path_normalize
82037         (decompose_rpath): Fix warning.
82039 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
82041         [BZ #11257]
82042         * grp/initgroups.c (internal_getgrouplist): When we found the service
82043         list through the initgroups entry in nsswitch.conf do not always
82044         continue on a successful lookup.  Don't always use the
82045         __nss_group_database value if it is set.
82046         * nss/nsswitch.conf (initgroups): Change action for successful db
82047         lookup to continue for compatibility.
82049 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
82051         [BZ #11532]
82052         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
82053         and CP774 modules.
82054         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
82055         and CP774 modules.
82056         * iconvdata/tst-tables.sh: Likewise.
82057         * iconvdata/cp770.c: New file.
82058         * iconvdata/cp771.c: New file.
82059         * iconvdata/cp772.c: New file.
82060         * iconvdata/cp773.c: New file.
82061         * iconvdata/cp774.c: New file.
82062         * iconvdata/testdata/CP770: New file.
82063         * iconvdata/testdata/CP770..UTF8: New file.
82064         * iconvdata/testdata/CP771: New file.
82065         * iconvdata/testdata/CP771..UTF8: New file.
82066         * iconvdata/testdata/CP772: New file.
82067         * iconvdata/testdata/CP772..UTF8: New file.
82068         * iconvdata/testdata/CP773: New file.
82069         * iconvdata/testdata/CP773..UTF8: New file.
82070         * iconvdata/testdata/CP774: New file.
82071         * iconvdata/testdata/CP774..UTF8: New file.
82073         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
82074         END CHARMAP line.
82075         * iconvdata/gen-8bit-gap.sh: Likewise.
82076         * iconvdata/gen-8bit.sh: Likewise.
82078         * locale/iso-639.def: Add ary entry.
82080         [BZ #11258]
82081         * locale/C-translit.h.in: Add U20A1 transliteration.
82083         [BZ #12178]
82084         * locale/iso-639.def: Add wae entry.
82085         Patch by Kevin Bortis <bortis@translate-wae.ch>.
82087         [BZ #12545]
82088         * locale/programs/localedef.c (construct_output_path): Use ssize_t
82089         for n.
82091         [BZ #12711]
82092         * locale/C-translit.h.in: Add entry for U20B9.
82093         Patch by pravin.d.s@gmail.com.
82095 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
82097         [BZ #12713]
82098         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
82099         ENAMETOOLONG use generic getcwd.
82100         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
82101         in rtld.  Use *stat64.
82102         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
82103         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
82104         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
82105         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
82106         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
82107         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
82108         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
82109         __fstatat64 macros.
82110         * include/dirent.h: Add libc_hidden_proto for rewinddir.
82111         * dirent/rewinddir.c: Add libc_hidden_def.
82112         * sysdeps/mach/hurd/rewinddir.c: Likewise.
82113         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
82115         * include/dirent.h (__alloc_dir): Add flags parameter.
82116         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
82117         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
82118         __alloc_dir.
82119         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
82120         from fdopendir if O_CLOEXEC is already set.
82122 2011-03-15  Alan Modra  <amodra@gmail.com>
82124         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
82125         l_tls_firstbyte_offset non-zero.  Save padding offset in
82126         l_tls_firstbyte_offset for later use.
82127         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
82128         freeing static tls block.
82130 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
82132         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
82133         where #ifdef was intended.  The intent is to prevent ARG_MAX from
82134         being defined by the kernel headers.
82136 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
82138         [BZ #12734]
82139         * resolv/resolv.h: Define RES_NOTLDQUERY.
82140         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
82141         no-tld-query and set RES_NOTLDQUERY.
82142         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
82143         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
82144         modern BIND to search name as TLD unless forbidden.
82146 2011-05-07  Petr Baudis  <pasky@suse.cz>
82147             Ulrich Drepper  <drepper@gmail.com>
82149         [BZ #12393]
82150         * elf/dl-load.c (fillin_rpath): Move trusted path check...
82151         (is_trusted_path): ...to here.
82152         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
82153         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
82154         using is_trusted_path_normalize() in setuid scripts.
82156 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
82158         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
82159         __BEGIN/__END_DECLS.
82161 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
82163         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
82164         NSS_STATUS_NOTFOUND if no record was found.
82166 2011-05-05  Andreas Schwab  <schwab@redhat.com>
82168         * sunrpc/Makefile (headers): Add rpc/netdb.h.
82169         (headers-not-in-tirpc): Remove rpc/netdb.h
82170         * resolv/netdb.h: Revert last change.
82172 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
82174         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
82175         circular dependency between libgcc.a and libc.a.
82177 2011-05-05  Andreas Schwab  <schwab@redhat.com>
82179         * resolv/netdb.h: Don't include <rpc/netdb.h>.
82180         * nis/Makefile: Don't install rpcsvc/*.
82181         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
82182         instead of <rpc/types.h>.
82183         (MAXHOSTNAMELEN): Define.
82185 2011-05-03  Andreas Schwab  <schwab@redhat.com>
82187         * elf/ldconfig.c (add_dir): Don't crash on empty path.
82189 2011-04-28  Maciej Babinski  <mbabinski@google.com>
82191         [BZ #12714]
82192         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
82193         gethostbyname4_r when IPv6 results are possible.
82195 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
82197         [BZ #12723]
82198         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
82199         _PC_PIPE_BUF handling.
82201 2011-04-30  Bruno Haible  <bruno@clisp.org>
82203         [BZ #12717]
82204         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
82205         * resolv/netdb.h (getnameinfo): Change type of flags parameter
82206         to 'int'.
82207         * inet/getnameinfo.c (getnameinfo): Likewise.
82209 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
82211         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
82212         to groups setting in database lookup.
82213         * nss/nsswitch.conf: Add initgroups entry.
82215 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
82217         [BZ #12685]
82218         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
82219         mode string.
82220         Patch by Eric Blake <eblake@redhat.com>.
82222 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
82224         * sunrpc/Makefile (need-export-routines): Add svc_run.
82225         (routines): Remove svc_run.
82226         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
82227         * sunrpc/clnt_perr.c (clnt_perrno): Export.
82228         * sunrpc/svc_run.c (svc_run): Likewise.
82229         * sunrpc/svc_udp.c (svcudp_create): Likewise.
82231 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
82233         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
82234         problem in reallocation in last patch.
82236 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
82238         * sunrpc/Makefile: Move inclusion of Rules.
82240 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
82242         * nss/nss_files/files-initgroups.c: New file.
82243         * nss/Makefile (libnss_files-routines): Add files-initgroups.
82244         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
82245         _nss_files_initgroups_dyn.
82247 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
82249         * elf/elf.h (R_ARM_IRELATIVE): Define.
82251 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
82253         * po/ru.po: Update from translation team.
82255 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
82257         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
82258         dependencies.
82260 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
82262         [BZ #12653]
82263         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
82264         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
82265         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
82266         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
82267         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
82269 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
82271         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
82272         differing bytes.
82273         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
82274         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
82275         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
82277 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
82279         [BZ #12420]
82280         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
82281         storing it.
82282         * stdlib/bug-getcontext.c: New file.
82283         * stdlib/Makefile: Add rules to build and run bug-getcontext.
82285 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82287         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
82288         instructions into .machine "z9-109".
82289         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
82290         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
82292 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82294         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
82295         between environment variables and auxiliary vector.
82297 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
82299         * Makefile: Add rules to build linkobj/libc.so.
82300         * include/libc-symbols.h: Define libc_hidden_nolink.
82301         * include/rpc/auth.h: Mark functions which are to be hidden.
82302         * include/rpc/auth_des.h: Likewise.
82303         * include/rpc/auth_unix.h: Likewise.
82304         * include/rpc/clnt.h: Likewise.
82305         * include/rpc/des_crypt.h: Likewise.
82306         * include/rpc/key_prot.h: Likewise.
82307         * include/rpc/pmap_clnt.h: Likewise.
82308         * include/rpc/pmap_prot.h: Likewise.
82309         * include/rpc/pmap_rmt.h: Likewise.
82310         * include/rpc/rpc_msg.h: Likewise.
82311         * include/rpc/svc.h: Likewise.
82312         * include/rpc/svc_auth.h: Likewise.
82313         * include/rpc/xdr.h: Likewise.
82314         * nis/Makefile: Link all DSOs against linkobj/libc.so.
82315         * nss/Makefile: Likewise.
82316         * sunrpc/Makefile: Don't install headers.  Build library with normal
82317         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
82318         * sunrpc/auth_des.c: Hide exported symbols by default, export some
82319         for the compat linking library.  Remove use of INTDEF/INTUSE.
82320         * sunrpc/auth_none.c: Likewise.
82321         * sunrpc/auth_unix.c: Likewise.
82322         * sunrpc/authdes_prot.c: Likewise.
82323         * sunrpc/authuxprot.c: Likewise.
82324         * sunrpc/clnt_gen.c: Likewise.
82325         * sunrpc/clnt_perr.c: Likewise.
82326         * sunrpc/clnt_raw.c: Likewise.
82327         * sunrpc/clnt_simp.c: Likewise.
82328         * sunrpc/clnt_tcp.c: Likewise.
82329         * sunrpc/clnt_udp.c: Likewise.
82330         * sunrpc/clnt_unix.c: Likewise.
82331         * sunrpc/des_crypt.c: Likewise.
82332         * sunrpc/des_soft.c: Likewise.
82333         * sunrpc/get_myaddr.c: Likewise.
82334         * sunrpc/key_call.c: Likewise.
82335         * sunrpc/key_prot.c: Likewise.
82336         * sunrpc/netname.c: Likewise.
82337         * sunrpc/pm_getmaps.c: Likewise.
82338         * sunrpc/pm_getport.c: Likewise.
82339         * sunrpc/pmap_clnt.c: Likewise.
82340         * sunrpc/pmap_prot.c: Likewise.
82341         * sunrpc/pmap_prot2.c: Likewise.
82342         * sunrpc/pmap_rmt.c: Likewise.
82343         * sunrpc/publickey.c: Likewise.
82344         * sunrpc/rpc_cmsg.c: Likewise.
82345         * sunrpc/rpc_common.c: Likewise.
82346         * sunrpc/rpc_dtable.c: Likewise.
82347         * sunrpc/rpc_prot.c: Likewise.
82348         * sunrpc/rpc_thread.c: Likewise.
82349         * sunrpc/rtime.c: Likewise.
82350         * sunrpc/svc.c: Likewise.
82351         * sunrpc/svc_auth.c: Likewise.
82352         * sunrpc/svc_authux.c: Likewise.
82353         * sunrpc/svc_raw.c: Likewise.
82354         * sunrpc/svc_run.c: Likewise.
82355         * sunrpc/svc_simple.c: Likewise.
82356         * sunrpc/svc_tcp.c: Likewise.
82357         * sunrpc/svc_udp.c: Likewise.
82358         * sunrpc/svc_unix.c: Likewise.
82359         * sunrpc/svcauth_des.c: Likewise.
82360         * sunrpc/xcrypt.c: Likewise.
82361         * sunrpc/xdr.c: Likewise.
82362         * sunrpc/xdr_array.c: Likewise.
82363         * sunrpc/xdr_float.c: Likewise.
82364         * sunrpc/xdr_intXX_t.c: Likewise.
82365         * sunrpc/xdr_mem.c: Likewise.
82366         * sunrpc/xdr_rec.c: Likewise.
82367         * sunrpc/xdr_ref.c: Likewise.
82368         * sunrpc/xdr_sizeof.c: Likewise.
82369         * sunrpc/xdr_stdio.c: Likewise.
82371 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
82373         [BZ #12650]
82374         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
82375         * sysdeps/ia64/dl-tls.h: Likewise.
82376         * sysdeps/powerpc/dl-tls.h: Likewise.
82377         * sysdeps/s390/dl-tls.h: Likewise.
82378         * sysdeps/sh/dl-tls.h: Likewise.
82379         * sysdeps/sparc/dl-tls.h: Likewise.
82380         * sysdeps/x86_64/dl-tls.h: Likewise.
82381         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
82383 2011-03-14  Andreas Schwab  <schwab@redhat.com>
82385         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
82386         rpath element also skip the following colon.
82387         (expand_dynamic_string_token): Add is_path parameter and pass
82388         down to DL_DST_REQUIRED and _dl_dst_substitute.
82389         (decompose_rpath): Call expand_dynamic_string_token with
82390         non-zero is_path.  Ignore empty rpaths.
82391         (_dl_map_object_from_fd): Call expand_dynamic_string_token
82392         with zero is_path.
82394 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
82396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
82397         Make cancelable.
82399 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
82401         [BZ #12655]
82402         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
82403         Patch by Filipe David Manana <fdmanana@apache.org>.
82405 2011-04-07  Andreas Schwab  <schwab@redhat.com>
82407         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
82408         Maintain aligned stack.
82409         (CHECK_RSP): Remove unused macro.
82411 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
82413         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
82414         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
82416 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
82418         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
82420         * include/features.h: Mention __USE_XOPEN2K8 in comment.
82422 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
82424         [BZ #12518]
82425         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
82426         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
82427         * sysdeps/x86_64/memmove.c: New file.
82428         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
82429         (memcpy): Renamed to ...
82430         (__new_memcpy): This.
82431         (memcpy): Provide GLIBC_2_14 memcpy.
82432         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
82433         (memcpy): Provide GLIBC_2_2_5 memcpy.
82435 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
82437         [BZ #12631]
82438         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
82440 2011-03-30  Andreas Schwab  <schwab@redhat.com>
82442         * misc/syncfs.c: New file.
82443         * misc/Makefile (routines): Add syncfs.
82444         * posix/unistd.h: Declare syncfs.
82445         * sysdeps/unix/syscalls.list: Add syncfs.
82447 2011-04-01  Andreas Schwab  <schwab@redhat.com>
82449         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
82450         open_by_handle_at.
82451         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
82452         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
82453         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
82454         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
82455         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
82456         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
82457         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
82459 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
82461         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
82462         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
82463         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
82464         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
82465         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
82466         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
82467         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
82469         * io/Makefile: Compile fallocate.c, fallocate64.c, and
82470         sync_file_range.c with -fexceptions.
82471         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
82472         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
82473         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
82474         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
82475         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
82476         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
82477         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
82478         sync_file_range as cancellation point
82479         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
82480         now a wrapper around __call_sync_file_range with cancellation handling.
82481         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
82482         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
82483         function name to __call_sync_file_range.
82484         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
82485         Add call_sync_file_range.
82487 2011-04-01  Andreas Schwab  <schwab@redhat.com>
82489         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82490         bits/timex.h.
82492 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
82494         * iconv/iconv.h: Fix typo in comment.
82495         * io/fcntl.h: Likewise.
82496         * libio/stdio.h: Likewise.
82497         * posix/spawn.h: Likewise.
82498         * posix/unistd.h: Likewise.
82499         * stdlib/stdlib.h: Likewise.
82500         * time/time.h: Likewise.
82501         * wcsmbs/wchar.h: Likewise.
82503         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
82504         open_by_handle): Add.
82505         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
82506         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
82507         Augment a few comments.
82508         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
82509         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
82510         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
82511         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
82512         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
82513         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
82514         open_by_handle.
82516         * io/fcntl.h (AT_EMPTY_PATH): Define.
82518 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
82520         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
82521         * sysdeps/unix/sysv/linux/bits/time.h: New file.
82522         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
82523         to...
82524         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
82525         * Versions.def: Add GLIBC_2.14.
82526         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
82527         Export.
82529 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
82531         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
82532         round counter.
82533         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
82535 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
82537         [BZ #12597]
82538         * string/test-strncmp.c (do_page_test): New function.
82539         (check2): Likewise.
82540         (test_main): Call check2.
82541         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
82543 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
82545         [BZ #12587]
82546         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
82547         Handle cache information in CPU leaf 4.
82548         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
82550 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
82552         [BZ #12583]
82553         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
82554         character representation.
82555         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
82557 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
82559         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
82560         END(__isnan) to END(__isnanf) to match function entry point/label
82561         EALIGN(__isnanf,...).
82563 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
82565         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
82567 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
82569         [BZ #12510]
82570         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
82571         copy from the symbol referenced in the relocation to initialize the
82572         used variable.
82573         Patch by Piotr Bury <pbury@goahead.com>.
82574         * elf/Makefile: Add rules to build and tst-unique3.
82575         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
82576         * elf/tst-unique3.cc: New file.
82577         * elf/tst-unique3.h: New file.
82578         * elf/tst-unique3lib.cc: New file.
82579         * elf/tst-unique3lib2.cc: New file.
82581         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
82583 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
82585         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
82586         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
82587         to _start.
82589 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
82591         * elf/dl-load.c (_dl_map_object): If we are looking for the first
82592         to-be-loaded object along a path to loader is ld.so.
82594 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
82595             Ulrich Drepper  <drepper@gmail.com>
82597         * sysdeps/x86_64/memset.S: After aligning destination, code
82598         branches to different locations depending on the value of
82599         misalignment, when multiarch is enabled. Fix this.
82601 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
82603         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
82604         Set _x86_64_preferred_memory_instruction for AMD processsors.
82605         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82606         Set bit_Prefer_SSE_for_memop for AMD processors.
82608 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
82610         * libio/fmemopen.c (fmemopen): Optimize a bit.
82612 2011-03-03  Andreas Schwab  <schwab@redhat.com>
82614         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
82616 2011-03-03  Roland McGrath  <roland@redhat.com>
82618         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
82620 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
82622         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
82623         __bzero_ultra1 instead of __memset_ultra1.
82625 2011-02-23  Andreas Schwab  <schwab@redhat.com>
82626             Ulrich Drepper  <drepper@gmail.com>
82628         [BZ #12509]
82629         * include/link.h (struct link_map): Add l_orig_initfini.
82630         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
82631         returning unsuccessfully.
82632         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
82633         close of a file loaded at startup, restore the original l_initfini
82634         list.
82635         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
82636         list, store the pointer.
82637         * elf/Makefile ($(objpfx)noload-mem): New rule.
82638         (noload-ENV): Define.
82639         (tests): Add $(objpfx)noload-mem.
82640         * elf/noload.c: Include <memcheck.h>.
82641         (main): Call mtrace.  Close all opened handles.
82643 2011-02-17  Andreas Schwab  <schwab@redhat.com>
82645         [BZ #12454]
82646         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
82647         dependencies are missing.
82649 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82651         Fix __if_freereq crash: Unlike the generic version which uses free,
82652         Hurd needs munmap.
82653         * sysdeps/mach/hurd/ifreq.h: New file.
82655 2011-01-27  Petr Baudis  <pasky@suse.cz>
82656             Ulrich Drepper  <drepper@gmail.com>
82658         [BZ 12445]#
82659         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
82660         to extend_alloca().
82661         * stdio-common/bug23.c: New file.
82662         * stdio-common/Makefile (tests): Add bug23.
82664 2010-09-28  Andreas Schwab  <schwab@redhat.com>
82665             Ulrich Drepper  <drepper@gmail.com>
82667         [BZ #12489]
82668         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
82669         before performing relro protection.  At old place add assertion
82670         to make sure nothing changed.
82672 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
82673             Glauber de Oliveira Costa  <glommer@gmail.com>
82675         * elf/elf.h: Add new ARM TLS relocs.
82677 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
82679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
82680         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
82681         cast from r3.
82682         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
82683         'tests' variable.
82684         * sysdeps/wordsize-64/tst-writev.c: New file.
82686 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
82688         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
82689         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
82690         insns in _dl_start to prevent a TOC reference before relocs are
82691         resolved.
82693 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
82695         [BZ #12469]
82696         * Makeconfig: Remove RANLIB definition.
82697         * Makerules: Don't use RANLIB.
82698         * aclocal.m4: Remove ranlib test.
82699         * configure.in: No need to check for ranlib.
82700         * elf/rtld-Rules: Don't use RANLIB.
82702 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82704         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
82705         protection macro.
82706         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
82707         inclusion protection macro.
82709         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
82710         SIGRTMIN and SIGRTMAX and print information in that case only when
82711         SIGRTMIN is defined.
82713 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
82715         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
82716         arginfo fn returning -1.
82718         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
82719         and thousands string is zero terminated.
82721 2011-02-03  Andreas Schwab  <schwab@redhat.com>
82723         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
82724         sysdeps/unix/sysv/linux/bits/socket.h.
82726 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82728         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
82729         (__CPU_COUNT): Remove old macros.
82730         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
82731         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
82732         (__CPU_ALLOC, __CPU_FREE): Add macros.
82733         (__sched_cpualloc, __sched_cpufree): Add declarations.
82735 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
82737         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
82738         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
82739         * nscd/aicache.c (addhstaiX): Return timeout of added value.
82740         (readdhstai): Return value of addhstaiX call.
82741         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
82742         (addgrbyX): Return value returned by cache_addgr.
82743         (readdgrbyname): Return value returned by addgrbyX.
82744         (readdgrbygid): Likewise.
82745         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
82746         (addpwbyX): Return value returned by cache_addpw.
82747         (readdpwbyname): Return value returned by addhstbyX.
82748         (readdpwbyuid): Likewise.
82749         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
82750         (addservbyX): Return value returned by cache_addserv.
82751         (readdservbyname): Return value returned by addservbyX:
82752         (readdservbyport): Likewise.
82753         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
82754         (addhstbyX): Return value returned by cache_addhst.
82755         (readdhstbyname): Return value returned by addhstbyX.
82756         (readdhstbyaddr): Likewise.
82757         (readdhstbynamev6): Likewise.
82758         (readdhstbyaddrv6): Likewise.
82759         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
82760         (readdinitgroups): Return value returned by addinitgroupsX.
82761         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
82762         (prune_cache): Keep track of timeout value of re-added entries.
82763         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
82764         * nscd/nscd.h: Adjust prototypes of readd* functions.
82766 2011-02-04  Roland McGrath  <roland@redhat.com>
82768         * nis/nis_server.c (nis_servstate): Use the right name for 0.
82769         (nis_stats): Likewise.
82770         * nis/nis_modify.c (nis_modify): Likewise.
82771         * nis/nis_remove.c (nis_remove): Likewise.
82772         * nis/nis_add.c (nis_add): Likewise.
82774         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
82776         * posix/fnmatch_loop.c: Add some consts.
82778         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
82780 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
82782         [BZ #12460]
82783         * config.make.in (config-cflags-novzeroupper): Define.
82784         * configure.in: Substitute libc_cv_cc_novzeroupper.
82785         * elf/Makefile (AVX-CFLAGS): Define.
82786         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
82787         (CFLAGS-tst-auditmod4a.c): Likewise.
82788         (CFLAGS-tst-auditmod4b.c): Likewise.
82789         (CFLAGS-tst-auditmod6b.c): Likewise.
82790         (CFLAGS-tst-auditmod6c.c): Likewise.
82791         (CFLAGS-tst-auditmod7b.c): Likewise.
82792         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
82794 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
82796         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
82797         function to the callback.
82798         Patch partly by Jiri Olsa <jolsa@redhat.com>.
82800 2011-02-02  Andreas Schwab  <schwab@redhat.com>
82802         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
82803         of errno.
82805 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
82807         [BZ #11724]
82808         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
82809         of constructors.
82810         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
82811         of destructors.
82812         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
82814         [BZ #11724]
82815         * elf/Makefile: Add rules to build and run new test.
82816         * elf/tst-initorder.c: New file.
82817         * elf/tst-initorder.exp: New file.
82818         * elf/tst-initordera1.c: New file.
82819         * elf/tst-initordera2.c: New file.
82820         * elf/tst-initordera3.c: New file.
82821         * elf/tst-initordera4.c: New file.
82822         * elf/tst-initorderb1.c: New file.
82823         * elf/tst-initorderb2.c: New file.
82824         * elf/tst-order-a1.c: New file.
82825         * elf/tst-order-a2.c: New file.
82826         * elf/tst-order-a3.c: New file.
82827         * elf/tst-order-a4.c: New file.
82828         * elf/tst-order-b1.c: New file.
82829         * elf/tst-order-b2.c: New file.
82830         * elf/tst-order-main.c: New file.
82831         New test case by George Gensure <werkt0@gmail.com>.
82833 2010-10-01  Andreas Schwab  <schwab@redhat.com>
82835         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
82836         decoding ACE if AI_CANONIDN.
82838 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
82840         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
82842 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
82844         * version.h (RELEASE): Bump for 2.13 release.
82845         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
82847         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
82849         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
82850         MADV_NOHUGEPAGE.
82851         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
82852         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
82853         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
82854         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
82855         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
82856         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
82858         * posix/getconf.c: Update copyright year.
82859         * catgets/gencat.c: Likewise.
82860         * csu/version.c: Likewise.
82861         * debug/catchsegv.sh: Likewise.
82862         * debug/xtrace.sh: Likewise.
82863         * elf/ldconfig.c: Likewise.
82864         * elf/ldd.bash.in: Likewise.
82865         * elf/sprof.c (print_version): Likewise.
82866         * iconv/iconv_prog.c: Likewise.
82867         * iconv/iconvconfig.c: Likewise.
82868         * locale/programs/locale.c: Likewise.
82869         * locale/programs/localedef.c: Likewise.
82870         * malloc/memusage.sh: Likewise.
82871         * malloc/mtrace.pl: Likewise.
82872         * nscd/nscd.c (print_version): Likewise.
82873         * nss/getent.c: Likewise.
82875         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
82876         PF_CAIF, and PF_ALG.
82877         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
82879 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
82881         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
82882         (modules-names): Use them.
82883         (ifunc-test-modules, ifunc-pie-tests): Define.
82884         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
82885         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
82886         (test-extras): Likewise.
82887         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
82888         $(compile-command.c).
82889         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
82890         (all-built-dso): Define.
82891         (check-textrel.out, check-execstack.out): Depend on it.
82893         * configure.in: Don't override --enable-multi-arch.
82895 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
82897         [BZ #6812]
82898         * nscd/hstcache.c (tryagain): Define.
82899         (cache_addhst): Return tryagain not notfound for temporary errors.
82900         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
82901         failed.
82903 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
82905         [BZ #10563]
82906         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
82907         to make the syscall.
82908         * sysdeps/unix/sysv/linux/setgroups.c: New file.
82910         [BZ #12378]
82911         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
82912         and fall back to matching as normal character if the string ends before
82913         the matching ']' is found.  This is what POSIX requires.
82914         * posix/testfnm.c: Adjust test result.
82915         * posix/globtest.sh: Adjust test result.  Add new test.
82916         * posix/tst-fnmatch.input: Likewise.
82917         * posix/tst-fnmatch2.c: Add new test.
82919 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
82921         * elf/Makefile (check-execstack): Revert last change.  Depend on
82922         check-execstack.h.
82923         (check-execstack.h): New target.
82924         (generated): Add check-execstack.h.
82925         * elf/check-execstack.c: Include "check-execstack.h".
82926         (main): Revert last change.
82927         (handle_file): Return zero if GNU_STACK is absent and
82928         DEFAULT_STACK_PERMS doesn't include PF_X.
82930 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
82932         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
82933         in child fails because the descriptor is already closed.
82934         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
82935         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
82936         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
82938         [BZ #12397]
82939         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
82940         syscall.
82942         [BZ #10484]
82943         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
82944         temporary buffer used to handle multi lookups locally.
82945         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
82947 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
82949         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
82950         loader is ld.so.
82952 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
82954         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
82955         alignment for SSE2.
82957 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
82959         [BZ #12394]
82960         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
82961         characters.  When rounding increased number of integer digits recompute
82962         number of groups.
82963         * stdio-common/tst-grouping.c: New file.
82964         * stdio-common/Makefile: Add rules to build and run tst-grouping.
82966 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
82968         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
82969         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
82971         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
82972         void.
82973         * bits/select.h: Likewise.
82975 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
82977         * po/ja.po: Update from translation team.
82979 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
82981         [BZ #11155]
82982         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
82983         implementation just like for lxstat, fxstatat, et al.
82985 2010-12-27  Jim Meyering  <meyering@redhat.com>
82987         [BZ #12348]
82988         * posix/regexec.c (build_trtable): Return failure indication upon
82989         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
82991 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
82993         [BZ #12201]
82994         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
82995         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
82996         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
82997         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
82999         [BZ #12207]
83000         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
83002         [BZ #12204]
83003         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
83004         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
83006 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
83008         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
83009         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
83010         script has SORT_BY_INIT_PRIORITY.
83011         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
83012         NO_CTORS_DTORS_SECTIONS is defined.
83013         * elf/soinit.c: Likewise.
83014         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
83015         NO_CTORS_DTORS_SECTIONS is defined.
83016         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
83017         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
83018         * sysdeps/sh/init-first.c: Likewise.
83019         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
83021 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
83023         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
83024         always use the slow path.
83026 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
83028         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
83029         similar rule which adds the sysdep directories to the header search in
83030         order to pick up the correct platform stackinfo.h.
83031         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
83032         perform test if it is, otherwise return successfully without testing.
83033         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
83034         DEFAULT_STACK_PERMS define in stackinfo.h.
83035         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
83036         defined in stackinfo.h.
83037         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
83038         DEFAULT_STACK_PERMS defined in stackinfo.h.
83039         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
83040         * sysdeps/ia64/stackinfo.h: Likewise.
83041         * sysdeps/s390/stackinfo.h: Likewise.
83042         * sysdeps/sh/stackinfo.h: Likewise.
83043         * sysdeps/sparc/stackinfo.h: Likewise.
83044         * sysdeps/x86_64/stackinfo.h: Likewise.
83045         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
83046         PF_X for powerpc64.  Retain PF_X for powerpc32.
83048 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
83050         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
83051         accurately.
83052         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
83053         GETDENTS_64BIT_ALIGNED.
83055 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
83057         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
83059 2010-12-10  Andreas Schwab  <schwab@redhat.com>
83061         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
83062         _GNU_SOURCE.
83064         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
83065         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
83066         Remove __restrict.
83067         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
83068         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
83070 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
83072         [BZ #11655]
83073         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
83074         are initialized.
83076 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
83078         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
83080 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
83082         * po/it.po: Update from translation team.
83084 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
83086         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
83087         unused codes.
83089 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
83091         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
83093 2010-11-24  Andreas Schwab  <schwab@redhat.com>
83095         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
83096         specially.
83097         (gaih_getanswer_slice): Likewise.
83099 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
83101         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
83103 2010-05-31  Petr Baudis  <pasky@suse.cz>
83105         [BZ #11149]
83106         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
83107         silently even in the chroot mode.
83109 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
83111         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
83112         last patch a bit.  Pretty printing
83114 2010-05-31  Petr Baudis <pasky@suse.cz>
83116         [BZ #10085]
83117         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
83118         initialization of skip_initgroups_dyn.
83120 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
83122         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
83123         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
83125 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
83127         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
83129 2010-11-11  Andreas Schwab  <schwab@redhat.com>
83131         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
83132         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
83133         (tst-fnmatch-ENV): Set MALLOC_TRACE.
83134         ($(objpfx)tst-fnmatch-mem): New rule.
83135         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
83136         * posix/tst-fnmatch.c (main): Call mtrace.
83138 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
83140         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83141         Support Intel processor model 6 and model 0x2c.
83143 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
83145         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
83146           signed comparison.
83148 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
83150         [BZ #12205]
83151         * string/test-strncasecmp.c (check_result): New function.
83152         (do_one_test): Use it.
83153         (check1): New function.
83154         (test_main): Use it.
83155         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
83156         Support strcasecmp and strncasecmp.
83158 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
83160         [BZ #12194]
83161         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
83162         * sysdeps/x86_64/bits/byteswap.h: Likewise.
83164 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
83166         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
83167         IFUNC support.
83168         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83169         memset-x86-64.
83170         * sysdeps/x86_64/multiarch/bzero.S: New file.
83171         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
83172         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
83173         * sysdeps/x86_64/multiarch/memset.S: New file.
83174         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
83175         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83176         Set bit_Prefer_SSE_for_memop for Intel processors.
83177         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
83178         Define.
83179         (index_Prefer_SSE_for_memop): Define.
83180         (HAS_PREFER_SSE_FOR_MEMOP): Define.
83182 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
83184         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
83185         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
83187 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
83189         [BZ #12191]
83190         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
83191         (__x86_64_raw_data_cache_size_half): Likewise.
83192         (__x86_64_raw_shared_cache_size): Likewise.
83193         (__x86_64_raw_shared_cache_size_half): Likewise.
83195         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
83196         (__x86_64_raw_data_cache_size_half): Likewise.
83197         (__x86_64_raw_shared_cache_size): Likewise.
83198         (__x86_64_raw_shared_cache_size_half): Likewise.
83199         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
83200         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
83201         and __x86_64_raw_shared_cache_size_half.  Round
83202         __x86_64_data_cache_size_half, __x86_64_data_cache_size
83203         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
83204         to multiple of 256 bytes.
83206 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
83208         [BZ #12167]
83209         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
83210         of inacessible symlinks.  Verify result of symlink before returning it.
83211         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
83212         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
83214 2010-10-28  Erich Ritz  <erichritz@gmail.com>
83216         * math/math.h (isinf): Fix typo in comment.
83218 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
83220         * po/da.po: Update from translation team.
83222 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
83224         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
83225         is added to the list.
83227 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83228             Ulrich Drepper  <drepper@gmail.com>
83230         * elf/dl-object.c (_dl_new_object): Don't append the new object to
83231         the global list here.  Move code to...
83232         (_dl_add_to_namespace_list): ...here.  New function.
83233         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
83234         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
83235         * elf/dl-load.c (lose): Don't remove the element from the list.
83236         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
83237         (_dl_map_object): Likewise.
83239 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
83241         [BZ #12159]
83242         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
83243         into all bytes of SSE register.
83244         Patch by Richard Li <richardpku@gmail.com>.
83246 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
83248         [BZ #12140]
83249         * malloc/malloc.c (_int_free): Fill correct number of bytes when
83250         perturbing.
83252 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
83254         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
83255         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
83256         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
83257         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
83258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
83259         submachine.
83260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
83262 2010-10-22  Andreas Schwab  <schwab@redhat.com>
83264         * include/dlfcn.h (__RTLD_SECURE): Define.
83265         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
83266         mode & __RTLD_SECURE instead.
83267         (open_path): Rename preloaded parameter to secure.
83268         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
83269         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
83270         * elf/dl-deps.c (openaux): Likewise.
83271         * elf/rtld.c (struct map_args): Remove is_preloaded.
83272         (map_doit): Don't use it.
83273         (dl_main): Likewise.
83274         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
83275         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
83277 2010-09-09  Andreas Schwab  <schwab@redhat.com>
83279         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
83280         (sysd-rules-targets): Remove duplicates.
83281         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
83282         rtld-%.$o dependency.
83284 2010-10-18  Andreas Schwab  <schwab@redhat.com>
83286         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
83287         _dl_map_object do it.
83289 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
83291         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
83292         fast fma builtins, define the macros in the C99 standard.
83293         (FP_FAST_FMAF): Likewise.
83294         (FP_FAST_FMAL): Likewise.
83295         * sysdeps/x86_64/bits/mathdef.h: Likewise.
83297         * bits/mathdef.h: Update copyright year.
83298         * sysdeps/powerpc/bits/mathdef.h: Likewise.
83300 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
83302         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
83303         builtins, define the macros in the C99 standard.
83304         (FP_FAST_FMAF): Likewise.
83305         (FP_FAST_FMAL): Likewise.
83306         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
83307         multiply/add.
83308         (FP_FAST_FMAF): Likewise.
83310 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
83312         [BZ #3268]
83313         * math/libm-test.inc (fma_test): Some new testcases.
83314         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
83315         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
83316         y and infinite z.  Do multiplication by C already in long double.
83317         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
83318         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
83319         y and infinite z.  Do bitwise or of inexact bit into u.d.
83320         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
83321         * sysdeps/i386/fpu/s_fmaf.S: Removed.
83322         * sysdeps/i386/fpu/s_fma.S: Removed.
83323         * sysdeps/i386/fpu/s_fmal.S: Removed.
83325 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
83327         [BZ #3268]
83328         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
83329         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
83330         computation is not scheduled after fetestexcept.  Fix value
83331         of minimum denormal long double.
83333 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
83335         [BZ #3268]
83336         * math/libm-test.inc (fma_test): Add some more tests.
83337         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
83338         correctly.
83340 2010-10-15  Andreas Schwab  <schwab@redhat.com>
83342         * scripts/data/localplt-s390-linux-gnu.data: New file.
83343         * scripts/data/localplt-s390x-linux-gnu.data: New file.
83345 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
83347         [BZ #3268]
83348         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
83349         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
83350         instead of dbl-64.
83351         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
83352         inlines.
83353         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
83354         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
83355         if one of x and y is very large and the other is subnormal.
83356         * sysdeps/s390/fpu/s_fmaf.c: New file.
83357         * sysdeps/s390/fpu/s_fma.c: New file.
83358         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
83359         * sysdeps/powerpc/fpu/s_fma.S: New file.
83360         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
83361         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
83362         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
83364 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
83366         [BZ #3268]
83367         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
83368         fma tests.
83369         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
83370         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
83371         * sysdeps/i386/i686/multiarch/s_fma.c: Include
83372         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
83373         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
83374         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
83375         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
83377 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
83379         [BZ #12078]
83380         * posix/regcomp.c (parse_branch): One more memory leak plugged.
83381         * posix/bug-regex31.input: Add test case.
83383 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
83385         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
83386         * posix/bug-regex31.input: New file.
83388         [BZ #12078]
83389         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
83390         (parse_sub_exp): Fix last change, use postorder.
83392         * posix/bug-regex31.c: New file.
83393         * posix/Makefile: Add rules to build and run bug-regex31.
83395         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
83397         [BZ #12078]
83398         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
83400         [BZ #12108]
83401         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
83402         to have entries in sys_siglist.
83404         [BZ #12093]
83405         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
83406         be NULL.
83408 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
83410         [BZ #3268]
83411         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
83412         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
83413         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
83414         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
83415         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
83416         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
83417         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
83418         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
83419         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
83420         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
83421         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
83422         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
83423         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
83424         * math/ftestexcept.c (fetestexcept): Likewise.
83425         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
83426         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
83427         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
83428         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
83429         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
83430         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
83431         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
83433 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
83435         [BZ #12107]
83436         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
83437         newline.
83439 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
83441         * string/bug-strstr1.c: New file.
83442         * string/Makefile: Add rules to build and run bug-strstr1.
83444 2010-10-05  Eric Blake  <eblake@redhat.com>
83446         [BZ #12092]
83447         * string/str-two-way.h (two_way_long_needle): Always clear memory
83448         when skipping input due to the shift table.
83450 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
83452         [BZ #12005]
83453         * malloc/mcheck.c: Handle large requests.
83455         [BZ #12077]
83456         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
83457         for strncmp and strncasecmp.
83458         * string/stratcliff.c: Add tests for strcmp and strncmp.
83459         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
83461 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
83463         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
83464         __set_fpscr.
83466 2010-09-30  Andreas Jaeger  <aj@suse.de>
83468         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
83469         (CGROUP_SUPER_MAGIC): Define.
83470         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
83471         Handle btrfs and cgroup file systems.
83472         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
83473         Likewise.
83475 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
83477         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
83478         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
83480 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83482         [BZ #12067]
83483         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
83484         trying to locate the ELF header.
83486 2010-09-27  Andreas Schwab  <schwab@redhat.com>
83488         [BZ #11611]
83489         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
83490         Mask out sign-bit copies when constructing f_fsid.
83492 2010-09-24  Petr Baudis <pasky@suse.cz>
83494         * debug/stack_chk_fail_local.c: Add missing licence exception.
83495         * debug/warning-nop.c: Likewise.
83497 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
83499         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
83500         implementing getdents64 using getdents syscall, set d_type if
83501         __ASSUME_GETDENTS32_D_TYPE.
83503 2010-09-16  Andreas Schwab  <schwab@redhat.com>
83505         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
83506         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
83508 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
83510         [BZ #12037]
83511         * posix/unistd.h: Undo change of feature selection for ftruncate from
83512         2010-01-11.
83514 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
83516         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
83517         detection.
83519 2010-09-20  Andreas Schwab  <schwab@redhat.com>
83521         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
83522         fanotify_mark.
83523         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
83525 2010-09-14  Andreas Schwab  <schwab@redhat.com>
83527         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
83528         variables after CHECK_SP call.
83529         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
83531 2010-09-13  Andreas Schwab  <schwab@redhat.com>
83532             Ulrich Drepper  <drepper@redhat.com>
83534         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
83535         re-relocationg ld.so.
83536         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
83537         _dl_init_paths call.
83538         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
83539         here anymore.
83541 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
83543         * resolv/res_init.c (__res_vinit): Count the default server we added.
83545 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
83546             Ulrich Drepper  <drepper@redhat.com>
83548         [BZ #11968]
83549         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
83550         (____longjmp_chk): Use %ebx for saving value across system call.
83551         Add unwind info.
83553 2010-09-06  Andreas Schwab  <schwab@redhat.com>
83555         * manual/Makefile: Don't mix pattern rules with normal rules.
83557 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
83559         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
83560         operation.
83561         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
83562         * libio/iofopncook.c (_IO_cookie_init): Likewise.
83563         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
83564         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
83565         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
83566         Likewise.
83568 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
83570         [BZ #11979]
83571         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
83572         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
83574 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
83576         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
83577         * sysdeps/x86_64/addmul_1.S: Likewise.
83578         * sysdeps/x86_64/lshift.S: Likewise.
83579         * sysdeps/x86_64/mul_1.S: Likewise.
83580         * sysdeps/x86_64/rshift.S: Likewise.
83581         * sysdeps/x86_64/sub_n.S: Likewise.
83582         * sysdeps/x86_64/submul_1.S: Likewise.
83584 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83586         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
83587         Define __sched_param instead of SCHED_* and sched_param when
83588         <bits/sched.h> is included with __need_schedparam defined.
83589         * bits/sched.h [__need_schedparam]
83590         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
83591         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
83592         (__defined_schedparam): Define to 1.
83593         (__sched_param): New structure, identical to sched_param.
83594         (__need_schedparam): Undefine.
83596 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
83598         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
83599         (epoll_create1): Declare.
83601         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
83603 2010-08-31  Andreas Schwab  <schwab@redhat.com>
83605         [BZ #7066]
83606         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
83607         shifting retval into place.
83609 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
83611         * nis/rpcsvc/nis.h: Update copyright notice.
83612         * nis/rpcsvc/nis.x: Likewise.
83613         * nis/rpcsvc/nis_callback.h: Likewise.
83614         * nis/rpcsvc/nis_callback.x: Likewise.
83615         * nis/rpcsvc/nis_object.x: Likewise.
83616         * nis/rpcsvc/nis_tags.h: Likewise.
83617         * nis/rpcsvc/yp.h: Likewise.
83618         * nis/rpcsvc/yp.x: Likewise.
83619         * nis/rpcsvc/ypupd.h: Likewise.
83620         * nis/yp_xdr.c: Likewise.
83621         * nis/ypupdate_xdr.c: Likewise.
83623         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
83624         mainly the body of pmap_getport.  Add parameters to specify timeouts.
83625         (pmap_getport): Use __libc_rpc_getport.
83626         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
83627         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
83628         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
83630 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
83632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
83633         fanotify_mark.
83635 2010-08-27  Roland McGrath  <roland@redhat.com>
83637         * sysdeps/i386/i686/multiarch/Makefile
83638         (CFLAGS-varshift.c): New variable.
83640 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
83642         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
83643         * sysdeps/i386/i686/multiarch/varshift.c: New file.
83645         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
83647         * sysdeps/x86_64/strlen.S: Minimal code improvement.
83649 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
83651         * sysdeps/x86_64/strlen.S: Unroll the loop.
83652         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83653         strlen-sse2 strlen-sse2-bsf.
83654         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
83655         __strlen_no_bsf if bit_Slow_BSF is set.
83656         (__strlen_sse42): Removed.
83657         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
83658         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
83660 2010-08-25  Roland McGrath  <roland@redhat.com>
83662         * sysdeps/x86_64/multiarch/varshift.S: File removed.
83663         * sysdeps/x86_64/multiarch/varshift.c: New file.
83664         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
83665         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
83666         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
83667         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
83669 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
83671         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83672         strlen-sse2 strlen-sse2-bsf.
83673         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
83674         __strlen_sse2_bsf if bit_Slow_BSF is unset.
83675         (__strlen_sse2): Removed.
83676         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
83677         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
83678         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
83679         bit_Slow_BSF for Atom.
83680         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
83681         (index_Slow_BSF): Define.
83682         (HAS_SLOW_BSF): Define.
83684 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
83686         [BZ #10851]
83687         * resolv/res_init.c (__res_vinit): When no server address at all
83688         is given default to loopback.
83690 2010-08-24  Roland McGrath  <roland@redhat.com>
83692         * configure.in: Remove config-name.h generation.
83693         * configure: Regenerated.
83694         * config-name.in: File removed.
83695         * scripts/config-uname.sh: New file.
83696         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
83697         ($(objdir)config-name.h): New target.
83699         * sunrpc/rpc_parse.h: Avoid nested comment.
83701 2010-08-24  Richard Henderson  <rth@redhat.com>
83702             Ulrich Drepper  <drepper@redhat.com>
83703             H.J. Lu  <hongjiu.lu@intel.com>
83705         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
83706         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
83707         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
83708         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
83709         _mm_alignr_epi8 with _mm_loadu_si128.
83710         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
83711         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
83712         (__m128i_shift_right): Removed.
83713         * sysdeps/i386/i686/multiarch/varshift.h: New file.
83714         * sysdeps/i386/i686/multiarch/varshift.S: New file.
83715         * sysdeps/x86_64/multiarch/varshift.h: New file.
83716         * sysdeps/x86_64/multiarch/varshift.S: New file.
83718 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
83720         * configure.in: Move assembler checks to before sysdep dir checking.
83722 2010-08-20  Petr Baudis  <pasky@suse.cz>
83724         * LICENSES: Sync the sunrpc license.
83726 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
83728         * sunrpc/auth_des.c: Update copyright notice once again.
83729         * sunrpc/auth_none.c: Likewise.
83730         * sunrpc/auth_unix.c: Likewise.
83731         * sunrpc/authdes_prot.c: Likewise.
83732         * sunrpc/authuxprot.c: Likewise.
83733         * sunrpc/bindrsvprt.c: Likewise.
83734         * sunrpc/clnt_gen.c: Likewise.
83735         * sunrpc/clnt_perr.c: Likewise.
83736         * sunrpc/clnt_raw.c: Likewise.
83737         * sunrpc/clnt_simp.c: Likewise.
83738         * sunrpc/clnt_tcp.c: Likewise.
83739         * sunrpc/clnt_udp.c: Likewise.
83740         * sunrpc/clnt_unix.c: Likewise.
83741         * sunrpc/des_crypt.c: Likewise.
83742         * sunrpc/des_soft.c: Likewise.
83743         * sunrpc/get_myaddr.c: Likewise.
83744         * sunrpc/getrpcport.c: Likewise.
83745         * sunrpc/key_call.c: Likewise.
83746         * sunrpc/key_prot.c: Likewise.
83747         * sunrpc/openchild.c: Likewise.
83748         * sunrpc/pm_getmaps.c: Likewise.
83749         * sunrpc/pm_getport.c: Likewise.
83750         * sunrpc/pmap_clnt.c: Likewise.
83751         * sunrpc/pmap_prot.c: Likewise.
83752         * sunrpc/pmap_prot2.c: Likewise.
83753         * sunrpc/pmap_rmt.c: Likewise.
83754         * sunrpc/rpc/auth.h: Likewise.
83755         * sunrpc/rpc/auth_unix.h: Likewise.
83756         * sunrpc/rpc/clnt.h: Likewise.
83757         * sunrpc/rpc/des_crypt.h: Likewise.
83758         * sunrpc/rpc/key_prot.h: Likewise.
83759         * sunrpc/rpc/netdb.h: Likewise.
83760         * sunrpc/rpc/pmap_clnt.h: Likewise.
83761         * sunrpc/rpc/pmap_prot.h: Likewise.
83762         * sunrpc/rpc/pmap_rmt.h: Likewise.
83763         * sunrpc/rpc/rpc.h: Likewise.
83764         * sunrpc/rpc/rpc_des.h: Likewise.
83765         * sunrpc/rpc/rpc_msg.h: Likewise.
83766         * sunrpc/rpc/svc.h: Likewise.
83767         * sunrpc/rpc/svc_auth.h: Likewise.
83768         * sunrpc/rpc/types.h: Likewise.
83769         * sunrpc/rpc/xdr.h: Likewise.
83770         * sunrpc/rpc_clntout.c: Likewise.
83771         * sunrpc/rpc_cmsg.c: Likewise.
83772         * sunrpc/rpc_common.c: Likewise.
83773         * sunrpc/rpc_cout.c: Likewise.
83774         * sunrpc/rpc_dtable.c: Likewise.
83775         * sunrpc/rpc_hout.c: Likewise.
83776         * sunrpc/rpc_main.c: Likewise.
83777         * sunrpc/rpc_parse.c: Likewise.
83778         * sunrpc/rpc_parse.h: Likewise.
83779         * sunrpc/rpc_prot.c: Likewise.
83780         * sunrpc/rpc_sample.c: Likewise.
83781         * sunrpc/rpc_scan.c: Likewise.
83782         * sunrpc/rpc_scan.h: Likewise.
83783         * sunrpc/rpc_svcout.c: Likewise.
83784         * sunrpc/rpc_tblout.c: Likewise.
83785         * sunrpc/rpc_util.c: Likewise.
83786         * sunrpc/rpc_util.h: Likewise.
83787         * sunrpc/rpcinfo.c: Likewise.
83788         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
83789         * sunrpc/rpcsvc/key_prot.x: Likewise.
83790         * sunrpc/rpcsvc/klm_prot.x: Likewise.
83791         * sunrpc/rpcsvc/mount.x: Likewise.
83792         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
83793         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
83794         * sunrpc/rpcsvc/rex.x: Likewise.
83795         * sunrpc/rpcsvc/rstat.x: Likewise.
83796         * sunrpc/rpcsvc/rusers.x: Likewise.
83797         * sunrpc/rpcsvc/sm_inter.x: Likewise.
83798         * sunrpc/rpcsvc/spray.x: Likewise.
83799         * sunrpc/rpcsvc/yppasswd.x: Likewise.
83800         * sunrpc/rtime.c: Likewise.
83801         * sunrpc/svc.c: Likewise.
83802         * sunrpc/svc_auth.c: Likewise.
83803         * sunrpc/svc_authux.c: Likewise.
83804         * sunrpc/svc_raw.c: Likewise.
83805         * sunrpc/svc_run.c: Likewise.
83806         * sunrpc/svc_simple.c: Likewise.
83807         * sunrpc/svc_tcp.c: Likewise.
83808         * sunrpc/svc_udp.c: Likewise.
83809         * sunrpc/svc_unix.c: Likewise.
83810         * sunrpc/svcauth_des.c: Likewise.
83811         * sunrpc/xcrypt.c: Likewise.
83812         * sunrpc/xdr.c: Likewise.
83813         * sunrpc/xdr_array.c: Likewise.
83814         * sunrpc/xdr_float.c: Likewise.
83815         * sunrpc/xdr_mem.c: Likewise.
83816         * sunrpc/xdr_rec.c: Likewise.
83817         * sunrpc/xdr_ref.c: Likewise.
83818         * sunrpc/xdr_sizeof.c: Likewise.
83819         * sunrpc/xdr_stdio.c: Likewise.
83821         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
83822         handling.
83824 2010-08-19  Andreas Schwab  <schwab@redhat.com>
83826         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
83828 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
83830         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
83831         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
83832         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
83833         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
83834         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
83835         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
83836         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
83837         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
83838         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
83839         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
83840         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
83841         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
83842         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
83843         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
83845 2010-07-26  Anton Blanchard  <anton@samba.org>
83847         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
83848         * malloc/arena.c (heap_trim): Likewise.
83850 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
83852         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
83853         here.  Not...
83854         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
83855         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
83857 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
83859         * sysdeps/i386/elf/Makefile: New file.
83861 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
83863         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
83864         from fanotify_init.
83865         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
83866         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
83868 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
83870         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
83871         of strncasecmp_l.
83872         * sysdeps/multiarch/strcmp.S: Likewise.
83874 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
83876         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
83877         strncase_l-nonascii.
83878         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
83879         Add strncase_l-ssse3.
83880         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
83881         * sysdeps/x86_64/strcmp.S: Likewise.
83882         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
83883         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
83884         * sysdeps/x86_64/strncase.S: New file.
83885         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
83886         * sysdeps/x86_64/strncase_l.S: New file.
83887         * string/Makefile (strop-tests): Add strncasecmp.
83888         * string/test-strncasecmp.c: New file.
83890         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
83891         warning.
83893         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
83894         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
83896 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
83898         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
83900 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
83902         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
83903         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
83904         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
83906 2010-05-01  Alan Modra  <amodra@gmail.com>
83908         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
83909         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
83910         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
83911         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
83912         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
83913         tidying.  Don't tail-call __sigjmp_save for static lib.
83914         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
83915         save location.
83916         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
83917         (CALL_MCOUNT): Add eh info, and nop after bl.
83918         (TAIL_CALL_SYSCALL_ERROR): New macro.
83919         (PSEUDO_RET): Use it.
83920         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
83921         Correct save location of integer regs and cr.
83922         (_dl_profile_resolve): Correct cr save location.  Delete nops
83923         after bl when SHARED.  Reduce cfi size a little by better
83924         placement of cfi directives.
83925         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
83926         make a stack frame.  Instead use parm save area as a temp.
83927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
83928         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
83929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
83930         Don't make a stack frame for parent, use parm save area.
83931         Increase child stack frame to 112 bytes.  Don't save unused reg,
83932         and adjust reg usage.  Set up cfi on error recovery and
83933         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
83934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
83935         (__makecontext): Add dummy nop after jump to exit.
83936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
83937         Use correct parm save area and cr save, reduce stack frame.
83938         Correct cfi for possible PSEUDO_RET frame setup.
83939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
83940         Branch to local label emitted by PSEUDO_RET rather than
83941         __syscall_error.
83943 2010-08-12  Andreas Schwab  <schwab@redhat.com>
83945         [BZ #11904]
83946         * locale/programs/locale.c (print_assignment): New function.
83947         (show_locale_vars): Use it.
83949 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
83951         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
83952         field.
83953         (struct statfs64): Likewise.
83954         (_STATFS_F_FLAGS): Define.
83955         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
83956         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
83957         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
83958         (ST_VALID): Define locally.
83959         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
83960         __statvfs_getflags, use the provided value.
83961         * sysdeps/unix/sysv/linux/kernel-features.h: Define
83962         __ASSUME_STATFS_F_FLAGS.
83964         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
83966         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
83967         Add sys/fanotify.h.
83968         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
83969         fanotify_mask for GLIBC_2.13.
83970         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
83971         fanotify_init and fanotify_mark.
83972         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
83973         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
83975         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
83976         Add prlimit.
83977         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
83978         prlimit64 for GLIBC_2.13.
83979         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
83980         prlimit64.
83981         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
83982         syscall.
83983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
83984         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
83985         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
83986         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
83987         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
83988         add prlimit alias.
83989         * sysdeps/unix/sysv/linux/prlimit.c: New file.
83991         [BZ #11903]
83992         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
83993         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
83995         * nss/Makefile: Add rules to build and run tst-nss-test1.
83996         * shlib-versions: Add entry for libnss_test1.
83997         * nss/nss_test1.c: New file.
83998         * nss/tst-nss-test1.c: New file.
84000         * nss/nsswitch.c (__nss_database_custom): Define new variable.
84001         (__nss_configure_lookup): Set appropriate entry in
84002         __nss_configure_lookup to true.
84003         * nss/nsswitch.h: Define enum with indeces of databases in
84004         databases and __nss_database_custom arrays.  Declare
84005         __nss_database_custom.
84006         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
84007         to avoid using nscd when custom rules are installed.
84008         * nss/getXXbyYY_r.c: Likewise.
84009         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
84011         * nss/nss_files/files-parse.c: Whitespace fixes.
84013 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
84015         [BZ #11883]
84016         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
84017         * posix/fnmatch_loop.c: Likewise.
84019 2010-07-17  Andi Kleen  <ak@linux.intel.com>
84021         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
84022         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
84023         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
84024         * Versions.def [GLIBC_2.13]: Add.
84026 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
84028         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
84029         Also fail if tpwd after pwuid call is NULL.
84031 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84033         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
84034         when converting to ms.
84036 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84038         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
84039         EOPNOTSUPP errors with ENOTTY.
84040         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
84041         EOPNOTSUPP errors with ENOTTY.
84043 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
84045         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
84046         Add strcasecmp_l-ssse3.
84047         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
84048         strcasecmp.
84049         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
84050         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
84051         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
84053 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
84055         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
84057         * string/Makefile (strop-tests): Add strcasecmp.
84058         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
84059         strcasecmp_l-nonascii.
84060         (gen-as-const-headers): Add locale-defines.sym.
84061         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
84062         * sysdeps/x86_64/strcasecmp.S: New file.
84063         * sysdeps/x86_64/strcasecmp_l.S: New file.
84064         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
84065         * sysdeps/x86_64/locale-defines.sym: New file.
84066         * string/test-strcasecmp.c: New file.
84068         * string/test-strcasestr.c: Test both ends of the range of characters.
84069         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
84071 2010-07-29  Roland McGrath  <roland@redhat.com>
84073         [BZ #11856]
84074         * manual/locale.texi (Yes-or-No Questions): Fix example code.
84076 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
84078         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
84079         for ld.so.
84081 2010-07-27  Andreas Schwab  <schwab@redhat.com>
84083         * manual/memory.texi (Malloc Tunable Parameters): Document
84084         M_PERTURB.
84086 2010-07-26  Roland McGrath  <roland@redhat.com>
84088         [BZ #11840]
84089         * configure.in (-fgnu89-inline check): Set and substitute
84090         gnu89_inline, not libc_cv_gnu89_inline.
84091         * configure: Regenerated.
84092         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
84094 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
84096         * string/test-strnlen.c: New file.
84097         * string/Makefile (strop-tests): Add strnlen.
84098         * string/tester.c (test_strnlen): Add a few more test cases.
84099         * string/tst-strlen.c: Better error reporting.
84101         * sysdeps/x86_64/strnlen.S: New file.
84103 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
84105         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
84106         lower-latency instructions.
84108 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
84110         * string/test-strcasestr.c: New file.
84111         * string/test-strstr.c: New file.
84112         * string/Makefile (strop-tests): Add strstr and strcasestr.
84113         * string/str-two-way.h: Don't undefine MAX.
84114         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
84116 2010-07-21  Andreas Schwab  <schwab@redhat.com>
84118         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84119         strcasestr-nonascii.
84120         (CFLAGS-strcasestr-nonascii.c): Define.
84121         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
84122         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
84123         Remove unused attribute.
84125 2010-07-20  Roland McGrath  <roland@redhat.com>
84127         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
84128         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
84129         ld.so.cache was broken.  With it, there is no way to disable dsocaps
84130         like LD_HWCAP_MASK can disable hwcaps.
84132 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
84134         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
84136 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
84138         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
84139         call in strcasestr.
84140         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
84141         __strcasestr_sse42_nonascii.
84142         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
84143         strcasestr-nonascii.c.
84144         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
84146 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
84148         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
84149         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
84150         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
84151         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
84153 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
84155         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
84156         fcntl.
84158 2010-07-06  Andreas Schwab  <schwab@redhat.com>
84160         [BZ #11577]
84161         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
84162         dl_signal_cerror.
84164 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
84166         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
84167         _PC_PIPE_BUF using F_GETPIPE_SZ.
84169 2010-07-05  Roland McGrath  <roland@redhat.com>
84171         * manual/arith.texi (Rounding Functions): Fix rint description
84172         implicit in round description.
84174 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
84176         * elf/Makefile: Fix linking for a few tests to make recent linker
84177         happy.
84179 2010-06-30  Andreas Schwab  <schwab@redhat.com>
84181         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
84182         $(common-objpfx)libc_nonshared.a.
84184 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
84186         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
84187         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
84188         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
84189         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
84190         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
84191         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
84192         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
84193         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
84194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
84195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
84196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
84197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
84198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
84199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
84200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
84201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
84202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
84203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
84204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
84205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
84206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
84207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
84208         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
84209         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
84210         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
84211         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
84212         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
84213         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
84214         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
84215         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
84216         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
84217         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
84218         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
84219         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
84220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
84221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
84222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
84223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
84224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
84225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
84226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
84227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
84228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
84229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
84230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
84231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
84232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
84233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
84235 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
84237         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
84238         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
84239         * string/memmove.c (memmove): Renamed to ...
84240         (MEMMOVE): ...this.  Default to memmove.
84241         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
84242         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
84243         (END_CHK): Define.
84244         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84245         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
84246         mempcpy-ssse3-back memmove-ssse3-back.
84247         * sysdeps/x86_64/multiarch/bcopy.S: New file .
84248         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
84249         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
84250         * sysdeps/x86_64/multiarch/memcpy.S: New file.
84251         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
84252         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
84253         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
84254         * sysdeps/x86_64/multiarch/memmove.c: New file.
84255         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
84256         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
84257         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
84258         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
84259         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
84260         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
84261         Define.
84262         (index_Fast_Copy_Backward): Define.
84263         (HAS_ARCH_FEATURE): Define.
84264         (HAS_FAST_REP_STRING): Define.
84265         (HAS_FAST_COPY_BACKWARD): Define.
84267 2010-06-21  Andreas Schwab  <schwab@redhat.com>
84269         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
84270         Restore proper fallback handling.
84272 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
84274         [BZ #11701]
84275         * posix/group_member.c (__group_member): Correct checking loop.
84277         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
84278         OOM in getpwuid_r correctly.  Return error number when the caller
84279         should return, otherwise -1.
84280         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
84281         call returning > 0 value.
84282         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
84284 2010-06-07  Andreas Schwab  <schwab@redhat.com>
84286         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
84287         libc_nonshared.a from targets in modules-names.
84289 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
84291         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
84292         requires it.
84294 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
84296         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
84297         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
84298         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
84299         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
84301 2010-06-02  Andreas Schwab  <schwab@redhat.com>
84303         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
84305 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
84307         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
84308         and F_GETPIPE_SZ.
84309         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
84310         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
84311         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
84312         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
84313         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
84314         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
84316 2010-06-14  Roland McGrath  <roland@redhat.com>
84318         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
84320 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
84322         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
84323         __REDIRECT followed by __THROW.
84324         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
84325         * posix/getopt.h (getopt): Likewise.
84327 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
84329         * hurd/lookup-at.c (__file_name_lookup_at): Accept
84330         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
84331         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
84332         in AT_FLAGS.
84333         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
84334         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
84336 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
84338         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
84340 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
84342         [BZ #11640]
84343         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84344         Properly check family and model.
84346 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
84348         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
84350 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
84352         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
84354 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
84356         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
84357         symbol reference.
84359 2010-05-19  Andreas Schwab  <schwab@redhat.com>
84361         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
84362         symbol reference.
84364 2010-05-21  Andreas Schwab  <schwab@redhat.com>
84366         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
84367         and internal_recvmmsg.
84368         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
84369         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
84370         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
84371         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
84373         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
84374         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
84375         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
84377 2010-05-20  Andreas Schwab  <schwab@redhat.com>
84379         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
84381 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
84383         POWER7 optimizations.
84384         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
84385         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
84387 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
84389         * version.h: Update for 2.13 development version.
84391 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
84393         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
84394         exceptions.  Return 0.
84396 2010-05-07  Roland McGrath  <roland@redhat.com>
84398         * elf/ldconfig.c (main): Add a const.
84400 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
84402         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
84403         (args_options): Add no-idn option.
84404         (ahosts_keys_int): Add idn_flags to ai_flags.
84405         (parse_option): Handle 'i' option to clear idn_flags.
84407         * malloc/malloc.c (_int_free): Possible race in the most recently
84408         added check.  Only act on the data if no current modification
84409         happened.
84411 See ChangeLog.17 for earlier changes.